Index: head/games/alienarena/pkg-message =================================================================== --- head/games/alienarena/pkg-message (revision 248709) +++ head/games/alienarena/pkg-message (nonexistent) @@ -1,20 +0,0 @@ -############################################################################### - -Alien Arena (native version) has been installed. - -1) The OSS (native FreeBSD sound) version of Alien Arena 2008 (named -"alienarena") uses by default a slow sound speed, which causes a notable -delay. To solve this you have to run it once like this: - -$ alienarena +set sndspeed - -Where could be 22050 and 44100 for example (the default that has the -delay is 11025, and the SDL version uses 22050). The value of "sndspeed" will -be saved in the configuration file for future runs. - -NOTE: in FreeBSD 7 or newer please use the SDL version, as the other one has -problems with sound. - -2) Enjoy it :) - -############################################################################### Property changes on: head/games/alienarena/pkg-message ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.4 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/games/alienarena/Makefile =================================================================== --- head/games/alienarena/Makefile (revision 248709) +++ head/games/alienarena/Makefile (revision 248710) @@ -1,113 +1,107 @@ # New ports collection makefile for: alienarena # Date created: 11 May 2006 # Whom: alepulver # # $FreeBSD$ # PORTNAME= alienarena -PORTVERSION= 2008.721 -PORTREVISION= 1 +PORTVERSION= 2009.733 CATEGORIES= games MASTER_SITES= ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo/distfiles/ \ http://ftp.jeuxlinux.fr/files/ \ http://mirror.ipgn.com.au/games/alienarena/ \ http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/ \ http://offload2.icculus.org:9090/alienarena/Files/ \ - http://offload1.icculus.org:9090/alienarena/Files/ -DISTNAME= ${PORTNAME}2008-linux20090109 + http://offload1.icculus.org:9090/alienarena/Files/ \ + ${MASTER_SITE_GENTOO:S|$|distfiles/|} +DISTNAME= ${PORTNAME}7_33-linux20091227 MAINTAINER= acm@FreeBSD.org COMMENT= Alien Arena (native version) -RUN_DEPENDS= ${DATADIR}/arena/default.cfg:${PORTSDIR}/games/alienarena-data +RUN_DEPENDS= ${DATADIR}/data1/default.cfg:${PORTSDIR}/games/alienarena-data USE_ZIP= yes USE_DOS2UNIX= yes USE_GMAKE= yes MAKE_ENV= WITH_DATADIR=yes WITH_LIBDIR=yes \ DATADIR="${DATADIR}" LIBDIR="${LIBDIR}" -WRKSRC= ${WRKDIR}/${PORTNAME}2008/source +WRKSRC= ${WRKDIR}/${PORTNAME}7_33/source + +SUB_FILES= pkg-message ALL_TARGET= build-release OPTIONS= CLIENT "Build client" on \ DEDICATED "Build dedicated server" on \ - OPTIMIZED_CFLAGS "Enable compilation optimizations" on \ - SDL "Build SDL sound client (needs CLIENT)" on + OPTIMIZED_CFLAGS "Enable compilation optimizations" on PLIST_SUB= LIBDIR=${LIBDIR:S/${PREFIX}\///} LIBDIR= ${PREFIX}/lib/${PORTNAME} .include .if defined(WITH_CLIENT) LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl \ jpeg.10:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png USE_GL= yes +USE_OPENAL= soft alut USE_XORG= xxf86dga .endif .if defined(WITH_CLIENT) && defined(WITH_DEDICATED) MAKE_ENV+= BUILD=ALL .elif defined(WITH_CLIENT) MAKE_ENV+= BUILD=CLIENT .elif defined(WITH_DEDICATED) MAKE_ENV+= BUILD=DEDICATED .else IGNORE= needs at least one executable (CLIENT or DEDICATED) .endif .if defined(WITH_CLIENT) PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if defined(WITH_DEDICATED) PLIST_SUB+= DEDICATED="" .else PLIST_SUB+= DEDICATED="@comment " .endif .if defined(WITHOUT_OPTIMIZED_CFLAGS) MAKE_ENV+= OPTIMIZED_CFLAGS=no .endif -.if defined(WITH_SDL) -USE_SDL= sdl -PLIST_SUB+= SDL="" -.else -MAKE_ENV+= SDLSOUND=0 -PLIST_SUB+= SDL="@comment " -.endif +post-patch: + @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/client/snd_openal.c + @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/Makefile do-install: ${MKDIR} ${LIBDIR}/arena ${LIBDIR}/data1 cd ${WRKSRC}/release && \ ${INSTALL_PROGRAM} arena/game.so ${LIBDIR}/arena && \ ${INSTALL_PROGRAM} game.so ${LIBDIR}/data1 ${LN} -s ${DATADIR}/arena/* ${LIBDIR}/arena ${LN} -s ${DATADIR}/botinfo ${LIBDIR} ${LN} -s ${DATADIR}/data1/* ${LIBDIR}/data1 .if defined(WITH_CLIENT) ${INSTALL_PROGRAM} ${WRKSRC}/release/crx \ ${PREFIX}/bin/${PORTNAME} .endif .if defined(WITH_DEDICATED) ${INSTALL_PROGRAM} ${WRKSRC}/release/crded \ ${PREFIX}/bin/${PORTNAME}-ded -.endif -.if defined(WITH_SDL) - ${INSTALL_PROGRAM} ${WRKSRC}/release/crx.sdl \ - ${PREFIX}/bin/${PORTNAME}-sdl .endif post-install: @${ECHO_CMD} @${CAT} ${PKGMESSAGE} @${ECHO_CMD} .include Property changes on: head/games/alienarena/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.20 \ No newline at end of property +1.21 \ No newline at end of property Index: head/games/alienarena/distinfo =================================================================== --- head/games/alienarena/distinfo (revision 248709) +++ head/games/alienarena/distinfo (revision 248710) @@ -1,3 +1,3 @@ -MD5 (alienarena2008-linux20090109.zip) = 41ca2df4b37751843600e2e8f80ae7a2 -SHA256 (alienarena2008-linux20090109.zip) = cbdca7196858fc70b05d49919ef636e9d002e9681d7fca9c61310e6033692db0 -SIZE (alienarena2008-linux20090109.zip) = 283698378 +MD5 (alienarena7_33-linux20091227.zip) = d1106130fdcef6c2d4cf039c933213d7 +SHA256 (alienarena7_33-linux20091227.zip) = 5d5ab6ab16a8c277035b7b2cbeba96ba6f3cbcb14aa84217c9b41f54b3f6df74 +SIZE (alienarena7_33-linux20091227.zip) = 299663490 Property changes on: head/games/alienarena/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.11 \ No newline at end of property +1.12 \ No newline at end of property Index: head/games/alienarena/files/patch-qcommon_files.c =================================================================== --- head/games/alienarena/files/patch-qcommon_files.c (nonexistent) +++ head/games/alienarena/files/patch-qcommon_files.c (revision 248710) @@ -0,0 +1,20 @@ +--- qcommon/files.c 2010-01-27 11:24:33.000000000 -0500 ++++ qcommon/files.c 2010-01-27 11:26:40.000000000 -0500 +@@ -568,7 +568,7 @@ + ================ + FS_AddHomeAsGameDirectory + +-Use ~/.codered/dir as fs_gamedir ++Use ~/.config/alienarena/dir as fs_gamedir + ================ + */ + void FS_AddHomeAsGameDirectory (char *dir) +@@ -586,7 +586,7 @@ + homedir = getenv("HOME"); + if (!homedir) + return; +- len = snprintf(gdir,sizeof(gdir),"%s/.codered/%s/", homedir, dir); ++ len = snprintf(gdir,sizeof(gdir),"%s/.config/alienarena/%s/", homedir, dir); + } + + Com_Printf("using %s for writing\n",gdir); Property changes on: head/games/alienarena/files/patch-qcommon_files.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/games/alienarena/files/pkg-message.in =================================================================== --- head/games/alienarena/files/pkg-message.in (nonexistent) +++ head/games/alienarena/files/pkg-message.in (revision 248710) @@ -0,0 +1,17 @@ +############################################################################### + +Alien Arena (native version) has been installed. + +1) The OSS (native FreeBSD sound) version of Alien Arena 2009 (named +"alienarena") uses by default a slow sound speed, which causes a notable +delay. To solve this you have to run it once like this: + +$ alienarena +set sndspeed + +Where could be 22050 and 44100 for example (the default that has the +delay is 11025, and the SDL version uses 22050). The value of "sndspeed" will +be saved in the configuration file for future runs. + +2) Enjoy it :) + +############################################################################### Property changes on: head/games/alienarena/files/pkg-message.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/games/alienarena/pkg-plist =================================================================== --- head/games/alienarena/pkg-plist (revision 248709) +++ head/games/alienarena/pkg-plist (revision 248710) @@ -1,28 +1,26 @@ %%CLIENT%%bin/alienarena %%DEDICATED%%bin/alienarena-ded -%%SDL%%bin/alienarena-sdl -%%LIBDIR%%/arena/default.cfg %%LIBDIR%%/arena/game.so %%LIBDIR%%/arena/maps.lst %%LIBDIR%%/arena/motd.txt %%LIBDIR%%/arena/server.cfg %%LIBDIR%%/botinfo %%LIBDIR%%/data1/default.cfg %%LIBDIR%%/data1/env %%LIBDIR%%/data1/fonts %%LIBDIR%%/data1/game.so %%LIBDIR%%/data1/gfx %%LIBDIR%%/data1/levelshots %%LIBDIR%%/data1/maps %%LIBDIR%%/data1/maps.lst %%LIBDIR%%/data1/models %%LIBDIR%%/data1/particles %%LIBDIR%%/data1/pics %%LIBDIR%%/data1/players %%LIBDIR%%/data1/scripts %%LIBDIR%%/data1/sound %%LIBDIR%%/data1/textures %%LIBDIR%%/data1/vehicles @dirrm %%LIBDIR%%/data1 @dirrm %%LIBDIR%%/arena @dirrm %%LIBDIR%% Property changes on: head/games/alienarena/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property