diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-07-02 07:37:35 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-07-02 07:37:35 +0000 |
commit | 30c432c63f3a554db9d5b0ee275f4d4e233f8f2c (patch) | |
tree | 0204933dfec848e13e780648fbd95ca933549250 /games | |
parent | 8d3a13c129461b40b5d238af4aeea2137eaa1b46 (diff) | |
download | ports-30c432c63f3a554db9d5b0ee275f4d4e233f8f2c.tar.gz ports-30c432c63f3a554db9d5b0ee275f4d4e233f8f2c.zip |
- Update to 0.8.2
PR: 158483
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=276833
Diffstat (limited to 'games')
-rw-r--r-- | games/hinversi/Makefile | 41 | ||||
-rw-r--r-- | games/hinversi/distinfo | 5 | ||||
-rw-r--r-- | games/hinversi/pkg-plist | 6 |
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 |