diff options
author | philip <philip@FreeBSD.org> | 2006-06-11 21:41:38 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2006-06-11 21:41:38 +0800 |
commit | 3f6b4e7d11c0088f915b3babc78742a9fdbc4662 (patch) | |
tree | 22f356d729562264a87074b7f85cf9f227e963b8 /games/zatacka | |
parent | b90bcbe5d1b08f02a338c7032b456b8160880b47 (diff) | |
download | freebsd-ports-gnome-3f6b4e7d11c0088f915b3babc78742a9fdbc4662.tar.gz freebsd-ports-gnome-3f6b4e7d11c0088f915b3babc78742a9fdbc4662.tar.zst freebsd-ports-gnome-3f6b4e7d11c0088f915b3babc78742a9fdbc4662.zip |
Update to 0.1.5
PR: ports/98809
Submitted by: Dmitry Marakasov <amdmi3 -at- mail.ru> (maintainer)
Diffstat (limited to 'games/zatacka')
-rw-r--r-- | games/zatacka/Makefile | 6 | ||||
-rw-r--r-- | games/zatacka/distinfo | 6 | ||||
-rw-r--r-- | games/zatacka/files/patch-Makefile | 14 | ||||
-rw-r--r-- | games/zatacka/pkg-plist | 2 |
4 files changed, 17 insertions, 11 deletions
diff --git a/games/zatacka/Makefile b/games/zatacka/Makefile index 7058b44c48cc..3ea9d3d5e798 100644 --- a/games/zatacka/Makefile +++ b/games/zatacka/Makefile @@ -6,7 +6,7 @@ # PORTNAME= zatacka -PORTVERSION= 0.1.4 +PORTVERSION= 0.1.5 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -32,12 +32,16 @@ post-patch: ${WRKSRC}/fx.cpp @${REINPLACE_CMD} -e 's|main_screen.jpg|${DATADIR}/main_screen.jpg|' \ ${WRKSRC}/fx.cpp + @${REINPLACE_CMD} -e 's|maps/|${DATADIR}/maps/|' ${WRKSRC}/fx.cpp + @${REINPLACE_CMD} -e '/opendir/ s|maps|${DATADIR}/maps|' ${WRKSRC}/fx.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/main_screen.jpg ${WRKSRC}/barrier.jpg \ ${WRKSRC}/font.ttf ${DATADIR} + ${MKDIR} ${DATADIR}/maps + ${INSTALL_DATA} ${WRKSRC}/maps/*.jpg ${DATADIR}/maps .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/games/zatacka/distinfo b/games/zatacka/distinfo index 69a554dbf8c3..0b3f3a963fa9 100644 --- a/games/zatacka/distinfo +++ b/games/zatacka/distinfo @@ -1,3 +1,3 @@ -MD5 (zatacka-0.1.4_src.tar.gz) = 3c00ea94811eb6886f58c5eac16fc22d -SHA256 (zatacka-0.1.4_src.tar.gz) = 949e96764fbfa5eb1349bd2d1d2cb90dace943090667d117564e0a6cd782cfdb -SIZE (zatacka-0.1.4_src.tar.gz) = 128061 +MD5 (zatacka-0.1.5_src.tar.gz) = 3e8edfdef86c76e5c676abdc38c8f363 +SHA256 (zatacka-0.1.5_src.tar.gz) = 1d9da33201d35970b71a1eb3c0eb38b61a86dab33d9084087bbb36728d22e5b9 +SIZE (zatacka-0.1.5_src.tar.gz) = 150038 diff --git a/games/zatacka/files/patch-Makefile b/games/zatacka/files/patch-Makefile index 4732b64a19a8..ff6ce332980d 100644 --- a/games/zatacka/files/patch-Makefile +++ b/games/zatacka/files/patch-Makefile @@ -1,15 +1,15 @@ ---- Makefile.orig Fri Dec 30 17:27:36 2005 -+++ Makefile Mon Mar 27 00:52:59 2006 -@@ -4,7 +4,7 @@ - # Copryright: GNU GPL (http://www.gnu.org/copyleft/gpl.html) - ##---------------------------------------------------------------------------- +--- Makefile.orig Wed Mar 29 00:08:50 2006 ++++ Makefile Sun Jun 11 15:42:44 2006 +@@ -2,7 +2,7 @@ + #Copyright by Mage 2006 rm=/bin/rm -f + ln=/bin/ln -s -CC= g++ +CXX?= g++ DEFS= PROGNAME= zatacka INCLUDES= -I. -@@ -12,7 +12,7 @@ +@@ -13,7 +13,7 @@ DEFINES= $(INCLUDES) $(DEFS) -DSYS_UNIX=1 @@ -18,7 +18,7 @@ SRCS = main.cpp fx.cpp SDL_prim.c -@@ -20,12 +20,12 @@ +@@ -21,12 +21,12 @@ .c.o: $(rm) $@ diff --git a/games/zatacka/pkg-plist b/games/zatacka/pkg-plist index 07205e6ae221..7b3a1338d1f5 100644 --- a/games/zatacka/pkg-plist +++ b/games/zatacka/pkg-plist @@ -2,4 +2,6 @@ bin/zatacka %%DATADIR%%/barrier.jpg %%DATADIR%%/font.ttf %%DATADIR%%/main_screen.jpg +%%DATADIR%%/maps/map1.jpg +@dirrm %%DATADIR%%/maps @dirrm %%DATADIR%% |