mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
33 lines
785 B
Makefile
33 lines
785 B
Makefile
# Created by: David Yeske <dyeske@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yafray
|
|
PORTVERSION= 0.0.9
|
|
PORTREVISION= 2
|
|
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>
|