1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Update to 0.7

Approved by:	miwi (mentor implicit)
This commit is contained in:
Dmitry Marakasov 2008-07-14 00:31:58 +00:00
parent d8850f3790
commit 59590895a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216805
3 changed files with 33 additions and 19 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= npush
PORTVERSION= 0.6
PORTVERSION= 0.7
CATEGORIES= games
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@ -17,8 +17,7 @@ COMMENT= A curses-based logic game similar to Sokoban and Boulder Dash
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e '/opendir/ s|"\."|"${DATADIR}"|; \
/"rb"/ s|name|(std::string("${DATADIR}/")+&)|' \
@${REINPLACE_CMD} -e 's|"levels|"${DATADIR}/levels|' \
${WRKSRC}/npush.cpp
do-build:
@ -26,8 +25,12 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/npush ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/Level* ${DATADIR}
${MKDIR} ${DATADIR}/levels
${INSTALL_DATA} ${WRKSRC}/levels/* ${DATADIR}/levels
# ${MKDIR} ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/npush.png ${PREFIX}/share/pixmaps/
${MKDIR} ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/npush.desktop ${PREFIX}/share/applications/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${WRKSRC}/readme.txt \

View File

@ -1,3 +1,3 @@
MD5 (npush-0.6.tgz) = 6670aac74dd7db005462c11c5688db52
SHA256 (npush-0.6.tgz) = a8f2b34e9101e6da82cb11fe5ab7edbed4257a5190faaa2f737641838059e781
SIZE (npush-0.6.tgz) = 92318
MD5 (npush-0.7.tgz) = e39180c6ec228ebafb91ff2921f7bdcc
SHA256 (npush-0.7.tgz) = f216d2b3279e8737784f77d4843c9e6f223fa131ce1ebddaf00ad802aba2bcd9
SIZE (npush-0.7.tgz) = 99142

View File

@ -1,13 +1,24 @@
bin/npush
%%DATADIR%%/Level 01 - Gold and Exit
%%DATADIR%%/Level 02 - Rocks
%%DATADIR%%/Level 03 - Dynamite
%%DATADIR%%/Level 04 - The Show Starts
%%DATADIR%%/Level 05 - The Triangle
%%DATADIR%%/Level 06 - Moving along
%%DATADIR%%/Level 07 - Duality
%%DATADIR%%/Level 08 - Traps and Treasure
%%DATADIR%%/Level 09 - Cooperation
%%DATADIR%%/Level 10 - Golden Age
%%DATADIR%%/Level 11 - Story of a lifetime
share/applications/npush.desktop
%%DATADIR%%/levels/Level 01 - Gold and Exit
%%DATADIR%%/levels/Level 02 - Rocks
%%DATADIR%%/levels/Level 03 - Dynamite
%%DATADIR%%/levels/Level 04 - The Show Starts
%%DATADIR%%/levels/Level 05 - The Triangle
%%DATADIR%%/levels/Level 06 - Moving along
%%DATADIR%%/levels/Level 07 - Duality
%%DATADIR%%/levels/Level 08 - Traps and Treasure
%%DATADIR%%/levels/Level 09 - Cooperation
%%DATADIR%%/levels/Level 10 - Golden Age
%%DATADIR%%/levels/Level 11 - Story of a lifetime
%%DATADIR%%/levels/Level 12 - In the Mine
%%DATADIR%%/levels/Level 13 - Warm-up
%%DATADIR%%/levels/Level 14 - To and fro
%%DATADIR%%/levels/Level 15 - Little by little
%%DATADIR%%/levels/Level 16 - The break in
%%DATADIR%%/levels/Level 17 - The great escape
%%DATADIR%%/levels/Level 18 - The one road
share/pixmaps/npush.png
@dirrm %%DATADIR%%/levels
@dirrm %%DATADIR%%
@dirrmtry share/applications