aboutsummaryrefslogtreecommitdiff
path: root/games/glightoff
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-08-25 23:41:32 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-08-25 23:41:32 +0000
commitd4386b4a323e1f37cee79ae0e393900484ac260f (patch)
tree53112291b2537e86e43af4efdec03eec6321fe34 /games/glightoff
parentcb66da018329dd90cc7e1acaf1e31b195aeaeb85 (diff)
Notes
Diffstat (limited to 'games/glightoff')
-rw-r--r--games/glightoff/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/games/glightoff/Makefile b/games/glightoff/Makefile
index c12872ef3587..65c7aa6bb108 100644
--- a/games/glightoff/Makefile
+++ b/games/glightoff/Makefile
@@ -7,37 +7,40 @@
PORTNAME= glightoff
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= nemysis@gmx.ch
-COMMENT= GLightOff is a simple (but not so easy to solve!) puzzle game
+COMMENT= Simple (but not so easy to solve!) puzzle game
LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= glib20 gtk20 intltool
+USE_GNOME= glib20 gtk20
USE_XORG= x11
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
+PORTDOCS= AUTHORS ChangeLog NEWS README TODO
-OPTIONS= NLS "Enable gettext support" on
+OPTIONS_DEFINE= NLS
+NLS_DESC= Native Language Support via gettext
+OPTIONS_DEFAULT= NLS
.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
.endif
post-configure:
-.if defined(WITHOUT_NLS)
+.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile
.endif