Date: Mon, 10 Sep 2012 01:58:17 +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: r304012 - in head/games/bugsquish: . files Message-ID: <201209100158.q8A1wHRP072299@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Mon Sep 10 01:58:17 2012 New Revision: 304012 URL: http://svn.freebsd.org/changeset/ports/304012 Log: - Add second MASTER_SITES entries - Added LICENSE - Use PLIST_FILES instead of pkg_plist - Give maintainership to submitter PR: ports/170898 Submitted by: nemysis <nemysis@gmx.ch> Deleted: head/games/bugsquish/pkg-plist Modified: head/games/bugsquish/Makefile (contents, props changed) head/games/bugsquish/files/patch-Makefile (contents, props changed) head/games/bugsquish/pkg-descr (contents, props changed) Modified: head/games/bugsquish/Makefile ============================================================================== --- head/games/bugsquish/Makefile Mon Sep 10 01:52:01 2012 (r304011) +++ head/games/bugsquish/Makefile Mon Sep 10 01:58:17 2012 (r304012) @@ -7,20 +7,53 @@ PORTNAME= bugsquish PORTVERSION= 0.0.6 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= games -MASTER_SITES= ftp://ftp.billsgames.com/unix/x/bugsquish/src/ +MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/bugsquish/src/ \ + ftp://ftp.billsgames.com/unix/x/bugsquish/src/ -MAINTAINER= ports@FreeBSD.org -COMMENT= Bug-squishing, fly-swatting action +MAINTAINER= nemysis@gmx.ch +COMMENT= Action game not unlike light gun arcade games -USE_SDL= mixer image +LICENSE= GPLv2 + +USE_SDL= image mixer sdl USE_GMAKE= yes +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png + +PORTDATA= * +PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt + +post-patch: +# Fix data location + @${REINPLACE_CMD} -e 's|/usr/share/bugsquish/|${DATADIR}/|' ${WRKSRC}/Makefile +# Fix CFLAGS/LDFLAGS + @${REINPLACE_CMD} -e 's|CFLAGS=-Wall -O2|CFLAGS+=|' \ + -e 's|SDL_CFLAGS :=|SDL_CFLAGS+=|' \ + -e 's|SDL_LDFLAGS :=|SDL_LDFLAGS+=|' ${WRKSRC}/Makefile + +.include <bsd.port.options.mk> + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${MKDIR} ${DATADIR} - cd ${WRKSRC}/data && ${FIND} . | \ - ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} +# Executable + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + +# Data +. for d in embedded images music sounds + @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${DATADIR}) +. endfor + +# Pixmaps + ${INSTALL_DATA} ${WRKSRC}/data/images/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + +# Documentation +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} +. for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor +.endif .include <bsd.port.mk> Modified: head/games/bugsquish/files/patch-Makefile ============================================================================== --- head/games/bugsquish/files/patch-Makefile Mon Sep 10 01:52:01 2012 (r304011) +++ head/games/bugsquish/files/patch-Makefile Mon Sep 10 01:58:17 2012 (r304012) @@ -1,34 +0,0 @@ ---- Makefile.orig Fri Apr 19 17:15:27 2002 -+++ Makefile Fri Nov 26 23:05:54 2004 -@@ -9,8 +9,8 @@ - - # User-definable stuff: - --BIN_PREFIX=/usr/local/bin/ --DATA_PREFIX=/usr/share/bugsquish/ -+BIN_PREFIX=${PREFIX}/bin/ -+DATA_PREFIX=${PREFIX}/share/bugsquish/ - - - # Defaults for Linux: -@@ -19,7 +19,7 @@ - TARGET_DEF=LINUX - - --CFLAGS=-Wall -O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \ -+CFLAGS+=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" \ - -D$(NOSOUNDFLAG) -D$(TARGET_DEF) - - -@@ -29,8 +29,9 @@ - IMAGE=-lSDL_image - NOSOUNDFLAG=__SOUND - SDL_LIB=$(SDL_LDFLAGS) $(MIXER) $(IMAGE) --SDL_CFLAGS := $(shell sdl-config --cflags) --SDL_LDFLAGS := $(shell sdl-config --libs) -+SDL_CONFIG ?=sdl-config -+SDL_CFLAGS := $(shell $(SDL_CONFIG) --cflags) -+SDL_LDFLAGS := $(shell $(SDL_CONFIG) --libs) - - installbin = install -g root -o root -m 755 - installdat = install -g root -o root -m 644 Modified: head/games/bugsquish/pkg-descr ============================================================================== --- head/games/bugsquish/pkg-descr Mon Sep 10 01:52:01 2012 (r304011) +++ head/games/bugsquish/pkg-descr Mon Sep 10 01:58:17 2012 (r304012) @@ -2,4 +2,7 @@ In Bug Squish, you must defend your arm blood-sucking insects. Use your fly-swatter to squish them before they suck you dry. +Bug Squish is based on the shareware game "Blood Suckers" for MacOS, +by Brian Greenstone of Pangea Software. + WWW: http://www.newbreedsoftware.com/bugsquish/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209100158.q8A1wHRP072299>