blob: ebb5b2df508ed615d7f801722fb632d0bf8e1554 (
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
41
42
43
44
45
46
47
48
|
# Ports collection makefile for: vamos
# Date created: Mar 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= vamos
PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An automotive simulation framework
LIB_DEPENDS= alut.1:${PORTSDIR}/audio/freealut \
openal.0:${PORTSDIR}/audio/openal \
png.5:${PORTSDIR}/graphics/png
USE_GNOME= gnometarget
USE_GL= glut
USE_SDL= sdl
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= ac_cv_header_boost_test_unit_test_hpp=no
USE_LDCONFIG= yes
INFO= vamos
CPPFLAGS+= `pkg-config --cflags-only-I sdl freealut libpng12` \
${PTHREAD_CFLAGS}
LDFLAGS= `pkg-config --libs-only-L sdl freealut libpng12` \
${PTHREAD_LIBS}
post-extract:
@${RM} -f ${WRKSRC}/doc/*.info*
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-pedantic -O2 -g||g ; \
s|libpng`|libpng12`|g'
@${REINPLACE_CMD} -e 's|freeglut|glut|g ; \
s|FREEGLUT|GLUT|g' ${WRKSRC}/configure
.include <bsd.port.mk>
|