diff -urNd /usr/ports/games/quakeforge/Makefile quakeforge/Makefile --- /usr/ports/games/quakeforge/Makefile Thu Nov 17 18:58:25 2005 +++ quakeforge/Makefile Wed Feb 22 19:46:32 2006 @@ -18,11 +18,11 @@ MAINTAINER= alejandro@varnet.biz COMMENT= Cleaned up copy of the GPLd Quake 1 source code +NOT_FOR_ARCHS= sparc64 USE_AUTOTOOLS= libtool:15 +USE_BISON= yes USE_BZIP2= yes USE_GMAKE= yes -USE_REINPLACE= yes -USE_BISON= yes WANT_SDL= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} @@ -40,23 +40,22 @@ XMMS "Enable XMMS support in clients" off MAN1= pak.1 qfcc.1 qflight.1 qfvis.1 wad.1 - INSTALLS_SHLIB= yes -LDCONFIG_DIRS= %%PREFIX%%/lib/quakeforge + +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message + +DATADIR= ${Q1DIR} .include "${.CURDIR}/../quake-data/Makefile.include" .include -.if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" -.endif - .if defined(WITH_CLIENTS) -USE_XLIB= yes +USE_GL= yes PLIST_SUB+= CLIENTS="" -.if defined(WITH_SDL) || ${HAVE_SDL:Msdl}!="" +.if defined(WITH_SDL) || ${HAVE_SDL:Msdl} != "" USE_SDL= sdl CONFIGURE_ARGS+=--with-sdl=${LOCALBASE} PLIST_SUB+= SDL="" @@ -86,7 +85,7 @@ .else CONFIGURE_ARGS+=--without-clients PLIST_SUB+= CLIENTS="@comment " -.endif # WITH_CLIENTS +.endif # WITH_CLIENTS .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -funroll-loops -fomit-frame-pointer -fno-common \ @@ -112,8 +111,8 @@ .endif .if defined(WITH_STATIC_PLUGINS) -PLIST_SUB+= PLUGINS="@comment " CONFIGURE_ARGS+=--with-static-plugins +PLIST_SUB+= PLUGINS="@comment " .else PLIST_SUB+= PLUGINS="" .endif @@ -131,5 +130,6 @@ ${CP} -R ${WRKSRC}/doc/${d} ${DOCSDIR} . endfor .endif + @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} .include diff -urNd /usr/ports/games/quakeforge/files/pkg-message.in quakeforge/files/pkg-message.in --- /usr/ports/games/quakeforge/files/pkg-message.in Wed Dec 31 21:00:00 1969 +++ quakeforge/files/pkg-message.in Wed Feb 22 19:51:05 2006 @@ -0,0 +1,16 @@ +============================================================================== + +QuakeForge has been installed. + +If you have sound problems try increasing the sound rate. This can be done +with the variable "snd_rate". Standard values could be 22050 and 44100. + +To do this when calling the program do (for example): + +nq-glx +set snd_speed 44100 + +Alternatively you can put it in the global configuration file (as root): + +echo "set snd_speed 44100" >> %%PREFIX%%/etc/quakeforge.conf + +============================================================================== diff -urNd /usr/ports/games/quakeforge/pkg-plist quakeforge/pkg-plist --- /usr/ports/games/quakeforge/pkg-plist Thu Dec 15 18:03:26 2005 +++ quakeforge/pkg-plist Wed Feb 22 18:52:22 2006 @@ -282,4 +282,3 @@ @dirrm lib/ruamoko @dirrm lib/quakeforge @dirrm %%DATADIR%%/QF -@dirrm %%DATADIR%%