FreeBSD Bugzilla – Attachment 180956 Details for
Bug 217913
games/eduke32: Fix build, fix fetch, add option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix eduke32
patch (text/plain), 6.57 KB, created by
Matthew Rezny
on 2017-03-19 05:43:28 UTC
(
hide
)
Description:
fix eduke32
Filename:
MIME Type:
Creator:
Matthew Rezny
Created:
2017-03-19 05:43:28 UTC
Size:
6.57 KB
patch
obsolete
>Index: games/eduke32/Makefile >=================================================================== >--- games/eduke32/Makefile (revision 436444) >+++ games/eduke32/Makefile (working copy) >@@ -3,11 +3,12 @@ > > PORTNAME= eduke32 > PORTVERSION= 20170225 >+PORTREVISION= 1 > CATEGORIES= games > MASTER_SITES= http://dukeworld.duke4.net/eduke32/synthesis/${PORTVERSION}-${SVNREVISION}/:eduke32 \ > http://www.duke4.org/files/nightfright/hrp/:hrp \ > http://burnbit.com/download/447717/:hrp \ >- http://www.duke4.org/files/nightfright/:xxx \ >+ http://www.duke4.org/files/nightfright/related/:related \ > ftp://ftp.3drealms.com/share/:shareware > DISTFILES= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX}:eduke32 > EXTRACT_ONLY= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX} >@@ -16,11 +17,11 @@ > COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke > > LICENSE= GPLv2 BUILDLIC >+LICENSE_COMB= multi >+LICENSE_NAME_BUILDLIC= BUILD SOURCE CODE LICENSE >+LICENSE_FILE_BUILDLIC= ${WRKSRC}/source/build/buildlic.txt > LICENSE_FILE_GPLv2= ${WRKSRC}/source/duke3d/gpl-2.0.txt >-LICENSE_COMB= multi >-LICENSE_PERMS_BUILDLIC= dist-mirror pkg-mirror auto-accept >-LICENSE_NAME_BUILDLIC= BUILD SOURCE CODE LICENSE >-LICENSE_FILE_BUILDLIC=${WRKSRC}/source/build/buildlic.txt >+LICENSE_PERMS_BUILDLIC= dist-mirror pkg-mirror auto-accept > > LIB_DEPENDS= libFLAC.so:audio/flac \ > libogg.so:audio/libogg \ >@@ -35,10 +36,10 @@ > USE_SDL= sdl2 mixer2 > WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}-${SVNREVISION} > SVNREVISION= 6079 >-DATADIR= ${LOCALBASE}/share/duke3d >+DATADIR= ${PREFIX}/share/duke3d > SUB_FILES= pkg-message >-SUB_LIST= DATADIR=${DATADIR} > MAKEFILE= GNUmakefile >+MAKE_ARGS= CC=${CC} CXX=${CXX} > > PLIST_FILES= bin/eduke32 bin/mapster32 > PORTEXAMPLES= * >@@ -45,43 +46,36 @@ > > BROKEN_sparc64= does not compile on sparc64 > >-OPTIONS_DEFINE= EXAMPLES HRP OFFENSIVE SHAREWARE >-OPTIONS_RADIO= MIDI >-OPTIONS_RADIO_MIDI= TIMIDITY TIMIDITYPLUS >-OPTIONS_DEFAULT=TIMIDITY >+OPTIONS_DEFINE= EXAMPLES HRP OFFENSIVE SHAREWARE VOXEL >+OPTIONS_DEFAULT= # > OPTIONS_DEFINE_i386= ASM > OPTIONS_DEFAULT_i386= ASM > > ASM_BUILD_DEPENDS= nasm:devel/nasm >-HRP_DESC= Install High Resolution Pack >-HRP_DISTFILES= duke3d_hrp.zip:hrp >+ASM_MAKE_ARGS_OFF= NOASM=1 >+HRP_DESC= Install High Resolution Pack >+HRP_DISTFILES= duke3d_hrp.zip:hrp > HRP_PLIST_FILES= ${DATADIR}/duke3d_hrp.zip >-MIDI_DESC= MIDI music support >-OFFENSIVE_DESC= Install full XXX Pack >+MIDI_DESC= MIDI music support >+OFFENSIVE_DESC= Install Full XXX Pack > OFFENSIVE_IMPLIES= HRP >-OFFENSIVE_DISTFILES= duke3d_xxx.zip:xxx >+OFFENSIVE_DISTFILES= duke3d_xxx.zip:related > OFFENSIVE_PLIST_FILES= ${DATADIR}/duke3d_xxx.zip >-SHAREWARE_DESC= Install shareware game data version 1.3 >+SHAREWARE_DESC= Install shareware game data version 1.3 > SHAREWARE_EXTRACT_ONLY= 3dduke13.zip > SHAREWARE_DISTFILES= 3dduke13.zip:shareware >-SHAREWARE_PLIST_FILES= ${DATADIR}/duke3d.grp >-TIMIDITY_DESC= Use Timidity for music support >-TIMIDITY_RUN_DEPENDS= timidity:audio/timidity >-TIMIDITYPLUS_DESC= Use Timidity++ for music support >-TIMIDITYPLUS_RUN_DEPENDS= timidity:audio/timidity++ >+SHAREWARE_PLIST_FILES= ${DATADIR}/duke3d.grp ${DATADIR}/duke.rts >+VOXEL_DESC= Install Voxel Pack >+VOXEL_DISTFILES= duke3d_voxels.zip:related >+VOXEL_PLIST_FILES= ${DATADIR}/duke3d_voxels.zip > > post-extract-SHAREWARE-on: > @cd ${WRKDIR} && ${UNZIP_NATIVE_CMD} -qo DN3DSW13.SHR > > post-patch: >- @${REINPLACE_CMD} -e '/^CC=/s|gcc|${CC}|' -e '/^CXX=/s|g++|${CXX}|' \ >- ${WRKSRC}/GNUmakefile >- @${REINPLACE_CMD} 's|/usr/share/games/eduke32|${DN3DDIR}|' \ >- ${WRKSRC}/source/duke3d/src/game.cpp ${WRKSRC}/source/duke3d/src/astub.cpp >+ @${REINPLACE_CMD} 's|/usr/share/games/eduke32|${DATADIR}|' \ >+ ${WRKSRC}/source/duke3d/src/common.cpp > >-post-patch-ASM-off: >- @${REINPLACE_CMD} '/^NOASM =/s/0/1/' ${WRKSRC}/GNUmakefile >- > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/eduke32 ${STAGEDIR}${PREFIX}/bin > ${INSTALL_PROGRAM} ${WRKSRC}/mapster32 ${STAGEDIR}${PREFIX}/bin >@@ -102,5 +96,10 @@ > do-install-SHAREWARE-on: > @${MKDIR} ${STAGEDIR}${DATADIR} > ${INSTALL_DATA} ${WRKDIR}/DUKE3D.GRP ${STAGEDIR}${DATADIR}/duke3d.grp >+ ${INSTALL_DATA} ${WRKDIR}/DUKE.RTS ${STAGEDIR}${DATADIR}/duke.rts > >+do-install-VOXEL-on: >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${DISTDIR}/duke3d_voxels.zip ${STAGEDIR}${DATADIR}/duke3d_voxels.zip >+ > .include <bsd.port.mk> >Index: games/eduke32/distinfo >=================================================================== >--- games/eduke32/distinfo (revision 436444) >+++ games/eduke32/distinfo (working copy) >@@ -1,4 +1,4 @@ >-TIMESTAMP = 1488206145 >+TIMESTAMP = 1489745171 > SHA256 (eduke32_src_20170225-6079.tar.xz) = 23cecc904df1e1e528c499e775a4dce7417cc70b8d97e7dcef068ff197e6a0a7 > SIZE (eduke32_src_20170225-6079.tar.xz) = 14759072 > SHA256 (duke3d_hrp.zip) = f217df456b4f11055041731033e35e4402fada99253e714e37c4a27e6fdc78a5 >@@ -7,3 +7,5 @@ > SIZE (duke3d_xxx.zip) = 26586453 > SHA256 (3dduke13.zip) = c67efd179022bc6d9bde54f404c707cbcbdc15423c20be72e277bc2bdddf3d0e > SIZE (3dduke13.zip) = 5924374 >+SHA256 (duke3d_voxels.zip) = b63deb1230554ecfd391699b85ae0be86ccb693657604378f0830ec0acec74e4 >+SIZE (duke3d_voxels.zip) = 1743371 >Index: games/eduke32/files/pkg-message.in >=================================================================== >--- games/eduke32/files/pkg-message.in (revision 436444) >+++ games/eduke32/files/pkg-message.in (working copy) >@@ -1,11 +1,15 @@ >-============================================================================== >+================================================================================ > >-To complete the installation of this port you need to copy the file >-"DUKE3D.GRP" from the original Duke Nukem 3D distribution as "duke3d.grp" to >-%%DATADIR%%, if you want to install it globally, and then run with >--g %%DATADIR%%/duke3d.grp parameter. If you also installed any of the >-optional packs, you need to add the -g parameter in the same manner. >+To complete the installation of this port, you need to copy the files >+DUKE3D.GRP and DUKE.RTS from the original Duke Nukem 3D distribution to >+%%DATADIR%% with names "duke3d.grp" and "duke.rts" > >-If you installed the XXX Pack, you need to include both HRP and XXX Packs. >+If you installed any of the optional packs, run the game with -g and the full >+path of the pack file e.g. eduke32 -g %%DATADIR%%/duke3d_voxels.zip > >-============================================================================== >+To use the XXX Pack, you need to first include the HRP, >+i.e. eduke32 -g %%DATADIR%%/duke3d_hrp.zip -g %%DATADIR%%/duke3d_xxx.zip >+ >+The Voxel pack is intended for use with classic textures, HRP has new models. >+ >+================================================================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217913
: 180956