aboutsummaryrefslogtreecommitdiffstats
path: root/cad/freecad
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-11-18 17:08:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-11-18 17:08:12 +0800
commit95d0e0240ea9a2104fc6ac2ef29c0ca613499a32 (patch)
tree9a8ba5cd484691569d6ed61f4cd39c467e6897ca /cad/freecad
parent23ced53fbe6e57f194e739a6952a6a891a120a30 (diff)
downloadfreebsd-ports-gnome-95d0e0240ea9a2104fc6ac2ef29c0ca613499a32.tar.gz
freebsd-ports-gnome-95d0e0240ea9a2104fc6ac2ef29c0ca613499a32.tar.zst
freebsd-ports-gnome-95d0e0240ea9a2104fc6ac2ef29c0ca613499a32.zip
- Add LICENSE
- Add LICENSE_FILE - Cosmetic fixes
Diffstat (limited to 'cad/freecad')
-rw-r--r--cad/freecad/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile
index 889f2699c5f7..0805fc6c59bc 100644
--- a/cad/freecad/Makefile
+++ b/cad/freecad/Makefile
@@ -7,7 +7,8 @@ CATEGORIES= cad
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose 3D CAD modeller
-LICENSE= LGPL20
+LICENSE= LGPL20+
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= pyside-rcc:devel/pyside-tools \
swig:devel/swig13 \
@@ -28,6 +29,8 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libmed.so:french/med \
libshiboken-${PYTHON_VERSION}.so:devel/shiboken
+BROKEN_FreeBSD_9= does not build on FreeBSD 9.x
+
USE_GITHUB= yes
GH_TAGNAME= 0ea7373
@@ -36,14 +39,11 @@ USE_XORG= ice sm x11 xext xt
USE_GL= gl glu
USE_QT4= qmake_build corelib gui moc_build network opengl rcc_build \
uic_build svg xml webkit
-
-BROKEN_FreeBSD_9= Does not build on FreeBSD 9.x
+CMAKE_ARGS= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \
+ -DFREECAD_USE_EXTERNAL_PIVY=1
CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME}
-CMAKE_ARGS+= "-DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE"
-CMAKE_ARGS+= "-DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release ."
-
DESKTOP_ENTRIES=${PORTNAME} "" "${PREFIX}/FreeCAD/data/freecad.svg" \
${PORTNAME} "Engineering;" false