Lines 2-15
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= eduke32 |
4 |
PORTNAME= eduke32 |
5 |
PORTVERSION= 20160704 |
5 |
PORTVERSION= 20170203 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= games |
6 |
CATEGORIES= games |
8 |
MASTER_SITES= http://dukeworld.duke4.net/eduke32/synthesis/${PORTVERSION}-${SVNREVISION}/:eduke32 \ |
7 |
MASTER_SITES= http://dukeworld.duke4.net/eduke32/synthesis/${PORTVERSION}-${SVNREVISION}/:eduke32 \ |
9 |
http://www.duke4.org/files/nightfright/hrp/:hrp \ |
8 |
http://www.duke4.org/files/nightfright/hrp/:hrp \ |
10 |
http://burnbit.com/download/447717/:hrp \ |
9 |
http://burnbit.com/download/447717/:hrp \ |
11 |
https://anongoth.pl/:hrp \ |
|
|
12 |
https://anongoth.pl/:xxx \ |
13 |
http://www.duke4.org/files/nightfright/:xxx \ |
10 |
http://www.duke4.org/files/nightfright/:xxx \ |
14 |
ftp://ftp.3drealms.com/share/:shareware |
11 |
ftp://ftp.3drealms.com/share/:shareware |
15 |
DISTFILES= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX}:eduke32 |
12 |
DISTFILES= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX}:eduke32 |
Lines 18-25
Link Here
|
18 |
MAINTAINER= pkubaj@anongoth.pl |
15 |
MAINTAINER= pkubaj@anongoth.pl |
19 |
COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke |
16 |
COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke |
20 |
|
17 |
|
21 |
LICENSE= GPLv2 |
18 |
LICENSE= GPLv2 BUILDLIC |
22 |
LICENSE_FILE= ${WRKSRC}/source/gpl-2.0.txt |
19 |
LICENSE_FILE_GPLv2= ${WRKSRC}/source/duke3d/gpl-2.0.txt |
|
|
20 |
LICENSE_COMB= multi |
21 |
LICENSE_PERMS_BUILDLIC= dist-mirror pkg-mirror auto-accept |
22 |
LICENSE_NAME_BUILDLIC= BUILD SOURCE CODE LICENSE |
23 |
LICENSE_FILE_BUILDLIC=${WRKSRC}/source/build/buildlic.txt |
23 |
|
24 |
|
24 |
LIB_DEPENDS= libFLAC.so:audio/flac \ |
25 |
LIB_DEPENDS= libFLAC.so:audio/flac \ |
25 |
libogg.so:audio/libogg \ |
26 |
libogg.so:audio/libogg \ |
Lines 33-52
Link Here
|
33 |
USE_GNOME= gtk20 |
34 |
USE_GNOME= gtk20 |
34 |
USE_SDL= sdl2 mixer2 |
35 |
USE_SDL= sdl2 mixer2 |
35 |
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}-${SVNREVISION} |
36 |
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}-${SVNREVISION} |
36 |
SVNREVISION= 5811 |
37 |
SVNREVISION= 6059 |
37 |
DATADIR= ${LOCALBASE}/share/duke3d |
38 |
DATADIR= ${LOCALBASE}/share/duke3d |
38 |
SUB_FILES= pkg-message |
39 |
SUB_FILES= pkg-message |
39 |
SUB_LIST= DATADIR=${DATADIR} |
40 |
SUB_LIST= DATADIR=${DATADIR} |
|
|
41 |
MAKEFILE= GNUmakefile |
40 |
|
42 |
|
41 |
CFLAGS+= -flax-vector-conversions |
|
|
42 |
|
43 |
PLIST_FILES= bin/eduke32 bin/mapster32 |
43 |
PLIST_FILES= bin/eduke32 bin/mapster32 |
44 |
PORTDOCS= * |
|
|
45 |
PORTEXAMPLES= * |
44 |
PORTEXAMPLES= * |
46 |
|
45 |
|
47 |
BROKEN_sparc64= does not compile on sparc64 |
46 |
BROKEN_sparc64= does not compile on sparc64 |
48 |
|
47 |
|
49 |
OPTIONS_DEFINE= DOCS EXAMPLES HRP OFFENSIVE SHAREWARE |
48 |
OPTIONS_DEFINE= EXAMPLES HRP OFFENSIVE SHAREWARE |
50 |
OPTIONS_RADIO= MIDI |
49 |
OPTIONS_RADIO= MIDI |
51 |
OPTIONS_RADIO_MIDI= TIMIDITY TIMIDITYPLUS |
50 |
OPTIONS_RADIO_MIDI= TIMIDITY TIMIDITYPLUS |
52 |
OPTIONS_DEFAULT=TIMIDITY |
51 |
OPTIONS_DEFAULT=TIMIDITY |
Lines 76-102
Link Here
|
76 |
|
75 |
|
77 |
post-patch: |
76 |
post-patch: |
78 |
@${REINPLACE_CMD} -e '/^CC=/s|gcc|${CC}|' -e '/^CXX=/s|g++|${CXX}|' \ |
77 |
@${REINPLACE_CMD} -e '/^CC=/s|gcc|${CC}|' -e '/^CXX=/s|g++|${CXX}|' \ |
79 |
${WRKSRC}/Makefile.common |
78 |
${WRKSRC}/GNUmakefile |
80 |
@${REINPLACE_CMD} 's|/usr/share/games/eduke32|${DN3DDIR}|' \ |
79 |
@${REINPLACE_CMD} 's|/usr/share/games/eduke32|${DN3DDIR}|' \ |
81 |
${WRKSRC}/source/game.c ${WRKSRC}/source/astub.c |
80 |
${WRKSRC}/source/duke3d/src/game.cpp ${WRKSRC}/source/duke3d/src/astub.cpp |
82 |
|
81 |
|
83 |
post-patch-ASM-off: |
82 |
post-patch-ASM-off: |
84 |
@${REINPLACE_CMD} '/^NOASM =/s/0/1/' ${WRKSRC}/Makefile.common |
83 |
@${REINPLACE_CMD} '/^NOASM =/s/0/1/' ${WRKSRC}/GNUmakefile |
85 |
|
84 |
|
86 |
do-install: |
85 |
do-install: |
87 |
${INSTALL_PROGRAM} ${WRKSRC}/eduke32 ${STAGEDIR}${PREFIX}/bin |
86 |
${INSTALL_PROGRAM} ${WRKSRC}/eduke32 ${STAGEDIR}${PREFIX}/bin |
88 |
${INSTALL_PROGRAM} ${WRKSRC}/mapster32 ${STAGEDIR}${PREFIX}/bin |
87 |
${INSTALL_PROGRAM} ${WRKSRC}/mapster32 ${STAGEDIR}${PREFIX}/bin |
89 |
|
88 |
|
90 |
do-install-DOCS-on: |
|
|
91 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
92 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/*.sample ${STAGEDIR}${DOCSDIR} |
93 |
|
94 |
do-install-EXAMPLES-on: |
89 |
do-install-EXAMPLES-on: |
95 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
90 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
96 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/*.map ${STAGEDIR}${EXAMPLESDIR} |
91 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/tiles.cfg ${STAGEDIR}${EXAMPLESDIR} |
97 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/*.m32 ${STAGEDIR}${EXAMPLESDIR} |
92 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/* ${STAGEDIR}${EXAMPLESDIR} |
98 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/*.cfg ${STAGEDIR}${EXAMPLESDIR} |
|
|
99 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/*.txt ${STAGEDIR}${EXAMPLESDIR} |
100 |
|
93 |
|
101 |
do-install-HRP-on: |
94 |
do-install-HRP-on: |
102 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
95 |
@${MKDIR} ${STAGEDIR}${DATADIR} |