diff options
author | miwi <miwi@FreeBSD.org> | 2009-07-29 15:44:14 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-07-29 15:44:14 +0800 |
commit | 37b2fbcd964cc4db8d91caf8803afcb92da10b4a (patch) | |
tree | 790905d3fbea40e000b83eb39aab1eb29e97a926 /graphics/pixie | |
parent | 9dcc6cfd518344836ac3a2e453d4bed2f59fb804 (diff) | |
download | freebsd-ports-gnome-37b2fbcd964cc4db8d91caf8803afcb92da10b4a.tar.gz freebsd-ports-gnome-37b2fbcd964cc4db8d91caf8803afcb92da10b4a.tar.zst freebsd-ports-gnome-37b2fbcd964cc4db8d91caf8803afcb92da10b4a.zip |
- Update to 2.2.6
PR: 137010
Submitted by: Ports Fury
Diffstat (limited to 'graphics/pixie')
-rw-r--r-- | graphics/pixie/Makefile | 122 | ||||
-rw-r--r-- | graphics/pixie/distinfo | 6 | ||||
-rw-r--r-- | graphics/pixie/pkg-descr | 2 | ||||
-rw-r--r-- | graphics/pixie/pkg-plist | 25 |
4 files changed, 65 insertions, 90 deletions
diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile index 0fcabab6d9f6..b35de5cf91e7 100644 --- a/graphics/pixie/Makefile +++ b/graphics/pixie/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pixie -PORTVERSION= 2.2.4 +PORTVERSION= 2.2.6 CATEGORIES= graphics MASTER_SITES= SF DISTNAME= Pixie-src-${PORTVERSION} @@ -15,39 +15,38 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A photorealistic renderer with Pixar's RenderMan-like interface -BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex \ - bison:${PORTSDIR}/devel/bison -LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ - fltk_gl.1:${PORTSDIR}/x11-toolkits/fltk \ - IlmImf.6:${PORTSDIR}/graphics/OpenEXR +BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex +LIB_DEPENDS= IlmImf.6:${PORTSDIR}/graphics/OpenEXR \ + tiff.4:${PORTSDIR}/graphics/tiff \ + fltk_gl.1:${PORTSDIR}/x11-toolkits/fltk NOT_FOR_ARCHS= amd64 -PORTDOCS=* -USE_GL= yes -ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal -USE_AUTOTOOLS= autoconf:262 aclocal:19 automake:19 libtool:15 -CONFIGURE_ENV= CFLAGS="-O0 -fPIC -pipe -I${LOCALBASE}/include" \ - CXXFLAGS="-O0 -pipe -fPIC -I${LOCALBASE}/include \ - -I${LOCALBASE}/include/OpenEXR" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - LIBS="${PTHREAD_LIBS}" -CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/${PORTNAME} \ - --with-shaderdir=${PREFIX}/share/${PORTNAME}/shaders \ - --with-modeldir=${PREFIX}/share/${PORTNAME} \ - --with-texturedir=${PREFIX}/share/${PORTNAME} \ - --with-proceduraldir=${PREFIX}/share/${PORTNAME} \ - --with-displaysdir=${PREFIX}/lib/${PORTNAME} \ - --with-openexr=${LOCALBASE}/lib \ - --enable-openexr-threads --disable-openexrtest - -USE_LDCONFIG= ${LOCALBASE}/lib/${PORTNAME} WRKSRC= ${WRKDIR}/Pixie -PIXIE_EXES= precomp rndr sdrc sdrinfo show texmake -PIXIE_SHLIBS= file framebuffer rgbe - -SUB_LIST+= PORTNAME=${PORTNAME} +USE_GNOME= gnomehack +USE_GL= glu +USE_BISON= build +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --includedir=${PREFIX}/include/pixie \ + --libdir=${PREFIX}/lib/pixie \ + --with-docdir=${DOCSDIR} \ + --with-shaderdir=${DATADIR}/shaders \ + --with-ribdir=${DATADIR}/ribs \ + --with-texturedir=${DATADIR}/textures \ + --with-displaysdir=${PREFIX}/lib/pixie/displays \ + --with-modulesdir=${PREFIX}/lib/pixie/modules \ + --with-openexr-prefix=${LOCALBASE} \ + --enable-openexr-threads +USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} + +MAN1= rndr.1 sdrc.1 sdrinfo.1 texmake.1 +PORTDOCS= * + +CFLAGS+= -fPIC +CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} .include <bsd.port.pre.mk> @@ -56,62 +55,21 @@ BROKEN= Does not compile on sparc64 .endif post-patch: - @${FIND} -X ${WRKSRC} -name '*.cpp' -or -name '*.h' | \ - ${XARGS} ${REINPLACE_CMD} -i '' -e 's|malloc\.h|stdlib\.h|g' - -pre-configure: - @${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4 - -do-install: -# exes -.for i in ${PIXIE_EXES} - if [ "`${FILE} -b ${WRKSRC}/src/${i}/${i} | ${GREP} script`" ]; then \ - ${INSTALL_PROGRAM} ${WRKSRC}/src/${i}/.libs/${i} ${PREFIX}/bin; \ - else \ - ${INSTALL_PROGRAM} ${WRKSRC}/src/${i}/${i} ${PREFIX}/bin; \ - fi; + @${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g ; \ + /^install-data-am:/s|install-nobase_docDATA||g' ${WRKSRC}/Makefile.in +.for file in src/ri/Makefile.in src/sdr/Makefile.in + @${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' ${WRKSRC}/${file} .endfor -# libs - # avoid conflicts by installing in separate dir - @${INSTALL} -d ${PREFIX}/lib/${PORTNAME} -.for i in common - ${INSTALL_DATA} ${WRKSRC}/src/${i}/.libs/libpixie${i}.a \ - ${PREFIX}/lib/${PORTNAME} - ${INSTALL_PROGRAM} ${WRKSRC}/src/${i}/.libs/libpixie${i}.so.0 \ - ${PREFIX}/lib/${PORTNAME} - ${LN} -sf ${PREFIX}/lib/${PORTNAME}/libpixie${i}.so.0 \ - ${PREFIX}/lib/${PORTNAME}/libpixie${i}.so -.endfor -.for i in sdr ri - ${INSTALL_DATA} ${WRKSRC}/src/${i}/.libs/lib${i}.a \ - ${PREFIX}/lib/${PORTNAME} - ${INSTALL_PROGRAM} ${WRKSRC}/src/${i}/.libs/lib${i}.so.0 \ - ${PREFIX}/lib/${PORTNAME} - ${LN} -sf ${PREFIX}/lib/${PORTNAME}/lib${i}.so.0 \ - ${PREFIX}/lib/${PORTNAME}/lib${i}.so +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in AUTHORS ChangeLog DEVNOTES LICENSE NEWS README + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor - -.for i in ${PIXIE_SHLIBS} - ${INSTALL_PROGRAM} ${WRKSRC}/src/${i}/.libs/${i}.so \ - ${PREFIX}/lib/${PORTNAME} -.endfor - -# includes - @${INSTALL} -d ${PREFIX}/include/${PORTNAME} - @${INSTALL_DATA} ${WRKSRC}/src/sdr/sdr.h ${PREFIX}/include/${PORTNAME} -.for i in dlo dsply implicit ri shadeop - ${INSTALL_DATA} ${WRKSRC}/src/ri/${i}.h ${PREFIX}/include/${PORTNAME} -.endfor - -# shaders - @${INSTALL} -d ${DATADIR} - @${INSTALL} -d ${DATADIR}/shaders - @${INSTALL_DATA} ${WRKSRC}/shaders/* ${DATADIR}/shaders - -# docs -.ifndef (NOPORTDOCS) - @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} + @(cd ${WRKSRC}/doc && ${FIND} . ! -name "*Makefile*" | \ + ${CPIO} -dump -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}) .endif .include <bsd.port.post.mk> diff --git a/graphics/pixie/distinfo b/graphics/pixie/distinfo index c9815b11071d..fe563637ddbe 100644 --- a/graphics/pixie/distinfo +++ b/graphics/pixie/distinfo @@ -1,3 +1,3 @@ -MD5 (Pixie-src-2.2.4.tgz) = adc0be52806a885910456886322fec41 -SHA256 (Pixie-src-2.2.4.tgz) = a998906d0640ca6838baaae55ec394eb24d851719969a28e7e66bb9db7a1debf -SIZE (Pixie-src-2.2.4.tgz) = 10106615 +MD5 (Pixie-src-2.2.6.tgz) = e2063e35d88c25c4b22b954af31ad87d +SHA256 (Pixie-src-2.2.6.tgz) = ffbbc404265aff3d4c0303ec91549708ffba8edefc0368ac119ae2e588f35037 +SIZE (Pixie-src-2.2.6.tgz) = 9993504 diff --git a/graphics/pixie/pkg-descr b/graphics/pixie/pkg-descr index fc7f4a8cc5f0..473420e80854 100644 --- a/graphics/pixie/pkg-descr +++ b/graphics/pixie/pkg-descr @@ -18,7 +18,7 @@ Some of supported features: * Global illumination * Photon mapping -WWW: http://pixie.sourceforge.net/ +WWW: http://www.renderpixie.com/ - Igor Pokrovsky tiamat@comset.net diff --git a/graphics/pixie/pkg-plist b/graphics/pixie/pkg-plist index 9666b7d95cef..349483980a47 100644 --- a/graphics/pixie/pkg-plist +++ b/graphics/pixie/pkg-plist @@ -1,4 +1,3 @@ -bin/precomp bin/rndr bin/sdrc bin/sdrinfo @@ -7,21 +6,37 @@ bin/texmake include/pixie/dlo.h include/pixie/dsply.h include/pixie/implicit.h +include/pixie/ptcapi.h include/pixie/ri.h include/pixie/sdr.h include/pixie/shadeop.h -lib/pixie/file.so -lib/pixie/framebuffer.so +lib/pixie/displays/file.a +lib/pixie/displays/file.la +lib/pixie/displays/file.so +lib/pixie/displays/framebuffer.a +lib/pixie/displays/framebuffer.la +lib/pixie/displays/framebuffer.so +lib/pixie/displays/openexr.a +lib/pixie/displays/openexr.la +lib/pixie/displays/openexr.so +lib/pixie/displays/rgbe.a +lib/pixie/displays/rgbe.la +lib/pixie/displays/rgbe.so lib/pixie/libpixiecommon.a +lib/pixie/libpixiecommon.la lib/pixie/libpixiecommon.so lib/pixie/libpixiecommon.so.0 lib/pixie/libri.a +lib/pixie/libri.la lib/pixie/libri.so lib/pixie/libri.so.0 lib/pixie/libsdr.a +lib/pixie/libsdr.la lib/pixie/libsdr.so lib/pixie/libsdr.so.0 -lib/pixie/rgbe.so +lib/pixie/modules/gui.a +lib/pixie/modules/gui.la +lib/pixie/modules/gui.so %%DATADIR%%/shaders/ambientindirect.sdr %%DATADIR%%/shaders/ambientindirect.sl %%DATADIR%%/shaders/ambientlight.sdr @@ -78,5 +93,7 @@ lib/pixie/rgbe.so %%DATADIR%%/shaders/spotlight.sl @dirrm %%DATADIR%%/shaders @dirrm %%DATADIR%% +@dirrm lib/pixie/modules +@dirrm lib/pixie/displays @dirrm lib/pixie @dirrm include/pixie |