summaryrefslogtreecommitdiff
path: root/deskutils/teapot/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-01-03 00:36:55 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-01-03 00:36:55 +0000
commitf3c214d2a9cdf884f342116a30a9cdaac9f88e1c (patch)
tree9782d9838bc2f0a36128c29833117cf05869d0e8 /deskutils/teapot/Makefile
parent- trim historical header (diff)
- trim historical header
- move DOCS and EXAMPLES to new options framework
Notes
Notes: svn path=/head/; revision=309852
Diffstat (limited to '')
-rw-r--r--deskutils/teapot/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index 1094a8821d2c..17eb2d82b171 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -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