svn commit: r428449 - head/devel/py-pyshapelib
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Dec 12 20:58:52 UTC 2016
Author: sunpoet
Date: Mon Dec 12 20:58:51 2016
New Revision: 428449
URL: https://svnweb.freebsd.org/changeset/ports/428449
Log:
- Remove .include <bsd.port.options.mk>
- Convert to options target helper
Approved by: portmgr (blanket)
Modified:
head/devel/py-pyshapelib/Makefile
Modified: head/devel/py-pyshapelib/Makefile
==============================================================================
--- head/devel/py-pyshapelib/Makefile Mon Dec 12 20:58:46 2016 (r428448)
+++ head/devel/py-pyshapelib/Makefile Mon Dec 12 20:58:51 2016 (r428449)
@@ -30,22 +30,17 @@ SHAPELIB= shapelib-1.3.0
post-extract:
${LN} -s ${WRKDIR}/${SHAPELIB} ${WRKDIR}/shapelib
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.endif
.include <bsd.port.pre.mk>
More information about the svn-ports-head
mailing list