View | Details | Raw Unified | Return to bug 93729
Collapse All | Expand All

(-)quakeforge/Makefile (-12 / +12 lines)
Lines 18-28 Link Here
18
MAINTAINER=	alejandro@varnet.biz
18
MAINTAINER=	alejandro@varnet.biz
19
COMMENT=	Cleaned up copy of the GPLd Quake 1 source code
19
COMMENT=	Cleaned up copy of the GPLd Quake 1 source code
20
20
21
NOT_FOR_ARCHS=	sparc64
21
USE_AUTOTOOLS=	libtool:15
22
USE_AUTOTOOLS=	libtool:15
23
USE_BISON=	yes
22
USE_BZIP2=	yes
24
USE_BZIP2=	yes
23
USE_GMAKE=	yes
25
USE_GMAKE=	yes
24
USE_REINPLACE=	yes
25
USE_BISON=	yes
26
WANT_SDL=	yes
26
WANT_SDL=	yes
27
27
28
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
28
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
Lines 40-62 Link Here
40
		XMMS "Enable XMMS support in clients" off
40
		XMMS "Enable XMMS support in clients" off
41
41
42
MAN1=		pak.1 qfcc.1 qflight.1 qfvis.1 wad.1
42
MAN1=		pak.1 qfcc.1 qflight.1 qfvis.1 wad.1
43
44
INSTALLS_SHLIB=	yes
43
INSTALLS_SHLIB=	yes
45
LDCONFIG_DIRS=	%%PREFIX%%/lib/quakeforge
44
45
SUB_FILES=	pkg-message
46
PKGMESSAGE=	${WRKDIR}/pkg-message
47
48
DATADIR=	${Q1DIR}
46
49
47
.include "${.CURDIR}/../quake-data/Makefile.include"
50
.include "${.CURDIR}/../quake-data/Makefile.include"
48
51
49
.include <bsd.port.pre.mk>
52
.include <bsd.port.pre.mk>
50
53
51
.if ${ARCH} == "sparc64"
52
BROKEN=		"Does not compile on sparc64"
53
.endif
54
55
.if defined(WITH_CLIENTS)
54
.if defined(WITH_CLIENTS)
56
USE_XLIB=	yes
55
USE_GL=		yes
57
PLIST_SUB+=	CLIENTS=""
56
PLIST_SUB+=	CLIENTS=""
58
57
59
.if defined(WITH_SDL) || ${HAVE_SDL:Msdl}!=""
58
.if defined(WITH_SDL) || ${HAVE_SDL:Msdl} != ""
60
USE_SDL=	sdl
59
USE_SDL=	sdl
61
CONFIGURE_ARGS+=--with-sdl=${LOCALBASE}
60
CONFIGURE_ARGS+=--with-sdl=${LOCALBASE}
62
PLIST_SUB+=	SDL=""
61
PLIST_SUB+=	SDL=""
Lines 86-92 Link Here
86
.else
85
.else
87
CONFIGURE_ARGS+=--without-clients
86
CONFIGURE_ARGS+=--without-clients
88
PLIST_SUB+=	CLIENTS="@comment "
87
PLIST_SUB+=	CLIENTS="@comment "
89
.endif # WITH_CLIENTS
88
.endif	# WITH_CLIENTS
90
89
91
.if defined(WITH_OPTIMIZED_CFLAGS)
90
.if defined(WITH_OPTIMIZED_CFLAGS)
92
CFLAGS+=	-O3 -funroll-loops -fomit-frame-pointer -fno-common \
91
CFLAGS+=	-O3 -funroll-loops -fomit-frame-pointer -fno-common \
Lines 112-119 Link Here
112
.endif
111
.endif
113
112
114
.if defined(WITH_STATIC_PLUGINS)
113
.if defined(WITH_STATIC_PLUGINS)
115
PLIST_SUB+=	PLUGINS="@comment "
116
CONFIGURE_ARGS+=--with-static-plugins
114
CONFIGURE_ARGS+=--with-static-plugins
115
PLIST_SUB+=	PLUGINS="@comment "
117
.else
116
.else
118
PLIST_SUB+=	PLUGINS=""
117
PLIST_SUB+=	PLUGINS=""
119
.endif
118
.endif
Lines 131-135 Link Here
131
	${CP} -R ${WRKSRC}/doc/${d} ${DOCSDIR}
130
	${CP} -R ${WRKSRC}/doc/${d} ${DOCSDIR}
132
.   endfor
131
.   endfor
133
.endif
132
.endif
133
	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
134
134
135
.include <bsd.port.post.mk>
135
.include <bsd.port.post.mk>
(-)quakeforge/files/pkg-message.in (+16 lines)
Line 0 Link Here
1
==============================================================================
2
3
QuakeForge has been installed.
4
5
If you have sound problems try increasing the sound rate. This can be done
6
with the variable "snd_rate". Standard values could be 22050 and 44100.
7
8
To do this when calling the program do (for example):
9
10
nq-glx +set snd_speed 44100
11
12
Alternatively you can put it in the global configuration file (as root):
13
14
echo "set snd_speed 44100" >> %%PREFIX%%/etc/quakeforge.conf
15
16
==============================================================================
(-)quakeforge/pkg-plist (-1 lines)
Lines 282-285 Link Here
282
@dirrm lib/ruamoko
282
@dirrm lib/ruamoko
283
@dirrm lib/quakeforge
283
@dirrm lib/quakeforge
284
@dirrm %%DATADIR%%/QF
284
@dirrm %%DATADIR%%/QF
285
@dirrm %%DATADIR%%

Return to bug 93729