blob: 91a2a307f6accbad7e738e3bb7930e555b427dcd (
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
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= ppracer
DISTVERSION= 0.5alpha
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= BERLIOS \
SF/${PORTNAME}.berlios/
MAINTAINER= nemysis@FreeBSD.org
COMMENT= 3D downhill racing game... kind of like TuxRacer Improved
LICENSE= GPLv2
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2
USE_BZIP2= yes
USES= gmake pkgconfig dos2unix desktop-file-utils
DOS2UNIX_REGEX= .*\.(c|cpp|h)
USE_SDL= mixer sdl
USE_GL= gl
USE_XORG= x11 xi xext xmu xt
GNU_CONFIGURE= yes
CFLAGS+= -w
PORTDOCS= AUTHORS ChangeLog ChangeLog-pre0.3.9 ChangeLog-tuxracer
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
-e 's|libpng12|libpng15|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|RacingMode::||' ${WRKSRC}/src/racingmode.h
@${REINPLACE_CMD} -e 's|int SQHash|long SQHash|' \
${WRKSRC}/src/squirrel/squirrel.h
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|