summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-03-25 12:31:37 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-03-25 12:31:37 +0000
commit59710d25013b97da1f0a46ce58cadfb239272bd7 (patch)
tree8c052d0de3220433b82862a0779a2285d39940e1 /games
parentUpdate to 0.8.14. (diff)
- Update to 1.0.3
PR: 155865 Submitted by: Ports Furu
Notes
Notes: svn path=/head/; revision=271714
Diffstat (limited to 'games')
-rw-r--r--games/barrage/Makefile18
-rw-r--r--games/barrage/distinfo5
-rw-r--r--games/barrage/files/patch-configure11
-rw-r--r--games/barrage/pkg-plist9
4 files changed, 13 insertions, 30 deletions
diff --git a/games/barrage/Makefile b/games/barrage/Makefile
index e72fceb3d265..d76453080f61 100644
--- a/games/barrage/Makefile
+++ b/games/barrage/Makefile
@@ -6,26 +6,24 @@
#
PORTNAME= barrage
-PORTVERSION= 1.0.2
-PORTREVISION= 4
+PORTVERSION= 1.0.3
CATEGORIES= games
-MASTER_SITES= SF/lgames/${PORTNAME}/1.0
+MASTER_SITES= SF/lgames/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Destroy as many targets as possible
-USE_GMAKE= yes
USE_SDL= sdl mixer
+USE_GMAKE= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-profile-path=/var/games
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
post-patch:
- @${REINPLACE_CMD} -e 's|applications|applnk/Applications|g' \
- ${WRKSRC}/Makefile.in
-
-post-install:
- ${CHMOD} 0755 ${PREFIX}/bin/${PORTNAME}
+ @${REINPLACE_CMD} -e 's|/games/|/|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|icons|pixmaps|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/games/barrage/distinfo b/games/barrage/distinfo
index 3c31576e628b..2cd0c939f9dd 100644
--- a/games/barrage/distinfo
+++ b/games/barrage/distinfo
@@ -1,3 +1,2 @@
-MD5 (barrage-1.0.2.tar.gz) = 5dbecef907eb27215e8cc047eae2ee90
-SHA256 (barrage-1.0.2.tar.gz) = 7afb62a5336fe702a2c880027ad683326f9483356e417c11583af9f05b7aa80e
-SIZE (barrage-1.0.2.tar.gz) = 455336
+SHA256 (barrage-1.0.3.tar.gz) = 2f3f8099d8c176f553e74b94ebbdd8579e4e6773b0500a22a8191f89af2c3a42
+SIZE (barrage-1.0.3.tar.gz) = 482462
diff --git a/games/barrage/files/patch-configure b/games/barrage/files/patch-configure
deleted file mode 100644
index af31b0a889e4..000000000000
--- a/games/barrage/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Tue Apr 22 23:50:13 2003
-+++ configure Tue Apr 22 23:55:27 2003
-@@ -1421,7 +1421,7 @@
-
-
-
--src_dir="$datadir/games/barrage"
-+src_dir="$datadir/barrage"
-
- # Check whether --enable-install or --disable-install was given.
- if test "${enable_install+set}" = set; then
diff --git a/games/barrage/pkg-plist b/games/barrage/pkg-plist
index 560fa3bca43b..a2358ab94e86 100644
--- a/games/barrage/pkg-plist
+++ b/games/barrage/pkg-plist
@@ -1,5 +1,5 @@
bin/barrage
-share/applnk/Applications/barrage.desktop
+share/applications/barrage.desktop
%%DATADIR%%/gfx/ammo.bmp
%%DATADIR%%/gfx/crater.bmp
%%DATADIR%%/gfx/cursors.bmp
@@ -23,11 +23,8 @@ share/applnk/Applications/barrage.desktop
%%DATADIR%%/sounds/expl3.wav
%%DATADIR%%/sounds/gunfire.wav
%%DATADIR%%/sounds/highlight.wav
-%%DATADIR%%/sounds/scream1.wav
-%%DATADIR%%/sounds/scream2.wav
-@dirrmtry share/applnk/Applications/
-@dirrmtry share/applnk
+share/pixmaps/barrage48.gif
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%
-@cwd /var/games
+@dirrmtry share/applications