aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-30 02:43:37 +0800
committerkrion <krion@FreeBSD.org>2004-01-30 02:43:37 +0800
commit9013bb734da891d59bd6ff5d5a908b1598a6364a (patch)
tree6f8a4047c1d1d1e46bceeb422cf353ad5b1b88b7 /games
parentcfc0252724ac643f097153665e645c1ffea43459 (diff)
downloadfreebsd-ports-gnome-9013bb734da891d59bd6ff5d5a908b1598a6364a.tar.gz
freebsd-ports-gnome-9013bb734da891d59bd6ff5d5a908b1598a6364a.tar.zst
freebsd-ports-gnome-9013bb734da891d59bd6ff5d5a908b1598a6364a.zip
- Update to version 0.6
PR: ports/62008 Submitted by: maintainer
Diffstat (limited to 'games')
-rw-r--r--games/fgkicker/Makefile12
-rw-r--r--games/fgkicker/distinfo2
-rw-r--r--games/fgkicker/pkg-plist3
3 files changed, 14 insertions, 3 deletions
diff --git a/games/fgkicker/Makefile b/games/fgkicker/Makefile
index eef3c3d8f3cd..40986b1ec3ed 100644
--- a/games/fgkicker/Makefile
+++ b/games/fgkicker/Makefile
@@ -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_GNOME= gtk20
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-build:
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 --git a/games/fgkicker/distinfo b/games/fgkicker/distinfo
index 84f87f963b49..50862ebfbbeb 100644
--- a/games/fgkicker/distinfo
+++ b/games/fgkicker/distinfo
@@ -1 +1 @@
-MD5 (fgkicker-0.5.tgz) = 03a460c7cd0742a8df049ecc2a0422b0
+MD5 (fgkicker-0.6.tgz) = 49480b50b988266a41096102b410b884
diff --git a/games/fgkicker/pkg-plist b/games/fgkicker/pkg-plist
index f24a2d87b050..d73e15298860 100644
--- a/games/fgkicker/pkg-plist
+++ b/games/fgkicker/pkg-plist
@@ -1 +1,4 @@
bin/fgkicker
+share/fgkicker/aircraft.dat
+share/fgkicker/airports.dat
+@dirrm share/fgkicker