- Remove .include <bsd.port.options.mk>

- Convert to options target helper

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-12-12 20:58:51 +00:00
parent 8e519b511d
commit 9824ebb711
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428449

View file

@ -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>