Update to 0.1.5

PR:		ports/98809
Submitted by:	Dmitry Marakasov <amdmi3 -at- mail.ru> (maintainer)
This commit is contained in:
Philip Paeps 2006-06-11 13:41:38 +00:00
parent bb3dcb099f
commit 2ebd6b9d85
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165108
4 changed files with 17 additions and 11 deletions

View file

@ -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}

View file

@ -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

View file

@ -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) $@

View file

@ -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%%