diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-17 19:26:44 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-17 19:26:44 +0000 |
commit | 59728c8023de02e94e05decef7ff46ea0a1c4da2 (patch) | |
tree | fe0ae43338bda2b8fd72ed9680b011386d0ed4d5 /games/lpairs | |
parent | www/py-html5lib: modernize PYTHON options (diff) |
- Add LICENSE
- Use new OPTIONS features
Notes
Notes:
svn path=/head/; revision=372681
Diffstat (limited to 'games/lpairs')
-rw-r--r-- | games/lpairs/Makefile | 17 |
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}|' \ |