aboutsummaryrefslogtreecommitdiffstats
path: root/games/vamos/Makefile
blob: aa91c615db065efd244fd83e65618acbed0ec69a (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
49
# ex:ts=8
# Ports collection makefile for:    vamos
# Date created:         Mar 15, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   vamos
PORTVERSION=    0.5.2
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An automotive simulation framework

BUILD_DEPENDS=  ${X11BASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS=    sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
        glut.3:${PORTSDIR}/graphics/libglut \
        png.5:${PORTSDIR}/graphics/png

USE_GL=     yes
USE_GETOPT_LONG=    yes
USE_GMAKE=  yes
USE_LIBTOOL_VER=    15
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
        MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib
INSTALLS_SHLIB= yes

INFO=       vamos

CPPFLAGS=   -I${LOCALBASE}/include/libpng -I${X11BASE}/include \
        ${PTHREAD_CFLAGS}
LDFLAGS=    -L${LOCALBASE}/lib -L${X11BASE}/lib -lusbhid -lGL -lGLU -lglut \
        ${PTHREAD_LIBS}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     "Does not compile on 4.x (port and dependencies need recent C++ compiler)"
.endif

post-extract:
    @${RM} -f ${WRKSRC}/doc/*.info*

.include <bsd.port.post.mk>