diff options
author | pav <pav@FreeBSD.org> | 2004-03-21 19:21:19 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-03-21 19:21:19 +0800 |
commit | 596c791fbe5eb8bf448e765e9c3da1601d1dd607 (patch) | |
tree | 0f93f8894d3f9bfb07751f70452d7c42bc19a7df /graphics/yafray | |
parent | 6a8872a9b61d96b58208f3cbaf1ec211913f8f66 (diff) | |
download | freebsd-ports-graphics-596c791fbe5eb8bf448e765e9c3da1601d1dd607.tar.gz freebsd-ports-graphics-596c791fbe5eb8bf448e765e9c3da1601d1dd607.tar.zst freebsd-ports-graphics-596c791fbe5eb8bf448e765e9c3da1601d1dd607.zip |
- Update to 0.0.6
PR: ports/64531
Submitted by: David Yeske <dyeske@yahoo.com> (maintainer)
Diffstat (limited to 'graphics/yafray')
-rw-r--r-- | graphics/yafray/Makefile | 36 | ||||
-rw-r--r-- | graphics/yafray/distinfo | 3 | ||||
-rw-r--r-- | graphics/yafray/pkg-plist | 20 |
3 files changed, 48 insertions, 11 deletions
diff --git a/graphics/yafray/Makefile b/graphics/yafray/Makefile index 6511e2acef6..bbe6fdc8ca4 100644 --- a/graphics/yafray/Makefile +++ b/graphics/yafray/Makefile @@ -5,9 +5,10 @@ # $FreeBSD$ PORTNAME= yafray -PORTVERSION= 0.0.4 +PORTVERSION= 0.0.6 CATEGORIES= graphics MASTER_SITES= http://www.coala.uniovi.es/~jandro/noname/downloads/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-2 MAINTAINER= dyeske@yahoo.com COMMENT= A fast XML based raytracer @@ -17,6 +18,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg USE_GETOPT_LONG=yes USE_REINPLACE= yes USE_LIBTOOL_VER=13 +INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" @@ -31,16 +33,32 @@ pre-everything:: @${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS" .endif -post-patch: - @${REINPLACE_CMD} -e \ - 's|-lpthread|${PTHREAD_LIBS}|' \ - ${WRKSRC}/configure +.include <bsd.port.pre.mk> + +.if ${OSVERSION} <= 500000 +BROKEN= "Does not compile (bad C++ code)" +.endif - @${REINPLACE_CMD} -E -e \ +post-patch: + @${FIND} ${WRKSRC} -name "Makefile.in" | \ + ${XARGS} ${REINPLACE_CMD} -E -e \ 's|^CXX =.+$$|CXX=${CXX}|; \ s|-O3||; \ + s|-D_PTHREADS||; \ + s|-pthread|-lpthread|g; \ + s|-lpthread|${PTHREAD_LIBS}|g; \ s|-ffast-math||; \ - s|-Wall|${CXXFLAGS}|' \ - ${WRKSRC}/src/Makefile.in + s|-ldl||; \ + s|-Wall|${CXXFLAGS}|' + + @${FIND} ${WRKSRC} -name "configure.in" \ + -or -name "configure" | ${XARGS} \ + ${REINPLACE_CMD} -E -e \ + 's|-pthread|-lpthread|g; \ + s|-lpthread|${PTHREAD_LIBS}|g' + +#make sure we don't need to run auto**** + @${TOUCH} ${TOUCH_FLAGS} -t 199705212205.21 \ + ${WRKSRC}/configure.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/yafray/distinfo b/graphics/yafray/distinfo index 84e2693c281..ae66945339c 100644 --- a/graphics/yafray/distinfo +++ b/graphics/yafray/distinfo @@ -1 +1,2 @@ -MD5 (yafray-0.0.4.tar.gz) = 77186ea4afb14c36416781b96e2af0f5 +MD5 (yafray-0.0.6-2.tar.gz) = bf87b6018435f3bc5bfd1be598c1a28f +SIZE (yafray-0.0.6-2.tar.gz) = 498452 diff --git a/graphics/yafray/pkg-plist b/graphics/yafray/pkg-plist index 5c19046299d..f497c24ef63 100644 --- a/graphics/yafray/pkg-plist +++ b/graphics/yafray/pkg-plist @@ -1,3 +1,21 @@ bin/yafray etc/gram.yafray -lib/libyafray.so +lib/libyafraycore.so +lib/libyafrayplugin.so +lib/yafray/libpathlight.so +lib/yafray/libsunlight.so +lib/yafray/libpointlight.so +lib/yafray/libphotonlight.so +lib/yafray/libhemilight.so +lib/yafray/libspotlight.so +lib/yafray/libsoftlight.so +lib/yafray/libarealight.so +lib/yafray/libglobalphotonlight.so +lib/yafray/libspherelight.so +lib/yafray/libbasicshaders.so +lib/yafray/libbasicblocks.so +lib/yafray/libmixblocks.so +lib/yafray/libblendershader.so +lib/yafray/libhdri.so +lib/yafray/libsunsky.so +@dirrm lib/yafray |