summaryrefslogtreecommitdiff
path: root/games/freeciv/Makefile
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-08-15 11:18:48 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-08-15 11:18:48 +0000
commitb549919e21fef1901aec415a81ec0ec2c1b681b0 (patch)
treedf0145ce765ea577f794969b5d9db5e2507413fc /games/freeciv/Makefile
parentUpgrade www/p5-HTML-FillInForm to 0.18. (diff)
1) Upgrade to 1.12.0.
2) Fix -gtk slave port. 3) Remove stupid pre-patch rubbish from Makefile Too many patches are being implemented as Perl scripts embedded in Makefiles. Submitted by: olgeni (1)
Notes
Notes: svn path=/head/; revision=46277
Diffstat (limited to 'games/freeciv/Makefile')
-rw-r--r--games/freeciv/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/games/freeciv/Makefile b/games/freeciv/Makefile
index 0ce17a95b1fa..9ec1a4ff1ae8 100644
--- a/games/freeciv/Makefile
+++ b/games/freeciv/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= freeciv
-PORTVERSION= 1.11.4
+PORTVERSION= 1.12.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \
ftp://ftp.netc.pt/pub/freeciv/stable/ \
@@ -18,23 +18,16 @@ LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
USE_XPM= yes
USE_BZIP2= yes
-WANT_GTK= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
-.if defined(HAVE_GTK)
+.if defined(WITH_GTK)
USE_IMLIB= yes
.else
CONFIGURE_ARGS= --disable-gtktest
.endif
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
- s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
- s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
-
.include <bsd.port.post.mk>