diff options
author | jgh <jgh@FreeBSD.org> | 2013-01-03 08:36:55 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-01-03 08:36:55 +0800 |
commit | 2ff762874715e8e3fd973af2afcd8321d8938328 (patch) | |
tree | 9782d9838bc2f0a36128c29833117cf05869d0e8 /deskutils/teapot | |
parent | 7a14fa8b31a7d5a800916010ce7d74cfd4d5d67d (diff) | |
download | freebsd-ports-gnome-2ff762874715e8e3fd973af2afcd8321d8938328.tar.gz freebsd-ports-gnome-2ff762874715e8e3fd973af2afcd8321d8938328.tar.zst freebsd-ports-gnome-2ff762874715e8e3fd973af2afcd8321d8938328.zip |
- trim historical header
- move DOCS and EXAMPLES to new options framework
Diffstat (limited to 'deskutils/teapot')
-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 |