summaryrefslogtreecommitdiff
path: root/games/scorched3d/Makefile
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-08-23 20:27:43 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-08-23 20:27:43 +0000
commit9033e25b109b8b5b37ff60911c91bc5cc4cb6289 (patch)
tree651130792b9952a7a4637eb3c652e097fc8901f4 /games/scorched3d/Makefile
parentUpdate nitpicker to new version 1.2.1 (diff)
Update to build 35.
Notes
Notes: svn path=/head/; revision=87565
Diffstat (limited to 'games/scorched3d/Makefile')
-rw-r--r--games/scorched3d/Makefile57
1 files changed, 34 insertions, 23 deletions
diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile
index 107624a83adc..8a05783f41e8 100644
--- a/games/scorched3d/Makefile
+++ b/games/scorched3d/Makefile
@@ -5,34 +5,45 @@
#
# $FreeBSD$
-PORTNAME= scorched3d
-PORTVERSION= 0.32.0
-CATEGORIES= games
-MASTER_SITES= http://users.pandora.be/redzebra/
-PKGNAMESUFFIX= devel
-DISTNAME= scorched3d-${PORTVERSION}
-
-PATCH_SITES= ftp://ftp.jurai.net/users/winter/patches/
-PATCHFILES= scorched3d-0.32.0-FreeBSD.patch.0.gz
-
-MAINTAINER= mdodd@FreeBSD.org
-COMMENT= Scorched is a game based loosely on the classic DOS game
-
-LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
- SDL_image.10:${PORTSDIR}/graphics/sdl_image
-
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-
-USE_MESA= yes
-HAS_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --prefix=${PREFIX}/games
+PORTNAME= scorched3d
+PORTVERSION= 0.${SCORCH_VERSION}
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= scorched3d
+DISTNAME= Scorched3D-${SCORCH_VERSION}-src
+
+MAINTAINER= mdodd@FreeBSD.org
+COMMENT= Scorched is a game based loosely on the classic DOS game
+
+LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+ SDL_net.0:${PORTSDIR}/net/sdl_net \
+ wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
+
+SCORCH_VERSION= 35
+WRKSRC= ${WRKDIR}/scorched
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+GNU_CONFIGURE= yes
+USE_MESA= yes
+USE_GMAKE= yes
+USE_AUTOMAKE_VER= 15
+USE_AUTOCONF_VER= 253
+
+AUTOMAKE_ARGS= --foreign
+CONFIGURE_ARGS= --with-wx-config=${X11BASE}/bin/wx-config
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
SDL_CONFIG="${LOCALBASE}/bin/sdl11-config"
MAKE_ENV= SDL_CONFIG="${LOCALBASE}/bin/sdl11-config"
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" \
+ AUTOMAKE="${TRUE}" AUTOHEADER="${TRUE}"
+
+pre-configure:
+ @cd ${WRKSRC}/scripts && ${PERL} createAMMakefile.pl
+ @cd ${WRKSRC} && aclocal
pre-install:
- @mkdir -p ${PREFIX}/games
+ @mkdir -p ${PREFIX}/games/scorched3d
+
post-install:
@ln -fs ${PREFIX}/games/scorched3d/scorched3d ${PREFIX}/bin/scorched3d