Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 13:19:29 GMT
From:      Olivier Smedts<olivier@gid0.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113086: [patch] games/eduke32 : (midi) music support
Message-ID:  <200705281319.l4SDJTX6023865@www.freebsd.org>
Resent-Message-ID: <200705281320.l4SDK3ou090026@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113086
>Category:       ports
>Synopsis:       [patch] games/eduke32 : (midi) music support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 28 13:20:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Smedts
>Release:        6.2-STABLE
>Organization:
gid0.org
>Environment:
FreeBSD z.gid0.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 27 16:19:36 CEST 2007     root@z.gid0.org:/work/obj/work/src/sys/XPC  i386
>Description:
The actual EDuke32 port doesn't have music support. This one is a modified version with complete audio patchs and audio/timidity as a run dependency (can be turned off with a knob). It doesn't use audio patchs in files/ any more. If the actual maintainer agrees, I'd like to maintain this port, and soon update it with an up-to-date snapshot.
>How-To-Repeat:
Install games/eduke32 and audio/timidity. Run "eduke32". There is sound, but not music.
>Fix:
cd /usr/ports
rm -rf games/eduke32

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	games/eduke32
#	games/eduke32/Makefile
#	games/eduke32/distinfo
#	games/eduke32/pkg-descr
#	games/eduke32/pkg-plist
#
echo c - games/eduke32
mkdir -p games/eduke32 > /dev/null 2>&1
echo x - games/eduke32/Makefile
sed 's/^X//' >games/eduke32/Makefile << 'END-of-games/eduke32/Makefile'
X# New ports collection makefile for:	eduke32
X# Date Created:				1 Aug 2006
X# Whom:					alepulver
X#
X# $FreeBSD: ports/games/eduke32/Makefile,v 1.4 2007/05/19 20:05:50 flz Exp $
X
XPORTNAME=	eduke32
XPORTVERSION=	20060718
XPORTREVISION=	3
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTFILES=	${PORTNAME}_src_${PORTVERSION}.zip \
X		txbuild_src_${PORTVERSION}.zip
XPATCH_SITES=	http://mephisto.ma.cx/mephisto/patches/
XPATCHFILES=	${PORTNAME}_src_${PORTVERSION}.patch \
X		txbuild_src_${PORTVERSION}.patch
X
XMAINTAINER=	alepulver@FreeBSD.org
XCOMMENT=	Duke Nukem 3D Port based on JFDuke and EDuke
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
X
X.if !defined(WITHOUT_MIDI)
XRUN_DEPENDS=    timidity:${PORTSDIR}/audio/timidity
X.endif
X
XONLY_FOR_ARCHS=	i386
XONLY_FOR_ARCHS_REASON=	uses x86 assembly code
XUSE_ZIP=	yes
XUSE_GCC=	3.2+
XUSE_GMAKE=	yes
XUSE_GL=		yes
XUSE_GNOME=	gtk20
XUSE_SDL=	mixer sdl
XWRKSRC=		${WRKDIR}/${PORTNAME}_src_${PORTVERSION}
XPATCH_WRKSRC=	${WRKDIR}
XPATCH_DIST_STRIP=	-p0
X
Xpost-patch:
X	@${REINPLACE_CMD} -Ee \
X		's|^(EROOT=)../build/|\1../txbuild_src_${PORTVERSION}/|; \
X		 s|^(CC=).*|\1${CC}|; \
X		 s|^(CXX=).*|\1${CXX}|; \
X		 s|^(NASMFLAGS=).*|\1 -s -f elf|; \
X		 s|/usr/X11R6|${X11BASE}|; \
X		 s|sdl-config|${SDL_CONFIG}|' \
X		${WRKSRC}/Makefile \
X		${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile \
X		${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile.shared
X	@${REINPLACE_CMD} -e 's|/usr/share/games/eduke32|${DN3DDIR}|' \
X		${WRKSRC}/source/game.c ${WRKSRC}/source/astub.c
X
Xdo-install:
X.for f in eduke32 mapster32
X	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
X.endfor
X.if !defined(NOPORTDOCS)
X.for f in ChangeLog *.sample
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include "${.CURDIR}/../duke3d-data/Makefile.include"
X
X.include <bsd.port.mk>
END-of-games/eduke32/Makefile
echo x - games/eduke32/distinfo
sed 's/^X//' >games/eduke32/distinfo << 'END-of-games/eduke32/distinfo'
XMD5 (eduke32_src_20060718.zip) = 1c037c953c1bdc76647c3434408e7db2
XSHA256 (eduke32_src_20060718.zip) = 4271a8470aa81217b554df0d9eb1864ef3d5b8ff6ca87d985b3bb46cbe3d373f
XSIZE (eduke32_src_20060718.zip) = 684828
XMD5 (txbuild_src_20060718.zip) = c2427bca6834f44c6731ea3973bc0d4b
XSHA256 (txbuild_src_20060718.zip) = 7329be9c1507a7a68a3216ab9d3e78d7ea0279fd302b0683af3e73a1c620777d
XSIZE (txbuild_src_20060718.zip) = 692726
XMD5 (eduke32_src_20060718.patch) = c2d6b3d7697f4588ba837f8e1b0b3085
XSHA256 (eduke32_src_20060718.patch) = 3fadcf1050f351944adee0c74e2f7fe4fe8f4af2afafa25b614a880304147063
XSIZE (eduke32_src_20060718.patch) = 128564
XMD5 (txbuild_src_20060718.patch) = a8ed8a4dbd83420bc735c45219116c03
XSHA256 (txbuild_src_20060718.patch) = 36e13cc7dc0a68e4dceb5dd4d5d9b40dbc43cd6e65a47b3080086e530f302dd3
XSIZE (txbuild_src_20060718.patch) = 1752
END-of-games/eduke32/distinfo
echo x - games/eduke32/pkg-descr
sed 's/^X//' >games/eduke32/pkg-descr << 'END-of-games/eduke32/pkg-descr'
XEDuke32 is a Windows/Linux/UNIX version of Duke Nukem 3D aimed at highly
Xextending what can be edited in the game. EDuke32 combines the work that JonoF
Xand Ken Silverman have put in to JFDuke3D with the original EDuke work done by
XMatt Saettler, while simultaneously adding tons of new and useful features.
XConsequently, EDuke32 is the most advanced version of Duke Nukem 3D in
Xexistence. EDuke32 is developed and maintained by Richard "TerminX" Gobeille
Xand the EDuke32 team.
X
XThis port includes icculus.org/duke3d patches for sound and joystick support.
X
XWWW: http://eduke32.com/
END-of-games/eduke32/pkg-descr
echo x - games/eduke32/pkg-plist
sed 's/^X//' >games/eduke32/pkg-plist << 'END-of-games/eduke32/pkg-plist'
Xbin/eduke32
Xbin/mapster32
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/duke3d.def.sample
X%%PORTDOCS%%%%DOCSDIR%%/enhance.con.sample
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-games/eduke32/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705281319.l4SDJTX6023865>