svn commit: r332451 - head/games/hinversi
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sat Nov 2 03:47:38 UTC 2013
Author: danilo
Date: Sat Nov 2 03:47:37 2013
New Revision: 332451
URL: http://svnweb.freebsd.org/changeset/ports/332451
Log:
- Add stage support
- Convert MNLS to options helpers
Modified:
head/games/hinversi/Makefile
head/games/hinversi/pkg-plist
Modified: head/games/hinversi/Makefile
==============================================================================
--- head/games/hinversi/Makefile Sat Nov 2 03:42:07 2013 (r332450)
+++ head/games/hinversi/Makefile Sat Nov 2 03:47:37 2013 (r332451)
@@ -10,6 +10,7 @@ MAINTAINER= ports at 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
Modified: head/games/hinversi/pkg-plist
==============================================================================
--- head/games/hinversi/pkg-plist Sat Nov 2 03:42:07 2013 (r332450)
+++ head/games/hinversi/pkg-plist Sat Nov 2 03:47:37 2013 (r332451)
@@ -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
More information about the svn-ports-head
mailing list