Convert to OptionsNG
Feature safe: yes
This commit is contained in:
parent
b38c0ffa18
commit
759c71e275
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306190
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue