Index: head/games/amphetamine/Makefile =================================================================== --- head/games/amphetamine/Makefile (revision 86841) +++ head/games/amphetamine/Makefile (revision 86842) @@ -1,34 +1,31 @@ # New ports collection makefile for: amphetamine # Date created: 6 March 2000 # Whom: Maxim Sobolev # # $FreeBSD$ # PORTNAME= amphetamine PORTVERSION= 0.8.10 +PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= http://www.dataway.ch/~lukasl/amph/files/ +MASTER_SITES= http://n.ethz.ch/student/loehrerl/amph/files/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= A 2D - Jump'n'run shooter -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 - -DATAVERSION= 0.8.6 - -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config - +USE_BZIP2= yes USE_X_PREFIX= yes USE_XPM= yes -USE_BZIP2= yes +USE_SDL= yes USE_GMAKE= yes -MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}" +DATAVERSION= 0.8.6 + post-install: - @(cd ${WRKDIR}/amph && ${TAR} -c -f - * ) \ - | (cd ${PREFIX}/share/amph && ${TAR} --unlink -x -f -) + @cd ${WRKDIR}/amph && ${FIND} . | \ + cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/amph .include Property changes on: head/games/amphetamine/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.12 \ No newline at end of property +1.13 \ No newline at end of property Index: head/games/amphetamine/files/patch-aa =================================================================== --- head/games/amphetamine/files/patch-aa (revision 86841) +++ head/games/amphetamine/files/patch-aa (revision 86842) @@ -1,80 +1,84 @@ $FreeBSD$ - ---- Makefile.orig Mon Mar 25 21:11:27 2002 -+++ Makefile Tue Jul 2 14:46:57 2002 + +--- Makefile.orig Tue Mar 26 04:11:27 2002 ++++ Makefile Sun Aug 3 22:14:39 2003 @@ -3,13 +3,13 @@ #=============== # Install Paths -PREFIX := /usr/local -INSTALL_DIR := ${PREFIX}/games/amph +PREFIX ?= /usr/local +INSTALL_DIR := ${PREFIX}/share/amph # Libraries USE_LIB_XPM := TRUE -SDL_CONFIG := sdl-config +SDL_CONFIG ?= sdl-config SDL_HEADERS := $(shell $(SDL_CONFIG) --cflags) SDL_LIBS := $(shell $(SDL_CONFIG) --libs) -@@ -22,7 +22,7 @@ +@@ -22,23 +22,23 @@ # Directories to search for header files -SEARCHDIRS := -I${MYCODEDIR} ${SDL_HEADERS} +SEARCHDIRS := -I${MYCODEDIR} ${SDL_HEADERS} -I ${X11BASE}/include # makemake variables -@@ -32,13 +32,13 @@ +-LINKER := g++ +-DEPENDFLAGS := -g ${SEARCHDIRS} ++LINKER := ${CXX} ++DEPENDFLAGS := ${SEARCHDIRS} + TOUCHHEADERS := ${MYCODEDIR}/*.h # C -CC := gcc -CFLAGS = ${DEPENDFLAGS} +CC ?= gcc +CFLAGS += ${DEPENDFLAGS} # C++ -CXX := g++ -CXXFLAGS = ${DEPENDFLAGS} -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align +CXX ?= g++ +CXXFLAGS += ${DEPENDFLAGS} -Wcast-align %.o : %.cpp ${CXX} ${CPPFLAGS} -c $< ${CXXFLAGS} -o $@ @@ -66,7 +66,7 @@ LOADLIBES := $(LOADLIBES) -lXpm -lXt endif -LDFLAGS = -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib +LDFLAGS = -L$(X11BASE)/lib .PHONY : default default : amph @@ -74,9 +74,9 @@ .PHONY : install install: amph @./mkinstalldirs ${INSTALL_DIR} - @install -c ./amph ${INSTALL_DIR} - @strip ${INSTALL_DIR}/amph - @ln -s ${INSTALL_DIR}/amph ${PREFIX}/bin/amph + @${BSD_INSTALL_PROGRAM} ./amph ${PREFIX}/bin/amph +#${INSTALL_DIR} +# @ln -s ${INSTALL_DIR}/amph ${PREFIX}/bin/amph # This is what makemake added @@ -194,7 +194,7 @@ ./src/Surface.o: ./src/AmpHead.hpp ./src/Clut.hpp ./src/ConstVal.hpp ./src/Graphfil.hpp ./src/Shape.hpp ./src/ShapeLd.hpp ./src/Surface.hpp ./src/System.hpp /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h -./src/System.o: ./src/AmpHead.hpp ./src/Graphfil.hpp ./src/System.hpp /usr/include/X11/xpm.h /usr/include/fcntl.h /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/stat.h /usr/include/sys/time.h /usr/include/sys/types.h /usr/include/unistd.h +./src/System.o: ./src/AmpHead.hpp ./src/Graphfil.hpp ./src/System.hpp ${X11BASE}/include/X11/xpm.h /usr/include/fcntl.h /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/stat.h /usr/include/sys/time.h /usr/include/sys/types.h /usr/include/unistd.h ./src/Thing.o: ./src/AmpHead.hpp ./src/Appl.hpp ./src/Bullet.hpp ./src/ConstVal.hpp ./src/Element.hpp ./src/File.hpp ./src/Graphfil.hpp ./src/Level.hpp ./src/ObjInfo.hpp ./src/Object.hpp ./src/Pltform.hpp ./src/Shape.hpp ./src/ShapeLd.hpp ./src/Surface.hpp ./src/System.hpp ./src/Thing.hpp /usr/include/limits.h /usr/include/math.h /usr/include/stdio.h /usr/include/stdlib.h Property changes on: head/games/amphetamine/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/games/amphetamine/pkg-descr =================================================================== --- head/games/amphetamine/pkg-descr (revision 86841) +++ head/games/amphetamine/pkg-descr (revision 86842) @@ -1,15 +1,14 @@ Amphetamine is a 2D - Jump'n'run shooter in the tradition of Super Mario Bros and other classics. But it has unique features: Highlights: o Fast 256 colour graphics o Never seen graphics (in this genre) such as coronas (remember Unreal), dynamic coloured lightning, fogging, semitransparence and much more... o Seven weapons (like the seven deadly sins): Fight with arrow and bow, a scie, fire hands, etc. against monsters o Raging fights against 11 bloodsucking monsters which themselves have several killing powers. -WWW: http://n.ethz.ch/student/spjonas/ - http://www.dataway.ch/~lukasl/amph/amph.html +WWW: http://n.ethz.ch/student/loehrerl/amph/amph.html Property changes on: head/games/amphetamine/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1.1.1 \ No newline at end of property +1.2 \ No newline at end of property