Lines 7-22
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= ppracer |
8 |
PORTNAME= ppracer |
9 |
DISTVERSION= 0.5alpha |
9 |
DISTVERSION= 0.5alpha |
10 |
PORTREVISION= 7 |
10 |
PORTREVISION= 8 |
11 |
CATEGORIES= games |
11 |
CATEGORIES= games |
12 |
MASTER_SITES= ${MASTER_SITE_BERLIOS} |
12 |
MASTER_SITES= SF/${PORTNAME}.berlios/ |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
14 |
|
13 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= nemysis@gmx.ch |
16 |
COMMENT= 3D downhill racing game... kind of like TuxRacer Improved |
15 |
COMMENT= 3D downhill racing game... kind of like TuxRacer Improved |
17 |
|
16 |
|
|
|
17 |
LICENSE= GPLv2 |
18 |
|
18 |
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ |
19 |
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ |
19 |
freetype.9:${PORTSDIR}/print/freetype2 |
20 |
freetype:${PORTSDIR}/print/freetype2 |
20 |
|
21 |
|
21 |
USE_BZIP2= yes |
22 |
USE_BZIP2= yes |
22 |
USE_SDL= mixer sdl |
23 |
USE_SDL= mixer sdl |
Lines 26-34
Link Here
|
26 |
USE_DOS2UNIX= yes |
27 |
USE_DOS2UNIX= yes |
27 |
DOS2UNIX_REGEX= .*\.(c|cpp|h) |
28 |
DOS2UNIX_REGEX= .*\.(c|cpp|h) |
28 |
|
29 |
|
|
|
30 |
PORTDOCS= AUTHORS ChangeLog ChangeLog-pre0.3.9 ChangeLog-tuxracer |
31 |
|
32 |
.include <bsd.port.options.mk> |
33 |
|
29 |
post-patch: |
34 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \ |
35 |
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ |
31 |
-e 's,libpng12,libpng15,g' ${WRKSRC}/configure |
36 |
-e 's|libpng12|libpng15|g' ${WRKSRC}/configure |
32 |
@${REINPLACE_CMD} -e 's,RacingMode::,,' ${WRKSRC}/src/racingmode.h |
37 |
@${REINPLACE_CMD} -e 's|RacingMode::||' ${WRKSRC}/src/racingmode.h |
|
|
38 |
|
39 |
post-install: |
40 |
.if ${PORT_OPTIONS:MDOCS} |
41 |
${MKDIR} ${DOCSDIR} |
42 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
43 |
.endif |
33 |
|
44 |
|
34 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |