Update to latest source release: - This port depends on CGAL which is fixed in PR ports/177060 . - Fix the flex dependency - Add some missing files in the pkg-plist - Add LICENSE Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->mr Over to maintainer (via the GNATS Auto Assign Tool)
Hi, ports/177060<http://www.freebsd.org/cgi/query-pr.cgi?pr=177060&cat=ports> had been committed. With minor change of pkg-plist, this patch build well. wen
Author: wen Date: Sat May 11 15:07:55 2013 New Revision: 317882 URL: http://svnweb.freebsd.org/changeset/ports/317882 Log: - Update to 2013.1 [1] - Add LICENSE [1] - Update MASTER_SITES [1] - Fix the flex dependency [1] - Fix the build with custom PREFIX and LOCALBASE - Trim Makefile headers - Update LIB_DEPENDS PR: 177064 [1] Submitted by: Pedro Giffuni <giffunip@tutopia.com> [1] Approved by: maintainer(timeout, > 50 days) Modified: head/cad/openscad/Makefile head/cad/openscad/distinfo head/cad/openscad/pkg-plist Modified: head/cad/openscad/Makefile ============================================================================== --- head/cad/openscad/Makefile Sat May 11 14:47:33 2013 (r317881) +++ head/cad/openscad/Makefile Sat May 11 15:07:55 2013 (r317882) @@ -1,29 +1,26 @@ -# New ports collection makefile for: openscad -# Date created: 17 August 2011 # Whom: Michael Reifenberger <mr@freebsd.org> -# # $FreeBSD$ -# PORTNAME= openscad -PORTVERSION= 2011.12 -PORTREVISION= 1 +PORTVERSION= 2013.01 CATEGORIES= cad -MASTER_SITES= https://cloud.github.com/downloads/openscad/openscad/ +MASTER_SITES= GOOGLE_CODE DISTNAME= openscad-${PORTVERSION}.src MAINTAINER= mr@FreeBSD.org COMMENT= The programmer's solid 3D CAD modeller +LICENSE= GPLv2 + BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \ - flex:${PORTSDIR}/textproc/flex \ + ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2 \ ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs #RUN_DEPENDS= ${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs -LIB_DEPENDS= GLU.1:${PORTSDIR}/graphics/libGLU \ - gmp.10:${PORTSDIR}/math/gmp \ - mpfr.4:${PORTSDIR}/math/mpfr \ - CGAL.5:${PORTSDIR}/math/cgal \ +LIB_DEPENDS= GLU:${PORTSDIR}/graphics/libGLU \ + gmp:${PORTSDIR}/math/gmp \ + mpfr:${PORTSDIR}/math/mpfr \ + CGAL:${PORTSDIR}/math/cgal \ opencsg:${PORTSDIR}/graphics/opencsg USE_GL= glew @@ -35,11 +32,15 @@ QMAKE_FLAGS = VERSION=${PORTVERSION} MAKE_ENV = INSTALL_ROOT=${DESTDIR} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -pre-configure: +post-patch: ${REINPLACE_CMD} -e 's,XXXFLEXXX,"${LOCALBASE}/bin/flex",' \ ${WRKSRC}/openscad.pro ${REINPLACE_CMD} -e 's,XXXBISONXXX,"${LOCALBASE}/bin/bison",' \ ${WRKSRC}/openscad.pro + ${REINPLACE_CMD} -e 's,$$$$PREFIX,${PREFIX},' \ + ${WRKSRC}/openscad.pro + ${REINPLACE_CMD} -e 's#/usr/local/bin/flex#${LOCALBASE}/bin/flex#g' \ + ${WRKSRC}/flex.pri do-configure: cd ${WRKSRC} && \ Modified: head/cad/openscad/distinfo ============================================================================== --- head/cad/openscad/distinfo Sat May 11 14:47:33 2013 (r317881) +++ head/cad/openscad/distinfo Sat May 11 15:07:55 2013 (r317882) @@ -1,2 +1,2 @@ -SHA256 (openscad-2011.12.src.tar.gz) = 507e12bb2a4bb556ee8fcdce9779860d89071e924678b2200d82fdb5fae7583d -SIZE (openscad-2011.12.src.tar.gz) = 3247723 +SHA256 (openscad-2013.01.src.tar.gz) = 2ef078b588c42f7ba873850f40a4695c6a47f3805d1560717dd3f98fe8082007 +SIZE (openscad-2013.01.src.tar.gz) = 3459766 Modified: head/cad/openscad/pkg-plist ============================================================================== --- head/cad/openscad/pkg-plist Sat May 11 14:47:33 2013 (r317881) +++ head/cad/openscad/pkg-plist Sat May 11 15:07:55 2013 (r317882) @@ -1,4 +1,6 @@ bin/openscad +share/applications/openscad.desktop +share/pixmaps/openscad.png %%DATADIR%%/examples/example001.scad %%DATADIR%%/examples/example002.scad %%DATADIR%%/examples/example003.scad @@ -28,13 +30,17 @@ bin/openscad %%DATADIR%%/examples/example020.scad %%DATADIR%%/examples/example021.scad %%DATADIR%%/examples/example022.scad +%%DATADIR%%/examples/example023.scad %%DATADIR%%/libraries/MCAD/openscad_testing.py %%DATADIR%%/libraries/MCAD/bearing.scad %%DATADIR%%/libraries/MCAD/boxes.scad +%%DATADIR%%/libraries/MCAD/fonts.scad %%DATADIR%%/libraries/MCAD/hardware.scad +%%DATADIR%%/libraries/MCAD/lego_compatibility.scad +%%DATADIR%%/libraries/MCAD/math.scad +%%DATADIR%%/libraries/MCAD/multiply.scad %%DATADIR%%/libraries/MCAD/servos.scad %%DATADIR%%/libraries/MCAD/teardrop.scad -%%DATADIR%%/libraries/MCAD/math.scad %%DATADIR%%/libraries/MCAD/transformations.scad %%DATADIR%%/libraries/MCAD/gridbeam.scad %%DATADIR%%/libraries/MCAD/curves.scad @@ -75,3 +81,4 @@ bin/openscad @dirrm %%DATADIR%%/libraries @dirrm %%DATADIR%%/examples @dirrm %%DATADIR%% +@dirrmtry share/applications _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!