freebsd-ports/devel/simgear/Makefile
Martin Wilke 299ccb4639 - Update to 1.0.0
- Pass maintainership to submitter

PR:		123336
Submitted by:	Ganael Laplanche <ganael.laplanche@martymac.com>
2008-05-02 20:23:47 +00:00

36 lines
1,007 B
Makefile

# New ports collection makefile for: SimGear
# Date created: 2003-01-21
# Whom: des
#
# $FreeBSD$
#
PORTNAME= SimGear
PORTVERSION= 1.0.0
CATEGORIES= devel games
MASTER_SITES= ftp://ftp.simgear.org/pub/simgear/Source/ \
ftp://ftp.de.simgear.org/pub/simgear/Source/
MAINTAINER= ganael.laplanche@martymac.com
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= openal.0:${PORTSDIR}/audio/openal \
jpeg.9:${PORTSDIR}/graphics/jpeg \
alut.1:${PORTSDIR}/audio/freealut
USE_XORG= ice sm x11 xext xi xt xmu
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>