svn commit: r395592 - head/devel/py-itools
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 30 03:57:18 UTC 2015
Author: sunpoet
Date: Sun Aug 30 03:57:17 2015
New Revision: 395592
URL: https://svnweb.freebsd.org/changeset/ports/395592
Log:
- Convert to new options target helper
Approved by: portmgr (blanket)
Modified:
head/devel/py-itools/Makefile
Modified: head/devel/py-itools/Makefile
==============================================================================
--- head/devel/py-itools/Makefile Sun Aug 30 03:57:12 2015 (r395591)
+++ head/devel/py-itools/Makefile Sun Aug 30 03:57:17 2015 (r395592)
@@ -44,22 +44,18 @@ PORTDOCS= INSTALL.txt MANIFEST README.rs
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
More information about the svn-ports-head
mailing list