diff --git a/cad/Clipper2/Makefile b/cad/Clipper2/Makefile index 288629687841..857bacc6a735 100644 --- a/cad/Clipper2/Makefile +++ b/cad/Clipper2/Makefile @@ -1,24 +1,24 @@ PORTNAME= Clipper2 DISTVERSION= 1.4.0 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= https://github.com/AngusJohnson/${PORTNAME}/releases/download/${PORTNAME}_${DISTVERSION}/ DISTNAME= ${PORTNAME}_${DISTVERSION} MAINTAINER= mr@freebsd.org COMMENT= A Polygon Clipping and Offsetting library (in C++, C\# & Delphi) WWW= https://github.com/AngusJohnson/Clipper2 LICENSE= BSL LICENSE_FILE= ${WRKSRC}/../License.txt -USES= cmake compiler:c++17-lang dos2unix pathfix zip +USES= cmake compiler:c++17-lang dos2unix zip WRKSRC_SUBDIR= CPP NO_WRKSUBDIR= yes CMAKE_OFF= CLIPPER2_EXAMPLES \ CLIPPER2_TESTS CMAKE_ON= BUILD_SHARED_LIBS .include diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile index d74135017aa9..947d82bf5058 100644 --- a/cad/brlcad/Makefile +++ b/cad/brlcad/Makefile @@ -1,67 +1,67 @@ PORTNAME= brlcad PORTVERSION= 7.32.6 CATEGORIES= cad MASTER_SITES= https://github.com/BRL-CAD/brlcad/releases/download/rel-${PORTVERSION:S/./-/g}/ MAINTAINER= ports@freebsd.org COMMENT= CSG modelling system from the US Ballistic Research Laboratory WWW= https://brlcad.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xsltproc:textproc/libxslt LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig -USES= bison:alias cmake:insource cpe gl pathfix pkgconfig python:env \ +USES= bison:alias cmake:insource cpe gl pkgconfig python:env \ tar:bzip2 tk xorg USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft xi \ xorgproto xrender xscrnsaver xt xxf86vm CMAKE_OFF= BRLCAD_ENABLE_STRICT CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} CXXFLAGS_powerpc64= -mvsx TEST_TARGET= check CONFLICTS_INSTALL= py[23][0-9]-epsilon MANDIRS= ${PREFIX}/${PORTNAME}/share/man NO_MTREE= yes WRKSRC=${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_SUB+= PORTVERSION=${PORTVERSION} .include .if ${OPSYS} == FreeBSD USES+= llvm:max=14 .endif post-patch: @${REINPLACE_CMD} -e 's+-exact Tcl 8\.6\.10+Tcl 8.6+' \ ${WRKSRC}/src/other/tcl/library/init.tcl @${REINPLACE_CMD} -e '2745s+^+include(CheckSymbolExists)+' \ ${WRKSRC}/CMakeLists.txt pre-install: ${CP} ${FILESDIR}/mged.sh ${WRKSRC} ${REINPLACE_CMD} -e 's+%%BRLCAD_ROOT%%+${PREFIX}/${PORTNAME}+g;' ${WRKSRC}/mged.sh # note that installing outside of PREFIX wigs out package stuff... :/ post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${STAGEDIR}${PREFIX}/bin/mged.sh regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test) .include diff --git a/cad/freehdl/Makefile b/cad/freehdl/Makefile index 00a1f7b82ac4..8a046ac4ea76 100644 --- a/cad/freehdl/Makefile +++ b/cad/freehdl/Makefile @@ -1,32 +1,32 @@ PORTNAME= freehdl PORTVERSION= 0.0.8 PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= SF/qucs/qucs/0.0.16/ MAINTAINER= ports@FreeBSD.org COMMENT= Free VHDL simulator WWW= http://www.freehdl.seul.org/ LICENSE= GPLv2 RUN_DEPENDS= guile:lang/guile -USES= gmake pathfix libtool makeinfo perl5 pkgconfig +USES= gmake libtool makeinfo perl5 pkgconfig # Bug 219297: GCC 6 changed its default from -std=gnu++98 to -std=gnu++14, and # this port's code is not compatible with C++11. Since the project looks # abandoned upstream, it makes more sense to just continue building with an # older C++ standard. USE_CXXSTD= gnu++98 USE_GCC= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= SYSTEM_LIBTOOL=${FALSE} INSTALL_TARGET= install-strip INFO= fire .include diff --git a/cad/geda/Makefile b/cad/geda/Makefile index 2062094db6f4..d9960a42fe1d 100644 --- a/cad/geda/Makefile +++ b/cad/geda/Makefile @@ -1,46 +1,46 @@ PORTNAME= geda PORTVERSION= 1.8.2 DISTVERSIONPREFIX=gaf- PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= http://ftp.geda-project.org/${PORTNAME}-gaf/stable/v${PORTVERSION:R}/${PORTVERSION}/ MAINTAINER= hrs@FreeBSD.org COMMENT= GPL Electronic Design Automation tools WWW= http://www.gpleda.org/ LICENSE= GPLv2+ LIB_DEPENDS= libstroke.so:devel/libstroke RUN_DEPENDS= gawk:lang/gawk USES= desktop-file-utils gettext gmake gnome guile:1.8 libtool \ - pathfix perl5 pkgconfig python:run shared-mime-info \ + perl5 pkgconfig python:run shared-mime-info \ shebangfix SHEBANG_FILES= examples/lightning_detector/bom libgeda/docs/*.dox \ utils/gxyrs/*.pl utils/scripts/* \ utils/docs/*.dox gattrib/docs/*.dox \ gschem/docs/*.dox gsymcheck/docs/*.dox \ gnetlist/docs/*.dox USE_GNOME= gtk20 USE_PERL5= run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libstroke=${LOCALBASE} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip USE_LDCONFIG= yes DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-gaf DATADIR= ${PREFIX}/share/gEDA INFO= geda-scheme BINARY_WRAPPERS= gm4 CONFLICTS= geda-docs geda-examples geda-gattrib \ geda-gschem geda-netlist geda-symbols \ geda-symcheck geda-utils libgeda PORTSCOUT= limitw:1,even OPTIONS_DEFINE= DOCS .include diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile index 9decb381912e..d94bde1ccd9b 100644 --- a/cad/gerbv/Makefile +++ b/cad/gerbv/Makefile @@ -1,80 +1,80 @@ PORTNAME= gerbv DISTVERSION= 2.10.0 DISTVERSIONPREFIX=v CATEGORIES= cad MASTER_SITES= GH MAINTAINER= pi@FreeBSD.org COMMENT= Gerber file viewer WWW= https://gerbv.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= autoreconf compiler:c++11-lang cpe desktop-file-utils \ - gmake gnome libtool localbase pathfix pkgconfig + gmake gnome libtool localbase pkgconfig USE_GITHUB= yes USE_GNOME= cairo gtk20 USE_LDCONFIG= yes CPE_VENDOR= gerbv_project GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= ac_aux_dir="." CFLAGS+= -fcommon INSTALL_TARGET= install-strip PLIST_SUB= VERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e \ 's|^AM_NLS|#AM_NLS| ; \ s|^AM_GNU_GETTEXT|#AM_GNU_GETTEXT| ; \ /intl\/Makefile/d ; \ /po\/Makefile/d' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|=.*|= src man scheme|' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e \ '/^man_MANS/s|gerbv.ru.1|| ; \ s|^PO_|#PO_|' ${WRKSRC}/man/Makefile.am @${REINPLACE_CMD} -e \ '/^pkgconfigdir/s|$$(libdir)|$$(prefix)/libdata|' \ ${WRKSRC}/src/Makefile.am post-install: (cd ${WRKSRC}/desktop && ${INSTALL_DATA} gerbv.desktop \ ${STAGEDIR}${DESKTOPDIR}) @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps (cd ${WRKSRC}/desktop && ${INSTALL_DATA} gerbv.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps) .for i in 16 22 24 32 48 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps (cd ${WRKSRC}/desktop && ${INSTALL_DATA} gerbv-${i}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gerbv.png) .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.fig *.txt \ ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR}/PNG-print (cd ${WRKSRC}/doc/PNG-print && ${INSTALL_DATA} *.jpg *.txt \ ${STAGEDIR}${DOCSDIR}/PNG-print) @${MKDIR} ${STAGEDIR}${DOCSDIR}/eagle (cd ${WRKSRC}/doc/eagle && ${INSTALL_DATA} *.pl *.txt \ ${STAGEDIR}${DOCSDIR}/eagle) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/example && ${FIND} . \ ! \( -name "*Makefile*" -or -name ".cvsignore" \) \ | ${CPIO} --quiet -pdm -L -R ${SHAREOWN}:${SHAREGRP} \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/cad/lepton-eda/Makefile b/cad/lepton-eda/Makefile index 04ec713e092d..8b851ed0ff1f 100644 --- a/cad/lepton-eda/Makefile +++ b/cad/lepton-eda/Makefile @@ -1,65 +1,65 @@ PORTNAME= lepton-eda PORTVERSION= 1.9.18 PORTREVISION= 4 CATEGORIES= cad MASTER_SITES= https://github.com/lepton-eda/lepton-eda/releases/download/${PORTVERSION}-20220529/ MAINTAINER= graahnul.grom@gmail.com COMMENT= Lepton Electronic Design Automation WWW= https://github.com/lepton-eda/lepton-eda LICENSE= GPLv2+ LIB_DEPENDS= libexpat.so:textproc/expat2 \ libffi.so:devel/libffi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libGLdispatch.so:graphics/libglvnd \ libgmp.so:math/gmp \ libgraphite2.so:graphics/graphite2 \ libgtkextra-x11-3.0.so:x11-toolkits/gtkextra \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libstroke.so:devel/libstroke \ libunistring.so:devel/libunistring USES= desktop-file-utils gettext-tools gnome groff:build \ guile:2.2,3.0,conflicts iconv:wchar_t libtool localbase \ - makeinfo pathfix perl5 pkgconfig shared-mime-info shebangfix \ + makeinfo perl5 pkgconfig shared-mime-info shebangfix \ xorg USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \ xi xinerama xrandr xrender USE_GNOME= cairo gdkpixbuf gtk20 USE_GL= egl gl USE_LDCONFIG= yes SHEBANG_FILES= utils/pcb_backannotate/lepton-pcb_backannotate \ utils/refdes_renum/lepton-refdes_renum \ utils/symfix/lepton-symfix GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-guild INSTALL_TARGET= install-strip INFO= lepton-scheme lepton-manual PORTEXAMPLES= examples/* OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: ${REINPLACE_CMD} -e \ 's,\$$(docdir)/examples,\$$(datadir)/examples/lepton-eda,' \ ${WRKSRC}/examples/Makefile.in \ ${WRKSRC}/examples/RF_Amp/Makefile.in \ ${WRKSRC}/examples/TwoStageAmp/Makefile.in \ ${WRKSRC}/examples/gTAG/Makefile.in \ ${WRKSRC}/examples/lightning_detector/Makefile.in .include diff --git a/cad/verilator/Makefile b/cad/verilator/Makefile index 26645e6a6aa3..f99d100a7ec6 100644 --- a/cad/verilator/Makefile +++ b/cad/verilator/Makefile @@ -1,82 +1,82 @@ PORTNAME= verilator DISTVERSIONPREFIX= v DISTVERSION= 5.038 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org COMMENT= Synthesizable Verilog to C++ compiler WWW= https://www.veripool.org/verilator/ \ https://github.com/verilator/verilator LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= see https://github.com/verilator/verilator/issues/3037 BUILD_DEPENDS= autoconf>0:devel/autoconf \ bash:shells/bash \ ${LOCALBASE}/bin/ar:devel/binutils \ help2man:misc/help2man LIB_DEPENDS= libsystemc.so:devel/systemc # systemc is only added to share/verilator/include/verilated.mk for use during verilation, verilator's own binaries aren't linked with systemc RUN_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils \ gmake:devel/gmake # verilator runs gmake for the --hierarchical option when the 'gmake' method is chosen -USES= bison compiler:c++17-lang gmake localbase:ldflags pathfix perl5 python:build,run,test shebangfix tar:tgz +USES= bison compiler:c++17-lang gmake localbase:ldflags perl5 python:build,run,test shebangfix tar:tgz USE_CXXSTD= c++17 # needs to match that of devel/systemc to avoid mismatches like https://github.com/verilator/verilator/issues/4499 USE_GITHUB= yes SHEBANG_FILES= bin/verilator_ccache_report \ bin/verilator_difftree \ bin/verilator_gantt \ bin/verilator_includer \ bin/verilator_includer \ bin/verilator_profcfunc GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}" CONFIGURE_ARGS= AR=${LOCALBASE}/bin/ar \ PYTHON3=${PYTHON_CMD} CONFIGURE_SHELL= ${LOCALBASE}/bin/bash # see https://github.com/verilator/verilator/issues/3132 TEST_TARGET= test BINARY_ALIAS= make=${GMAKE} \ python3=${PYTHON_CMD} \ git=false MAKE_JOBS_UNSAFE= yes # build on 1 CPU because many compile jobs are over 10GB and they can likely cause out-of-memory issues OPTIONS_DEFINE= INSTALL_DBG_EXECUTABLES LEAK_CHECKS OPTIONS_SUB= yes INSTALL_DBG_EXECUTABLES_DESC= Install *_dbg executables LEAK_CHECKS_DESC= Disable intentional memory leaks LEAK_CHECKS_CXXFLAGS= -DVL_LEAK_CHECKS LEAK_CHECKS_BROKEN= compilation will be fixed in the next release post-patch: @${REINPLACE_CMD} -e 's|@pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in pre-configure: cd ${WRKSRC} && \ autoconf post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/verilator_bin post-install-INSTALL_DBG_EXECUTABLES-on: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_bin_dbg \ ${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_coverage_bin_dbg post-install-INSTALL_DBG_EXECUTABLES-off: @${RM} \ ${STAGEDIR}${PREFIX}/bin/verilator_bin_dbg \ ${STAGEDIR}${PREFIX}/bin/verilator_coverage_bin_dbg \ ${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_bin_dbg \ ${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_coverage_bin_dbg .include