From owner-svn-ports-all@FreeBSD.ORG Thu May 8 16:17:38 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D3CC5C3; Thu, 8 May 2014 16:17:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A3FB2FA; Thu, 8 May 2014 16:17:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s48GHcEG028322; Thu, 8 May 2014 16:17:38 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s48GHc6C028318; Thu, 8 May 2014 16:17:38 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201405081617.s48GHc6C028318@svn.freebsd.org> From: Pawel Pekala Date: Thu, 8 May 2014 16:17:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353329 - head/graphics/pixie X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2014 16:17:38 -0000 Author: pawel Date: Thu May 8 16:17:37 2014 New Revision: 353329 URL: http://svnweb.freebsd.org/changeset/ports/353329 QAT: https://qat.redports.org/buildarchive/r353329/ Log: - Add staging support - Convert to new LIB_DEPENDS format, USES=libtool - Install striped binaries Modified: head/graphics/pixie/Makefile head/graphics/pixie/pkg-plist Modified: head/graphics/pixie/Makefile ============================================================================== --- head/graphics/pixie/Makefile Thu May 8 16:13:06 2014 (r353328) +++ head/graphics/pixie/Makefile Thu May 8 16:17:37 2014 (r353329) @@ -3,7 +3,7 @@ PORTNAME= pixie PORTVERSION= 2.2.6 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION} DISTNAME= Pixie-src-${PORTVERSION} @@ -14,17 +14,13 @@ COMMENT= Photorealistic renderer with Pi LICENSE= LGPL21 # (or later) -LIB_DEPENDS= IlmImf:${PORTSDIR}/graphics/OpenEXR \ - tiff:${PORTSDIR}/graphics/tiff \ - fltk_gl:${PORTSDIR}/x11-toolkits/fltk - -OPTIONS_DEFINE= DOCS - -WRKSRC= ${WRKDIR}/Pixie +LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libfltk_gl.so:${PORTSDIR}/x11-toolkits/fltk USE_GL= glu -USES= bison pathfix -USE_AUTOTOOLS= libtool +USES= bison libtool pathfix +GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir=${PREFIX}/include/pixie \ --libdir=${PREFIX}/lib/pixie \ --with-docdir=${DOCSDIR} \ @@ -35,21 +31,21 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/i --with-modulesdir=${PREFIX}/lib/pixie/modules \ --with-openexr-prefix=${LOCALBASE} \ --enable-openexr-threads +WRKSRC= ${WRKDIR}/Pixie +INSTALL_TARGET= install-strip USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} -MAN1= rndr.1 sdrc.1 sdrinfo.1 texmake.1 PORTDOCS= * CFLAGS+= -fPIC CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include +sparc64_BROKEN= Does not compile on sparc64 -.if ${ARCH} == "sparc64" -BROKEN= Does not compile on sparc64 -.endif +OPTIONS_DEFINE= DOCS + +.include .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex @@ -60,19 +56,17 @@ post-patch: @${REINPLACE_CMD} -e '/test/s|==|=|g ; \ s|-lpthread|-pthread|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 + /^install-data-am:/s|install-nobase_docDATA||g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^includedir/s|=.*$$|= @includedir@|g' \ + ${WRKSRC}/src/ri/Makefile.in \ + ${WRKSRC}/src/sdr/Makefile.in post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} -.for file in AUTHORS ChangeLog DEVNOTES NEWS README - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor - @(cd ${WRKSRC}/doc && ${FIND} . ! -name "*Makefile*" | \ - ${CPIO} -dump -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}) -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog DEVNOTES NEWS \ + README ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + '! -name "*Makefile*"') .include Modified: head/graphics/pixie/pkg-plist ============================================================================== --- head/graphics/pixie/pkg-plist Thu May 8 16:13:06 2014 (r353328) +++ head/graphics/pixie/pkg-plist Thu May 8 16:17:37 2014 (r353329) @@ -10,33 +10,24 @@ include/pixie/ptcapi.h include/pixie/ri.h include/pixie/sdr.h include/pixie/shadeop.h -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/libpixiecommon.so.0.0.0 lib/pixie/libri.so lib/pixie/libri.so.0 -lib/pixie/libsdr.a -lib/pixie/libsdr.la +lib/pixie/libri.so.0.0.0 lib/pixie/libsdr.so lib/pixie/libsdr.so.0 -lib/pixie/modules/gui.a -lib/pixie/modules/gui.la +lib/pixie/libsdr.so.0.0.0 lib/pixie/modules/gui.so +man/man1/rndr.1.gz +man/man1/sdrc.1.gz +man/man1/sdrinfo.1.gz +man/man1/texmake.1.gz %%DATADIR%%/shaders/ambientindirect.sdr %%DATADIR%%/shaders/ambientindirect.sl %%DATADIR%%/shaders/ambientlight.sdr