aboutsummaryrefslogtreecommitdiffstats
path: root/games/amphetamine
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-13 01:47:16 +0800
committerkrion <krion@FreeBSD.org>2003-08-13 01:47:16 +0800
commitce43257161a8d9db540a3728ba70af06d3cc84c3 (patch)
treeebb2e1f5b5a6bb2713a8ac2b117c5ed6d73c87a3 /games/amphetamine
parentf3b83bc3c22b2960ffdcbf29b57071e9676e410f (diff)
downloadfreebsd-ports-gnome-ce43257161a8d9db540a3728ba70af06d3cc84c3.tar.gz
freebsd-ports-gnome-ce43257161a8d9db540a3728ba70af06d3cc84c3.tar.zst
freebsd-ports-gnome-ce43257161a8d9db540a3728ba70af06d3cc84c3.zip
- Update MASTER_SITES and WWW: line
- Support CXX properly - Utilize USE_SDL PR: 55498 Submitted by: Ports Fury
Diffstat (limited to 'games/amphetamine')
-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