Index: head/games/0ad/Makefile =================================================================== --- head/games/0ad/Makefile (revision 415727) +++ head/games/0ad/Makefile (revision 415728) @@ -1,83 +1,81 @@ # $FreeBSD$ PORTNAME= 0ad PORTVERSION= 0.0.20 CATEGORIES= games MASTER_SITES= SF/zero-ad/releases \ http://releases.wildfiregames.com/ DISTFILES= ${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \ ${PORTNAME}-${PORTVERSION}-alpha-unix-data.tar.xz MAINTAINER= madpilot@FreeBSD.org COMMENT= Real-time strategy (RTS) game of ancient warfare BUILD_DEPENDS= zip:archivers/zip \ cmake:devel/cmake LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libcurl.so:ftp/curl \ libgloox.so:net-im/gloox \ libminiupnpc.so:net/miniupnpc \ libnspr4.so:devel/nspr \ libenet.so:net/enet WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha BUILD_WRKSRC= ${WRKSRC}/build/workspaces/gcc MAKE_ARGS= config=release USES= compiler:c++11-lib dos2unix execinfo gmake iconv openal:al \ pkgconfig tar:xz USE_GNOME= libxml2 gtk20 USE_GL= gl USE_SDL= sdl2 BUNDLE_LIBS= yes DOS2UNIX_REGEX= .*\.([ch]p{0,2}|make) USE_WX= 2.8+ WX_COMPS= wx:lib MAKE_ENV+= JOBS=${_MAKE_JOBS} -MANUAL_PACKAGE_BUILD= huge - PORTDATA= * .include .if ${OSVERSION} < 1000024 BROKEN= segfaults during build .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%CC%%|${CC}|' \ ${WRKSRC}/build/premake/premake4.lua .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e '1055,1251s/-rdynamic/-lssp_nonshared &/' \ -e '1441s/"execinfo",/& "ssp_nonshared",/' \ ${WRKSRC}/build/premake/premake4.lua .endif @${REINPLACE_CMD} 's,^\(Exec=\)/usr/local,\1${PREFIX},' \ ${WRKSRC}/build/resources/0ad.desktop @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/build/resources/0ad.sh pre-build: (cd ${WRKSRC}/build/workspaces && ${SETENV} ${MAKE_ENV} ./update-workspaces.sh ${0ADSDLARG} --bindir=${PREFIX}/bin --datadir=${DATADIR} --libdir=${PREFIX}/lib/${PORTNAME}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/pyrogenesis ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/build/resources/0ad.sh ${STAGEDIR}${PREFIX}/bin/0ad ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/ActorEditor ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} (cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libAtlasUI.so libCollada.so libnvcore.so libnvimage.so libnvmath.so libnvtt.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) (cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libmozjs31-ps-release.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.png ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/binaries/data && ${COPYTREE_SHARE} "config l10n tests tools" ${STAGEDIR}${DATADIR}) ${MKDIR} ${STAGEDIR}${DATADIR}/mods/public ${STAGEDIR}${DATADIR}/mods/mod ${TAR} xf ${WRKSRC}/binaries/data/mods/public/public.zip -C ${STAGEDIR}${DATADIR}/mods/public --no-same-permissions ${TAR} xf ${WRKSRC}/binaries/data/mods/mod/mod.zip -C ${STAGEDIR}${DATADIR}/mods/mod --no-same-permissions .include Index: head/games/crafty-tablebase-pawn/Makefile =================================================================== --- head/games/crafty-tablebase-pawn/Makefile (revision 415727) +++ head/games/crafty-tablebase-pawn/Makefile (revision 415728) @@ -1,55 +1,54 @@ # Created by: Jonathan Shoemaker # $FreeBSD$ PORTNAME= crafty-tablebase-pawn PORTVERSION= 20070910 CATEGORIES= games MASTER_SITES= http://www.cis.uab.edu/hyatt/crafty/TB/3-4-5/ DISTFILES= kbbkp.nbb.emd kbbkp.nbw.emd kbbpk.nbb.emd kbbpk.nbw.emd \ kbkp.nbb.emd kbkp.nbw.emd kbnkp.nbb.emd kbnkp.nbw.emd kbnpk.nbb.emd \ kbnpk.nbw.emd kbpk.nbb.emd kbpk.nbw.emd kbpkb.nbb.emd kbpkb.nbw.emd \ kbpkn.nbb.emd kbpkn.nbw.emd kbpkp.nbb.emd kbpkp.nbw.emd kbpkq.nbb.emd \ kbpkq.nbw.emd kbpkr.nbb.emd kbpkr.nbw.emd kbppk.nbb.emd kbppk.nbw.emd \ knkp.nbb.emd knkp.nbw.emd knnkp.nbb.emd knnkp.nbw.emd knnpk.nbb.emd \ knnpk.nbw.emd knpk.nbb.emd knpk.nbw.emd knpkb.nbb.emd knpkb.nbw.emd \ knpkn.nbb.emd knpkn.nbw.emd knpkp.nbb.emd knpkp.nbw.emd knpkq.nbb.emd \ knpkq.nbw.emd knpkr.nbb.emd knpkr.nbw.emd knppk.nbb.emd knppk.nbw.emd \ kpk.nbb.emd kpk.nbw.emd kpkp.nbb.emd kpkp.nbw.emd kppk.nbb.emd \ kppk.nbw.emd kppkb.nbb.emd kppkb.nbw.emd kppkn.nbb.emd kppkn.nbw.emd \ kppkp.nbb.emd kppkp.nbw.emd kppkq.nbb.emd kppkq.nbw.emd kppkr.nbb.emd \ kppkr.nbw.emd kpppk.nbb.emd kpppk.nbw.emd kqbkp.nbb.emd kqbkp.nbw.emd \ kqbpk.nbb.emd kqbpk.nbw.emd kqkp.nbb.emd kqkp.nbw.emd kqnkp.nbb.emd \ kqnkp.nbw.emd kqnpk.nbb.emd kqnpk.nbw.emd kqpk.nbb.emd kqpk.nbw.emd \ kqpkb.nbb.emd kqpkb.nbw.emd kqpkn.nbb.emd kqpkn.nbw.emd kqpkp.nbb.emd \ kqpkp.nbw.emd kqpkq.nbb.emd kqpkq.nbw.emd kqpkr.nbb.emd kqpkr.nbw.emd \ kqppk.nbb.emd kqppk.nbw.emd kqqkp.nbb.emd kqqkp.nbw.emd kqqpk.nbb.emd \ kqqpk.nbw.emd kqrkp.nbb.emd kqrkp.nbw.emd kqrpk.nbb.emd kqrpk.nbw.emd \ krbkp.nbb.emd krbkp.nbw.emd krbpk.nbb.emd krbpk.nbw.emd krkp.nbb.emd \ krkp.nbw.emd krnkp.nbb.emd krnkp.nbw.emd krnpk.nbb.emd krnpk.nbw.emd \ krpk.nbb.emd krpk.nbw.emd krpkb.nbb.emd krpkb.nbw.emd krpkn.nbb.emd \ krpkn.nbw.emd krpkp.nbb.emd krpkp.nbw.emd krpkq.nbb.emd krpkq.nbw.emd \ krpkr.nbb.emd krpkr.nbw.emd krppk.nbb.emd krppk.nbw.emd krrkp.nbb.emd \ krrkp.nbw.emd krrpk.nbb.emd krrpk.nbw.emd DIST_SUBDIR= crafty EXTRACT_ONLY= # empty MAINTAINER= ports@FreeBSD.org COMMENT= These are the pawn tablebases (3,4,5 man) for crafty RUN_DEPENDS= crafty:games/crafty NO_BUILD= yes NO_ARCH= yes -MANUAL_PACKAGE_BUILD= too big .if !defined(WITH_TBDIR) WITH_TBDIR= ${PREFIX}/lib/crafty/TB .endif do-install: ${MKDIR} ${STAGEDIR}${WITH_TBDIR} @list='${DISTFILES}'; for i in $$list; do \ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${STAGEDIR}${WITH_TBDIR}/$$i; \ done .include Index: head/games/diaspora/Makefile =================================================================== --- head/games/diaspora/Makefile (revision 415727) +++ head/games/diaspora/Makefile (revision 415728) @@ -1,130 +1,128 @@ # Created by: lightside # $FreeBSD$ PORTNAME= diaspora PORTVERSION= 1.1.1 CATEGORIES= games MASTER_SITES= http://diaspora.fs2downloads.com/ \ http://www.freespacemods.net/e107_files/downloads/:freespacemods \ http://copy.com/8wo3AQnYu0bj/:copy DISTFILES= Diaspora_R1_Linux.tar.lzma:freespacemods,DEFAULT \ Diaspora_R1_Patch_1.1.tar.lzma:copy \ Diaspora_R1_Patch_1.1.1.tar.lzma MAINTAINER= lightside@gmx.com COMMENT= Single and multiplayer space fighter combat game LICENSE= CCBYNCSAv3 VOLITION GPLv2 LICENSE_COMB= multi LICENSE_NAME_CCBYNCSAv3= Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license LICENSE_NAME_VOLITION= Volition license LICENSE_FILE_CCBYNCSAv3= ${WRKDIR_DIASPORA}/License.txt LICENSE_FILE_VOLITION= ${WRKSRC}/COPYING LICENSE_FILE_GPLv2= ${WRKDIR_DIASPORA}/wxlauncher/GPLv2.txt LICENSE_PERMS_CCBYNCSAv3= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept LICENSE_PERMS_VOLITION= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept LIB_DEPENDS+= libjansson.so:devel/jansson \ libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbisfile.so:audio/libvorbis \ libtheora.so:multimedia/libtheora USES= autoreconf jpeg lua:51 openal pkgconfig tar:lzma USE_GL= yes USE_SDL= sdl GNU_CONFIGURE= yes WRKDIR_DIASPORA= ${WRKDIR}/Diaspora_R1_Linux/Diaspora WRKSRC= ${WRKDIR_DIASPORA}/fs2_open PORTDATA= data *.vp PORTDOCS= * SUB_FILES= fs2_open_${PORTNAME} PLIST_FILES+= bin/fs2_open_${PORTNAME} \ libexec/fs2_open_${PORTNAME} \ share/pixmaps/${PORTNAME}.png DESKTOP_ENTRIES= "Diaspora" "${COMMENT}" \ "${PORTNAME}" "fs2_open_${PORTNAME}" \ "Game;Simulation;" false -MANUAL_PACKAGE_BUILD= very large distfile set (~1.8 GB) - OPTIONS_DEFINE= DOCS INCJOYBTNS SPEECH WXLAUNCHER OPTIONS_DEFAULT= SPEECH WXLAUNCHER INCJOYBTNS_DESC= Increase a number of joystick buttons from 32 to 98 INCJOYBTNS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-increase_joy_buttons_fixed.patch SPEECH_DESC= Text to speech SPEECH_CONFIGURE_ENABLE= speech WXLAUNCHER_DESC= Use wxlauncher to manage application profile WXLAUNCHER_RUN_DEPENDS= wxlauncher:games/wxlauncher .include .if ${PORT_OPTIONS:MWXLAUNCHER} PORTDATA+= resources *.ini *.png *.bmp SUB_FILES+= fs2_open_${PORTNAME}_launcher PLIST_FILES+= bin/fs2_open_${PORTNAME}_launcher \ %%DATADIR%%/fs2_open_${PORTNAME} DESKTOP_ENTRIES+= "Diaspora Launcher" "${COMMENT}" \ "${PORTNAME}" "fs2_open_${PORTNAME}_launcher" \ "Game;Simulation;" false .endif post-extract: .SILENT .for v in 1.1 1.1.1 (cd ${WRKDIR} && tar -xf Patch_Files.${v}.tar -C ${WRKDIR_DIASPORA} && \ ${RM} Patch_Files.${v}.tar) .endfor .if ${PORT_OPTIONS:MWXLAUNCHER} (cd ${WRKDIR_DIASPORA} && ${CP} -f pro00099.template.ini pro00099.ini) # Backup data/cmdline_fso.cfg, because executable might merge it with # user settings (cd ${WRKDIR_DIASPORA}/data && ${MV} -f cmdline_fso.cfg cmdline_fso.cfg.bak) .endif post-patch: .SILENT .if ${PORT_OPTIONS:MWXLAUNCHER} ${REINPLACE_CMD} -e \ 's|/PATH/TO/YOUR/DIASPORA/FOLDER/HERE|${DATADIR}|' \ ${WRKDIR_DIASPORA}/pro00099.ini .endif ${REINPLACE_CMD} -e '/^AC_INIT/s/3\.7\.1/${PORTNAME}/ ; \ s/freebsd/${OPSYS:tl}/ ; \ s/ -m64 -march=athlon64 -ansi// ; \ s|/usr/local|${LOCALBASE}|' \ ${CONFIGURE_WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|(640x480)x16|(1024x768)x32|' \ ${BUILD_WRKSRC}/code/osapi/osapi_unix.cpp do-install: ${INSTALL_SCRIPT} ${WRKDIR}/fs2_open_${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/code/fs2_open_${PORTNAME} \ ${STAGEDIR}${PREFIX}/libexec (cd ${WRKDIR_DIASPORA} && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR}) (cd ${WRKDIR} && ${COPYTREE_SHARE} "README*.txt" ${STAGEDIR}${DOCSDIR}) (cd ${WRKDIR_DIASPORA} && ${COPYTREE_SHARE} "*.pdf *.rtf README.txt" \ ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS ChangeLog" \ ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKDIR_DIASPORA}/resources/modimg.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .if ${PORT_OPTIONS:MWXLAUNCHER} ${INSTALL_SCRIPT} ${WRKDIR}/fs2_open_${PORTNAME}_launcher \ ${STAGEDIR}${PREFIX}/bin # Create a symbolic link, which used by launcher ${LN} -sf ${PREFIX}/libexec/fs2_open_${PORTNAME} ${STAGEDIR}${DATADIR} .endif add-plist-post: build-plist-empty build-plist-empty: .SILENT # Add required empty directories to TMPPLIST ${FIND} ${STAGEDIR}${DATADIR}/data -type d -empty | \ ${SED} -e 's|^${STAGEDIR}|@dir |' >> ${TMPPLIST} .include Index: head/games/flightgear-data/Makefile =================================================================== --- head/games/flightgear-data/Makefile (revision 415727) +++ head/games/flightgear-data/Makefile (revision 415728) @@ -1,42 +1,40 @@ # Created by: Brian Buchanan # $FreeBSD$ PORTNAME= flightgear-data PORTVERSION= 2016.1.2 CATEGORIES= games MASTER_SITES= SF/flightgear/release-${PORTVERSION:R} DISTNAME= FlightGear-${PORTVERSION}-data MAINTAINER= martymac@FreeBSD.org COMMENT= FlightGear scenery, textures, and aircraft models LICENSE= GPLv2 NO_BUILD= yes USES= tar:bzip2 WRKSRC= ${WRKDIR}/fgdata DATADIR= ${PREFIX}/share/flightgear PLIST= ${WRKDIR}/pkg-plist PLIST_DIRS= %%DATADIR%% -MANUAL_PACKAGE_BUILD= very large distfile (>1 GB) - post-patch: @${RM} -f ${WRKSRC}/COPYING pre-install: @${RM} -f ${PLIST} @cd ${WRKSRC} && \ ${FIND} * -type d -empty | ${SORT} \ | ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/|' >> ${PLIST} && \ ${FIND} * -type f | ${SORT} \ | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} -r \ | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST} do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} "! ( -name .git -o -name .gitignore )") .include Index: head/games/linux-etqw-demo-server/Makefile =================================================================== --- head/games/linux-etqw-demo-server/Makefile (revision 415727) +++ head/games/linux-etqw-demo-server/Makefile (revision 415728) @@ -1,62 +1,61 @@ # Created by: ayu # $FreeBSD$ PORTNAME= etqw PORTVERSION= 2.0.r1 CATEGORIES= games linux MASTER_SITES= IDSOFTWARE/etqw PKGNAMEPREFIX= linux- PKGNAMESUFFIX= -demo-server DISTNAME= ETQW-demo2-server-full.r1.x86 EXTRACT_SUFX= .run MAINTAINER= ports@FreeBSD.org COMMENT= Enemy Territory: QUAKE Wars Demo Server for Linux NO_CDROM= Redistribution is limited -MANUAL_PACKAGE_BUILD= huge (428MB) NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes USES= zip:infozip ETQWDIR= ${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= DOCS do-extract: @${MKDIR} ${WRKSRC} @cd ${WRKSRC} && \ ${TAIL} -c +194885 ${_DISTDIR}${DISTNAME}.run > full.zip @(cd ${WRKSRC} && ${UNZIP_CMD} -q ${WRKSRC}/full.zip) @${RM} ${WRKSRC}/full.zip post-patch: @${SED} -e 's|@ETQWDIR@|${ETQWDIR}|' ${FILESDIR}/etqwded-demo.in > ${WRKSRC}/etqwded-demo do-install: @${MKDIR} ${STAGEDIR}${ETQWDIR} ${INSTALL_PROGRAM} ${WRKSRC}/etqwded-demo ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/data/etqwded.x86 ${STAGEDIR}${ETQWDIR} @cd ${WRKSRC}/data && \ ${FIND} -E . -type f -iregex ".*\.so\.[0-9]+" \ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \; @${MKDIR} ${STAGEDIR}${ETQWDIR}/base/bots @cd ${WRKSRC}/data && \ ${FIND} base -type f \ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \; @${MKDIR} ${STAGEDIR}${ETQWDIR}/pb/htm @cd ${WRKSRC}/data && \ ${FIND} pb -type f \ -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${ETQWDIR}/{}" \; @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in EULA.txt README.txt copyrights.txt etqwtv.txt pb/PBEULA.txt @${INSTALL_DATA} ${WRKSRC}/data/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/games/nexuiz/Makefile =================================================================== --- head/games/nexuiz/Makefile (revision 415727) +++ head/games/nexuiz/Makefile (revision 415728) @@ -1,129 +1,127 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= nexuiz PORTVERSION= 2.5.2 PORTREVISION= 18 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/NexuizRelease/Nexuiz%20${PORTVERSION} \ SF/${PORTNAME}/mappack/nexmappack_r2:mappack DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Fast-paced, chaotic, and intense multiplayer first person shooter LIB_DEPENDS= libcurl.so:ftp/curl LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl.txt -MANUAL_PACKAGE_BUILD= huge (880MiB) - USES= jpeg shebangfix zip:infozip SHEBANG_FILES= server/rcon.pl server/rcon2irc/rcon2irc.pl WRKSRC= ${WRKDIR}/Nexuiz BUILD_WRKSRC= ${WRKSRC}/sources/darkplaces MAKEFILE= BSDmakefile MAKE_ARGS= DP_FS_BASEDIR="${DATADIR}" CC="${CC}" \ DP_PRELOAD_DEPENDENCIES=yes DP_LINK_TO_LIBJPEG=yes \ CFLAGS_LIBJPEG="-I${LOCALBASE}/include" \ OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops" \ STRIP="${STRIP_CMD}" MAKE_JOBS_UNSAFE=yes ALL_TARGET= # empty PORTDATA= * OPTIONS_DEFINE= MAPPACK OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT SDL_CLIENT DEDICATED OPTIONS_DEFAULT=MAPPACK CLIENT SDL_CLIENT DEDICATED MAPPACK_DESC= Install community map pack CLIENT_DESC= Build GLX client SDL_CLIENT_DESC=Build SDL client DEDICATED_DESC= Build dedicated server CLIENT_LIB_DEPENDS= libmodplug.so:audio/libmodplug \ libpng.so:graphics/png \ libtheora.so:multimedia/libtheora SDL_CLIENT_LIB_DEPENDS= ${CLIENT_LIB_DEPENDS} MAPPACK_DISTFILES= nexmappack_r2${EXTRACT_SUFX}:mappack .include .if ${PORT_OPTIONS:MCLIENT} USE_GL= glut USE_XORG= x11 xpm xxf86vm xxf86dga xext ALL_TARGET+= cl-release PLIST_FILES+= bin/${PORTNAME}-glx DESKTOP_ENTRIES="Nexuiz" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}-glx" \ "Game;Shooter;" \ "" .endif .if ${PORT_OPTIONS:MSDL_CLIENT} USE_SDL= sdl ALL_TARGET+= sdl-release PLIST_FILES+= bin/${PORTNAME}-sdl # override of DESKTOP_ENTRIES for GLX client is intented DESKTOP_ENTRIES="Nexuiz" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}-sdl" \ "Game;Shooter;" \ "" .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSDL_CLIENT} PLIST_FILES+= share/pixmaps/${PORTNAME}.ico .endif .if ${PORT_OPTIONS:MDEDICATED} ALL_TARGET+= sv-release PLIST_FILES+= bin/${PORTNAME}-dedicated .endif post-extract: @${EXTRACT_CMD} -qo \ ${WRKDIR}/Nexuiz/sources/enginesource20091001.zip \ -d ${WRKDIR}/Nexuiz/sources post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' \ ${BUILD_WRKSRC}/${MAKEFILE} ${BUILD_WRKSRC}/makefile.inc @${REINPLACE_CMD} -e '/LDFLAGS_BSDSV/s,$$,-L${LOCALBASE}/lib,' \ ${BUILD_WRKSRC}/makefile.inc # Fix for libpng 1.4 @${REINPLACE_CMD} -e 's,gray_1_2_4_to_8,expand_&,g' \ ${BUILD_WRKSRC}/image_png.c do-install: .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-glx ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-glx .endif .if ${PORT_OPTIONS:MSDL_CLIENT} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-sdl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-sdl .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSDL_CLIENT} ${INSTALL_DATA} ${BUILD_WRKSRC}/nexuiz.ico ${STAGEDIR}${PREFIX}/share/pixmaps .endif .if ${PORT_OPTIONS:MDEDICATED} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-dedicated ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-dedicated cd ${WRKSRC} && ${COPYTREE_SHARE} "server" ${STAGEDIR}${DATADIR} # Fixup lost +x permissions on scripts after COPYTREE_SHARE ${FIND} ${STAGEDIR}${DATADIR}/server -type f -name *.sh -o -name rcon*.pl | \ ${XARGS} ${CHMOD} +x .endif cd ${WRKSRC} && ${COPYTREE_SHARE} "data havoc" ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MMAPPACK} ${INSTALL_DATA} ${WRKDIR}/data/*.pk3 ${STAGEDIR}${DATADIR}/data .endif .include Index: head/games/quake3-wfa/Makefile =================================================================== --- head/games/quake3-wfa/Makefile (revision 415727) +++ head/games/quake3-wfa/Makefile (revision 415728) @@ -1,37 +1,35 @@ # Created by: Patrick Li # $FreeBSD$ PORTNAME= wfa PORTVERSION= 3.5b CATEGORIES= games MASTER_SITES= http://www.ijs.si/~lesi/distfiles/ PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTFILES= WFA35Engine.zip WFA35MapPack1.zip WFA35MapPack2.zip \ WFA_v35b.zip 35b_mappack1.zip DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Quake III Arena mod: Weapons Factory Arena -MANUAL_PACKAGE_BUILD= huge (200MB) - USES= zip NO_BUILD= yes NO_WRKSUBDIR= yes DATADIR= ${Q3DIR}/${PORTNAME} OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../quake3-data/Makefile.include" post-extract: @${RM} ${WRKSRC}/help/BobWFACfgV236.exe do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${INSTALL_DATA} *.cfg *.pk3 ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -a ${WRKSRC}/EnglishRadioHelp ${WRKSRC}/help ${STAGEDIR}${DOCSDIR} .include Index: head/games/redeclipse-data/Makefile =================================================================== --- head/games/redeclipse-data/Makefile (revision 415727) +++ head/games/redeclipse-data/Makefile (revision 415728) @@ -1,40 +1,38 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= redeclipse-data PORTVERSION= 1.5.3 DISTVERSIONPREFIX= v CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Data files for Red Eclipse first-person shooter -MANUAL_PACKAGE_BUILD= huge (742MiB) - USE_GITHUB= yes GH_ACCOUNT= red-eclipse # acerpyro is duplicated as there's no way to not use default GH group GH_PROJECT= acerspyro ${DATAFILES:C/.*/&:&/} DATAFILES= acerspyro actors appleflap blendbrush caustics crosshairs \ elyvisions fonts freezurbern john jojo jwin luckystrike \ maps mayhem mikeplus64 misc nobiax particles philipk \ projectiles props skyboxes sounds textures torley trak \ ulukai unnamed vanities vegetation weapons wicked NO_BUILD= yes NO_ARCH= yes DATADIR= ${PREFIX}/share/redeclipse PORTDATA= * post-extract: .for f in ${DATAFILES} @${MV} ${WRKDIR}/${f}-${PORTVERSION} ${WRKDIR}/${f} .endfor do-install: cd ${WRKDIR} && ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR} .include Index: head/games/ufoai-data/Makefile =================================================================== --- head/games/ufoai-data/Makefile (revision 415727) +++ head/games/ufoai-data/Makefile (revision 415728) @@ -1,47 +1,45 @@ # Created by: Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= data PORTVERSION= 2.5 CATEGORIES= games MASTER_SITES= SF/ufoai/UFO_AI%202.x/${PORTVERSION} PKGNAMEPREFIX= ufoai- DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}-${PORTNAME} EXTRACT_SUFX= .tar DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//} MAINTAINER= m.tsatsenko@gmail.com COMMENT= UFO alien invasion data files # See http://ufoai.org/wiki/License LICENSE= GPLv2 CCbySA3 LICENSE_COMB= multi LICENSE_NAME_CCbySA3= Creative Commons Attribution-ShareAlike 3.0 Unported LICENSE_TEXT_CCbySA3= See http://creativecommons.org/licenses/by-sa/3.0/ LICENSE_PERMS_CCbySA3= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept EXTRACT_DEPENDS= ${UNZIP_CMD}:archivers/unzip -MANUAL_PACKAGE_BUILD= huge (1GiB) - NO_BUILD= yes NO_WRKSUBDIR= yes NO_ARCH= yes DATADIR= share/${PKGNAMEPREFIX:S/-//} PLIST= ${WRKDIR}/pkg-plist post-extract: @cd ${WRKSRC}/base && \ ${FIND} * -type f -exec ${UNZIP_CMD} "{}" -d ${WRKSRC}/base \; @${RM} ${WRKSRC}/base/*.pk3 pre-install: @${RM} -f ${PLIST} @cd ${WRKSRC}/base && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/base/|' >> ${PLIST} do-install: cd ${WRKSRC}/base && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${DATADIR}/base .include Index: head/games/vegastrike-data/Makefile =================================================================== --- head/games/vegastrike-data/Makefile (revision 415727) +++ head/games/vegastrike-data/Makefile (revision 415728) @@ -1,33 +1,31 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= vegastrike PORTVERSION= 0.5.1.r1 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.5.1/ PKGNAMESUFFIX= -data DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Vega Strike data files USES= shebangfix tar:bzip2 SHEBANG_FILES= modules/webpageize.py cgi-accountserver/vsconfig.py \ cgi-accountserver/register_submit.py cgi-accountserver/register.py \ programs/planet/process_includes.py NO_BUILD= yes NO_ARCH= yes -MANUAL_PACKAGE_BUILD= huge (364M) - PORTDATA= * .vegastrike PLIST_DIRS= %%DATADIR%%/movies post-extract: @${FIND} ${WRKSRC} -name Makefile.am -delete do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include Index: head/games/worldofpadman/Makefile =================================================================== --- head/games/worldofpadman/Makefile (revision 415727) +++ head/games/worldofpadman/Makefile (revision 415728) @@ -1,161 +1,159 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= worldofpadman PORTVERSION= 1.2.20080621 PORTREVISION= 12 CATEGORIES= games MASTER_SITES= ftp://ftp.snt.utwente.nl/pub/games/worldofpadman/linux/:full,update \ LOCAL/alepulver/:source DISTFILES= worldofpadman.run:full \ wop_patch_1_2.run:update \ ${SRC_FILE}.tar.bz2:source EXTRACT_ONLY= worldofpadman.run \ wop_patch_1_2.run MAINTAINER= ports@FreeBSD.org COMMENT= Open source FPS game inspired by the Padman comic strip -MANUAL_PACKAGE_BUILD= huge (~600MB) - USES= gmake makeself MAKE_ENV= DEFAULT_BASEDIR="${DATADIR}" PTHREAD_LIBS="-lpthread" ALL_TARGET= release SRC_FILE= ${PORTNAME}-${PORTVERSION} VM_ARCHS= amd64 i386 powerpc PLIST_FILES= share/pixmaps/worldofpadman.png PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= CURL CURL_DLOPEN GAMELIBS MP3 OPENAL OPENAL_DLOPEN \ OPTIMIZED_CFLAGS VORBIS DOCS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT SERVER SMP_CLIENT OPTIONS_DEFAULT= CLIENT CURL CURL_DLOPEN SERVER OPTIMIZED_CFLAGS \ VORBIS SMP_CLIENT OPTIONS_SUB= yes FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client CURL_DLOPEN_DESC= Enable dynamic loading of cURL SERVER_DESC= Build dedicated server GAMELIBS_DESC= Force building game libraries OPENAL_DLOPEN_DESC= Enable dynamic loading of OpenAL SMP_CLIENT_DESC= Build SMP (threaded) client .include .for arch in ${ARCH} . if ${VM_ARCHS:M${arch}} != "" HAVE_VM_COMPILED= yes . endif .endfor .if defined(HAVE_VM_COMPILED) MAKE_ENV+= HAVE_VM_COMPILED=true .endif .if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT} # cURL . if ${PORT_OPTIONS:MCURL} LIB_DEPENDS+= libcurl.so:ftp/curl MAKE_ENV+= USE_CURL=1 . if ${PORT_OPTIONS:MCURL_DLOPEN} MAKE_ENV+= USE_CURL_DLOPEN=1 . endif . endif # OpenAL . if ${PORT_OPTIONS:MOPENAL} USES+= openal:al MAKE_ENV+= USE_OPENAL=1 . if ${PORT_OPTIONS:MOPENAL_DLOPEN} MAKE_ENV+= USE_OPENAL_DLOPEN=1 . endif . endif # SDL USE_GL= glu USE_SDL= sdl # Vorbis . if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so:audio/libvorbis MAKE_ENV+= USE_CODEC_VORBIS=1 . endif .endif .if ${PORT_OPTIONS:MCLIENT} MAKE_ENV+= BUILD_CLIENT=1 WOPBIN+= wop PLIST_FILES+= bin/worldofpadman .endif .if ${PORT_OPTIONS:MSERVER} MAKE_ENV+= BUILD_SERVER=1 WOPBIN+= wopded PLIST_FILES+= bin/worldofpadmanded .endif .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) MAKE_ENV+= BUILD_GAME_SO=1 .endif .if ${PORT_OPTIONS:MMP3} LIB_DEPENDS+= libmad.so:audio/libmad MAKE_ENV+= USE_CODEC_MP3=1 .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MAKE_ENV+= USE_OPTIMIZED_CFLAGS=1 .endif .if ${PORT_OPTIONS:MSMP_CLIENT} MAKE_ENV+= BUILD_CLIENT_SMP=1 WOPBIN+= wop-smp PLIST_FILES+= bin/worldofpadman-smp .endif post-extract: @${TAR} jxf ${DISTDIR}/${SRC_FILE}.tar.bz2 -C ${WRKDIR} @${MKDIR} ${WRKDIR}/wop .for f in wop-data wop-data-1.2 extras @cd ${WRKDIR} && ${TAR} xf ${f}.tar -C wop .endfor @cd ${WRKDIR} && ${TAR} xf readme.tar post-patch: # Do not log debug output of bots (can be enabled with "homedir"/"gamedir") @${REINPLACE_CMD} -e 's|"botlib\.log"|"/dev/null"|' \ ${WRKSRC}/code/botlib/be_interface.c @${REINPLACE_CMD} '/callMask/ s|static||' \ ${WRKSRC}/code/qcommon/vm_x86.c @${REINPLACE_CMD} 's|-falign-loops=2||; s|-falign-jumps=2||' \ ${WRKSRC}/Makefile do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/wop ${CP} -a ${WRKDIR}/wop/* ${STAGEDIR}${DATADIR}/wop ${INSTALL_DATA} ${WRKDIR}/wop.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .for bin in ${WOPBIN} # Rename wop* -> worldofpadman* to avoid conflicts with `games/wop' ${INSTALL_PROGRAM} ${WRKSRC}/build/release/${bin} \ ${STAGEDIR}${PREFIX}/bin/${bin:S/wop/${PORTNAME}/} .endfor .if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED) ${INSTALL_PROGRAM} ${WRKSRC}/build/release/baseq3/*.so \ ${STAGEDIR}${DATADIR}/wop .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -a ${WRKDIR}/readme/* ${STAGEDIR}${DOCSDIR} generate-distfile: @if [ -f ${DISTDIR}/${SRC_FILE}.tar.bz2 ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export https://wop-engine.svn.sourceforge.net/svnroot/wop-engine/trunk ${SRC_FILE} tar cjf ${DISTDIR}/${SRC_FILE}.tar.bz2 ${SRC_FILE} ${RM} -rf ${SRC_FILE} .include Index: head/games/xonotic/Makefile =================================================================== --- head/games/xonotic/Makefile (revision 415727) +++ head/games/xonotic/Makefile (revision 415728) @@ -1,86 +1,84 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= xonotic PORTVERSION= 0.8.1 CATEGORIES= games MASTER_SITES= http://nl.dl.xonotic.org/ \ http://mirror.bitmissile.com/xonotic/releases/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Fast-paced, chaotic, and intense multiplayer first person shooter LIB_DEPENDS= libcurl.so:ftp/curl \ libpng.so:graphics/png -MANUAL_PACKAGE_BUILD= huge (930M) - USES= jpeg shebangfix zip:infozip SHEBANG_FILES= server/rcon.pl server/rcon2irc/rcon2irc.pl WRKSRC= ${WRKDIR}/Xonotic BUILD_WRKSRC= ${WRKSRC}/source/darkplaces MAKEFILE= BSDmakefile MAKE_ARGS= DP_FS_BASEDIR="${DATADIR}" \ DP_PRELOAD_DEPENDENCIES=yes \ CFLAGS_LIBJPEG="-I${LOCALBASE}/include -DLINK_TO_LIBJPEG" \ OPTIM_RELEASE="${CFLAGS} -fno-strict-aliasing -funroll-loops" \ STRIP="${STRIP_CMD}" MAKE_JOBS_UNSAFE=yes ALL_TARGET= # empty USE_GCC= yes PORTDATA= * OPTIONS_DEFINE= ENCRYPTION OPTIONS_MULTI= COMPONENTS OPTIONS_MULTI_COMPONENTS=CLIENT DEDICATED OPTIONS_DEFAULT= CLIENT DEDICATED ENCRYPTION CLIENT_DESC= Build client CLIENT_LIB_DEPENDS= libmodplug.so:audio/libmodplug \ libtheora.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg CLIENT_USE= SDL=sdl CLIENT_ALL_TARGET= sdl-release CLIENT_PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.ico CLIENT_DESKTOP_ENTRIES= "Xonotic" \ "" \ "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ "${PORTNAME}" \ "Game;Shooter;" \ "" DEDICATED_DESC= Build dedicated server DEDICATED_ALL_TARGET= sv-release DEDICATED_PLIST_FILES= bin/${PORTNAME}-dedicated ENCRYPTION_DESC= Build encryption (required for stats submission) ENCRYPTION_LIB_DEPENDS= libd0_rijndael.so:security/d0_blind_id post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' \ ${BUILD_WRKSRC}/${MAKEFILE} ${BUILD_WRKSRC}/makefile.inc @${REINPLACE_CMD} -e '/LDFLAGS_BSDSV/s,$$,-L${LOCALBASE}/lib,' \ ${BUILD_WRKSRC}/makefile.inc @${ECHO_CMD} >> ${BUILD_WRKSRC}/prvm_offsets.h # silence 'no newline' warnings do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/data ${INSTALL_DATA} ${WRKSRC}/data/*.pk3 ${STAGEDIR}${DATADIR}/data/ do-install-CLIENT-on: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-sdl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/misc/logos/icons_ico/xonotic.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ do-install-DEDICATED-on: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/darkplaces-dedicated ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-dedicated cd ${WRKSRC} && ${COPYTREE_SHARE} "server" ${STAGEDIR}${DATADIR}/ # Fixup lost +x permissions on scripts after COPYTREE_SHARE ${FIND} ${STAGEDIR}${DATADIR}/server -type f -name *.sh -o -name rcon*.pl | \ ${XARGS} ${CHMOD} +x do-install-ENCRYPTION-on: ${INSTALL_DATA} ${WRKSRC}/key_0.d0pk ${STAGEDIR}${DATADIR}/ .include