diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile index fe0e3c1e0cf9..34959cf31dc4 100644 --- a/cad/kicad-devel/Makefile +++ b/cad/kicad-devel/Makefile @@ -1,172 +1,172 @@ PORTNAME= kicad DISTVERSION= r${GIT_SRC_DATE} -PORTREVISION= 4 +PORTREVISION= 5 #PORTREVISION= 1 CATEGORIES= cad PKGNAMESUFFIX= -devel DIST_SUBDIR= ${PORTNAME} MAINTAINER= mr@FreeBSD.org COMMENT= Schematic and PCB editing software WWW= http://kicad-pcb.org/ LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/bin/swig:devel/swig LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libGLEW-wayland.so:graphics/glew-wayland \ libodbc.so:databases/unixODBC CONFLICTS_INSTALL= kicad # bin/_cvpcb.kiface BROKEN_aarch64= Fails to compile: use of undeclared identifier builtin_ia32_emms OPTIONS_DEFINE= DOCS PLIST_SUB= OPSYS=${OPSYS} \ DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} USES= cmake:noninja compiler:c++11-lib desktop-file-utils gl \ gettext gnome pkgconfig python shared-mime-info shebangfix ssl \ tar:bzip2 xorg USE_GITLAB= yes GL_ACCOUNT= kicad/code GL_PROJECT= kicad GL_TAGNAME= ${GIT_SRC_HASH} USE_GL= gl glu glut USE_WX= 3.2 WX_COMPS= wx python:lib USE_GNOME= atk cairo gtk30 gdkpixbuf2 pango USE_XORG+= ice pixman x11 xext BINS= cvpcb eeschema gerbview kicad pcbnew EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py CXXFLAGS+= --std=c++11 -I${WRKSRC} -I${WRKSRC}/include -I${LOCALBASE}/include CXXFLAGS_powerpc= -O0 CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \ -DCMAKE_BUILD_TYPE="Debug" \ -DKICAD_TESTING_VERSION=ON \ -DKICAD_VERSION=${DISTVERSION} \ -DCMAKE_INCLUDE_PATH="${WRKSRC}/include ${LOCALBASE}/include" \ -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DwxWidgets_USE_DEBUG=ON \ -DwxWidgets_USE_USE_UNICODE=ON \ -DwxWidgets_wxrc_EXECUTABLE=${WXRC_CMD} \ -DKICAD_SCRIPTING=ON \ -DKICAD_SCRIPTING_MODULES=ON \ -DKICAD_SCRIPTING_PYTHON3=ON \ -DKICAD_SCRIPTING_WXPYTHON=ON \ -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \ -DKICAD_SKIP_BOOST=YES \ -DKICAD_SPICE=ON \ -DKICAD_USE_OCE=OFF \ -DKICAD_USE_OCC=ON \ -DKICAD_USE_EGL=ON \ -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE USE_LDCONFIG= yes .include "Makefile.git_rev" showversions: @${ECHO} "GIT_SRC_HASH: ${GIT_SRC_HASH}" @${ECHO} "GIT_SRC_DATE: ${GIT_SRC_DATE}" @${ECHO} "DISTDIR: ${DISTDIR}" @${ECHO} "DIST_SUBDIR: ${DIST_SUBDIR}" @${ECHO} "DISTNAME: ${DISTNAME}" @${ECHO} "DISTVERSION: ${DISTVERSION}" # Updating to new rev: # sh files/newVersion.sh # make makesum && make clean # make install #breaks probably due to plist differences # make makeplist > pkg-plist #One has to edit/review the generated plist # make generate-plist && make check-plist # < Check PLIST_FILE_LIST below > tmp: echo "${DATADIR} ${DATADIR:H}" # The CheckCXXSymbolExists module has been shipped with CMake since 3.0 times. # The ancient implementation that this bundled module uses, no longer works # because it uses CMake internals that have gone away in 3.11. post-extract: ${RM} ${WRKSRC}/CMakeModules/CheckCXXSymbolExists.cmake pre-configure: ${REINPLACE_CMD} -e 's|/usr/share/kicad|${DATADIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/common/gestfich.cpp ${REINPLACE_CMD} -e 's|/usr/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp post-configure: # ${REINPLACE_CMD} -e 's|#define HAVE_ISO646_H|//#define HAVE_ISO646_H|' \ # ${WRKSRC}/config.h for f in `${FIND} ${WRKSRC} -name \*.make -o -name link.txt` ; do \ ${REINPLACE_CMD} \ -e 's|CC = gcc|#CC = gcc|' \ -e 's|LD = gcc|LD = ${CC}|' \ -e 's|LD = g++|LD = ${CXX}|' \ -e 's|wx-config|${WX_CONFIG}|' \ -e 's|CXX_FLAGS =|CXX_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|C_FLAGS =|C_FLAGS = ${WRKSRC}/include -I${LOCALBASE}/include|' \ -e 's|LDFLAGS =|LDFLAGS += -L${LOCALBASE}/lib|' \ -e 's|gcc -D|${CC} -D|' \ -e 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' \ $$f ; \ done ${REINPLACE_CMD} -e 's|/usr/local/bin/xdg-open|${LOCALBASE}/bin/xdg-open|' \ ${WRKSRC}/common/pgm_base.cpp pre-install: @echo "${DATADIR}, ${DOCSDIR}" #post-install: #.for subdir in library modules template # ${CP} -Rp ${WRKDIR}/kicad-library-master/${subdir} ${STAGEDIR}${DATADIR} #.endfor #.for subdir in internat # ${CP} -Rp ${WRKDIR}/kicad-doc/${subdir} ${STAGEDIR}${DOCSDIR} #.endfor PLIST_FILE_LIST= bin/freeroute.jnlp \ bin/cvpcb \ bin/eeschema \ bin/gerbview \ bin/kicad \ bin/pcbnew \ bin/pl_editor \ bin/bitmap2component \ bin/pcb_calculator \ share/mimelnk/application/x-kicad-schematic.desktop \ share/mimelnk/application/x-kicad-project.desktop \ share/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/48x48/apps/kicad.png \ share/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/scalable/apps/kicad.svg \ share/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg \ share/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/22x22/mimetypes/application-x-kicad-project.png \ share/mime/packages/kicad.xml \ share/applications/kicad.desktop \ share/applications/eeschema.desktop PLIST_DIR_LIST= lib/kicad PLIST_SHAREDDIR_LIST= share/mimelnk/application \ share/mimelnk .include diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile index 7e7a3dc5a6a6..9b45d450a113 100644 --- a/cad/kicad/Makefile +++ b/cad/kicad/Makefile @@ -1,69 +1,69 @@ PORTNAME= kicad PORTVERSION= 7.0.2 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= cad MASTER_SITES= https://gitlab.com/${PORTNAME}/code/${PORTNAME}/-/archive/${DISTVERSION}${DISTVERSIONSUFFIX}/ MAINTAINER= cmt@FreeBSD.org COMMENT= Schematic and PCB editing software WWW= https://kicad.org/ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm \ swig:devel/swig LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libharfbuzz.so:print/harfbuzz \ libngspice.so:cad/ngspice_rework@shlib \ libTKernel.so:cad/opencascade \ libpixman-1.so:x11/pixman \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libGLEW-wayland.so:graphics/glew-wayland \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libodbc.so:databases/unixODBC USES= cmake:noninja compiler:c++17-lang desktop-file-utils gl \ gnome pkgconfig python shared-mime-info shebangfix \ tar:bz2 xorg SHEBANG_FILES= pcbnew/python/plugins/touch_slider_wizard.py USE_XORG= ice x11 xext 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_powerpc= -O0 # 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_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= DOXYGEN NLS OPTIONS_SUB= yes NLS_USES= gettext DOXYGEN_VARS= LICENSE+=GFDL LICENSE_COMB=multi DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= all doxygen-docs 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 .include diff --git a/cad/ngspice_rework/Makefile b/cad/ngspice_rework/Makefile index 44b7014e6d9d..a774d6a129b1 100644 --- a/cad/ngspice_rework/Makefile +++ b/cad/ngspice_rework/Makefile @@ -1,48 +1,46 @@ PORTNAME= ngspice_rework -PORTVERSION= 38 +PORTVERSION= 41 CATEGORIES= cad MASTER_SITES= SF/ngspice/ng-spice-rework/${PORTVERSION} DISTNAME= ngspice-${PORTVERSION} MAINTAINER= kevinz5000@gmail.com COMMENT= Mixed-signal circuit simulator derived from Spice and Cider WWW= https://ngspice.sourceforge.io/ LICENSE= BSD3CLAUSE BSD4CLAUSE LGPL21+ LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_aarch64= fails to link: missing sbrk - LIB_DEPENDS= libfftw3.so:math/fftw3 FLAVORS= x11 shlib shlib_PKGNAMESUFFIX= -shlib shlib_PLIST= ${MASTERDIR}/pkg-plist-shlib USES= compiler:c11 gmake libtool ncurses readline autoreconf pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-cider --enable-xspice --with-readline=yes OPTIONS_DEFINE= DEBUG .if ${FLAVOR:U} == shlib USE_LDCONFIG= yes CONFIGURE_ARGS+= --with-ngshared --enable-shared .else USES+= xorg USE_XORG= ice sm x11 xaw xext xmu xt xft CONFIGURE_ARGS+= --with-x PLIST_FILES= bin/ngspice man/man1/ngspice.1.gz post-install: @cd ${STAGEDIR}${PREFIX} && \ ${RM} -r include lib share && \ ${RM} bin/cmpp man/man1/cmpp.1 .endif DEBUG_CONFIGURE_ENABLE= debug INSTALL_TARGET= install-strip .include diff --git a/cad/ngspice_rework/distinfo b/cad/ngspice_rework/distinfo index 317ac14474b6..188cfddc7ff5 100644 --- a/cad/ngspice_rework/distinfo +++ b/cad/ngspice_rework/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1672765397 -SHA256 (ngspice-38.tar.gz) = 2c3e22f6c47b165db241cf355371a0a7558540ab2af3f8b5eedeeb289a317c56 -SIZE (ngspice-38.tar.gz) = 8060041 +TIMESTAMP = 1694224900 +SHA256 (ngspice-41.tar.gz) = 1ce219395d2f50c33eb223a1403f8318b168f1e6d1015a7db9dbf439408de8c4 +SIZE (ngspice-41.tar.gz) = 9518525 diff --git a/cad/ngspice_rework/pkg-plist-shlib b/cad/ngspice_rework/pkg-plist-shlib index 2af468ad0500..d339a12fbbb3 100644 --- a/cad/ngspice_rework/pkg-plist-shlib +++ b/cad/ngspice_rework/pkg-plist-shlib @@ -1,17 +1,17 @@ libdata/pkgconfig/ngspice.pc lib/libngspice.so lib/libngspice.so.0 -lib/libngspice.so.0.0.5 +lib/libngspice.so.0.0.8 lib/ngspice/analog.cm lib/ngspice/digital.cm lib/ngspice/spice2poly.cm lib/ngspice/table.cm lib/ngspice/xtradev.cm lib/ngspice/xtraevt.cm include/ngspice/sharedspice.h share/ngspice/scripts/ciderinit share/ngspice/scripts/devaxis share/ngspice/scripts/devload share/ngspice/scripts/setplot share/ngspice/scripts/spectrum share/ngspice/scripts/spinit diff --git a/cad/qucs-s/Makefile b/cad/qucs-s/Makefile index 974fe67c13e9..f436e5ccfca0 100644 --- a/cad/qucs-s/Makefile +++ b/cad/qucs-s/Makefile @@ -1,48 +1,49 @@ PORTNAME= qucs-s DISTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= Quite Universal Circuit Simulator: GUI for circuit simulation kernels WWW= https://ra3xdh.github.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= bison cmake gl localbase qt:6 USE_QT= base svg tools:build USE_GL= gl opengl USE_GITHUB= yes GH_ACCOUNT= ra3xdh GH_PROJECT= qucs_s OPTIONS_GROUP= BACKENDS RTDEPENDS OPTIONS_GROUP_BACKENDS= NGSPICE XYCE QUCSATOR OPTIONS_GROUP_RTDEPENDS= OCTAVE ADMS OPTIONS_DEFAULT= NGSPICE BACKENDS_DESC= Simulation backends RTDEPENDS_DESC= Optional run-time dependencies NGSPICE_DESC= ngspice mixed-signal circuit simulator NGSPICE_RUN_DEPENDS= ngspice:cad/ngspice_rework XYCE_DESC= Xyce electronic simulator XYCE_RUN_DEPENDS= Xyce:cad/xyce \ mpich>0:net/mpich # mpich for the mpirun executable QUCSATOR_DESC= Circuit simulator of the Qucs project QUCSATOR_RUN_DEPENDS= qucsator:cad/qucsator OCTAVE_DESC= Octave is used for some non-essential features OCTAVE_RUN_DEPENDS= octave:math/octave ADMS_DESC= ADMS model generator used for some non-essential features ADMS_RUN_DEPENDS= admsXml:cad/adms post-patch: # first the patch under files/ introduces %%PREFIX%%, and now we fix it here @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/qucs/main.cpp .include