aboutsummaryrefslogtreecommitdiffstats
path: root/games/eduke32/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-02-17 05:38:12 +0800
committermiwi <miwi@FreeBSD.org>2008-02-17 05:38:12 +0800
commite45e74534a94893f24445f39cda7b9d3b139dc30 (patch)
tree20f96892b26d8985461dd6ac22dc7d6aac0beef2 /games/eduke32/Makefile
parenta9bd98a650ee5aeda22059f09ba910bd51cf65d8 (diff)
downloadfreebsd-ports-gnome-e45e74534a94893f24445f39cda7b9d3b139dc30.tar.gz
freebsd-ports-gnome-e45e74534a94893f24445f39cda7b9d3b139dc30.tar.zst
freebsd-ports-gnome-e45e74534a94893f24445f39cda7b9d3b139dc30.zip
- Update to 20080206
PR: 120738 Submitted by: Olivier Smedts <olivier@gid0.org> (maintainer)
Diffstat (limited to 'games/eduke32/Makefile')
-rw-r--r--games/eduke32/Makefile26
1 files changed, 7 insertions, 19 deletions
diff --git a/games/eduke32/Makefile b/games/eduke32/Makefile
index f9ae2bec9dd5..a792ab41b3f6 100644
--- a/games/eduke32/Makefile
+++ b/games/eduke32/Makefile
@@ -5,17 +5,10 @@
# $FreeBSD$
PORTNAME= eduke32
-PORTVERSION= 20060718
-PORTREVISION= 3
+PORTVERSION= 20080206
CATEGORIES= games
-MASTER_SITES= SF
-DISTFILES= ${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX} \
- txbuild_src_${PORTVERSION}${EXTRACT_SUFX}
-
-PATCH_SITES= http://gid0.free.fr/eduke32/
-PATCHFILES= ${PORTNAME}_src_${PORTVERSION}.patch \
- txbuild_src_${PORTVERSION}.patch
-PATCH_DIST_STRIP= -p0
+MASTER_SITES= http://wiki.eduke32.com/stuff/
+DISTFILES= ${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= olivier@gid0.org
COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke
@@ -30,8 +23,7 @@ USE_GMAKE= yes
USE_GL= yes
USE_GNOME= gtk20
USE_SDL= mixer sdl
-WRKSRC= ${WRKDIR}/${PORTNAME}_src_${PORTVERSION}
-PATCH_WRKSRC= ${WRKDIR}
+WRKSRC= ${WRKDIR}/${PORTNAME}_src_${PORTVERSION}/${PORTNAME}
OPTIONS= MIDI "Enable MIDI support" on
@@ -45,19 +37,15 @@ RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity
post-patch:
@${REINPLACE_CMD} -Ee \
- 's|^(EROOT=)../build/|\1../txbuild_src_${PORTVERSION}/|; \
- s|^(CC=).*|\1${CC}|; \
+ 's|^(CC=).*|\1${CC}|; \
s|^(CXX=).*|\1${CXX}|; \
- s|^(NASMFLAGS=).*|\1 -s -f elf|; \
s|/usr/X11R6|${X11BASE}|; \
s|sdl-config|${SDL_CONFIG}|' \
${WRKSRC}/Makefile \
- ${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile \
- ${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile.shared
+ ${WRKSRC}/../build/Makefile \
+ ${WRKSRC}/../build/Makefile.shared
@${REINPLACE_CMD} -e 's|/usr/share/games/eduke32|${DN3DDIR}|' \
${WRKSRC}/source/game.c ${WRKSRC}/source/astub.c
- @${REINPLACE_CMD} -e 's,^#if defined RENDERTYPEWIN || .*,#if 0,' \
- ${WRKSRC}/source/game.c
do-install:
.for f in eduke32 mapster32