aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-06-19 00:09:58 +0800
committerantoine <antoine@FreeBSD.org>2013-06-19 00:09:58 +0800
commit28298b66a3911098f95a0899d029d7b952f40a8c (patch)
treea9f06d1ffc9049b837b5d4c90d60d1c52b45ca89 /games
parent18ae154fea70164ce8b1863faa1e37f71e1ffc09 (diff)
downloadfreebsd-ports-gnome-28298b66a3911098f95a0899d029d7b952f40a8c.tar.gz
freebsd-ports-gnome-28298b66a3911098f95a0899d029d7b952f40a8c.tar.zst
freebsd-ports-gnome-28298b66a3911098f95a0899d029d7b952f40a8c.zip
Fix after PORT_OPTIONS conversion
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