aboutsummaryrefslogtreecommitdiffstats
path: root/games/amphetamine
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-10-06 00:47:52 +0800
committersobomax <sobomax@FreeBSD.org>2001-10-06 00:47:52 +0800
commit5eef9c704d8fbd4fddbb2448ad5386b314e0cade (patch)
tree0264ca1eaeee88295b768d2c5a8c72a09bb511ff /games/amphetamine
parentdffbc7315246187318f684deee3ea2d62a5833d1 (diff)
downloadfreebsd-ports-graphics-5eef9c704d8fbd4fddbb2448ad5386b314e0cade.tar.gz
freebsd-ports-graphics-5eef9c704d8fbd4fddbb2448ad5386b314e0cade.tar.zst
freebsd-ports-graphics-5eef9c704d8fbd4fddbb2448ad5386b314e0cade.zip
Update to 0.8.9.
Diffstat (limited to 'games/amphetamine')
-rw-r--r--games/amphetamine/Makefile10
-rw-r--r--games/amphetamine/distinfo2
-rw-r--r--games/amphetamine/files/patch-aa48
3 files changed, 28 insertions, 32 deletions
diff --git a/games/amphetamine/Makefile b/games/amphetamine/Makefile
index 3197042c840..3a695822b8c 100644
--- a/games/amphetamine/Makefile
+++ b/games/amphetamine/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= amphetamine
-PORTVERSION= 0.8.8
+PORTVERSION= 0.8.9
CATEGORIES= games
MASTER_SITES= http://www.dataway.ch/~lukasl/amph/files/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@@ -14,11 +14,11 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10
+LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12
DATAVERSION= 0.8.6
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_X_PREFIX= yes
USE_XPM= yes
@@ -27,7 +27,7 @@ USE_GMAKE= yes
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
post-install:
- @(cd ${WRKDIR}/amph && ${TAR} -c -f - * ) \
- | (cd ${PREFIX}/share/amph && ${TAR} --unlink -x -f -)
+ @(cd ${WRKDIR}/amph && ${TAR} -c -f - * ) \
+ | (cd ${PREFIX}/share/amph && ${TAR} --unlink -x -f -)
.include <bsd.port.mk>
diff --git a/games/amphetamine/distinfo b/games/amphetamine/distinfo
index 8e36c5f6045..78ef51d7957 100644
--- a/games/amphetamine/distinfo
+++ b/games/amphetamine/distinfo
@@ -1,2 +1,2 @@
-MD5 (amphetamine-0.8.8.tar.bz2) = fa4bfc4ce6a7a8b23038d29f9fbfc640
+MD5 (amphetamine-0.8.9.tar.bz2) = d5a727874cddb6447331e5834be16826
MD5 (amphetamine-data-0.8.6.tar.bz2) = ed5f2a05b76918d3a624b38ba37dda0b
diff --git a/games/amphetamine/files/patch-aa b/games/amphetamine/files/patch-aa
index 42b7c6a08b4..da6c08b725e 100644
--- a/games/amphetamine/files/patch-aa
+++ b/games/amphetamine/files/patch-aa
@@ -1,24 +1,29 @@
---- Makefile.orig Sun Feb 27 05:45:57 2000
-+++ Makefile Mon Apr 30 01:16:01 2001
-@@ -5,14 +5,14 @@
- # User settings
+
+$FreeBSD$
+
+--- Makefile.orig Wed Mar 28 12:11:39 2001
++++ Makefile Fri Oct 5 19:43:34 2001
+@@ -3,8 +3,8 @@
#===============
+ # Install Paths
-PREFIX := /usr/local
-INSTALL_DIR := ${PREFIX}/games/amph
-+#PREFIX := /usr/local
++PREFIX ?= /usr/local
+INSTALL_DIR := ${PREFIX}/share/amph
- # Linux or SPARC
- TARGET_ARCH := Linux
-
+ # Endianess:
+ # LITTLE_ENDIAN (for Intel)
+@@ -14,7 +14,7 @@
+ # Libraries
USE_LIB_XPM := TRUE
--SDL_HEADERS := `sdl-config --cflags`
-+SDL_HEADERS := `$(SDL_CONFIG) --cflags`
- # For framerate dislpay (doesn't work yet)
- USE_LIB_SGE := FLASE
-@@ -24,7 +24,7 @@
+-SDL_CONFIG := sdl-config
++SDL_CONFIG ?= sdl-config
+ SDL_HEADERS := $(shell $(SDL_CONFIG) --cflags)
+ SDL_LIBS := $(shell $(SDL_CONFIG) --libs)
+
+@@ -27,7 +27,7 @@
# Directories to search for header files
@@ -27,7 +32,7 @@
# makemake variables
-@@ -34,13 +34,13 @@
+@@ -37,13 +37,13 @@
# C
@@ -45,17 +50,8 @@
%.o : %.cpp
${CXX} ${CPPFLAGS} -c $< ${CXXFLAGS} -o $@
-@@ -65,7 +65,7 @@
-
- # linker
-
--LOADLIBES := -lm `sdl-config --libs`
-+LOADLIBES := -lm `$(SDL_CONFIG) --libs`
-
- ifeq ($(USE_LIB_XPM),TRUE)
+@@ -76,7 +76,7 @@
LOADLIBES := $(LOADLIBES) -lXpm -lXt
-@@ -75,7 +75,7 @@
- LOADLIBES := $(LOADLIBES) -lSGE
endif
-LDFLAGS = -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib
@@ -63,7 +59,7 @@
.PHONY : default
default : amph
-@@ -83,9 +83,9 @@
+@@ -84,9 +84,9 @@
.PHONY : install
install: amph
@./mkinstalldirs ${INSTALL_DIR}
@@ -76,7 +72,7 @@
# This is what makemake added
-@@ -203,7 +203,7 @@
+@@ -204,7 +204,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