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

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

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  ${X11BASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS=    sigc:${PORTSDIR}/devel/libsigc++

USE_MESA=   yes
USE_REINPLACE=  yes
USE_LIBTOOL=    yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${X11BASE}/include ${PTHREAD_CFLAGS}" \
        LIBS="-L${X11BASE}/lib -lGL -lGLU -lglut ${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} 's|std::fixed << ||g' ${WRKSRC}/vamos/Vamos_Car.cc

.include <bsd.port.mk>