aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-04-29 21:40:45 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-04-29 21:40:45 +0000
commit3e70b0f720e4fc61223d3372dda5ab80eff53758 (patch)
tree8e78a85e198fecbe2c1fb5bf0858e66af8105cff
parent0c435188db6740f98ab76f5898b9da754070e281 (diff)
downloadports-3e70b0f720e4fc61223d3372dda5ab80eff53758.tar.gz
ports-3e70b0f720e4fc61223d3372dda5ab80eff53758.zip
Notes
-rw-r--r--games/freeciv/Makefile22
-rw-r--r--games/freeciv/distinfo6
-rw-r--r--games/freeciv/files/patch-server_meta.c11
-rw-r--r--games/freeciv/pkg-plist3
4 files changed, 8 insertions, 34 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index e0d415804e79..d7e126c49888 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -6,14 +6,13 @@
#
PORTNAME= freeciv
-PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTVERSION= 2.0.8
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \
ftp://ftp.netc.pt/pub/freeciv/stable/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable/
-MAINTAINER?= ports@FreeBSD.org
+MAINTAINER?= infofarmer@gmail.com
COMMENT?= A civilisation clone for X11; multiplayer
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
@@ -24,7 +23,6 @@ USE_XPM= yes
USE_BZIP2= yes
USE_PYTHON= yes
WANT_GNOME= yes
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -48,24 +46,18 @@ CONFLICTS= freeciv-1* freeciv-gtk-1*
USE_GNOME+= gtk20
PKGNAMESUFFIX?= -gtk2
CONFIGURE_ARGS+= --enable-client=gtk2
-PLIST_SUB+= XAW="@comment "
-PLIST_SUB+= GTK="@comment "
-PLIST_SUB+= GTK2=""
+PLIST_FILES+= %%DATADIR%%/freeciv.rc-2.0
.elif defined(WITH_GTK) || defined(WITH_GTK12)
CONFLICTS= freeciv-1* freeciv-gtk2-1*
USE_GNOME+= imlib gtk12
PKGNAMESUFFIX?= -gtk
CONFIGURE_ARGS+= --enable-client=gtk
-PLIST_SUB+= XAW="@comment "
-PLIST_SUB+= GTK2="@comment "
-PLIST_SUB+= GTK=""
+PLIST_FILES+= %%DATADIR%%/freeciv.rc
.else
CONFLICTS= freeciv-gtk-1* freeciv-gtk2-1*
LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
CONFIGURE_ARGS+= --enable-client=xaw3d
-PLIST_SUB+= GTK="@comment "
-PLIST_SUB+= GTK2="@comment "
-PLIST_SUB+= XAW=""
+PLIST_FILES+= %%DATADIR%%/Freeciv
.endif
pre-fetch:
@@ -80,8 +72,4 @@ pre-fetch:
.endif
.endif
-post-patch:
- cd ${WRKSRC}; ${FIND} . -name Makefile.in | \
- ${XARGS} ${REINPLACE_CMD} -e 's/@program_transform_name@//'
-
.include <bsd.port.post.mk>
diff --git a/games/freeciv/distinfo b/games/freeciv/distinfo
index 85260517583d..8274297f94a3 100644
--- a/games/freeciv/distinfo
+++ b/games/freeciv/distinfo
@@ -1,3 +1,3 @@
-MD5 (freeciv-2.0.7.tar.bz2) = 7a60ea8f39822036b86640532accc5ce
-SHA256 (freeciv-2.0.7.tar.bz2) = 2d578418b5be354eabb31b754e3617f837090bccea9e03b6da4593e06361e798
-SIZE (freeciv-2.0.7.tar.bz2) = 8473763
+MD5 (freeciv-2.0.8.tar.bz2) = 9ebd5899c2c78362e0e2c68791673a88
+SHA256 (freeciv-2.0.8.tar.bz2) = 85b396c86f977b85f03fa1309733d21f7cc953e005ff1475f9981b77fa9f28f3
+SIZE (freeciv-2.0.8.tar.bz2) = 8535513
diff --git a/games/freeciv/files/patch-server_meta.c b/games/freeciv/files/patch-server_meta.c
deleted file mode 100644
index 0675a606340a..000000000000
--- a/games/freeciv/files/patch-server_meta.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- server/meta.c.orig Thu May 5 22:30:10 2005
-+++ server/meta.c Thu May 5 22:30:28 2005
-@@ -21,6 +21,8 @@
- #include <stdlib.h>
- #include <string.h>
-
-+#include <sys/types.h>
-+
- #ifdef HAVE_NETINET_IN_H
- #include <netinet/in.h>
- #endif
diff --git a/games/freeciv/pkg-plist b/games/freeciv/pkg-plist
index 045bce4a85ac..e9adc754e51a 100644
--- a/games/freeciv/pkg-plist
+++ b/games/freeciv/pkg-plist
@@ -297,9 +297,6 @@ bin/civmanual
%%DATADIR%%/isophex/terrain2.spec
%%DATADIR%%/isophex/tiles.png
%%DATADIR%%/isophex/tiles.spec
-%%XAW%%%%DATADIR%%/Freeciv
-%%GTK%%%%DATADIR%%/freeciv.rc
-%%GTK2%%%%DATADIR%%/freeciv.rc-2.0
share/locale/da/LC_MESSAGES/freeciv.mo
share/locale/ca/LC_MESSAGES/freeciv.mo
share/locale/cs/LC_MESSAGES/freeciv.mo