aboutsummaryrefslogtreecommitdiff
path: root/games/nonsense
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-20 15:22:35 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-20 15:22:35 +0000
commit759c71e2751091a269f0223b1b3729cf7a4cd3b8 (patch)
tree29f526e8616f722bf888b65cda34b42cc658450b /games/nonsense
parentb38c0ffa18cfba646ff008e1834de09be5b4cada (diff)
downloadports-759c71e2751091a269f0223b1b3729cf7a4cd3b8.tar.gz
ports-759c71e2751091a269f0223b1b3729cf7a4cd3b8.zip
Convert to OptionsNG
Feature safe: yes
Notes
Notes: svn path=/head/; revision=306190
Diffstat (limited to 'games/nonsense')
-rw-r--r--games/nonsense/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/nonsense/Makefile b/games/nonsense/Makefile
index ba0c6329c87d..318abd59bcc4 100644
--- a/games/nonsense/Makefile
+++ b/games/nonsense/Makefile
@@ -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