aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-08-30 11:57:17 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-08-30 11:57:17 +0800
commit48bf34c5f6d87a6fdc29c5019205611139243891 (patch)
tree2a8b21e4297d309636e7e6f04f23be30b1e83806 /devel
parent75af9292648737d54e2f2381ed6f7b18829bb334 (diff)
downloadfreebsd-ports-gnome-48bf34c5f6d87a6fdc29c5019205611139243891.tar.gz
freebsd-ports-gnome-48bf34c5f6d87a6fdc29c5019205611139243891.tar.zst
freebsd-ports-gnome-48bf34c5f6d87a6fdc29c5019205611139243891.zip
- Convert to new options target helper
Approved by: portmgr (blanket)
Diffstat (limited to 'devel')
-rw-r--r--devel/py-itools/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/devel/py-itools/Makefile b/devel/py-itools/Makefile
index 05e676955430..cb8a366a70d5 100644
--- a/devel/py-itools/Makefile
+++ b/devel/py-itools/Makefile
@@ -44,22 +44,18 @@ PORTDOCS= INSTALL.txt MANIFEST README.rst RELEASE-0.75.0 \
RELEASE-0.75.1 RELEASE-0.75.2 UPGRADE-0.75.0
PORTEXAMPLES= *
-.include <bsd.port.options.mk>
-
post-install:
.for f in office pdf web xml
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/${f}/*.so
.endfor
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/docs/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
-.endif
regression-test: build
cd ${WRKSRC}/test && ${PYTHON_CMD} test.py