ports/62008: [Maintainer Upgrade] games/fgkicker 0.5 -> 0.6

Erik Greenwald erik at smluc.org
Tue Jan 27 22:01:21 UTC 2004


>Number:         62008
>Category:       ports
>Synopsis:       [Maintainer Upgrade]  games/fgkicker  0.5 -> 0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 27 14:00:28 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD fenris 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Jan 10 17:45:53 EST 2004 root at fenris:/usr/obj/usr/src/sys/FENRIS i386


	
>Description:
Freshmeat blurb:
	This version adds the options "Horizon Effect" and
	"Enhanced lighting" to the render options. The airport list
	has been fixed; the last character of the airport name
	was cut off.  

(introduces an icky install-user target that will hopefully go away soon,
will contact the author concerning that and other small issues..)

>How-To-Repeat:
	
>Fix:

	

--- fgkicker.patch begins here ---
diff -Nurb games/fgkicker.orig/Makefile games/fgkicker/Makefile
--- games/fgkicker.orig/Makefile	Tue Jan 27 07:28:29 2004
+++ games/fgkicker/Makefile	Tue Jan 27 16:46:31 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	fgkicker
-PORTVERSION=	0.5
+PORTVERSION=	0.6
 CATEGORIES=	games
 MASTER_SITES=	http://users.pandora.be/ceppe/linux/
 EXTRACT_SUFX=	.tgz
@@ -21,8 +21,9 @@
 USE_GMAKE=	yes
 USE_REINPLACE=	yes
 
+FILESDIR=	${PREFIX}/share/fgkicker
+
 post-patch:
-	@${REINPLACE_CMD} "s|/usr/games/fgfs\",15|${PREFIX}/bin/fgfs\",511|" ${WRKSRC}/fgkicker.c
 	@${REINPLACE_CMD} "s|-fmessage-length=0|| ; s|-O0|${CFLAGS}|" ${WRKSRC}/fgkicker.mak
 
 do-build:
@@ -30,5 +31,12 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${MKDIR} ${FILESDIR}
+	${INSTALL_DATA} ${WRKSRC}/airports.dat ${FILESDIR}/airports.dat
+	${INSTALL_DATA} ${WRKSRC}/aircraft.dat ${FILESDIR}/aircraft.dat
+
+install-user:
+	${INSTALL_DATA} ${FILESDIR}/airports.dat $$HOME
+	${INSTALL_DATA} ${FILESDIR}/aircraft.dat $$HOME
 
 .include <bsd.port.mk>
diff -Nurb games/fgkicker.orig/distinfo games/fgkicker/distinfo
--- games/fgkicker.orig/distinfo	Tue Jan 27 07:28:29 2004
+++ games/fgkicker/distinfo	Tue Jan 27 07:28:59 2004
@@ -1 +1 @@
-MD5 (fgkicker-0.5.tgz) = 03a460c7cd0742a8df049ecc2a0422b0
+MD5 (fgkicker-0.6.tgz) = 49480b50b988266a41096102b410b884
diff -Nurb games/fgkicker.orig/pkg-message games/fgkicker/pkg-message
--- games/fgkicker.orig/pkg-message	Wed Dec 31 19:00:00 1969
+++ games/fgkicker/pkg-message	Tue Jan 27 16:44:29 2004
@@ -0,0 +1,7 @@
+This port currently requires data files to be placed in the
+users home directory. After the port is installed, the user
+must execute the following command in the games/fgkicker
+directory.
+
+make install-user
+
diff -Nurb games/fgkicker.orig/pkg-plist games/fgkicker/pkg-plist
--- games/fgkicker.orig/pkg-plist	Tue Jan 27 07:28:29 2004
+++ games/fgkicker/pkg-plist	Tue Jan 27 16:46:24 2004
@@ -1 +1,4 @@
 bin/fgkicker
+share/fgkicker/aircraft.dat
+share/fgkicker/airports.dat
+ at dirrm share/fgkicker
--- fgkicker.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list