aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-11-17 19:26:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-11-17 19:26:44 +0000
commit59728c8023de02e94e05decef7ff46ea0a1c4da2 (patch)
treefe0ae43338bda2b8fd72ed9680b011386d0ed4d5 /games
parent55dca44d8feca41b4513708d2a2bbf1d850ac880 (diff)
downloadports-59728c8023de02e94e05decef7ff46ea0a1c4da2.tar.gz
ports-59728c8023de02e94e05decef7ff46ea0a1c4da2.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/lpairs/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/games/lpairs/Makefile b/games/lpairs/Makefile
index e0248f072fe2..801cc24ae5ec 100644
--- a/games/lpairs/Makefile
+++ b/games/lpairs/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= SF/lgames/${PORTNAME}/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Classical memory game
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
@@ -19,16 +22,10 @@ PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
OPTIONS_DEFINE= NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
-PLIST_FILES+= share/locale/de/LC_MESSAGES/lpairs.mo
-.else
-CONFIGURE_ARGS+=--disable-nls
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE}
+NLS_PLIST_FILES= share/locale/de/LC_MESSAGES/lpairs.mo
post-patch:
@${REINPLACE_CMD} -e '/^LIBS =/ s|$$| $${INTLLIBS}|' \