aboutsummaryrefslogtreecommitdiffstats
path: root/games/crrcsim/Makefile
blob: d45c6e05f7f77a471bea61c61ad03a698c3bb2e0 (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
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$

PORTNAME=   crrcsim
PORTVERSION=    0.9.11
PORTREVISION=   5
CATEGORIES= games
MASTER_SITES=   BERLIOS

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Model-airplane flight simulation program

BUILD_DEPENDS=  ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS=    libportaudio.so:audio/portaudio

GNU_CONFIGURE=  yes
USES=       gmake jpeg
USE_SDL=    sdl
USE_GL=     gl glu

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
PORTDOCS=   *
PORTDATA=   *

DESKTOP_ENTRIES="CRRCsim" \
        "Model-airplane flight simulation program" \
        "${DATADIR}/icons/crrcsim.png" \
        "crrcsim" \
        "Game;Simulation;" \
        ""

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure

.include <bsd.port.mk>