1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/cad/openscad/Makefile
Max Brazhnikov 8ca1dc2c06 cad/openscad:
- Update to 2014.03
- Update MASTER_SITES
- Switch dependency from math/eigen2 to math/eigen3
- USES+= desktop-file-utils pkgconfig
- Remove patch, pass required bits to qmake instead

PR:		191788
Approved by:	maintainer timeout (17 days)
2014-07-27 18:23:54 +00:00

38 lines
1.1 KiB
Makefile

# Created by: Michael Reifenberger <mr@FreeBSD.org>
# $FreeBSD$
PORTNAME= openscad
PORTVERSION= 2014.03
CATEGORIES= cad
MASTER_SITES= http://files.openscad.org/
DISTNAME= openscad-${PORTVERSION}.src
MAINTAINER= mr@FreeBSD.org
COMMENT= The programmer's solid 3D CAD modeller
LICENSE= GPLv2
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
${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 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= 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,share/man,man,' \
${WRKSRC}/openscad.pro
.include <bsd.port.mk>