Date: Mon, 17 Nov 2014 19:26:44 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372681 - head/games/lpairs Message-ID: <201411171926.sAHJQid0028264@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Nov 17 19:26:44 2014 New Revision: 372681 URL: https://svnweb.freebsd.org/changeset/ports/372681 QAT: https://qat.redports.org/buildarchive/r372681/ Log: - Add LICENSE - Use new OPTIONS features Modified: head/games/lpairs/Makefile Modified: head/games/lpairs/Makefile ============================================================================== --- head/games/lpairs/Makefile Mon Nov 17 19:08:44 2014 (r372680) +++ head/games/lpairs/Makefile Mon Nov 17 19:26:44 2014 (r372681) @@ -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}|' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411171926.sAHJQid0028264>