diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-02 11:47:37 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-02 11:47:37 +0800 |
commit | af868cb8c2b569219a0c369ea71aa2655036c04d (patch) | |
tree | fcc2999e7ae2f066857bf7093431509140622a2d /games | |
parent | 306e07d5660670068ebe379175c3bbf550a5129a (diff) | |
download | freebsd-ports-gnome-af868cb8c2b569219a0c369ea71aa2655036c04d.tar.gz freebsd-ports-gnome-af868cb8c2b569219a0c369ea71aa2655036c04d.tar.zst freebsd-ports-gnome-af868cb8c2b569219a0c369ea71aa2655036c04d.zip |
- Add stage support
- Convert MNLS to options helpers
Diffstat (limited to 'games')
-rw-r--r-- | games/hinversi/Makefile | 17 | ||||
-rw-r--r-- | games/hinversi/pkg-plist | 1 |
2 files changed, 5 insertions, 13 deletions
diff --git a/games/hinversi/Makefile b/games/hinversi/Makefile index a80b2e3dfd0c..65158ded1f81 100644 --- a/games/hinversi/Makefile +++ b/games/hinversi/Makefile @@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Reversi/Othello clone OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual @@ -18,19 +19,9 @@ USES= pathfix USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -MAN1= hinversi-cli.1 - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} +NLS_CONFIGURE_OFF= --disable-nls +NLS_USES= gettext post-patch: .for file in cgi/Makefile.in human-cli/Makefile.in lib/Makefile.in diff --git a/games/hinversi/pkg-plist b/games/hinversi/pkg-plist index bad4db498fd5..500675b8a931 100644 --- a/games/hinversi/pkg-plist +++ b/games/hinversi/pkg-plist @@ -1,5 +1,6 @@ bin/hinversi-cgi bin/hinversi-cli +man/man1/hinversi-cli.1.gz include/hinversi/abClient.h include/hinversi/aiManager.h include/hinversi/macros.h |