aboutsummaryrefslogtreecommitdiff
path: root/cad/openscad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/openscad/Makefile')
-rw-r--r--cad/openscad/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/cad/openscad/Makefile b/cad/openscad/Makefile
index 3ae00826f82d..1d7e7483e950 100644
--- a/cad/openscad/Makefile
+++ b/cad/openscad/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= openscad
-PORTVERSION= 2013.01
+PORTVERSION= 2014.03
CATEGORIES= cad
-MASTER_SITES= GOOGLE_CODE
+MASTER_SITES= http://files.openscad.org/
DISTNAME= openscad-${PORTVERSION}.src
MAINTAINER= mr@FreeBSD.org
@@ -13,29 +13,25 @@ COMMENT= The programmer's solid 3D CAD modeller
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
- ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2 \
+ ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:${PORTSDIR}/math/eigen3 \
${LOCALBASE}/include/boost/tuple/tuple.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
libmpfr.so:${PORTSDIR}/math/mpfr \
libCGAL.so:${PORTSDIR}/math/cgal \
libopencsg.so:${PORTSDIR}/graphics/opencsg
-USES= bison qmake
+USES= bison desktop-file-utils pkgconfig qmake
USE_GL= glu glew
USE_QT4= corelib gui opengl moc_build uic_build rcc_build
PLIST_SUB= PORTVERSION=${PORTVERSION}
-QMAKE_ENV= EIGEN2DIR=${LOCALBASE}/include/eigen2
-QMAKE_ARGS+= VERSION=${PORTVERSION}
+QMAKE_ENV= EIGENDIR=${LOCALBASE}/include/eigen3
+QMAKE_ARGS+= VERSION=${PORTVERSION} \
+ QMAKE_LEX=${LOCALBASE}/bin/flex \
+ QMAKE_YAC=${LOCALBASE}/bin/bison
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
- ${REINPLACE_CMD} -e 's,XXXFLEXXX,"${LOCALBASE}/bin/flex",' \
+ ${REINPLACE_CMD} -e 's,share/man,man,' \
${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
.include <bsd.port.mk>