diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-29 12:42:04 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-29 12:42:04 +0000 |
commit | 222461c302e52a3848555e999ecc7a10f98b278e (patch) | |
tree | 4fad0f8d9c328a570a49371daf5f0078d7075272 /games/hinversi | |
parent | b6155c63444b79580e9bd13727472581d1ed66f1 (diff) |
Notes
Diffstat (limited to 'games/hinversi')
-rw-r--r-- | games/hinversi/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/hinversi/Makefile b/games/hinversi/Makefile index 3cfc810c349c..51f05acbf7ee 100644 --- a/games/hinversi/Makefile +++ b/games/hinversi/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= SF/${PORTNAME}/latest MAINTAINER= ports@FreeBSD.org COMMENT= Reversi/Othello clone -OPTIONS= NLS "Native Language Support via gettext utilities" on +OPTIONS_DEFINE= NLS LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual @@ -24,15 +24,15 @@ USE_LDCONFIG= yes MAN1= hinversi-cli.1 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.else +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " .endif post-patch: @@ -42,4 +42,4 @@ post-patch: /_la_LIBADD/s|=$$|= $$(LTLIBINTL)|' ${WRKSRC}/${file} .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |