aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2013-03-15 05:57:16 +0800
committerbeech <beech@FreeBSD.org>2013-03-15 05:57:16 +0800
commit95047e88a5ac6067e0ebf931a51bfe76f388b9c3 (patch)
tree1fc57e3de816e866fd7a1fde6c51604e70cda81d
parent9e3b364c996714f8ef6cb9f0fba0f013926718f1 (diff)
downloadfreebsd-ports-gnome-95047e88a5ac6067e0ebf931a51bfe76f388b9c3.tar.gz
freebsd-ports-gnome-95047e88a5ac6067e0ebf931a51bfe76f388b9c3.tar.zst
freebsd-ports-gnome-95047e88a5ac6067e0ebf931a51bfe76f388b9c3.zip
- Add Desktop entries
- Add icons - Add pkg-plist - Bump portrevision PR: ports/173397 Submitted by: nemysis <nemysis@gmx.ch>
-rw-r--r--games/defendguin/Makefile40
-rw-r--r--games/defendguin/distinfo8
-rw-r--r--games/defendguin/pkg-plist194
3 files changed, 212 insertions, 30 deletions
diff --git a/games/defendguin/Makefile b/games/defendguin/Makefile
index dda881304294..42a178497348 100644
--- a/games/defendguin/Makefile
+++ b/games/defendguin/Makefile
@@ -1,19 +1,16 @@
-# New ports collection makefile for: defendguin
-# Date created: 8 February 2001
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= defendguin
PORTVERSION= 0.0.12
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/defendguin/src/ \
ftp://ftp.billsgames.com/unix/x/defendguin/src/ \
- http://www.newbreedsoftware.com/images/prodicons/:icons
+ SF/nemysisfreebsdp/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}.gif:icons
+ ${PORTNAME}.png:icons
+DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis@gmx.ch
@@ -25,14 +22,15 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_SDL= mixer sdl
-PLIST_FILES= bin/${PORTNAME} \
- share/pixmaps/${PORTNAME}.gif
-
-PORTDATA= *
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt
MAN6= ${PORTNAME}.6
+DESKTOP_ENTRIES="Defendguin" "${COMMENT}" \
+ "share/pixmaps/${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" false
+
+
.include <bsd.port.options.mk>
do-build:
@@ -41,24 +39,14 @@ do-build:
`${SDL_CONFIG} --libs` -lSDL_mixer
do-install:
-# Executable
- ${INSTALL_PROGRAM} ${WRKSRC}/defendguin ${PREFIX}/bin
-
-# Manuall
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6
-
-# Data
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@(cd ${WRKSRC}/../data && ${COPYTREE_SHARE} "images music sounds" ${DATADIR})
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+ ${INSTALL_MAN} ${MAN6:S|^|${WRKSRC}/|} ${MAN6PREFIX}/man/man6/
-# Pixmaps
- ${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.gif ${PREFIX}/share/pixmaps/
-
-# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/../docs/${f} ${DOCSDIR}
-. endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../docs/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/defendguin/distinfo b/games/defendguin/distinfo
index 007d15fb2c97..e4751c7cb8ce 100644
--- a/games/defendguin/distinfo
+++ b/games/defendguin/distinfo
@@ -1,4 +1,4 @@
-SHA256 (defendguin-0.0.12.tar.gz) = 3c248bed480b291901b7509525dc952be6d28dfa47fd6f8e3fb9873f46017330
-SIZE (defendguin-0.0.12.tar.gz) = 2235694
-SHA256 (defendguin.gif) = 1ed6391928f1d20ca241b6988b9d56d7ec75dc2ebd48a15c507a08c8c3acac8d
-SIZE (defendguin.gif) = 2804
+SHA256 (defendguin/defendguin-0.0.12.tar.gz) = 3c248bed480b291901b7509525dc952be6d28dfa47fd6f8e3fb9873f46017330
+SIZE (defendguin/defendguin-0.0.12.tar.gz) = 2235694
+SHA256 (defendguin/defendguin.png) = 34a5efe75434f1300a6ebd0ad1260acc7904e29c3030bae4075bcea9d3217381
+SIZE (defendguin/defendguin.png) = 2769
diff --git a/games/defendguin/pkg-plist b/games/defendguin/pkg-plist
new file mode 100644
index 000000000000..481f95c6d0f5
--- /dev/null
+++ b/games/defendguin/pkg-plist
@@ -0,0 +1,194 @@
+bin/defendguin
+%%DATADIR%%/images/baiter/baiter0.bmp
+%%DATADIR%%/images/baiter/baiter1.bmp
+%%DATADIR%%/images/baiter/baiter2.bmp
+%%DATADIR%%/images/baiter/baiter3.bmp
+%%DATADIR%%/images/baiter/baiter4.bmp
+%%DATADIR%%/images/bomber/bomber-bulge0.bmp
+%%DATADIR%%/images/bomber/bomber-bulge1.bmp
+%%DATADIR%%/images/bomber/bomber.bmp
+%%DATADIR%%/images/bomber/mine-flash.bmp
+%%DATADIR%%/images/bomber/mine-pop.bmp
+%%DATADIR%%/images/bomber/mine.bmp
+%%DATADIR%%/images/bullet/bullet0.bmp
+%%DATADIR%%/images/bullet/bullet1.bmp
+%%DATADIR%%/images/bullet/bullet2.bmp
+%%DATADIR%%/images/bullet/bullet3.bmp
+%%DATADIR%%/images/bullet/bullet4.bmp
+%%DATADIR%%/images/evilbill/evilbill-hurt1.bmp
+%%DATADIR%%/images/evilbill/evilbill-hurt2.bmp
+%%DATADIR%%/images/evilbill/evilbill-shoot.bmp
+%%DATADIR%%/images/evilbill/evilbill1.bmp
+%%DATADIR%%/images/evilbill/evilbill2.bmp
+%%DATADIR%%/images/evilbill/flame1.bmp
+%%DATADIR%%/images/evilbill/flame2.bmp
+%%DATADIR%%/images/evilbill/flame3.bmp
+%%DATADIR%%/images/l2r.sh
+%%DATADIR%%/images/land/center.bmp
+%%DATADIR%%/images/land/left.bmp
+%%DATADIR%%/images/land/right.bmp
+%%DATADIR%%/images/loader/loading-orig.bmp.gz
+%%DATADIR%%/images/loader/loading-text.bmp
+%%DATADIR%%/images/loader/loading.bmp
+%%DATADIR%%/images/loader/press-a-key.bmp
+%%DATADIR%%/images/mutant/mutant0.bmp
+%%DATADIR%%/images/mutant/mutant1.bmp
+%%DATADIR%%/images/pod/pod.bmp
+%%DATADIR%%/images/pod/pod0.bmp
+%%DATADIR%%/images/pod/pod1.bmp
+%%DATADIR%%/images/pod/pod2.bmp
+%%DATADIR%%/images/points/100.bmp
+%%DATADIR%%/images/points/1000.bmp
+%%DATADIR%%/images/points/150.bmp
+%%DATADIR%%/images/points/200.bmp
+%%DATADIR%%/images/points/250.bmp
+%%DATADIR%%/images/ship/disco-1.bmp
+%%DATADIR%%/images/ship/disco-2.bmp
+%%DATADIR%%/images/ship/flame-left-0.bmp
+%%DATADIR%%/images/ship/flame-left-1.bmp
+%%DATADIR%%/images/ship/flame-right-0.bmp
+%%DATADIR%%/images/ship/flame-right-1.bmp
+%%DATADIR%%/images/ship/lasers.bmp
+%%DATADIR%%/images/ship/ship-left-dying.bmp
+%%DATADIR%%/images/ship/ship-left.bmp
+%%DATADIR%%/images/ship/ship-left2.bmp
+%%DATADIR%%/images/ship/ship-right-dying.bmp
+%%DATADIR%%/images/ship/ship-right.bmp
+%%DATADIR%%/images/ship/ship-right2.bmp
+%%DATADIR%%/images/ship/ship-win-0.bmp
+%%DATADIR%%/images/ship/ship-win-1.bmp
+%%DATADIR%%/images/ship/ship-win-2.bmp
+%%DATADIR%%/images/status/catch-the-penguinoid.bmp
+%%DATADIR%%/images/status/circle.bmp
+%%DATADIR%%/images/status/game-over.bmp
+%%DATADIR%%/images/status/get-ready.bmp
+%%DATADIR%%/images/status/level-bonus.bmp
+%%DATADIR%%/images/status/map-alert.bmp
+%%DATADIR%%/images/status/map-baiter.bmp
+%%DATADIR%%/images/status/map-bomber.bmp
+%%DATADIR%%/images/status/map-evilbill.bmp
+%%DATADIR%%/images/status/map-land.bmp
+%%DATADIR%%/images/status/map-mine.bmp
+%%DATADIR%%/images/status/map-mutant.bmp
+%%DATADIR%%/images/status/map-peng.bmp
+%%DATADIR%%/images/status/map-pod.bmp
+%%DATADIR%%/images/status/map-ship.bmp
+%%DATADIR%%/images/status/map-swarmer.bmp
+%%DATADIR%%/images/status/map-ufo.bmp
+%%DATADIR%%/images/status/no-bonus.bmp
+%%DATADIR%%/images/status/numbers.bmp
+%%DATADIR%%/images/status/option-text.bmp
+%%DATADIR%%/images/status/penguinoid-dropped.bmp
+%%DATADIR%%/images/status/penguinoid-in-trouble.bmp
+%%DATADIR%%/images/status/penguinoid-mutated.bmp
+%%DATADIR%%/images/status/penguinoid-saved.bmp
+%%DATADIR%%/images/status/penguinoid-shot.bmp
+%%DATADIR%%/images/status/planet-destroyed.bmp
+%%DATADIR%%/images/status/ships.bmp
+%%DATADIR%%/images/status/smart-bomb.bmp
+%%DATADIR%%/images/status/status-area.bmp
+%%DATADIR%%/images/swarmer/swarmer.bmp
+%%DATADIR%%/images/title/arrow0.bmp
+%%DATADIR%%/images/title/arrow1.bmp
+%%DATADIR%%/images/title/arrow2.bmp
+%%DATADIR%%/images/title/one-player.bmp
+%%DATADIR%%/images/title/options.bmp
+%%DATADIR%%/images/title/quit.bmp
+%%DATADIR%%/images/title/starfield.bmp
+%%DATADIR%%/images/title/title.bmp
+%%DATADIR%%/images/title/two-players.bmp
+%%DATADIR%%/images/tux/fall0.bmp
+%%DATADIR%%/images/tux/fall1.bmp
+%%DATADIR%%/images/tux/l0.bmp
+%%DATADIR%%/images/tux/l1.bmp
+%%DATADIR%%/images/tux/l2.bmp
+%%DATADIR%%/images/tux/l3.bmp
+%%DATADIR%%/images/tux/l4.bmp
+%%DATADIR%%/images/tux/l5.bmp
+%%DATADIR%%/images/tux/l6.bmp
+%%DATADIR%%/images/tux/l7.bmp
+%%DATADIR%%/images/tux/lflag.bmp
+%%DATADIR%%/images/tux/r0.bmp
+%%DATADIR%%/images/tux/r1.bmp
+%%DATADIR%%/images/tux/r2.bmp
+%%DATADIR%%/images/tux/r3.bmp
+%%DATADIR%%/images/tux/r4.bmp
+%%DATADIR%%/images/tux/r5.bmp
+%%DATADIR%%/images/tux/r6.bmp
+%%DATADIR%%/images/tux/r7.bmp
+%%DATADIR%%/images/tux/rflag.bmp
+%%DATADIR%%/images/ufo/beam0.bmp
+%%DATADIR%%/images/ufo/beam1.bmp
+%%DATADIR%%/images/ufo/beam2.bmp
+%%DATADIR%%/images/ufo/beam3.bmp
+%%DATADIR%%/images/ufo/ufo0.bmp
+%%DATADIR%%/images/ufo/ufo1.bmp
+%%DATADIR%%/music/ants.mod
+%%DATADIR%%/music/blowmind.mod
+%%DATADIR%%/music/child.mod
+%%DATADIR%%/music/confusio.mod
+%%DATADIR%%/music/easytrip.mod
+%%DATADIR%%/music/no!inhi1.mod
+%%DATADIR%%/music/summerpa.mod
+%%DATADIR%%/music/wormhole.mod
+%%DATADIR%%/sounds/baiter.wav
+%%DATADIR%%/sounds/bullet.wav
+%%DATADIR%%/sounds/evilbill/die.wav
+%%DATADIR%%/sounds/evilbill/hurt.wav
+%%DATADIR%%/sounds/evilbill/intro.wav
+%%DATADIR%%/sounds/evilbill/low.wav
+%%DATADIR%%/sounds/evilbill/mine.wav
+%%DATADIR%%/sounds/evilbill/shoot.wav
+%%DATADIR%%/sounds/evilbill/success1.wav
+%%DATADIR%%/sounds/evilbill/success2.wav
+%%DATADIR%%/sounds/evilbill/success3.wav
+%%DATADIR%%/sounds/explode.wav
+%%DATADIR%%/sounds/gameover/darn.wav
+%%DATADIR%%/sounds/gameover/finish.wav
+%%DATADIR%%/sounds/gameover/lose.wav
+%%DATADIR%%/sounds/materialize.wav
+%%DATADIR%%/sounds/pause.wav
+%%DATADIR%%/sounds/peng/capture.wav
+%%DATADIR%%/sounds/peng/drop0.wav
+%%DATADIR%%/sounds/peng/drop1.wav
+%%DATADIR%%/sounds/peng/drop2.wav
+%%DATADIR%%/sounds/peng/kill.wav
+%%DATADIR%%/sounds/peng/mutate.wav
+%%DATADIR%%/sounds/peng/save.wav
+%%DATADIR%%/sounds/peng/splat.wav
+%%DATADIR%%/sounds/planet_death.wav
+%%DATADIR%%/sounds/ship/die1.wav
+%%DATADIR%%/sounds/ship/die2.wav
+%%DATADIR%%/sounds/ship/laser.wav
+%%DATADIR%%/sounds/ship/oneup.wav
+%%DATADIR%%/sounds/ship/smartbomb.wav
+%%DATADIR%%/sounds/ship/thrust.wav
+%%DATADIR%%/sounds/swarmers.wav
+%%DATADIR%%/sounds/title/confirm.wav
+%%DATADIR%%/sounds/title/impatience.wav
+%%DATADIR%%/sounds/title/select.wav
+share/pixmaps/defendguin.png
+@dirrm %%DATADIR%%/sounds/title
+@dirrm %%DATADIR%%/sounds/ship
+@dirrm %%DATADIR%%/sounds/peng
+@dirrm %%DATADIR%%/sounds/gameover
+@dirrm %%DATADIR%%/sounds/evilbill
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%/music
+@dirrm %%DATADIR%%/images/ufo
+@dirrm %%DATADIR%%/images/tux
+@dirrm %%DATADIR%%/images/title
+@dirrm %%DATADIR%%/images/swarmer
+@dirrm %%DATADIR%%/images/status
+@dirrm %%DATADIR%%/images/ship
+@dirrm %%DATADIR%%/images/points
+@dirrm %%DATADIR%%/images/pod
+@dirrm %%DATADIR%%/images/mutant
+@dirrm %%DATADIR%%/images/loader
+@dirrm %%DATADIR%%/images/land
+@dirrm %%DATADIR%%/images/evilbill
+@dirrm %%DATADIR%%/images/bullet
+@dirrm %%DATADIR%%/images/bomber
+@dirrm %%DATADIR%%/images/baiter
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%