|
Lines 9-33
Link Here
|
| 9 |
PORTVERSION= 0.1 |
9 |
PORTVERSION= 0.1 |
| 10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
| 11 |
MASTER_SITES= http://quake3.quakesrc.org/files/quake3/q3base/ |
11 |
MASTER_SITES= http://quake3.quakesrc.org/files/quake3/q3base/ |
| 12 |
PKGNAMEPREFIX= quake3- |
|
|
| 13 |
|
12 |
|
| 14 |
MAINTAINER= ed@fxq.nl |
13 |
MAINTAINER= ed@fxq.nl |
| 15 |
COMMENT= Quake III Arena fork using SDL |
14 |
COMMENT= Quake III Arena fork using SDL |
| 16 |
|
15 |
|
| 17 |
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm |
|
|
| 18 |
|
| 19 |
USE_BZIP2= yes |
16 |
USE_BZIP2= yes |
| 20 |
USE_SDL= sdl net |
17 |
USE_SDL= sdl net |
| 21 |
|
18 |
|
| 22 |
ONLY_FOR_ARCHS= i386 |
|
|
| 23 |
|
| 24 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
| 25 |
CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG} |
|
|
| 26 |
CONFIGURE_TARGET= |
20 |
CONFIGURE_TARGET= |
| 27 |
CONFLICTS= q3server-1.32* quake3-[0-9]* |
|
|
| 28 |
|
| 29 |
SUB_FILES= pkg-message |
| 30 |
PKGMESSAGE= ${WRKSRC}/pkg-message |
| 31 |
|
21 |
|
| 32 |
.if defined(WITHOUT_X11) |
22 |
.if defined(WITHOUT_X11) |
| 33 |
CONFIGURE_ARGS= --disable-client |
23 |
CONFIGURE_ARGS= --disable-client |
|
Lines 38-46
Link Here
|
| 38 |
|
28 |
|
| 39 |
.include <bsd.port.pre.mk> |
29 |
.include <bsd.port.pre.mk> |
| 40 |
|
30 |
|
| 41 |
post-install: |
31 |
.if ${ARCH} == "i386" |
| 42 |
@${MKDIR} ${PREFIX}/share/quake3/baseq3 |
32 |
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm |
| 43 |
@${MKDIR} ${PREFIX}/share/quake3/missionpack |
33 |
.endif |
| 44 |
@${CAT} ${PKGMESSAGE} |
34 |
|
|
|
35 |
post-patch: |
| 36 |
@${REINPLACE_CMD} -e 's|\($${exec_prefix}/lib\)/quake3|\1/q3base|' \ |
| 37 |
${WRKSRC}/src/Makefile.in |
| 38 |
@${REINPLACE_CMD} -e 's|botlib\.log|/dev/null|' \ |
| 39 |
${WRKSRC}/src/botlib/be_interface.c |
| 45 |
|
40 |
|
|
|
41 |
.include "${.CURDIR}/../quake3-data/Makefile.include" |
| 46 |
.include <bsd.port.post.mk> |
42 |
.include <bsd.port.post.mk> |