diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-01-03 00:36:55 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-01-03 00:36:55 +0000 |
commit | f3c214d2a9cdf884f342116a30a9cdaac9f88e1c (patch) | |
tree | 9782d9838bc2f0a36128c29833117cf05869d0e8 | |
parent | 036c5527122810770e8f021b1244d082a0a8d471 (diff) | |
download | freebsd-ports-f3c214d2a9cdf884f342116a30a9cdaac9f88e1c.zip |
- trim historical header
- move DOCS and EXAMPLES to new options framework
-rw-r--r-- | deskutils/teapot/Makefile | 12 |
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 |