aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-08-13 16:46:13 +0800
committerjohans <johans@FreeBSD.org>2014-08-13 16:46:13 +0800
commit81d0fe8403cbbeafbb785caaf8abb68da950ffee (patch)
tree936cc6262cea3b5e36a918c09c760293202235c2
parent5cb3fa7267e8f0636f5e4e8d94f7dfe4283dfe6f (diff)
downloadfreebsd-ports-gnome-81d0fe8403cbbeafbb785caaf8abb68da950ffee.tar.gz
freebsd-ports-gnome-81d0fe8403cbbeafbb785caaf8abb68da950ffee.tar.zst
freebsd-ports-gnome-81d0fe8403cbbeafbb785caaf8abb68da950ffee.zip
Update to FreeCiv 2.4.3 (mostly bugfix-release)
http://www.freeciv.org/wiki/NEWS-2.4.3
-rw-r--r--games/freeciv/Makefile15
-rw-r--r--games/freeciv/distinfo4
-rw-r--r--games/freeciv/pkg-plist13
3 files changed, 10 insertions, 22 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index bf2b04811e5e..bc204498361b 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= freeciv
-PORTVERSION= 2.4.2
-PORTREVISION= 3
+PORTVERSION= 2.4.3
CATEGORIES= games
MASTER_SITES= SF/freeciv/Freeciv%20${PORTVERSION:R}/${PORTVERSION}
@@ -13,9 +12,8 @@ COMMENT= Free turn-based multiplayer strategy
RUN_DEPENDS= hicolor-icon-theme>=0:${PORTSDIR}/misc/hicolor-icon-theme
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
-USES= gettext gmake iconv libtool pkgconfig tar:bzip2
+USES= gettext gmake iconv libtool pkgconfig tar:bzip2 python
USE_SQLITE= yes
-USE_PYTHON= yes
USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
@@ -63,15 +61,16 @@ PLIST_SUB+= GTK="@comment "
.endif
post-patch:
- @${FIND} ${WRKSRC} -name Makefile.in|${XARGS} ${REINPLACE_CMD} -e \
+ ${FIND} ${WRKSRC} -name Makefile.in|${XARGS} ${REINPLACE_CMD} -e \
'/pkgdatadir/s|[(]datadir)/@PACKAGE@|(prefix)/${DATADIR_REL}|'
- @${REINPLACE_CMD} 's/minor=99/minor=0/' ${WRKSRC}/configure
+ ${REINPLACE_CMD} 's/minor=99/minor=0/' ${WRKSRC}/configure
post-install:
.if ${PORT_OPTIONS:MX11}
- @${INSTALL_DATA} ${WRKSRC}/data/civclient.dsc ${STAGEDIR}${DATADIR}/
- @cd ${STAGEDIR}/${PREFIX}/bin && ${LN} -s freeciv-gtk2 freeciv-client
+ ${INSTALL_DATA} ${WRKSRC}/data/civclient.dsc ${STAGEDIR}${DATADIR}/
+ cd ${STAGEDIR}/${PREFIX}/bin && ${LN} -s freeciv-gtk2 freeciv-client
.endif
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfreeciv*.so
+ -${RMDIR} ${STAGEDIR}${PREFIX}/lib/fcai
.include <bsd.port.mk>
diff --git a/games/freeciv/distinfo b/games/freeciv/distinfo
index 62e1c907bd45..6d973a10a5aa 100644
--- a/games/freeciv/distinfo
+++ b/games/freeciv/distinfo
@@ -1,2 +1,2 @@
-SHA256 (freeciv-2.4.2.tar.bz2) = 025d3cf51237a0c12422a5f100460a22ce1236b650a1e73cbd1c13c0b0676ce0
-SIZE (freeciv-2.4.2.tar.bz2) = 38545497
+SHA256 (freeciv-2.4.3.tar.bz2) = 7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899
+SIZE (freeciv-2.4.3.tar.bz2) = 38815762
diff --git a/games/freeciv/pkg-plist b/games/freeciv/pkg-plist
index 3d95341c1edd..a4817f23a9c9 100644
--- a/games/freeciv/pkg-plist
+++ b/games/freeciv/pkg-plist
@@ -163,6 +163,7 @@ share/applications/freeciv-server.desktop
%%DATADIR%%/civ2.serv
%%X11%%@unexec ggz-config --remove --modfile %D/%%DATADIR%%/civclient.dsc
%%X11%%%%DATADIR%%/civclient.dsc
+%%X11%%etc/ggz.modules
%%X11%%@exec ggz-config --install --modfile %D/%%DATADIR%%/civclient.dsc
%%DATADIR%%/default/ai_effects.ruleset
%%DATADIR%%/default/default.lua
@@ -3342,18 +3343,6 @@ share/icons/hicolor/64x64/apps/freeciv-server.png
%%X11%%@dirrm %%DATADIR%%/wonders
@dirrmtry %%DATADIR%%
@dirrmtry share/appdata
-@dirrmtry share/icons/hicolor/64x64/apps
-@dirrmtry share/icons/hicolor/64x64
-@dirrmtry share/icons/hicolor/48x48/apps
-@dirrmtry share/icons/hicolor/48x48
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor/128x128/apps
-@dirrmtry share/icons/hicolor/128x128
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
%%NLS%%@dirrm share/locale/gd/LC_MESSAGES
%%NLS%%@dirrm share/locale/gd
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%