Date: Tue, 11 Sep 2012 16:22:04 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304106 - in head/games/defendguin: . files Message-ID: <201209111622.q8BGM4hr083835@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Tue Sep 11 16:22:03 2012 New Revision: 304106 URL: http://svn.freebsd.org/changeset/ports/304106 Log: - Add additional MASTER_SITES entry - Add LICENSE - Other improvements - Give maintainership to submitter PR: ports/171288 Submitted by: nemysis <nemysis@gmx.ch> Modified: head/games/defendguin/Makefile (contents, props changed) head/games/defendguin/distinfo (contents, props changed) head/games/defendguin/files/patch-defendguin.c (contents, props changed) Modified: head/games/defendguin/Makefile ============================================================================== --- head/games/defendguin/Makefile Tue Sep 11 16:05:22 2012 (r304105) +++ head/games/defendguin/Makefile Tue Sep 11 16:22:03 2012 (r304106) @@ -7,20 +7,33 @@ PORTNAME= defendguin PORTVERSION= 0.0.12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games -MASTER_SITES= ftp://ftp.billsgames.com/unix/x/defendguin/src/ +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 +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.gif:icons +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Another shoot-the-Bill game +MAINTAINER= nemysis@gmx.ch +COMMENT= Your mission is to defend little penguinoids + +LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_SDL= mixer sdl -PLIST_FILES= bin/defendguin +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.gif + +PORTDATA= * +PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt -MAN6= defendguin.6 +MAN6= ${PORTNAME}.6 + +.include <bsd.port.options.mk> do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -DDATA_PREFIX=\"${DATADIR}/\" \ @@ -28,17 +41,24 @@ do-build: `${SDL_CONFIG} --libs` -lSDL_mixer do-install: +# Executable ${INSTALL_PROGRAM} ${WRKSRC}/defendguin ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/defendguin.6 ${MAN6PREFIX}/man/man6 - @${MKDIR} ${DATADIR} - ${TAR} -C ${WRKSRC}/../data -cf - . | \ - ${TAR} -C ${DATADIR} --unlink -xf - - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} - -post-install: - @${FIND} ${DATADIR} ! -type d | ${SED} \ - -e "s,${PREFIX}/,," >> ${TMPPLIST} - @${FIND} ${DATADIR} -type d | ${SORT} -r | ${SED} \ - -e "s,${PREFIX}/,@dirrm ," >> ${TMPPLIST} + +# Manuall + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6 + +# Data + @(cd ${WRKSRC}/../data && ${COPYTREE_SHARE} "images music sounds" ${DATADIR}) + +# 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 +.endif .include <bsd.port.mk> Modified: head/games/defendguin/distinfo ============================================================================== --- head/games/defendguin/distinfo Tue Sep 11 16:05:22 2012 (r304105) +++ head/games/defendguin/distinfo Tue Sep 11 16:22:03 2012 (r304106) @@ -1,2 +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 Modified: head/games/defendguin/files/patch-defendguin.c ============================================================================== --- head/games/defendguin/files/patch-defendguin.c Tue Sep 11 16:05:22 2012 (r304105) +++ head/games/defendguin/files/patch-defendguin.c Tue Sep 11 16:22:03 2012 (r304106) @@ -1,9 +1,6 @@ - -$FreeBSD$ - ---- defendguin.c 2002/03/05 13:16:46 1.1 -+++ defendguin.c 2002/03/05 13:22:13 -@@ -4210,6 +4210,7 @@ +--- defendguin.c.orig 2009-11-05 22:20:59.000000000 +0100 ++++ defendguin.c 2012-09-10 22:01:37.000000000 +0200 +@@ -4322,6 +4322,7 @@ "%s\n\n", SDL_GetError()); exit(1); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209111622.q8BGM4hr083835>