Lines 2-12
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= eduke32 |
4 |
PORTNAME= eduke32 |
5 |
PORTVERSION= 20150830 |
5 |
PORTVERSION= 20151020 |
6 |
CATEGORIES= games |
6 |
CATEGORIES= games |
7 |
MASTER_SITES= http://dukeworld.duke4.net/eduke32/synthesis/${PORTVERSION}-${SVNREVISION}/ \ |
7 |
MASTER_SITES= http://dukeworld.duke4.net/eduke32/synthesis/${PORTVERSION}-${SVNREVISION}/:eduke32 |
8 |
http://dukeworld.duke4.net/eduke32/synthesis/old/${PORTVERSION}-${SVNREVISION}/ |
8 |
DISTFILES= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX}:eduke32 |
9 |
DISTNAME= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION} |
9 |
EXTRACT_ONLY= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX} |
10 |
|
10 |
|
11 |
MAINTAINER= pkubaj@riseup.net |
11 |
MAINTAINER= pkubaj@riseup.net |
12 |
COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke |
12 |
COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke |
Lines 25-31
Link Here
|
25 |
USE_GNOME= gtk20 |
25 |
USE_GNOME= gtk20 |
26 |
USE_SDL= sdl2 mixer2 |
26 |
USE_SDL= sdl2 mixer2 |
27 |
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}-${SVNREVISION} |
27 |
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}-${SVNREVISION} |
28 |
SVNREVISION= 5338 |
28 |
SVNREVISION= 5395 |
|
|
29 |
DATADIR= ${LOCALBASE}/share/duke3d |
30 |
SUB_FILES= pkg-message |
31 |
SUB_LIST= DATADIR=${DATADIR} |
29 |
|
32 |
|
30 |
PLIST_FILES= bin/eduke32 bin/mapster32 |
33 |
PLIST_FILES= bin/eduke32 bin/mapster32 |
31 |
PORTDOCS= * |
34 |
PORTDOCS= * |
Lines 33-39
Link Here
|
33 |
|
36 |
|
34 |
BROKEN_sparc64= does not compile on sparc64 |
37 |
BROKEN_sparc64= does not compile on sparc64 |
35 |
|
38 |
|
36 |
OPTIONS_DEFINE= DOCS EXAMPLES |
39 |
OPTIONS_DEFINE= DOCS EXAMPLES HRP OFFENSIVE SHAREWARE |
37 |
OPTIONS_RADIO= MIDI |
40 |
OPTIONS_RADIO= MIDI |
38 |
OPTIONS_RADIO_MIDI= TIMIDITY TIMIDITYPLUS |
41 |
OPTIONS_RADIO_MIDI= TIMIDITY TIMIDITYPLUS |
39 |
OPTIONS_DEFAULT=TIMIDITY |
42 |
OPTIONS_DEFAULT=TIMIDITY |
Lines 41-54
Link Here
|
41 |
OPTIONS_DEFAULT_i386= ASM |
44 |
OPTIONS_DEFAULT_i386= ASM |
42 |
|
45 |
|
43 |
ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm |
46 |
ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm |
|
|
47 |
HRP_DESC= Install High Resolution Pack |
44 |
MIDI_DESC= MIDI music support |
48 |
MIDI_DESC= MIDI music support |
|
|
49 |
OFFENSIVE_DESC= Install full XXX Pack |
50 |
OFFENSIVE_IMPLIES= HRP |
51 |
SHAREWARE_DESC= Install shareware game data version 1.3 |
45 |
TIMIDITY_DESC= Use Timidity for music support |
52 |
TIMIDITY_DESC= Use Timidity for music support |
46 |
TIMIDITY_RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity |
53 |
TIMIDITY_RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity |
47 |
TIMIDITYPLUS_DESC= Use Timidity++ for music support |
54 |
TIMIDITYPLUS_DESC= Use Timidity++ for music support |
48 |
TIMIDITYPLUS_RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity++ |
55 |
TIMIDITYPLUS_RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity++ |
49 |
|
56 |
|
50 |
.include "${.CURDIR}/../duke3d-data/Makefile.include" |
57 |
.include <bsd.port.options.mk> |
51 |
|
58 |
|
|
|
59 |
.if ${PORT_OPTIONS:MHRP} |
60 |
DISTFILES+= duke3d_hrp.zip:hrp |
61 |
PLIST_SUB+= HRP="" |
62 |
PLIST_FILES+= ${DATADIR}/duke3d_hrp.zip |
63 |
MASTER_SITES+= http://www.duke4.org/files/nightfright/hrp/:hrp |
64 |
.else |
65 |
PLIST_SUB+= HRP="@comment " |
66 |
.endif |
67 |
|
68 |
.if ${PORT_OPTIONS:MOFFENSIVE} |
69 |
DISTFILES+= duke3d_xxx.zip:xxx |
70 |
PLIST_SUB+= OFFENSIVE="" |
71 |
PLIST_FILES+= ${DATADIR}/duke3d_xxx.zip |
72 |
MASTER_SITES+= http://www.duke4.org/files/nightfright/:xxx |
73 |
.else |
74 |
PLIST_SUB+= XXX="@comment " |
75 |
.endif |
76 |
|
77 |
.if ${PORT_OPTIONS:MSHAREWARE} |
78 |
EXTRACT_ONLY+= 3dduke13.zip |
79 |
DISTFILES+= 3dduke13.zip:shareware |
80 |
PLIST_SUB+= SHAREWARE="" |
81 |
PLIST_FILES+= ${DATADIR}/duke3d.grp |
82 |
MASTER_SITES+= ftp://ftp.3drealms.com/share/:shareware |
83 |
.else |
84 |
PLIST_SUB+= SHAREWARE="@comment " |
85 |
.endif |
86 |
|
87 |
post-extract-SHAREWARE-on: |
88 |
@cd ${WRKDIR} && ${UNZIP_NATIVE_CMD} -qo DN3DSW13.SHR |
89 |
|
52 |
post-patch: |
90 |
post-patch: |
53 |
@${REINPLACE_CMD} -e '/^CC=/s|gcc|${CC}|' -e '/^CXX=/s|g++|${CXX}|' \ |
91 |
@${REINPLACE_CMD} -e '/^CC=/s|gcc|${CC}|' -e '/^CXX=/s|g++|${CXX}|' \ |
54 |
${WRKSRC}/Makefile.common |
92 |
${WRKSRC}/Makefile.common |
Lines 73-76
Link Here
|
73 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/*.cfg ${STAGEDIR}${EXAMPLESDIR} |
111 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/*.cfg ${STAGEDIR}${EXAMPLESDIR} |
74 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/*.txt ${STAGEDIR}${EXAMPLESDIR} |
112 |
${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/*.txt ${STAGEDIR}${EXAMPLESDIR} |
75 |
|
113 |
|
|
|
114 |
do-install-HRP-on: |
115 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
116 |
${INSTALL_DATA} ${DISTDIR}/duke3d_hrp.zip ${STAGEDIR}${DATADIR}/duke3d_hrp.zip |
117 |
|
118 |
do-install-OFFENSIVE-on: |
119 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
120 |
${INSTALL_DATA} ${DISTDIR}/duke3d_xxx.zip ${STAGEDIR}${DATADIR}/duke3d_xxx.zip |
121 |
|
122 |
do-install-SHAREWARE-on: |
123 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
124 |
${INSTALL_DATA} ${WRKDIR}/DUKE3D.GRP ${STAGEDIR}${DATADIR}/duke3d.grp |
125 |
|
76 |
.include <bsd.port.mk> |
126 |
.include <bsd.port.mk> |