aboutsummaryrefslogtreecommitdiffstats
path: root/games/npush
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-07-14 08:31:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-07-14 08:31:58 +0800
commit7d339fb826df4e8fe323eed8bd68e4129e991fff (patch)
treede92e621613233e8760cb7811343e4252c941f28 /games/npush
parent65a8a759b2785e93d8e23bc8547edfe2077b22da (diff)
downloadfreebsd-ports-gnome-7d339fb826df4e8fe323eed8bd68e4129e991fff.tar.gz
freebsd-ports-gnome-7d339fb826df4e8fe323eed8bd68e4129e991fff.tar.zst
freebsd-ports-gnome-7d339fb826df4e8fe323eed8bd68e4129e991fff.zip
- Update to 0.7
Approved by: miwi (mentor implicit)
Diffstat (limited to 'games/npush')
-rw-r--r--games/npush/Makefile13
-rw-r--r--games/npush/distinfo6
-rw-r--r--games/npush/pkg-plist33
3 files changed, 33 insertions, 19 deletions
diff --git a/games/npush/Makefile b/games/npush/Makefile
index 4c0c881abcd0..cffe7e7f4221 100644
--- a/games/npush/Makefile
+++ b/games/npush/Makefile
@@ -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 \
diff --git a/games/npush/distinfo b/games/npush/distinfo
index 2cbdca54b415..75d00a3137ea 100644
--- a/games/npush/distinfo
+++ b/games/npush/distinfo
@@ -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
diff --git a/games/npush/pkg-plist b/games/npush/pkg-plist
index 4f740a0324fb..4ea0b027d19e 100644
--- a/games/npush/pkg-plist
+++ b/games/npush/pkg-plist
@@ -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