blob: b3aab7482e4ee320b5598b13314a144403f8d0d5 (
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
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= crashtest
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.stolk.org/crashtest/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Educational crash simulator
BUILD_DEPENDS= ${LOCALBASE}/lib/libode.a:devel/ode \
${LOCALBASE}/lib/libplibul.a:x11-toolkits/plib
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
USE_GL= gl glu
BUILD_WRKSRC= ${WRKSRC}/src-crashtest
PORTDOCS= *
PORTDATA= *
PLIST_FILES= bin/${PORTNAME}
DESKTOP_ENTRIES="${PORTNAME}" \
"" \
"" \
"${PORTNAME}" \
"Game;Simulation;Physics;" \
""
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/src-crashtest/crashtest.cxx
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}/models
${INSTALL_DATA} ${WRKSRC}/models-crashtest/*.3ds ${STAGEDIR}${DATADIR}/models
${INSTALL_DATA} ${WRKSRC}/models-crashtest/*.ac ${STAGEDIR}${DATADIR}/models
${INSTALL_DATA} ${WRKSRC}/models-crashtest/*.bmp ${STAGEDIR}${DATADIR}/models
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
|