aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/warzone2100/Makefile29
-rw-r--r--games/warzone2100/distinfo6
2 files changed, 16 insertions, 19 deletions
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index 6c2d2ba76804..dc68a64e77fe 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -6,14 +6,16 @@
#
PORTNAME= warzone2100
-PORTVERSION= 2.0.5
+PORTVERSION= 2.0.6
CATEGORIES= games
MASTER_SITES= http://download.gna.org/warzone/releases/2.0/
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Innovative 3D real-time strategy game
-BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
+BUILD_DEPENDS= bison>=2.1:${PORTSDIR}/devel/bison2 \
+ zip:${PORTSDIR}/archivers/zip \
+ unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
mad.2:${PORTSDIR}/audio/libmad \
ogg.5:${PORTSDIR}/audio/libogg \
@@ -22,10 +24,10 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
vorbis.3:${PORTSDIR}/audio/libvorbis
-USE_AUTOTOOLS= autoconf:259 automake:19
+GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_BISON= yes
USE_GL= yes
+USE_GMAKE= yes
USE_SDL= net sdl
CONFIGURE_ARGS= --program-transform-name=""
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
@@ -34,18 +36,13 @@ CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
post-patch:
- @${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure.ac
-
-pre-configure:
- @cd ${WRKSRC} && ${TOUCH} NEWS && ${CAT} m4/*.m4 > acinclude.m4
-
-run-autotools:
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_VARS} ${AUTORECONF} -is
-
-.if !defined(NOPORTDOCS)
-post-install:
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog README ${DOCSDIR}
+ @${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -Ee 's|^(dist_doc_Data =) .*|\1|' \
+ ${WRKSRC}/Makefile.in
+.else
+ @${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \
+ ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>
diff --git a/games/warzone2100/distinfo b/games/warzone2100/distinfo
index 44fad29bc263..a521f822f6a3 100644
--- a/games/warzone2100/distinfo
+++ b/games/warzone2100/distinfo
@@ -1,3 +1,3 @@
-MD5 (warzone2100-2.0.5.tar.bz2) = 56e83a64d5b7aa60ced3d7ac7281bb42
-SHA256 (warzone2100-2.0.5.tar.bz2) = 0220556d9487604853e7cb1e33740cf86d8649bbb2efb1f5f8e421c044f3bd6f
-SIZE (warzone2100-2.0.5.tar.bz2) = 19779896
+MD5 (warzone2100-2.0.6.tar.bz2) = f831dcbc1961c6d3fe8a354439f063a2
+SHA256 (warzone2100-2.0.6.tar.bz2) = 2f10634a736b7af720ad477e08ba2a36bd2b68dd79e2ba1940f4a82962102ae9
+SIZE (warzone2100-2.0.6.tar.bz2) = 20009086