Date: Wed, 13 Jul 2005 19:42:50 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/83422: [NEW PORT] games/viruskiller - An arcade game that relies on quick reflexes Message-ID: <1121294570.0@phobos.mars.bsd> Resent-Message-ID: <200507132250.j6DMoCau033173@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83422 >Category: ports >Synopsis: [NEW PORT] games/viruskiller - An arcade game that relies on quick reflexes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 13 22:50:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005 root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE >Description: >How-To-Repeat: >Fix: --- viruskiller.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # viruskiller # viruskiller/Makefile # viruskiller/pkg-descr # viruskiller/distinfo # viruskiller/files # viruskiller/files/patch-makefile # viruskiller/pkg-plist # echo c - viruskiller mkdir -p viruskiller > /dev/null 2>&1 echo x - viruskiller/Makefile sed 's/^X//' >viruskiller/Makefile << 'END-of-viruskiller/Makefile' X# New ports collection makefile for: viruskiller X# Date created: 13 Jul 2005 X# Whom: Alejandro Pulver <alejandro@varnet.biz> X# X# $FreeBSD$ X# X XPORTNAME= viruskiller XDISTVERSION= 1.0-1 XCATEGORIES= games XMASTER_SITES= http://www.parallelrealities.co.uk/download.php?type=zip&file= X XMAINTAINER= alejandro@varnet.biz XCOMMENT= An arcade game that relies on quick reflexes X XFETCH_BEFORE_ARGS+= -o ${DISTNAME}${EXTRACT_SUFX} X XUSE_GMAKE= yes XUSE_SDL= image mixer sdl ttf XUSE_REINPLACE= yes X XWRKSRC= ${WRKDIR}/${PORTNAME}-1.0 X XMAKEFILE= makefile XMAKE_ENV= CXX="${CXX}" X Xpost-patch: X# Fix Makefile X @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ X s|\(-Wall\)|${CFLAGS} \1|' \ X ${WRKSRC}/${MAKEFILE} X X# Fix SDL include statement X @${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|' \ X ${WRKSRC}/src/*.cpp ${WRKSRC}/src/*.h X X.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} X ${RM} ${DOCSDIR}/LICENSE X.endif X X.include <bsd.port.mk> END-of-viruskiller/Makefile echo x - viruskiller/pkg-descr sed 's/^X//' >viruskiller/pkg-descr << 'END-of-viruskiller/pkg-descr' XYour computer has been invaded! Dozens of little viruses are pouring in via Xsecurity holes in Microsoft Internet Explorer, Microsoft Outlook, Microsoft XMSN Messenger and Microsoft Recycle Bin!! Using your trusty mouse you must Xshoot the buggers before they can destroy your files! Some will steal them Xfrom their home directories and take them back to their security hole. Others Xwill just eat them right there on the spot! See how long you and your computer Xcan survive the onslaught! X XWWW: http://www.parallelrealities.co.uk/virusKiller.php X X- Alejandro Pulver Xalejandro@varnet.biz END-of-viruskiller/pkg-descr echo x - viruskiller/distinfo sed 's/^X//' >viruskiller/distinfo << 'END-of-viruskiller/distinfo' XMD5 (viruskiller-1.0-1.tar.gz) = de7c78b3abdb4ff488943d78a94f5bb1 XSIZE (viruskiller-1.0-1.tar.gz) = 4402168 END-of-viruskiller/distinfo echo c - viruskiller/files mkdir -p viruskiller/files > /dev/null 2>&1 echo x - viruskiller/files/patch-makefile sed 's/^X//' >viruskiller/files/patch-makefile << 'END-of-viruskiller/files/patch-makefile' X--- makefile.orig Sat May 21 14:03:45 2005 X+++ makefile Wed Jul 13 19:30:52 2005 X@@ -7,19 +7,18 @@ X RELEASE = 1 X USEPAK = 1 X X-PREFIX=$(DESTDIR)/usr X-BINDIR = $(PREFIX)/games/ X-DATADIR = $(PREFIX)/share/games/parallelrealities/ X-DOCDIR = $(PREFIX)/share/doc/$(PROG)-$(VERSION)-$(RELEASE)/ X+BINDIR = $(PREFIX)/bin/ X+DATADIR = $(PREFIX)/share/$(PROG)/ X+DOCDIR = $(PREFIX)/share/doc/$(PROG)/ X ICONDIR = $(PREFIX)/share/icons/ X KDE = $(PREFIX)/share/applnk/Games/Arcade/ X GNOME = $(PREFIX)/share/gnome/apps/Games/ X X SAFEDIR = /tmp/ X X-CFLAGS += `sdl-config --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK) X-CFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DSAFEDIR=\"$(SAFEDIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)manual.html\" -Wall X-LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf X+CFLAGS += `/usr/local/bin/sdl11-config --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK) X+CFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DSAFEDIR=\"$(SAFEDIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)manual.html\" -O -pipe -march=athlon-xp -O -pipe -march=athlon-xp -Wall X+LIBS = `/usr/local/bin/sdl11-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf X X OBJS += CAudio.o X OBJS += CBase.o X@@ -51,7 +50,7 @@ X PAKOBJS = CFileData.o pak.o X X # top-level rule to create the program. X-all: $(PROG) pak X+all: $(PROG) pak buildpak X X # compiling other source files. X %.o: src/%.cpp src/%.h src/defs.h src/headers.h X@@ -73,23 +72,10 @@ X X # install X install: X- X- ./pak data gfx music sound $(PAKNAME) X- mkdir -p $(BINDIR) X+ $(BSD_INSTALL_PROGRAM) $(PROG) $(BINDIR)$(PROG) X mkdir -p $(DATADIR) X- mkdir -p $(DOCDIR) X- mkdir -p $(ICONDIR) X- mkdir -p $(ICONDIR)mini X- mkdir -p $(ICONDIR)large X- mkdir -p $(KDE) X- mkdir -p $(GNOME) X- X- strip $(PROG) X- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG) X- install -o root -g games -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME) X- cp $(DOCS) $(DOCDIR) X- cp $(ICONS)$(PROG).png $(ICONDIR) X- cp $(ICONS)$(PROG)-mini.png $(ICONDIR)mini/$(PROG).png X- cp $(ICONS)$(PROG)-large.png $(ICONDIR)large/$(PROG).png X- cp $(ICONS)$(PROG).desktop $(KDE) X- cp $(ICONS)$(PROG).desktop $(GNOME) X+ $(BSD_INSTALL_DATA) $(PAKNAME) $(DATADIR)$(PAKNAME) X+ mkdir -p $(PREFIX)/share/applications X+ $(BSD_INSTALL_DATA) $(ICONS)$(PROG).desktop $(PREFIX)/share/applications X+ mkdir -p $(PREFIX)/share/pixmaps X+ $(BSD_INSTALL_DATA) $(ICONS)$(PROG).png $(PREFIX)/share/pixmaps END-of-viruskiller/files/patch-makefile echo x - viruskiller/pkg-plist sed 's/^X//' >viruskiller/pkg-plist << 'END-of-viruskiller/pkg-plist' Xbin/viruskiller Xshare/applications/viruskiller.desktop Xshare/pixmaps/viruskiller.png X%%DATADIR%%/viruskiller.pak X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/battery.png X%%PORTDOCS%%%%DOCSDIR%%/bomb.png X%%PORTDOCS%%%%DOCSDIR%%/clock.png X%%PORTDOCS%%%%DOCSDIR%%/manual.html X%%PORTDOCS%%%%DOCSDIR%%/title.png X%%PORTDOCS%%%%DOCSDIR%%/virus1.gif X%%PORTDOCS%%%%DOCSDIR%%/virus2.gif X%%PORTDOCS%%%%DOCSDIR%%/virus3.gif X@dirrm %%DATADIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@unexec rmdir %D/share/pixmaps 2>/dev/null || true X@unexec rmdir %D/share/applications 2>/dev/null || true END-of-viruskiller/pkg-plist exit --- viruskiller.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121294570.0>