1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/simgear/Makefile
Dag-Erling Smørgrav 77f7f170aa Upgrade to 0.3.8.
WARNING: does not respect PTHREAD_{FLAGS,LIBS}.  I could not find a clean
way to patch it in.  It should still work fine for the common case, though.
2005-02-20 20:34:57 +00:00

35 lines
1.0 KiB
Makefile

# New ports collection makefile for: SimGear
# Date created: 2003-01-21
# Whom: des
#
# $FreeBSD$
#
PORTNAME= SimGear
PORTVERSION= 0.3.8
CATEGORIES= devel games
MASTER_SITES= ftp://ftp.simgear.org/pub/simgear/Source/ \
ftp://ftp.de.flightgear.org/pub/simgear/Source/
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
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
USE_X_PREFIX= yes
USE_GL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.mk>