Permalink
Browse files

- trim historical header

- move DOCS and EXAMPLES to new options framework


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@309852 aed309b6-a8cd-e111-996c-001c23d10e55
  • Loading branch information...
1 parent bd6eeff commit a1475ff4e3b080bff8084aec7bf3f649797808f6 jgh committed Jan 3, 2013
Showing with 5 additions and 7 deletions.
  1. +5 −7 deskutils/teapot/Makefile
View
@@ -1,9 +1,5 @@
-# New ports collection makefile for: teapot
-# Date created: 7 January 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= teapot
PORTVERSION= 2.3.0
@@ -32,13 +28,15 @@ post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
${WRKSRC}/CMakeLists.txt
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

0 comments on commit a1475ff

Please sign in to comment.