# New ports collection makefile for: yafray # Date created: 18 May 2003 # Whom: David Yeske # # $FreeBSD$ PORTNAME= yafray PORTVERSION= 0.0.9 CATEGORIES= graphics MASTER_SITES= http://www.yafray.org/sec/2/downloads/ MAINTAINER= dyeske@yahoo.com COMMENT= A fast XML based raytracer LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg USE_SCONS= yes USE_GETOPT_LONG=yes USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME} .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -ffast-math .endif pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "You can enable additional compilation optimizations" @${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS" .endif .include .if ${OSVERSION} < 700014 BROKEN= depends on posix_memalign(3) .endif pre-patch: @${MV} ${WRKSRC}/linux-settings.py ${WRKSRC}/freebsd-settings.py .include