aboutsummaryrefslogtreecommitdiff
path: root/games/fgrun
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
commit9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /games/fgrun
parent25c4307da135103ea810d65f96f2f1c21e0547b4 (diff)
downloadports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.tar.gz
ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.zip
Notes
Diffstat (limited to 'games/fgrun')
-rw-r--r--games/fgrun/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/games/fgrun/Makefile b/games/fgrun/Makefile
index 3c7c57ba248a..187898efeff9 100644
--- a/games/fgrun/Makefile
+++ b/games/fgrun/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: fgrun
-# Date created: 18 Oct 2008
-# Whom: buganini@gmail.com
-#
+# Created by: buganini@gmail.com
# $FreeBSD$
-#
PORTNAME= fgrun
PORTVERSION= 1.6.0
@@ -26,16 +22,18 @@ CONFIGURE_ARGS= --with-boost="${LOCALBASE}"
USE_GMAKE= yes
USE_GL= gl
-.if defined(WITHOUT_NLS)
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+= --disable-nls
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+CONFIGURE_ARGS+= --disable-nls
.endif
post-patch:
-.if defined(WITHOUT_NLS)
+.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} 's|SUBDIRS = src po msvc|SUBDIRS = src|' \
${WRKSRC}/Makefile.in
.endif