freebsd-ports/games/vamos/Makefile
Florent Thoumie 340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00

48 lines
1.1 KiB
Makefile

# 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>