Date: Sat, 9 Sep 2023 19:52:19 GMT From: Nuno Teixeira <eduardo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 55f2379e1502 - main - games/defendguin: Update to 0.0.13 Message-ID: <202309091952.389JqJG0097111@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=55f2379e1502f7223ae0b291b63ddb3b5090b8b6 commit 55f2379e1502f7223ae0b291b63ddb3b5090b8b6 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-09-09 18:59:05 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-09-09 19:52:09 +0000 games/defendguin: Update to 0.0.13 - Update MASTER_SITES url to https - Take maintainership ChangeLog: https://tuxpaint.org/ftp/unix/x/defendguin/CHANGES.txt --- games/defendguin/Makefile | 45 ++++--- games/defendguin/distinfo | 5 +- games/defendguin/files/patch-Makefile | 36 ++++++ games/defendguin/files/patch-defendguin.c | 10 -- games/defendguin/files/patch-src_defendguin.c | 10 ++ games/defendguin/pkg-plist | 171 -------------------------- 6 files changed, 70 insertions(+), 207 deletions(-) diff --git a/games/defendguin/Makefile b/games/defendguin/Makefile index ad152513bb4a..c215d4d0444b 100644 --- a/games/defendguin/Makefile +++ b/games/defendguin/Makefile @@ -1,47 +1,44 @@ PORTNAME= defendguin -PORTVERSION= 0.0.12 -PORTREVISION= 6 +DISTVERSION= 0.0.13 CATEGORIES= games -MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/defendguin/src/ \ +MASTER_SITES= https://tuxpaint.org/ftp/unix/x/defendguin/src/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= Your mission is to defend little penguinoids WWW= http://www.newbreedsoftware.com/defendguin/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt -USES= sdl +USES= gmake sdl shebangfix USE_SDL= mixer sdl -PORTDOCS= AUTHORS.txt CHANGES.txt README.txt -OPTIONS_DEFINE= DOCS - -DESKTOP_ENTRIES="Defendguin" "" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" "" - -do-build: - cd ${WRKSRC}/src && ${CC} ${CFLAGS} -DDATA_PREFIX=\"${DATADIR}/\" \ - `${SDL_CONFIG} --cflags` defendguin.c -o defendguin \ - `${SDL_CONFIG} --libs` -lSDL_mixer -lm +SHEBANG_FILES= data/images/boss/ppm2bmp.sh data/images/ufo/ppm2bmp.sh +bash_CMD= ${SH} -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ +DESKTOP_ENTRIES= "Defendguin" \ + "" \ + "${PORTNAME}" \ + "${PORTNAME}" \ + "Game;ArcadeGame;" \ + "" -.for d in images music sounds - @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) -.endfor - - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/ - ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ +PLIST_FILES= bin/defendguin \ + man/man6/defendguin.6.gz \ + share/pixmaps/defendguin.png +PORTDATA= images music sounds +PORTDOCS= AUTHORS.txt CHANGES.txt README.txt +OPTIONS_DEFINE= DOCS +post-install: + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> diff --git a/games/defendguin/distinfo b/games/defendguin/distinfo index e4751c7cb8ce..9298f53908e0 100644 --- a/games/defendguin/distinfo +++ b/games/defendguin/distinfo @@ -1,4 +1,5 @@ -SHA256 (defendguin/defendguin-0.0.12.tar.gz) = 3c248bed480b291901b7509525dc952be6d28dfa47fd6f8e3fb9873f46017330 -SIZE (defendguin/defendguin-0.0.12.tar.gz) = 2235694 +TIMESTAMP = 1694281382 +SHA256 (defendguin/defendguin-0.0.13.tar.gz) = d552653d71ba396273d576cc1c7eb4c7ba3a06186782b625e3a7b6dd1bce5a81 +SIZE (defendguin/defendguin-0.0.13.tar.gz) = 10355991 SHA256 (defendguin/defendguin.png) = 34a5efe75434f1300a6ebd0ad1260acc7904e29c3030bae4075bcea9d3217381 SIZE (defendguin/defendguin.png) = 2769 diff --git a/games/defendguin/files/patch-Makefile b/games/defendguin/files/patch-Makefile new file mode 100644 index 000000000000..66fbc4da4dca --- /dev/null +++ b/games/defendguin/files/patch-Makefile @@ -0,0 +1,36 @@ +--- Makefile.orig 2020-05-26 04:29:37 UTC ++++ Makefile +@@ -9,8 +9,8 @@ + + # User-definable stuff: + +-CC=gcc +-PREFIX=/usr/local ++#CC=gcc ++#PREFIX=/usr/local + MAN_PREFIX=$(PREFIX) + BIN_PREFIX=$(PREFIX)/bin + DATA_PREFIX=$(PREFIX)/share/defendguin/ +@@ -40,14 +40,14 @@ install: defendguin + + .PHONY: install + install: defendguin +- install -d $(DATA_PREFIX) +- cp -R data/* $(DATA_PREFIX) +- chmod -R a+rX,g-w,o-w $(DATA_PREFIX) +- cp defendguin $(BIN_PREFIX)/ +- chmod a+rx,g-w,o-w $(BIN_PREFIX)/defendguin +- -mkdir -p $(MAN_PREFIX)/man/man6/ +- cp src/defendguin.6 $(MAN_PREFIX)/man/man6/ +- chmod a+rx,g-w,o-w $(MAN_PREFIX)/man/man6/defendguin.6 ++ install -d $(DESTDIR)$(DATA_PREFIX) ++ cp -R data/* $(DESTDIR)$(DATA_PREFIX) ++ chmod -R a+rX,g-w,o-w $(DESTDIR)$(DATA_PREFIX) ++ cp defendguin $(DESTDIR)$(BIN_PREFIX)/ ++ chmod a+rx,g-w,o-w $(DESTDIR)$(BIN_PREFIX)/defendguin ++ -mkdir -p $(DESTDIR)$(MAN_PREFIX)/man/man6/ ++ cp src/defendguin.6 $(DESTDIR)$(MAN_PREFIX)/man/man6/ ++ chmod a+rx,g-w,o-w $(DESTDIR)$(MAN_PREFIX)/man/man6/defendguin.6 + + .PHONY: uninstall + uninstall: diff --git a/games/defendguin/files/patch-defendguin.c b/games/defendguin/files/patch-defendguin.c deleted file mode 100644 index bc559a361cce..000000000000 --- a/games/defendguin/files/patch-defendguin.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/defendguin.c.orig 2009-11-05 22:20:59.000000000 +0100 -+++ src/defendguin.c 2012-09-10 22:01:37.000000000 +0200 -@@ -4322,6 +4322,7 @@ - "%s\n\n", SDL_GetError()); - exit(1); - } -+ atexit(SDL_Quit); - - - /* Open display: */ diff --git a/games/defendguin/files/patch-src_defendguin.c b/games/defendguin/files/patch-src_defendguin.c new file mode 100644 index 000000000000..b6013304a045 --- /dev/null +++ b/games/defendguin/files/patch-src_defendguin.c @@ -0,0 +1,10 @@ +--- src/defendguin.c.orig 2023-06-28 07:54:01 UTC ++++ src/defendguin.c +@@ -4746,6 +4746,7 @@ void setup(void) + "%s\n\n", SDL_GetError()); + exit(1); + } ++ atexit(SDL_Quit); + + + /* Open display: */ diff --git a/games/defendguin/pkg-plist b/games/defendguin/pkg-plist deleted file mode 100644 index adb105371c62..000000000000 --- a/games/defendguin/pkg-plist +++ /dev/null @@ -1,171 +0,0 @@ -bin/defendguin -man/man6/defendguin.6.gz -%%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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309091952.389JqJG0097111>