aboutsummaryrefslogtreecommitdiff
path: root/games/hinversi
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-02 03:47:37 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-02 03:47:37 +0000
commit792a5344abc242f0893f52441b645347483d7e9b (patch)
treefcc2999e7ae2f066857bf7093431509140622a2d /games/hinversi
parent5d8c0c57dc32e59545e597b8392ad010dc1d99e4 (diff)
downloadports-792a5344abc242f0893f52441b645347483d7e9b.tar.gz
ports-792a5344abc242f0893f52441b645347483d7e9b.zip
Notes
Diffstat (limited to 'games/hinversi')
-rw-r--r--games/hinversi/Makefile17
-rw-r--r--games/hinversi/pkg-plist1
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