aboutsummaryrefslogtreecommitdiffstats
path: root/devel/simgear/Makefile
blob: f23927352eef25c5ac09bd62cecbcfdaff2bedde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    SimGear
# Date created:             2003-01-21
# Whom:                 des
#
# $FreeBSD$
#

PORTNAME=   SimGear
PORTVERSION=    2.0.0
PORTREVISION=   2
CATEGORIES= devel games
MASTER_SITES=   ftp://ftp.de.simgear.org/pub/simgear/Source/ \
        ftp://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/ \
        ftp://goflyflightgear.com/simgear/Source/

MAINTAINER= ganael.laplanche@martymac.org
COMMENT=    A toolkit for 3D games and simulations

BUILD_DEPENDS=  ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
RUN_DEPENDS=    ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS=    jpeg.11:${PORTSDIR}/graphics/jpeg \
        boost_thread.4:${PORTSDIR}/devel/boost-libs

.if defined(WITH_OSG_DEVEL)
LIB_DEPENDS+=   osg.59:${PORTSDIR}/graphics/osg-devel
.else
LIB_DEPENDS+=   osg.55:${PORTSDIR}/graphics/osg
.endif

USE_XORG=   ice sm x11 xext xi xt xmu
USE_OPENAL= al alut
USE_GL=     gl glu glut
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" \
        LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-jpeg-factory

post-patch:
    @${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|' \
        ${WRKSRC}/configure

.include <bsd.port.mk>
>- Welcome X.org 7.2 \o/.flz2007-05-2013-5/+13 * BROKEN on sparc64: Does not buildkris2007-04-221-0/+4 * Add a patch to fix a harmless warning, which breaks this port undermi2007-03-262-6/+18 * - Use TCL/TK 8.4miwi2007-03-211-16/+14 * Fix build on FreeBSD 7 by using one OS dependant Makefile for all versionsarved2007-03-184-24/+11 * Now appears to build on amd64kris2007-03-041-4/+0 * Add support for video4linux devices by:luigi2007-02-134-16/+97 * - Remove support for a.out format and PORTOBJFORMAT variable from individualpav2007-01-302-17/+15 * Fix build with gcc41arved2006-12-211-2/+6 * Move to MASTER_SITE_LOCAL. The distfile won't actually show up untilfenner2006-12-142-3/+2 * - Respect X11BASErafan2006-12-071-2/+2 * Unbreak by using socklen_t as needed.fenner2006-12-043-11/+29 * Unbreak by forcing gcc 3.2. Bump PORTREVISION since it might changefenner2006-12-041-5/+2 * - Respect X11BASErafan2006-12-011-0/+2 * - Now X11BASE, CC, CFLAGS is respected in files/patch-aarafan2006-12-011-5/+0 * Respect X11BASE and LOCALBASEkris2006-12-013-17/+17 * Respect X11BASE, CC and CFLAGSkris2006-12-011-7/+9 * - Respect CC, CFLAGSrafan2006-11-301-0/+5 * Fix breakage due to audio/gsm import.sobomax2006-08-151-1/+1 * Factor OSVERSION out of BROKEN/IGNORE strings to make them more consistentlinimon2006-07-243-3/+3 * Remove USE_REINPLACE from ports starting with Medwin2006-05-113-3/+0 * Fix on 6.xerwin2006-04-283-1/+26 * Reset maintainer at his request.linimon2006-04-191-1/+1 * Update to 1.18.sobomax2006-03-163-11/+14 * SHA256ifyedwin2006-02-013-0/+3 * SHA256ifyedwin2006-01-229-0/+9 * Fix breakage caused by time_t change.trhodes2006-01-012-0/+81 * Respect LOCALBASEmnag2005-12-053-3/+4 * Fix maintainers email addressedwin2005-12-051-1/+1 * - Add SHA256pav2005-11-254-0/+4 * Switch to <target>:: convention for both patch-autotools and run-autotools,ade2005-11-191-1/+1 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-154-4/+4 * Look for -luclmmbase under LOCALBASE instead of PREFIX (which ismi2005-03-236-31/+175 * Upgrade devel/uclmmbase and mbone/vic to their latest respectedmi2005-03-2114-100/+188 * Drop maintainershiplioux2005-03-111-1/+1 * Fix fetch: Tarballed rerolled, no differencesvs2005-02-221-2/+2 * Fix MASTER_SITES.krion2005-02-191-1/+1 * Fix maintainer's email.krion2004-12-241-1/+1 * Change maintainer's email.krion2004-12-231-1/+1 * Add DOCSDIR and fix pkg-plist.krion2004-12-131-0/+1 * - Fix build on 5.xpav2004-11-052-4/+14 * BROKEN on 5.x: Does not compilekris2004-09-291-1/+7 * BROKEN on 5.x: Does not compilekris2004-09-261-0/+4 * Fix build on 5.x.linimon2004-08-232-4/+200 * Fix build.krion2004-08-221-1/+1 * Fix more hardcoding of imake-4 port directory to use X_IMAKE_PORT.anholt2004-08-191-1/+1 * New port udpcast version 20040531: A file transfer tool usinglioux2004-07-218-0/+192 * Fix build on -CURRENTkris2004-06-091-0/+11 * Sync with new bsd.autotools.mkade2004-06-051-2/+2 * - Fix MASTER_SITESkrion2004-05-172-2/+4 * Tidy up whitespace.trevor2004-04-111-1/+1 * Remove category pkg/COMMENT files in favour of a COMMENT variable in thekris2004-04-022-1/+2 * SIZEify (maintainer timeout)trevor2004-03-3112-0/+12 * Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-143-3/+3 * Update MASTER_SITES.petef2004-03-111-1/+1 * BROKEN on !i386: Does not compilekris2004-02-251-0/+4 * Correct error in previous commitkris2004-02-181-1/+1 * Remove BROKEN tag; this now compiles on 5.x.kris2004-02-181-6/+0 * Remove BROKEN tag; this port now compiles on 5.x.kris2004-02-181-4/+0 * [seems like when I thought I committed this first, I only committedfenner2004-02-082-6/+5 * Use PLIST_FILES (bento-tested, marcus-reviewed).trevor2004-02-0612-6/+6 * Use PLIST_FILES.trevor2004-02-062-1/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-045-1/+5 * Update tcl/tk dependency to 8.4.fenner2004-02-023-3/+14 * Upgrade rat to version 4.2.25.fenner2004-02-025-33/+12 * Update to sdr 3.0.fenner2004-02-023-14/+3 * SIZEify.trevor2004-01-303-0/+3 * Use the new ghostscript options.marcus2004-01-211-9/+3 * Add a dummy run-autotools target to pacify the new bsd.port.mk.marcus2004-01-201-0/+3 * Reset maintainer to ports@ due to maintainer's request -- he hasn'tlinimon2004-01-131-1/+1 * - Update to 2.99.1pav2004-01-0912-37/+189 * Add xspeakfree, a Tcl/Tk frontent to Speak Freely.pav2003-12-135-0/+56 * Mark as broken on 5.x due to the usual gcc3.3 bitrot.linimon2003-12-121-2/+8 * - Unbreak by adding dependency on makedepend.pav2003-11-211-0/+2 * Define USE_PERL5_BUILD, not erroneous USE_PERL.trevor2003-11-201-1/+1 * Define USE_PERL to make Perl available for (mostly deprecated)trevor2003-11-201-0/+1 * Add mcl 2.99,bms2003-11-1532-0/+560 * ports with possibly unreachable MAINTAINERsedwin2003-11-021-1/+1 * Move inclusion of bsd.port.pre.mk after definiton of all variables.linimon2003-10-295-24/+28 * Remove blank line to pacify portlint.linimon2003-10-221-1/+0 * Mark as broken on 5.x. Fix plist. Notified maintainer.linimon2003-10-222-2/+7 * Mark as broken on 5.x. The last distfile is from 1997. A google searchlinimon2003-10-221-2/+8 * Mark as broken on 5.x. The distfile is from 1997. While here, updatelinimon2003-10-222-1/+9 * Mark broken on 5.x. The distfile is from 1996 so updates might notlinimon2003-10-222-1/+9 * Make portlint(1) happy by changing strip to ${STRIP_CMD}osa2003-09-243-4/+4 * [PATCH] mbone/wb: enable choose of ghostscript interpreteredwin2003-08-311-1/+15 * Update to 7.6a.naddy2003-06-264-36/+43 * Undo an obsoleted patch to include <sys/soundcard.h> instead ofkris2003-05-101-3/+3 * Use -DAUDIO_BLOCKING. This should hopefully fix sfmike wedging and becomingadamw2003-03-241-1/+1 * Clear moonlight beckons.ade2003-03-0720-10/+10 * Remove RESTRICTED tag for crypto stuff.nork2003-02-232-3/+0 * De-pkg-comment.knu2003-02-214-2/+2 * De-pkg-comment.knu2003-02-214-2/+2 * Don't treat alpha specially with INT_64. INT_64 is not used consistentlyfenner2003-02-011-0/+15 * Make the struct huffentry public so that global variablesfenner2003-01-241-0/+16 * Use std::memset instead of just memsetfenner2003-01-241-0/+73 * Fix signal handler prototype to make newer g++ happyfenner2003-01-242-0/+18 * Build with tcl/tk 8.3fenner2003-01-242-37/+37 * Change of back-up location.orion2003-01-211-3/+3 * Partially fix build on sparc64 (Don't need to prototype inet_ntopkris2003-01-121-0/+13 * fix fetch for mbone/speak-freelyedwin2002-12-126-88/+54 * Fix fetcharved2002-12-111-1/+1 * Made mbone/rat compiling again (double patch-file)edwin2002-11-151-53/+0 * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-114-4/+2 * Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-074-2/+4 * Change MAINTAINER to tmutoh@mx10.freecom.ne.jp.nork2002-10-271-1/+1 * Fix build on -current and respect CC and CFLAGSkris2002-10-215-72/+96 * MASTER_SITE moved. Upgrade still to do.fenner2002-10-081-1/+1 * Fix broken rtpmon build.fenner2002-09-303-12/+35 * Fix broken rqm port to work with more modern uclmmbasefenner2002-09-301-0/+18