2013-06-18 13:46:51 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2008-06-19 12:56:11 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= crrcsim
|
2010-10-06 01:58:14 +02:00
|
|
|
PORTVERSION= 0.9.11
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 2
|
2008-06-19 12:56:11 +02:00
|
|
|
CATEGORIES= games
|
2009-03-12 23:29:53 +01:00
|
|
|
MASTER_SITES= BERLIOS
|
2008-06-19 12:56:11 +02:00
|
|
|
|
2008-06-20 12:32:54 +02:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2008-06-19 12:56:11 +02:00
|
|
|
COMMENT= Model-airplane flight simulation program
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
|
2013-10-16 14:57:13 +02:00
|
|
|
LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
2008-06-19 12:56:11 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2013-10-16 14:57:13 +02:00
|
|
|
USES= gmake
|
2008-06-19 12:56:11 +02:00
|
|
|
USE_SDL= sdl
|
|
|
|
USE_GL= gl glu
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib
|
2008-06-19 12:56:11 +02:00
|
|
|
|
2013-10-16 14:57:13 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
2009-03-12 23:29:53 +01:00
|
|
|
PORTDOCS= *
|
2013-10-16 14:57:13 +02:00
|
|
|
PORTDATA= *
|
2008-06-19 12:56:11 +02:00
|
|
|
|
2009-09-11 23:57:40 +02:00
|
|
|
DESKTOP_ENTRIES="CRRCsim" \
|
|
|
|
"Model-airplane flight simulation program" \
|
|
|
|
"${DATADIR}/icons/crrcsim.png" \
|
|
|
|
"crrcsim" \
|
|
|
|
"Game;Simulation;" \
|
2013-10-16 14:57:13 +02:00
|
|
|
""
|
2009-09-11 23:57:40 +02:00
|
|
|
|
2013-10-16 14:57:13 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
OPTIONS_DEFAULT=DOCS
|
2013-06-18 13:46:51 +02:00
|
|
|
|
2008-06-19 12:56:11 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure
|
|
|
|
|
2009-03-12 23:29:53 +01:00
|
|
|
.include <bsd.port.mk>
|