diff options
author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2023-02-12 17:02:56 +0000 |
---|---|---|
committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2023-02-12 17:02:56 +0000 |
commit | 399d55596666c0cef64992f8eb7bee67db9a3fd1 (patch) | |
tree | b31a16825798b14be0bc45dd3c677641f0f9e637 /cad/kicad/Makefile | |
parent | 92d775840cb62c55fd8f169ace8e759cc8348e25 (diff) |
cad/kicad: update KiCad and libraries to 7.0.0
Announcement soon on https://www.kicad.org/blog/
Diffstat (limited to 'cad/kicad/Makefile')
-rw-r--r-- | cad/kicad/Makefile | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index d14aab5457ca..8715754c08e3 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -1,8 +1,8 @@ PORTNAME= kicad -PORTVERSION= 6.0.11 +PORTVERSION= 7.0.0 PORTEPOCH= 2 CATEGORIES= cad -MASTER_SITES= https://gitlab.com/${PORTNAME}/code/${PORTNAME}/-/archive/${DISTVERSION}/ +MASTER_SITES= https://gitlab.com/${PORTNAME}/code/${PORTNAME}/-/archive/${DISTVERSION}${DISTVERSIONSUFFIX}/ MAINTAINER= cmt@FreeBSD.org COMMENT= Schematic and PCB editing software @@ -19,12 +19,13 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libpixman-1.so:x11/pixman \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ - libGLEW-wayland.so:graphics/glew-wayland - -CONFLICTS_INSTALL= kicad-devel # bin/_cvpcb.kiface + libGLEW-wayland.so:graphics/glew-wayland \ + libfreetype.so:print/freetype2 \ + libfontconfig.so:x11-fonts/fontconfig \ + libodbc.so:databases/unixODBC USES= cmake:noninja compiler:c++11-lib desktop-file-utils gl \ - gnome pkgconfig python:3.5+ shared-mime-info shebangfix ssl \ + gnome pkgconfig python:3.5+ shared-mime-info shebangfix \ tar:bz2 xorg SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py @@ -33,35 +34,34 @@ USE_GL= gl glu glut USE_WX= 3.2 WX_COMPS= python:lib wx USE_GNOME= atk cairo gdkpixbuf2 gtk30 pango -CXXFLAGS+= --std=c++11 -I${WRKSRC}/include -I${LOCALBASE}/include +CXXFLAGS+= -std=c++11 -I${WRKSRC}/include -I${LOCALBASE}/include +# not using "bundled glew" breaks the 3d viewer CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} \ -DwxWidgets_USE_UNICODE=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SCRIPTING_WXPYTHON=ON \ - -DKICAD_USE_OCC=ON \ -DKICAD_USE_EGL=ON \ -DKICAD_USE_BUNDLED_GLEW=ON \ + -DNANODBC_ENABLE_BOOST=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE +CMAKE_ENV+= DODBC_PATH=${LOCALBASE} USE_LDCONFIG= yes PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} -OPTIONS_DEFINE= DOCS DOXYGEN NLS +OPTIONS_DEFINE= DOXYGEN NLS OPTIONS_SUB= yes NLS_USES= gettext DOXYGEN_VARS= LICENSE+=GFDL LICENSE_COMB=multi DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen -DOXYGEN_IMPLIES= DOCS DOXYGEN_ALL_TARGET= all doxygen-docs -DOXYGEN_PORTDOCS= doxygen + +CONFLICTS_INSTALL= kicad-devel # bin/_cvpcb.kiface pre-configure: ${REINPLACE_CMD} -e 's|/usr/local/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp -post-install-DOCS-on: - (cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) - .include <bsd.port.mk> |