aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/ninix-aya/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/ninix-aya/Makefile b/games/ninix-aya/Makefile
index 2b809b192527..87cb1213d68f 100644
--- a/games/ninix-aya/Makefile
+++ b/games/ninix-aya/Makefile
@@ -24,6 +24,8 @@ USE_PYTHON= yes
USE_GNOME= pygtk2
USE_GMAKE= yes
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@@ -43,11 +45,11 @@ post-patch:
-e 's,lib/ninix,libexec/ninix,' \
-e 's,/doc,/share/doc/ninix,' \
${WRKSRC}/Makefile
-.if ${PORT_OPTIONS:MDOCS}
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/docdir)$$/d' \
${WRKSRC}/Makefile
.endif
-.if ${PORT_OPTIONS:MNLS}
+.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e '/localedir/d' \
${WRKSRC}/Makefile
.endif