blob: 62d5258058bd0a9de0344bee493177aeed1e5154 (
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
|
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= yafray
PORTVERSION= 0.0.9
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://freebsd.nsu.ru/distfiles/ \
#http://www.yafaray.org/sites/default/files/download/builds/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast XML based raytracer
USES= jpeg scons
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
pre-patch:
@${MV} ${WRKSRC}/linux-settings.py ${WRKSRC}/freebsd-settings.py
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
-e 's|%%CXXFLAGS%%|${CXXFLAGS}|' \
${WRKSRC}/freebsd-settings.py
do-install:
(cd ${WRKSRC} && ${MAKE_CMD} prefix=${STAGEDIR}${PREFIX} install)
(cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/${PORTNAME} \
lib/*.so lib/yafray/*.so)
.include <bsd.port.mk>
|