ports/155865: Update port: games/barrage to 1.0.3

KATO Tsuguru tkato432 at yahoo.com
Tue Mar 22 18:30:06 UTC 2011


>Number:         155865
>Category:       ports
>Synopsis:       Update port: games/barrage to 1.0.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 22 18:30:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.3

Remove file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/barrage/Makefile games/barrage/Makefile
--- /usr/ports/games/barrage/Makefile	2010-12-30 15:08:51.000000000 +0900
+++ games/barrage/Makefile	2011-03-22 15:44:33.000000000 +0900
@@ -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 at 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 -urN /usr/ports/games/barrage/distinfo games/barrage/distinfo
--- /usr/ports/games/barrage/distinfo	2006-01-22 22:04:12.000000000 +0900
+++ games/barrage/distinfo	2011-03-22 04:40:45.000000000 +0900
@@ -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 -urN /usr/ports/games/barrage/files/patch-configure games/barrage/files/patch-configure
--- /usr/ports/games/barrage/files/patch-configure	2003-04-28 01:34:24.000000000 +0900
+++ games/barrage/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
@@ -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 -urN /usr/ports/games/barrage/pkg-plist games/barrage/pkg-plist
--- /usr/ports/games/barrage/pkg-plist	2006-01-22 14:10:54.000000000 +0900
+++ games/barrage/pkg-plist	2011-03-22 04:48:48.000000000 +0900
@@ -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 @@
 %%DATADIR%%/sounds/expl3.wav
 %%DATADIR%%/sounds/gunfire.wav
 %%DATADIR%%/sounds/highlight.wav
-%%DATADIR%%/sounds/scream1.wav
-%%DATADIR%%/sounds/scream2.wav
- at dirrmtry share/applnk/Applications/
- at dirrmtry share/applnk
+share/pixmaps/barrage48.gif
 @dirrm %%DATADIR%%/sounds
 @dirrm %%DATADIR%%/gfx
 @dirrm %%DATADIR%%
- at cwd /var/games
+ at dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list