Convert to options target helper

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-09-10 20:28:58 +00:00
parent dc24e33055
commit 837aaed579
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479481

View File

@ -43,8 +43,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/delegated ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${FILESDIR}/delegated.sh \
${STAGEDIR}${PREFIX}/etc/rc.d/delegated.sh-dist
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
# Re-sign the executable
@${MKDIR} ${WRKDIR}/tmp
@${CP} ${STAGEDIR}${PREFIX}/sbin/delegated ${WRKDIR}/tmp/dg
@ -52,4 +50,8 @@ do-install:
@${WRKDIR}/tmp/dg DGROOT=${WRKDIR}/tmp/ -Fesign -w ${STAGEDIR}${PREFIX}/sbin/delegated
@${CHMOD} -w ${STAGEDIR}${PREFIX}/sbin/delegated
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>