blob: 50e79d87fbe888a193794d648aa2149dd53fd060 (
plain)
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
|
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= trigger-rally
PORTVERSION= 0.6.1
CATEGORIES= games
MASTER_SITES= SF/trigger-rally/trigger-${PORTVERSION}
DISTVERSIONSUFFIX= -src
MAINTAINER= makc@FreeBSD.org
COMMENT= Rally car racing game
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs
RUN_DEPENDS= ${DATADIR}/trigger.config.defs:${PORTSDIR}/games/trigger-data
USES= openal:al,alut tar:bzip2
USE_SDL= sdl image
USE_GL= glu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR} \
--with-libAlut=${LOCALBASE} \
--with-libPhysFS=${LOCALBASE}
DESKTOP_ENTRIES="Trigger" "" "trigger" \
"trigger" "" false
PLIST_FILES= bin/trigger
PORTDOCS= README-stereo.txt README.txt
OPTIONS_DEFINE= DOCS
do-build:
@cd ${BUILD_WRKSRC} && ${LOCALBASE}/bin/jam
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trigger ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|