aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-07-02 15:37:35 +0800
committermiwi <miwi@FreeBSD.org>2011-07-02 15:37:35 +0800
commit80d76dcf2e88bd47ec038a25ed1c1abf3c63f70b (patch)
treeed50cbdecae2708773eb6e8d39454264a8790865 /games
parente3d41003044dfa8abd50f9a6d4b4941c13c03462 (diff)
downloadfreebsd-ports-gnome-80d76dcf2e88bd47ec038a25ed1c1abf3c63f70b.tar.gz
freebsd-ports-gnome-80d76dcf2e88bd47ec038a25ed1c1abf3c63f70b.tar.zst
freebsd-ports-gnome-80d76dcf2e88bd47ec038a25ed1c1abf3c63f70b.zip
- Update to 0.8.2
PR: 158483 Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r--games/hinversi/Makefile41
-rw-r--r--games/hinversi/distinfo5
-rw-r--r--games/hinversi/pkg-plist6
3 files changed, 34 insertions, 18 deletions
diff --git a/games/hinversi/Makefile b/games/hinversi/Makefile
index 9655aef1d341..3cfc810c349c 100644
--- a/games/hinversi/Makefile
+++ b/games/hinversi/Makefile
@@ -6,25 +6,40 @@
#
PORTNAME= hinversi
-PORTVERSION= 0.8.1
-PORTREVISION= 2
+PORTVERSION= 0.8.2
CATEGORIES= games
-MASTER_SITES= http://asturio.gmxhome.de/ CENKES
+MASTER_SITES= SF/${PORTNAME}/latest
MAINTAINER= ports@FreeBSD.org
COMMENT= Reversi/Othello clone
-USE_GETTEXT= yes
+OPTIONS= NLS "Native Language Support via gettext utilities" on
+
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+
+USE_GNOME= gnomehack
+USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} \
- --disable-static
-MAN1= hinversi-cli.1
+
+MAN1= hinversi-cli.1
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
+PLIST_SUB+= NLS=""
+.endif
post-patch:
- @${REINPLACE_CMD} -e '/^mkdir_p/s|=.*|=$$(mkinstalldirs)|'\
- ${WRKSRC}/po/Makefile.in.in
- @${REINPLACE_CMD} -e '/^pkgconfigdir/s|=.*|=${PREFIX}/libdata/pkgconfig|'\
- ${WRKSRC}/lib/Makefile.in
+.for file in cgi/Makefile.in human-cli/Makefile.in lib/Makefile.in
+ @${REINPLACE_CMD} -e \
+ '/AM_CFLAGS/s|-O3|| ; \
+ /_la_LIBADD/s|=$$|= $$(LTLIBINTL)|' ${WRKSRC}/${file}
+.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/hinversi/distinfo b/games/hinversi/distinfo
index ea6acba317e9..a21503827188 100644
--- a/games/hinversi/distinfo
+++ b/games/hinversi/distinfo
@@ -1,3 +1,2 @@
-MD5 (hinversi-0.8.1.tar.gz) = a870d9aea3c6d186464b9af06640fcdd
-SHA256 (hinversi-0.8.1.tar.gz) = fbf156430df89ca7960525ae9e7ff1d551bbb07c927928903b4ecdd8f61109e9
-SIZE (hinversi-0.8.1.tar.gz) = 408955
+SHA256 (hinversi-0.8.2.tar.gz) = eee45e09a6267d2f5d0f644367479490404725f48f33b285c526abab80567c4a
+SIZE (hinversi-0.8.2.tar.gz) = 430538
diff --git a/games/hinversi/pkg-plist b/games/hinversi/pkg-plist
index 4fe95ad8b2b0..bad4db498fd5 100644
--- a/games/hinversi/pkg-plist
+++ b/games/hinversi/pkg-plist
@@ -1,3 +1,4 @@
+bin/hinversi-cgi
bin/hinversi-cli
include/hinversi/abClient.h
include/hinversi/aiManager.h
@@ -7,10 +8,11 @@ include/hinversi/naiv-client.h
include/hinversi/othello.h
include/hinversi/ringbuf.h
include/hinversi/simpleClient.h
+lib/libhinversi.a
lib/libhinversi.la
lib/libhinversi.so
lib/libhinversi.so.0
libdata/pkgconfig/libhinversi.pc
-share/locale/de/LC_MESSAGES/hinversi.mo
-share/locale/pt_BR/LC_MESSAGES/hinversi.mo
+%%NLS%%share/locale/de/LC_MESSAGES/hinversi.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/hinversi.mo
@dirrm include/hinversi