blob: d74626413be0e0456414a819dd020af377814a4a (
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
|
# New ports collection makefile for: supertuxkart
# Date created: 21 Mar 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= supertuxkart
PORTVERSION= 0.6.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/supertuxkart/SuperTuxKart/${PORTVERSION}
EXTRACT_SUFX= -src.tar.bz2
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Free 3D kart racing game
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= vorbisfile.6:${PORTSDIR}/audio/libvorbis \
ogg.6:${PORTSDIR}/audio/libogg
USE_BZIP2= yes
USE_GL= gl glu glut
USE_OPENAL= al alut
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_GETTEXT= yes
MAKE_JOBS_SAFE= yes
PORTDOCS= *
# Using LIBS instead of LDFLAGS, otherwise will break when
# there's devel/bullet port installed
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include"
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|$$(datadir)/games|$$(datadir)|g; \
s|$$(prefix)/games|$$(prefix)/bin|g'
@${REINPLACE_CMD} -e 's|PREFIX/games|PREFIX/bin|' \
${WRKSRC}/data/supertuxkart_desktop.template
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_pkgdataDATA||' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>
|