Lines 1-10
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= FreeCAD |
3 |
PORTNAME= FreeCAD |
4 |
DISTVERSION= 0.17.g20161104 |
4 |
DISTVERSION= 0.17.g20161106 |
5 |
CATEGORIES= cad |
5 |
CATEGORIES= cad |
6 |
|
6 |
|
7 |
MAINTAINER= ports@FreeBSD.org |
7 |
MAINTAINER= tj+freebsd_ports@FreeBSD.org |
8 |
COMMENT= General purpose 3D CAD modeller |
8 |
COMMENT= General purpose 3D CAD modeller |
9 |
|
9 |
|
10 |
LICENSE= LGPL20 |
10 |
LICENSE= LGPL20 |
Lines 27-35
LIB_DEPENDS= libexpat.so:textproc/expat2 \
Link Here
|
27 |
libarea.so:devel/libarea \ |
27 |
libarea.so:devel/libarea \ |
28 |
libmed.so:french/med \ |
28 |
libmed.so:french/med \ |
29 |
libshiboken-${PYTHON_VERSION}.so:devel/shiboken |
29 |
libshiboken-${PYTHON_VERSION}.so:devel/shiboken |
|
|
30 |
RUN_DEPENDS= pivy>0:graphics/py-pivy |
30 |
|
31 |
|
31 |
USE_GITHUB= yes |
32 |
USE_GITHUB= yes |
32 |
GH_TAGNAME= 0ea7373 |
33 |
GH_TAGNAME= 57db39b |
33 |
|
34 |
|
34 |
USES= compiler:c++11-lib cmake:outsource jpeg python localbase |
35 |
USES= compiler:c++11-lib cmake:outsource jpeg python localbase |
35 |
USE_XORG= ice sm x11 xext xt |
36 |
USE_XORG= ice sm x11 xext xt |
Lines 45-51
CMAKE_ARGS+= "-DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE"
Link Here
|
45 |
CMAKE_ARGS+= "-DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release ." |
46 |
CMAKE_ARGS+= "-DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release ." |
46 |
|
47 |
|
47 |
DESKTOP_ENTRIES=${PORTNAME} "" "${PREFIX}/FreeCAD/data/freecad.svg" \ |
48 |
DESKTOP_ENTRIES=${PORTNAME} "" "${PREFIX}/FreeCAD/data/freecad.svg" \ |
48 |
${PORTNAME} "Engineering;" false |
49 |
${PORTNAME} "Science;Engineering;" false |
49 |
|
50 |
|
50 |
post-patch: |
51 |
post-patch: |
51 |
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \ |
52 |
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \ |