Convert to OptionsNG

Feature safe:	yes
This commit is contained in:
Eitan Adler 2012-10-20 15:22:35 +00:00
parent b38c0ffa18
commit 759c71e275
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306190

View file

@ -13,6 +13,8 @@ NO_BUILD= defined
MAN6= nonsense.6
.include <bsd.port.options.mk>
post-configure:
${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/nonsense
${SED} -e "s^%%PREFIX%%^${PREFIX}^g" \
@ -25,7 +27,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/*.data ${PREFIX}/share/nonsense/data
${INSTALL_DATA} ${WRKSRC}/*.template ${PREFIX}/share/nonsense/template
${INSTALL_MAN} ${WRKSRC}/${MAN6} ${PREFIX}/man/man6/
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/share/doc/nonsense
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nonsense/
.endif