aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-03-05 22:14:18 +0800
committeralepulver <alepulver@FreeBSD.org>2007-03-05 22:14:18 +0800
commitf23830eb9a2b9c3b46cef3a9e318d954951830e9 (patch)
treeaa1de05fc3b717771c80d5b5c4e6479f97c71058
parente6bc37b9eb2ccb76c3ffb6a85645031a92477a62 (diff)
downloadfreebsd-ports-gnome-f23830eb9a2b9c3b46cef3a9e318d954951830e9.tar.gz
freebsd-ports-gnome-f23830eb9a2b9c3b46cef3a9e318d954951830e9.tar.zst
freebsd-ports-gnome-f23830eb9a2b9c3b46cef3a9e318d954951830e9.zip
- Update to version 2.0.5.
-rw-r--r--games/warzone2100/Makefile29
-rw-r--r--games/warzone2100/distinfo6
-rw-r--r--games/warzone2100/pkg-plist4
3 files changed, 19 insertions, 20 deletions
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index ee3d959a5cba..6c2d2ba76804 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= warzone2100
-DISTVERSION= 2.0.5_rc1
+PORTVERSION= 2.0.5
CATEGORIES= games
MASTER_SITES= http://download.gna.org/warzone/releases/2.0/
@@ -22,35 +22,30 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
vorbis.3:${PORTSDIR}/audio/libvorbis
+USE_AUTOTOOLS= autoconf:259 automake:19
USE_BZIP2= yes
USE_BISON= yes
USE_GL= yes
USE_SDL= net sdl
-GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=""
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
LIBS="${PTHREAD_LIBS}"
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
-WRKSRC= ${WRKDIR}/warzone-${DISTVERSION}
-
-.include <bsd.port.pre.mk>
post-patch:
-.if ${OSVERSION} < 5000000
- @${REINPLACE_CMD} -e 's|<stdint\.h>|<inttypes.h>|' \
- ${WRKSRC}/lib/framework/types.h
-.endif
- @${REINPLACE_CMD} -e \
- 's|-m32||; \
- s|/usr/local|${LOCALBASE}|; \
- s|/usr/X11R6|${X11BASE}|' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${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}
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog README ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/warzone2100/distinfo b/games/warzone2100/distinfo
index a9e3bcdfd29b..44fad29bc263 100644
--- a/games/warzone2100/distinfo
+++ b/games/warzone2100/distinfo
@@ -1,3 +1,3 @@
-MD5 (warzone2100-2.0.5_rc1.tar.bz2) = ffa5e7b1b51ffa7129029a911986536f
-SHA256 (warzone2100-2.0.5_rc1.tar.bz2) = 6e470d7837a0bfd7360d1a74a64c2fabc9f0896414ab914dd062097168d29bcc
-SIZE (warzone2100-2.0.5_rc1.tar.bz2) = 19889767
+MD5 (warzone2100-2.0.5.tar.bz2) = 56e83a64d5b7aa60ced3d7ac7281bb42
+SHA256 (warzone2100-2.0.5.tar.bz2) = 0220556d9487604853e7cb1e33740cf86d8649bbb2efb1f5f8e421c044f3bd6f
+SIZE (warzone2100-2.0.5.tar.bz2) = 19779896
diff --git a/games/warzone2100/pkg-plist b/games/warzone2100/pkg-plist
index 98af657d1a63..c15d07b95fdf 100644
--- a/games/warzone2100/pkg-plist
+++ b/games/warzone2100/pkg-plist
@@ -3,5 +3,9 @@ bin/warzone2100
%%DATADIR%%/warzone.wz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
+share/icons/warzone2100.png
+share/applications/warzone2100.desktop
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications
+@dirrmtry share/icons