# New ports collection makefile for: r1q2 # Date created: 16 May 2006 # Whom: alepulver # # $FreeBSD$ # PORTNAME= r1q2 PORTVERSION= 6557 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://www.r1ch.net/stuff/r1q2/src/ DISTNAME= ${PORTNAME}-b${PORTVERSION}-src PATCH_SITES= ${MASTER_SITE_LOCAL} PATCH_SITE_SUBDIR= alepulver PATCHFILES= r1q2_diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= alepulver@FreeBSD.org COMMENT= Enhaced Quake II client/server focusing on stability LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo USE_ZIP= yes USE_GCC= 3.2+ USE_GMAKE= yes NO_WRKSUBDIR= yes OPTIONS= CLIENT "Build OpenGL client" on \ DEDICATED "Build dedicated server" on \ GAME "Build a main game .so file" off \ GLX "Build OpenGL renderer" on \ HTTP "Enable HTTP download support" on \ OPENAL "Enable OpenAL support" on \ OPTIMIZED_CFLAGS "Enable compilation optimizations" on \ SDL "Build SDL client" on \ SDLGL "Build SDL OpenGL renderer" on ALL_TARGET= release MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}" LIBDIR= ${PREFIX}/lib/${PORTNAME} .include "${.CURDIR}/../quake2-data/Makefile.include" .include .if !defined(WITHOUT_CLIENT) || !defined(WITHOUT_GLX) USE_GL= yes .endif .if !defined(WITHOUT_SDL) && !defined(WITHOUT_SDLGL) USE_SDL= sdl .endif .if !defined(WITHOUT_GLX) || !defined(WITHOUT_SDLGL) LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png .endif .if !defined(WITHOUT_CLIENT) MAKE_ENV+= BUILD_CLIENT=YES PLIST_SUB+= CLIENT="" R1Q2_BIN+= r1q2 .else PLIST_SUB+= CLIENT="@comment " .endif .if !defined(WITHOUT_DEDICATED) MAKE_ENV+= BUILD_DEDICATED=YES PLIST_SUB+= DEDICATED="" R1Q2_BIN+= r1q2ded .else PLIST_SUB+= DEDICATED="@comment " .endif .if defined(WITH_GAME) MAKE_ENV+= BUILD_GAME=YES PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .if !defined(WITHOUT_GLX) MAKE_ENV+= BUILD_GLX=YES PLIST_SUB+= GLX="" R1Q2_REF+= r1gl .else PLIST_SUB+= GLX="@comment " .endif .if !defined(WITHOUT_HTTP) LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl MAKE_ENV+= WITH_HTTP_DOWNLOAD_SUPPORT=YES .endif .if !defined(WITHOUT_OPENAL) LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal MAKE_ENV+= WITH_OPENAL_SUPPORT=YES .endif .if !defined(WITHOUT_OPTIMIZED_CFLAGS) MAKE_ENV+= OPTIMIZED_CFLAGS=YES .endif .if !defined(WITHOUT_SDL) MAKE_ENV+= BUILD_SDL=YES PLIST_SUB+= SDL="" R1Q2_BIN+= r1q2-sdl .else PLIST_SUB+= SDL="@comment " .endif .if !defined(WITHOUT_SDLGL) MAKE_ENV+= BUILD_SDLGL=YES PLIST_SUB+= SDLGL="" R1Q2_REF+= r1sdl .else PLIST_SUB+= SDLGL="@comment " .endif .if ${OSVERSION} < 500000 post-patch: @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/game/q_shared.h .endif do-install: .for f in ${R1Q2_BIN} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/${f} ${PREFIX}/bin .endfor ${MKDIR} ${LIBDIR}/baseq2 .for f in ${R1Q2_REF} ${INSTALL_PROGRAM} ${WRKSRC}/quake2/ref_${f}.so ${LIBDIR} .endfor .if defined(WITH_GAME) ${INSTALL_PROGRAM} ${WRKSRC}/quake2/baseq2/game.so ${LIBDIR}/baseq2 .endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${WRKSRC}/r1q2.txt ${DOCSDIR} .endif .include ron6/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/imm
Commit message (Expand)AuthorAgeFilesLines
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* SHA256ifyedwin2006-01-221-0/+1
* Fix build on 5.x.linimon2004-08-232-4/+200
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* Move inclusion of bsd.port.pre.mk after definiton of all variables.linimon2003-10-291-5/+5
* Mark as broken on 5.x. The last distfile is from 1997. A google searchlinimon2003-10-221-2/+8
* Clear moonlight beckons.ade2003-03-072-1/+1
* Convert to PORTNAME/PORTVERSION.asami2000-04-141-3/+3
* Update to use Tcl/Tk version 8.2.steve1999-11-292-4/+4
* Portlintifyfenner1999-09-051-3/+4
* Change Id->FreeBSD.obrien1999-08-251-1/+1
* Commit #3/4 to enforce caps, no period.hoek1999-06-271-1/+1
* Remove empty doc dir on deinstall.steve1998-09-271-0/+1
* tk80 has been ELFized.asami1998-09-251-2/+2
* Fix up dependencies for ports that moved into the x11-toolkits category.asami1998-08-081-2/+2
* Rename all USE_X11 to USE_X_PREFIX. Requires 1.279 (3.0-current) orasami1998-08-051-2/+2
* Back out changes to use tcl81.tg1998-03-202-4/+4
* Upgrade to use tcl8.1 and tk8.1.jseger1998-02-25