Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 03:47:38 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332451 - head/games/hinversi
Message-ID:  <201311020347.rA23lc4k092642@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311020347.rA23lc4k092642>