diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-29 18:43:37 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-29 18:43:37 +0000 |
commit | 861f5e19100361d388fa90aabad0c04681ad64cc (patch) | |
tree | bf55cde57fae8b4217e09988c7ea07d5d3c9d7c4 /games/fgkicker | |
parent | 8d72a7983381eb3b6e9b855a2819f1daeb0517aa (diff) | |
download | ports-861f5e19100361d388fa90aabad0c04681ad64cc.tar.gz ports-861f5e19100361d388fa90aabad0c04681ad64cc.zip |
Notes
Diffstat (limited to 'games/fgkicker')
-rw-r--r-- | games/fgkicker/Makefile | 12 | ||||
-rw-r--r-- | games/fgkicker/distinfo | 2 | ||||
-rw-r--r-- | games/fgkicker/pkg-plist | 3 |
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 |