aboutsummaryrefslogtreecommitdiffstats
path: root/devel/simgear/Makefile
blob: 2daef5f15661e7d39aa364e0cf4c2d7c354bed1b (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
# New ports collection makefile for:    SimGear
# Date created:             2003-01-21
# Whom:                 des
#
# $FreeBSD$
#

PORTNAME=   SimGear
PORTVERSION=    0.3.1
PORTREVISION=   2
CATEGORIES= devel games
MASTER_SITES=   ftp://ftp.simgear.org/pub/simgear/Source/ \
        ftp://ftp.de.flightgear.org/pub/simgear/

MAINTAINER= des@FreeBSD.org
COMMENT=    A toolkit for 3D games and simulations

# These should be LIB_DEPENDS, but it seems bsd.port.mk can't handle
# versionless or static libraries.
BUILD_DEPENDS=  ${LOCALBASE}/lib/libmk4.so:${PORTSDIR}/databases/metakit \
        ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
RUN_DEPENDS=    ${LOCALBASE}/lib/libmk4.so:${PORTSDIR}/databases/metakit \
        ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib

USE_X_PREFIX=   yes
USE_MESA=   yes
GNU_CONFIGURE=  yes
# Force configure to look in /usr/local/{include,lib}
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" \
        CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
        CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.mk>