summaryrefslogtreecommitdiff
path: root/games/lpairs
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/lpairs
parentUpdate to 2.3.0 (diff)
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here: - trim headers - convert to new options framework
Notes
Notes: svn path=/head/; revision=316850
Diffstat (limited to 'games/lpairs')
-rw-r--r--games/lpairs/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/lpairs/Makefile b/games/lpairs/Makefile
index f0291129dfdc..f3a9a41df5fd 100644
--- a/games/lpairs/Makefile
+++ b/games/lpairs/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: lpairs
-# Date created: 12 Sep 2008
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= lpairs
PORTVERSION= 1.0.4
@@ -19,7 +15,9 @@ USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
USES+= gettext
CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}