blob: 49e2edeaeee9d053c36d160a365165c43083a4b3 (
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
|
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= trigger-rally
PORTVERSION= 0.6.0
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/trigger-rally/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" "" 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>
|