summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-12 17:47:16 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-12 17:47:16 +0000
commit57d98c6a8c9f20238d1027b51b19f779689c519e (patch)
treed6ef54cdb5eaff723a0296b24b79f6c8c829d1c6 /games
parentAdd a missing dependency on docbook-xsl. (diff)
- Update MASTER_SITES and WWW: line
- Support CXX properly - Utilize USE_SDL PR: 55498 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=86842
Diffstat (limited to 'games')
-rw-r--r--games/amphetamine/Makefile19
-rw-r--r--games/amphetamine/files/patch-aa14
-rw-r--r--games/amphetamine/pkg-descr3
3 files changed, 18 insertions, 18 deletions
diff --git a/games/amphetamine/Makefile b/games/amphetamine/Makefile
index 0f237efab946..59304835a03a 100644
--- a/games/amphetamine/Makefile
+++ b/games/amphetamine/Makefile
@@ -7,28 +7,25 @@
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 <bsd.port.mk>
diff --git a/games/amphetamine/files/patch-aa b/games/amphetamine/files/patch-aa
index ca6aff44cac9..a8279ffb0d5b 100644
--- a/games/amphetamine/files/patch-aa
+++ b/games/amphetamine/files/patch-aa
@@ -1,8 +1,8 @@
$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 @@
#===============
@@ -20,7 +20,7 @@ $FreeBSD$
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
@@ -29,7 +29,11 @@ $FreeBSD$
# makemake variables
-@@ -32,13 +32,13 @@
+-LINKER := g++
+-DEPENDFLAGS := -g ${SEARCHDIRS}
++LINKER := ${CXX}
++DEPENDFLAGS := ${SEARCHDIRS}
+ TOUCHHEADERS := ${MYCODEDIR}/*.h
# C
diff --git a/games/amphetamine/pkg-descr b/games/amphetamine/pkg-descr
index 0193d86e67a0..aac9017ae94c 100644
--- a/games/amphetamine/pkg-descr
+++ b/games/amphetamine/pkg-descr
@@ -11,5 +11,4 @@ Highlights:
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