diff --git a/biology/vsearch/Makefile b/biology/vsearch/Makefile index 57d2800ca9fc..79e8b07cc801 100644 --- a/biology/vsearch/Makefile +++ b/biology/vsearch/Makefile @@ -1,28 +1,29 @@ PORTNAME= vsearch DISTVERSIONPREFIX= v DISTVERSION= 2.24.0 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Versatile open-source tool for metagenomics WWW= https://github.com/torognes/vsearch LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le ONLY_FOR_ARCHS_REASON= Explicitly enumerated by upstream developers USES= autoreconf ghostscript:build gmake localbase USE_GITHUB= yes GH_ACCOUNT= torognes GNU_CONFIGURE= yes PLIST_FILES= bin/vsearch man/man1/vsearch.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes .include diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile index 7f5fb5f81b28..796c01afc389 100644 --- a/cad/xcircuit/Makefile +++ b/cad/xcircuit/Makefile @@ -1,48 +1,49 @@ PORTNAME= xcircuit PORTVERSION= 3.10.30 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= http://opencircuitdesign.com/xcircuit/archive/ \ http://fossies.org/unix/misc/ MAINTAINER= danilo@FreeBSD.org COMMENT= X11 circuit schematics drawing program WWW= http://opencircuitdesign.com/xcircuit/ LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= ghostscript:x11,run gmake gnome pkgconfig tar:tgz tk:tea xorg OPTIONS_DEFINE= EXAMPLES USE_XORG= ice sm x11 xpm xscrnsaver xt USE_GNOME= cairo MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \ AUTOMAKE="${TRUE}" DESKTOP_ENTRIES="Xcircuit" "${COMMENT}" "${DATADIR}/pixmaps/${PORTNAME}.gif" \ "${PORTNAME}" "" false # Restrict to stable (even) versions, indicated by the second component. PORTSCOUT= limitw:1,even post-patch: @${REINPLACE_CMD} -e '/test/s| == | = |g ; \ s|TCL_LIB_NAME=.*$$|TCL_LIB_NAME="tcl${TCL_VER:S/.//}"|g ; \ s|TK_LIB_NAME=.*$$|TK_LIB_NAME="tk${TK_VER:S/.//}"|g ; \ s|wish |${WISH:T} |g ; \ s|-fpic|-fPIC|g' ${WRKSRC}/configure post-install: cd ${STAGEDIR}${PREFIX}/share/xcircuit && ${STRIP_CMD} xcircuit.so xcircexec xcircdnull @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/.xcircuitrc ${STAGEDIR}/${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.lgf ${STAGEDIR}/${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.lps ${STAGEDIR}/${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${STAGEDIR}/${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.sim ${STAGEDIR}/${EXAMPLESDIR} .include diff --git a/chinese/enscript/Makefile b/chinese/enscript/Makefile index 3213fce6ef56..5164020dd6f8 100644 --- a/chinese/enscript/Makefile +++ b/chinese/enscript/Makefile @@ -1,26 +1,26 @@ -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= chinese MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= ttfm.sh:chinese/ttfm PAPERSIZE= a4 MASTERDIR= ${.CURDIR}/../../print/enscript-letter EXTRA_PATCHES= ${.CURDIR}/files/patch-* PLIST= ${WRKDIR}/pkg-plist PKGMESSAGE= ${.CURDIR}/pkg-message USES+= ghostscript:run CONFLICTS_INSTALL= enscript-a4 enscript-letter enscript-letterdj # bin/einfo bin/xml2json post-patch: @${ECHO_CMD} "share/enscript/README.BIG5" > ${WRKDIR}/pkg-plist @${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/pkg-plist post-install: @${INSTALL_DATA} ${.CURDIR}/files/README.BIG5 ${STAGEDIR}${PREFIX}/share/enscript .include "${MASTERDIR}/Makefile" diff --git a/comms/opencbm/Makefile b/comms/opencbm/Makefile index d01d86da4815..60a41c46b2fe 100644 --- a/comms/opencbm/Makefile +++ b/comms/opencbm/Makefile @@ -1,67 +1,68 @@ PORTNAME= opencbm PORTVERSION= ${OCBM_VERSION} +PORTREVISION= 1 CATEGORIES= comms archivers MAINTAINER= zirias@FreeBSD.org COMMENT= Commodore CBM serial IEC/IEEE-488 bus utilities WWW= http://opencbm.sourceforge.net/ LICENSE= GPLv2 BSD3CLAUSE LICENSE_COMB= multi BUILD_DEPENDS= cc65:devel/cc65 USES= gmake pkgconfig USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS INFO OPTIONS_DEFAULT= DOCS INFO ALL_TARGET= opencbm plugin-xu1541 plugin-xum1541 INSTALL_TARGET= install install-plugin-xu1541 install-plugin-xum1541 DOCS_BUILD_DEPENDS= dvips:print/tex-dvipsk \ latex:print/tex-formats \ linuxdoc:textproc/linuxdoc-tools DOCS_USES= ghostscript:build DOCS_ALL_TARGET= doc DOCS_MAKE_ARGS_OFF= TXT= DVI= PDF= HTML= INFO_BUILD_DEPENDS= linuxdoc:textproc/linuxdoc-tools INFO_USES= makeinfo INFO_ALL_TARGET= doc INFO_INFO= opencbm INFO_MAKE_ARGS_OFF= INFO= OCBM_CONFDIR= ${LOCALBASE}/etc/opencbm.conf.d post-patch: @${REINPLACE_CMD} -e 's|_ETC="$$1"|_ETC="$${1:-${LOCALBASE}/etc}"|' \ -e 's|in /.*/ instead|in ${OCBM_CONFDIR}/ instead|' \ -e "s|execute 'opencbm_|execute '|" \ ${WRKSRC}/opencbm/LINUX/plugin_helper_tools post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopencbm.so.${OCBM_VERSION} .for p in xu1541 xum1541 ${STRIP_CMD} ${STAGEDIR}${PLUGINBASENAME}${p}.so.${OCBM_VERSION} .endfor @${RM} ${STAGEDIR}${PREFIX}/etc/opencbm.conf @${MV} ${STAGEDIR}${PREFIX}/etc/opencbm.conf.d/00opencbm.conf \ ${STAGEDIR}${PREFIX}/etc/opencbm.conf.d/00opencbm.conf.sample @${MV} ${STAGEDIR}${PREFIX}/bin/opencbm_plugin_helper_tools \ ${STAGEDIR}${PREFIX}/sbin/opencbm_plugin_helper_tools post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/opencbm/docs && \ ${COPYTREE_SHARE} "html misc opencbm.pdf opencbm.txt" \ ${STAGEDIR}${DOCSDIR}) post-install-INFO-on: ${INSTALL_MAN} ${WRKSRC}/opencbm/docs/opencbm.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH} .include "Makefile.inc" .include diff --git a/devel/aegis/Makefile b/devel/aegis/Makefile index 2edfa0dc6010..2d82676d429c 100644 --- a/devel/aegis/Makefile +++ b/devel/aegis/Makefile @@ -1,62 +1,63 @@ PORTNAME= aegis PORTVERSION= 4.25 +PORTREVISION= 1 DISTVERSIONSUFFIX= .D510 PORTREVISION= 14 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= aryeh.friedman@gmail.com COMMENT= Transaction-based software configuration management system WWW= http://aegis.sourceforge.net/ LICENSE= GPLv3 LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= tkdiff:textproc/tkdiff USES= cpe gettext ghostscript gnome groff perl5 tk bison USE_GNOME= libxml2 GNU_CONFIGURE= yes CPPFLAGS+= "-I${LOCALBASE}/include" CONFIGURE_ARGS= --with-nlsdir="${PREFIX}/share/locale" CONFIGURE_ENV= WISH="${WISH}" LDFLAGS+= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes # XXX Manpages are installed into ${DATADIR} too -- there's no easy way to # stop this because we don't have Makefile.am provided. Maintainer will # sort this with upstream. PORTDATA= * PORTDOCS= * .include post-patch: # Avoid "2>/dev/null" redirect in csh (ends up with empty manpath). @${REINPLACE_CMD} -Ee 's|(MANPATH_PROG) 2>/dev/null|\1|' \ ${WRKSRC}/configure # Fix path to Tk interpreter. @cd ${WRKSRC}/script && ${REINPLACE_CMD} -e 's|wish |${WISH} |' \ aebuffy.in aecomp.in aexver.in tkaeca.in tkaegis.in tkaenc.in \ tkaepa.in tkaer.in xaegis.in # Import global variable "datadir" inside function (not found otherwise). @${REINPLACE_CMD} -e 's|global lib|& datadir|' \ ${WRKSRC}/script/xaegis.in post-configure: .if empty(PORT_OPTIONS:MNLS) ${REINPLACE_CMD} -e 's|HAVE_MSGFMT = yes|HAVE_MSGFMT = no|' \ ${WRKSRC}/Makefile .endif post-install: ${MKDIR} -p ${STAGEDIR}${PREFIX}/com/aegis # Fails to reinstall because keeps track of created directories, so make it # forget that, by recreating them on each install. @${FIND} ${WRKSRC} -type f -name ".*dir" -delete .include diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile index 12e932ee6d4b..7b97801361cd 100644 --- a/devel/doxygen/Makefile +++ b/devel/doxygen/Makefile @@ -1,61 +1,62 @@ PORTNAME= doxygen PORTVERSION= 1.9.6 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/rel-${PORTVERSION} \ http://doxygen.nl/files/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= fluffy@FreeBSD.org COMMENT= Documentation system for C, C++, and other languages WWW= https://www.doxygen.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= bison cmake:noninja compiler:c++17-lang cpe dos2unix \ iconv python shebangfix ALL_TARGET= all CMAKE_ARGS+= -DDOC_INSTALL_DIR:PATH=${DOCSDIR_REL} EXTRACT_AFTER_ARGS= --exclude '*/libmd5' DOS2UNIX_FILES= doc/translator.py PLIST_FILES= bin/doxygen OPTIONS_DEFINE= DOCS GRAPHVIZ LATEX SEARCH QT5 OPTIONS_DEFAULT= GRAPHVIZ QT5_DESC= Install Doxywizard GUI with Qt5 SEARCH_DESC= Build external search tools (doxysearch and doxyindexer) DOCS_USES= ghostscript:build tex DOCS_USE= TEX=base:build,dvipsk:build,pdftex:build DOCS_ALL_TARGET= docs DOCS_BUILD_DEPENDS= dot:graphics/graphviz DOCS_CMAKE_BOOL= build_doc DOCS_PLIST_FILES= share/man/man1/doxygen.1.gz \ share/man/man1/doxyindexer.1.gz \ share/man/man1/doxysearch.1.gz \ share/man/man1/doxywizard.1.gz # Parallel jobs break when the DOCS option is on DOCS_VARS= MAKE_JOBS_UNSAFE=yes PORTDOCS= * GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz LATEX_USES= tex LATEX_USE= TEX=base,dvipsk,pdftex QT5_USES= qt:5 QT5_USE= QT=core,widgets,gui,xml,qmake:build,buildtools:build QT5_CMAKE_BOOL= build_wizard QT5_PLIST_FILES= bin/doxywizard SEARCH_CMAKE_BOOL= build_search SEARCH_LIB_DEPENDS= libxapian.so:databases/xapian-core SEARCH_PLIST_FILES= bin/doxyindexer \ bin/doxysearch.cgi .include diff --git a/devel/libexplain/Makefile b/devel/libexplain/Makefile index 710d573c207a..00b79e6dbafa 100644 --- a/devel/libexplain/Makefile +++ b/devel/libexplain/Makefile @@ -1,55 +1,55 @@ PORTNAME= libexplain PORTVERSION= 1.3.${PATCHLEVEL} -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:R} DISTNAME= ${PORTNAME}-${PORTVERSION:R} MAINTAINER= ports@FreeBSD.org COMMENT= Library which may be used to explain Unix and Linux system call errors WWW= https://libexplain.sourceforge.net/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Upstream last release was in 2014 #BROKEN_FreeBSD_14= Build fails with lots of error on llvm15 BUILD_DEPENDS= gsed:textproc/gsed RUN_DEPENDS= lsof:sysutils/lsof USES= bison gettext ghostscript:build gmake groff iconv libtool:build localbase USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_linux_kd_h=no OPTIONS_DEFINE= DOCS PATCHLEVEL= D012 .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) USES+= llvm:max=14 MAKE_JOBS_UNSAFE= yes .endif .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=no .else CONFIGURE_ARGS+=ac_cv_func_iconv_open=yes ac_cv_func_iconv_close=yes \ ac_cv_lib_iconv_iconv=yes .endif post-patch: @${REINPLACE_CMD} -e \ 's|$$(libdir)/pkgconfig|$$(libdir)/../libdata/pkgconfig|g ; \ s|\([[:blank:]]\)sed|\1gsed|g' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexplain.so .include diff --git a/devel/srecord/Makefile b/devel/srecord/Makefile index e6867bf71107..e28fb66b9a73 100644 --- a/devel/srecord/Makefile +++ b/devel/srecord/Makefile @@ -1,58 +1,58 @@ PORTNAME= srecord PORTVERSION= 1.64 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= brooks@FreeBSD.org COMMENT= Collection of powerful tools for manipulating EPROM load files WWW= http://srecord.sourceforge.net/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libgcrypt.so:security/libgcrypt ALL_TARGET= all libdir/pkgconfig/srecord.pc USES= ghostscript groff libtool:build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib HEADER_DIRS= input \ input/file \ input/filter \ input/filter/checksum \ input/filter/interval \ input/filter/message \ input/generator \ memory \ memory/walker \ output \ output/file \ quit OPTIONS_DEFINE= DOCS pre-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${MKDIR} ${HEADER_DIRS:S,^,${STAGEDIR}${PREFIX}/include/${PORTNAME}/,} post-install: chmod 644 ${STAGEDIR}${PREFIX}/lib/libsrecord.so.0 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsrecord.so.0 chmod 444 ${STAGEDIR}${PREFIX}/lib/libsrecord.so.0 ${INSTALL_DATA} ${WRKSRC}/libdir/pkgconfig/srecord.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig test: @cd ${WRKSRC} && ${MAKE} sure build-plist: ${RM} ${PLIST} ${MAKE} makeplist | \ ${GREP} -v /you/have/to/check/what/makeplist/gives/you >> ${PLIST} .include diff --git a/devel/xsd/Makefile b/devel/xsd/Makefile index 010b73e6e9e4..d540d4f7a0b1 100644 --- a/devel/xsd/Makefile +++ b/devel/xsd/Makefile @@ -1,54 +1,54 @@ PORTNAME= xsd DISTVERSION= 4.1.0.a11 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX= +dep CATEGORIES= devel MASTER_SITES= https://codesynthesis.com/~boris/tmp/${PORTNAME}/${DISTVERSION}/ MAINTAINER= kde@FreeBSD.org COMMENT= W3C XML Schema to C++ translator WWW= https://www.codesynthesis.com/projects/xsd/ LICENSE= FLOSSE GPLv2 LICENSE_COMB= dual LICENSE_NAME_FLOSSE= FLOSS Exception LICENSE_FILE_FLOSSE= ${WRKSRC}/xsd/FLOSSE LICENSE_PERMS_FLOSSE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${LOCALBASE}/include/build-0.3/abspath.make:devel/build # libxsd-frontend should come from a separate port as well, but at the moment # its distribution as a separate tarball is so poor that it does not even have # a `make install'. LIB_DEPENDS= libcutl.so:devel/libcutl \ libxerces-c.so:textproc/xerces-c3 USES= compiler:c++11-lang ghostscript:build gmake localbase:ldflags tar:bzip2 # devel/libcutl 1.10.0 does not work with C++17 which is the default since # clang 16. This can be removed once that port starts working with C++17 and # has its own USE_CXXSTD removed. USE_CXXSTD= c++11 MAKEFILE= makefile MAKE_ARGS= EXTERNAL_LIBCUTL=y \ install_prefix=${STAGEDIR}${PREFIX} \ install_man_dir=${STAGEDIR}${MANPREFIX}/man \ verbose=1 ALL_TARGET= # no default target should be passed to gmake. OPTIONS_DEFINE= DOCS EXAMPLES post-patch: # Use devel/build instead of the port's bundled copy. ${RM} -r ${WRKSRC}/build-0.3 ${LN} -s ${LOCALBASE}/include/build-0.3 ${WRKSRC}/build-0.3 # Avoid conflict with C++20 by adding .txt suffix @${MV} ${WRKSRC}/libxsd-frontend/version \ ${WRKSRC}/libxsd-frontend/version.txt post-install: # Install examples into the right directory. ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${MV} ${STAGEDIR}${DOCSDIR}/examples/* ${STAGEDIR}${EXAMPLESDIR} ${RMDIR} ${STAGEDIR}${DOCSDIR}/examples .include diff --git a/editors/ted/Makefile b/editors/ted/Makefile index 8e7d33d6f59a..6b3d3c0748e7 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -1,84 +1,84 @@ PORTNAME= ted PORTVERSION= 2.23 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= editors MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/ \ http://fossies.org/linux/misc/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= X11 based RTF editor WWW= https://www.nllgg.nl/Ted/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl.txt LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libpaper.so:print/libpaper RUN_DEPENDS= gsfonts>0:print/gsfonts WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} USES= ghostscript:x11,run iconv pkgconfig xorg USE_XORG= xext xft GNU_CONFIGURE= yes MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \ DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \ DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" \ DEF_PSSCRIPT_DIR="-DPSSCRIPT_DIR=\"\\\"${DATADIR}/\\\"\"" ALL_TARGET= compile.shared CONFIGURE_ARGS= --datadir=${PREFIX}/share \ ac_iconv_includes=${LOCALBASE}/include DATADIR= ${PREFIX}/share/Ted DOCSDIR= ${PREFIX}/share/doc/Ted AFMDIR= ${DATADIR}/afm INDDIR= ${DATADIR}/dfa OPTIONS_DEFINE= GTK2 DOCS GTK2_DESC= Use GTK2 instead of MOTIF GTK2_USES= gnome GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ON= --with-GTK GTK2_CPPFLAGS= `pkg-config --cflags gtk+-2.0 | ${SED} -e 's|-I|-isystem |g'` GTK2_USES_OFF= motif GTK2_CONFIGURE_OFF= --with-MOTIF .include post-extract: @cd ${WRKSRC}/tedPackage && ${TAR} xf TedDatadir.tar @${INSTALL_SCRIPT} ${FILESDIR}/configure ${WRKSRC} post-patch: @${FIND} ${WRKSRC} -name "configure" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's|/usr/X11R6|${LOCALBASE}|g ; \ s|/usr/local|${LOCALBASE}|g ; \ /paper.h/s|/usr/include|${LOCALBASE}/include|g ; \ /paper.h/s|/usr/lib|${LOCALBASE}/lib|g' .if ! empty(ICONV_LIB) @${REINPLACE_CMD} 's|/iconv\.so|/libiconv.so|' \ ${WRKSRC}/Ted/configure ${WRKSRC}/textEncoding/configure .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/examples/rtf2*.sh ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/Ted.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/rtf2*.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/ps/*.ps ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${AFMDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/*.afm ${STAGEDIR}${AFMDIR} @${MKDIR} ${STAGEDIR}${INDDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/dfa/*.dfa ${STAGEDIR}${INDDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/TedDocument-en_US.rtf ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile index f4b3dc8509ea..a64047809f57 100644 --- a/editors/texmacs/Makefile +++ b/editors/texmacs/Makefile @@ -1,90 +1,90 @@ PORTNAME= texmacs PORTVERSION= 1.99.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= editors print MASTER_SITES= http://www.texmacs.org/Download/ftp/tmftp/source/ DISTNAME= TeXmacs-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= WYSIWYG scientific text editor WWW= https://www.texmacs.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv6= fails to compile: call to min is ambiguous BROKEN_armv7= fails to compile: call to min is ambiguous RUN_DEPENDS= fig2dev:print/transfig USES= cpe desktop-file-utils gmake guile:1.8,alias iconv \ localbase pkgconfig python shared-mime-info shebangfix \ tex xorg USE_CXXSTD= c++14 USE_TEX= tex:run dvipsk:run USE_XORG= x11 xext SHEBANG_FILES= plugins/asymptote/bin/* plugins/dratex/bin/* \ plugins/eukleides/bin/* plugins/feynmf/bin/* \ plugins/mupad/bin/* plugins/texgraph/bin/* \ plugins/xypic/bin/* \ plugins/python/bin/tm_python plugins/sage/bin/tm_sage \ plugins/mathematica/bin/realpath.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}" --disable-qt MAKE_ARGS= CP="${CP} -R -f" ALL_TARGET= ${PORTNAME:tu} DATADIR= ${PREFIX}/share/TeXmacs OPTIONS_DEFINE= ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF SQLITE OPTIONS_DEFAULT=ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF SQLITE OPTIONS_SUB= yes ASPELL_RUN_DEPENDS= aspell:textproc/aspell FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype FREETYPE_CONFIGURE_ENV_OFF= FREETYPE_CFLAGS=" " FREETYPE_LDFLAGS=" " \ ac_cv_header_ft2build_h=no GHOSTSCRIPT_USES= ghostscript:x11 GHOSTSCRIPT_CONFIGURE_ON= --with-gs=yes GHOSTSCRIPT_CONFIGURE_OFF= --with-gs=no IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_CONFIGURE_WITH= imlib2 PDF_IMPLIES= FREETYPE GHOSTSCRIPT PDF_CONFIGURE_ENABLE= pdf-renderer PDF_LDFLAGS= -lz SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite3 post-patch: @${REINPLACE_CMD} -e \ '/SVNREV\//s|^|#| ; \ s|LIBS="-liconv"|LIBS="-liconv $$LIBS"| ; \ s|/-liconv}|}| ; \ s|"-Wl,-rpath,"|""| ; \ s|\[\[ |[ |g ; \ s| \]\]| ]|g ; \ s|== no|= no| ; \ s|$${QT_PLUGINS_LIST/,/ }|${QT_PLUGINS_LIST}|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/require/s|"python"|"${PYTHON_CMD:T}"|' \ ${WRKSRC}/plugins/python/progs/init-python.scm @${REINPLACE_CMD} -e \ 's|int tab=.*)|int tab)|' \ ${WRKSRC}/src/Kernel/Types/tree.hpp @${REINPLACE_CMD} -e \ 's|int dpi=.*)|int dpi)|' \ ${WRKSRC}/src/Typeset/boxes.hpp post-install: @${FIND} ${STAGEDIR}${DATADIR} -name "._*" -delete @${FIND} ${STAGEDIR}${DATADIR} -name "*.bak" -delete .for f in realpath texmacs.bin tm_axiom tm_graphviz tm_maple_5 tm_r tm_shell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/TeXmacs/bin/${f} .endfor .include diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile index 2676de4cdf16..f671b6b7cbde 100644 --- a/editors/texmaker/Makefile +++ b/editors/texmaker/Makefile @@ -1,28 +1,28 @@ PORTNAME= texmaker PORTVERSION= 5.0.3 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= http://www.xm1math.net/texmaker/ MAINTAINER= hrs@FreeBSD.org COMMENT= LaTeX Development Environment WWW= https://www.xm1math.net/texmaker/ LICENSE= GPLv2+ LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= compiler:c++11-lang desktop-file-utils ghostscript:x11,run \ gl pkgconfig qmake qt:5 tar:bzip2 tex USE_GL= gl USE_QT= concurrent core gui network printsupport script widgets \ xml buildtools:build USE_TEX= latex dvipsk EXTRACT_AFTER_ARGS= --exclude hunspell QMAKE_ARGS= ICONDIR=${PREFIX}/share/pixmaps \ DESKTOPDIR=${DESKTOPDIR} \ METAINFODIR=${PREFIX}/share/metainfo .include diff --git a/editors/texstudio/Makefile b/editors/texstudio/Makefile index 29ee00807468..65a720a493e3 100644 --- a/editors/texstudio/Makefile +++ b/editors/texstudio/Makefile @@ -1,47 +1,48 @@ PORTNAME= texstudio DISTVERSION= 4.6.3 +PORTREVISION= 1 CATEGORIES= editors MAINTAINER= wen@FreeBSD.org COMMENT= Integrated writing environment for LaTeX documents WWW= http://texstudio.sourceforge.net/ LICENSE= GPLv2 BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip1-qt5.so:archivers/quazip@qt5 USES= compiler:c++11-lang desktop-file-utils dos2unix \ ghostscript:run gl pkgconfig qmake qt:5 tex xorg USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}-org USE_QT = concurrent core declarative gui linguisttools network \ printsupport script svg uitools widgets xml \ buildtools:build QTVER_SUFFIX= 5 USE_XORG= x11 USE_GL= gl USE_TEX= latex dvipsk DOS2UNIX_FILES= ${PORTNAME}.pro \ src/manhattanstyle.cpp \ src/pdfviewer/PDFDocument.h \ src/qcodeedit/lib/widgets/qfoldpanel.cpp QMAKE_ARGS+= USE_SYSTEM_HUNSPELL=true USE_SYSTEM_QUAZIP=true post-patch: @${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \ -e 's,/usr/include,${LOCALBASE}/include,g' \ -e 's,/usr/lib,${LOCALBASE}/lib,g' \ -e '/appdata.path/s,\/usr,${PREFIX},' \ ${WRKSRC}/${PORTNAME}.pro .include diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile index 281e34ab670c..f14cf8579086 100644 --- a/graphics/ImageMagick6/Makefile +++ b/graphics/ImageMagick6/Makefile @@ -1,353 +1,353 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.12-77 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 6 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools (legacy version) WWW= https://legacy.imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 6-nox11 PORTSCOUT?= limit:^6\.9\. # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= compiler:c++11-lang cpe gettext-runtime gmake gnome \ libtool:keepla localbase pathfix perl5 pkgconfig:both \ shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= coder.xml colors.xml delegates.xml log.xml magic.xml mime.xml \ policy.xml quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB HEIF JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TESTS TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG \ TIFF WEBP WMF THREADS RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFMPEG_DESC= Video CODEC support from FFmpeg FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 TESTS_TEST_DEPENDS= gsfonts>=0:print/gsfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${FLAVOR:U} == x11 LIB_DEPENDS+= libwmf.so:graphics/libwmf . else LIB_DEPENDS+= libwmf.so:graphics/libwmf-nox11 . endif CONFIGURE_ARGS+= --with-wmf=yes PLIST_SUB+= WMF="" .else CONFIGURE_ARGS+= --without-wmf PLIST_SUB+= WMF="@comment " .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/Magick++/lib/ImageMagick++.pc.in \ ${WRKSRC}/magick/ImageMagick.pc.in \ ${WRKSRC}/magick/MagickCore-config.in \ ${WRKSRC}/magick/MagickCore.pc.in \ ${WRKSRC}/wand/Wand.pc.in \ ${WRKSRC}/wand/MagickWand-config.in \ ${WRKSRC}/wand/MagickWand.pc.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-6/${i}.sample .endfor do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index da8d04f67387..57a4e3d20479 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -1,351 +1,351 @@ PORTNAME= ImageMagick DISTVERSION= 7.1.0-62 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics perl5 MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \ https://mirror.dogado.de/imagemagick/releases/ \ https://mirror.checkdomain.de/imagemagick/releases/ \ https://ftp.icm.edu.pl/pub/unix/graphics/ImageMagick/releases/ \ https://imagemagick.org/archive/releases/ PKGNAMESUFFIX= 7 MAINTAINER= desktop@FreeBSD.org COMMENT= Image processing tools WWW= https://imagemagick.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl \ libzip.so:archivers/libzip FLAVORS= x11 nox11 FLAVOR?= ${FLAVORS:[1]} FLAVORS_SUB= yes nox11_PKGNAMESUFFIX= 7-nox11 # bin/Magick++-config CONFLICTS_INSTALL= ImageMagick6 ImageMagick6-nox11 \ ImageMagick7 ImageMagick7-nox11 # This port uses .la files, keep libtool:keepla! (magick/module.c) USES= cpe gettext-runtime gmake gnome libtool:keepla localbase \ pathfix perl5 pkgconfig:both shebangfix tar:xz CPE_PRODUCT= imagemagick CPE_VENDOR= imagemagick SHEBANG_FILES= www/source/examples.pl GNU_CONFIGURE= yes CONFIGURE_ENV= MAKE=${MAKE_CMD} CONFIGURE_ARGS= --without-dps \ --without-flif \ --without-zstd USE_LDCONFIG= yes USE_GNOME= libxml2 SAMPLE_FILES= colors.xml delegates.xml log.xml mime.xml policy.xml \ quantization-table.xml thresholds.xml type-apple.xml \ type-dejavu.xml type-ghostscript.xml type-urw-base35.xml \ type-windows.xml type.xml PLIST_SUB= PORTVERSION=${PORTVERSION:R} OPTIONS_SUB= yes OPTIONS_DEFINE= BZIP2 DOCS DJVU FFMPEG FFTW FONTCONFIG FPX FREETYPE \ GRAPHVIZ GSLIB JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES \ OPENEXR OPENMP PDF PERL PNG TESTS TIFF WEBP WMF THREADS \ 16BIT_PIXEL HDRI HEIF RAW OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FREETYPE HEIF \ JPEG2000 JBIG JPEG JXL LCMS2 LZMA LQR MODULES OPENEXR PDF PERL PNG \ TIFF WEBP WMF THREADS HDRI RAW .if ${FLAVOR:U} == x11 # the SVG and PANGO plugins need X11 OPTIONS_DEFINE+= PANGO RAQM SVG OPTIONS_DEFAULT+= RAQM SVG CONFIGURE_ARGS+= --with-x USES+= xorg USE_XORG= ice sm x11 xext xt .else CONFIGURE_ARGS+= --without-x .endif DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support FFMPEG_DESC= VIDEO codec support as FFmpeg TESTS_DESC= Run bundled self-tests after build #SIMD_CONFIGURE_WITH= gcc-arch CONFIGURE_ARGS+= --without-gcc-arch 16BIT_PIXEL_DESC= 16bit pixel support 16BIT_PIXEL_CONFIGURE_OFF=--with-quantum-depth=8 16BIT_PIXEL_VARS= _QBIT=Q16 16BIT_PIXEL_VARS_OFF= _QBIT=Q8 PLIST_SUB+= QBIT=${_QBIT} # Produce BZip compressed MIFF images BZIP2_DESC= bzip2 compressed MIFF images BZIP2_CONFIGURE_WITH= bzlib FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FONTCONFIG_CONFIGURE_WITH= fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FREETYPE_CONFIGURE_WITH= freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 # FPX (FlashPIX) images FPX_CONFIGURE_WITH= fpx FPX_LIB_DEPENDS= libfpx.so:graphics/libfpx GRAPHVIZ_CONFIGURE_WITH= gvc GRAPHVIZ_LIB_DEPENDS= libgvc.so:graphics/graphviz GRAPHVIZ_CFLAGS= -I${LOCALBASE}/include/graphviz GRAPHVIZ_LDFLAGS= -L${LOCALBASE}/lib/graphviz HEIF_CONFIGURE_WITH= heic HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HDRI_DESC= High dynamic range images support HDRI_CONFIGURE_ENABLE= hdri HDRI_VARS= _HDRI=HDRI HDRI_VARS_OFF= _HDRI="" PLIST_SUB+= HDRI=${_HDRI} # JBIG images (lossless compression for bi-level images) JBIG_CONFIGURE_WITH= jbig JBIG_LIB_DEPENDS= libjbig.so:graphics/jbigkit JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg # JPEG2000 images (wavelet-based lossy compression) JPEG2000_DESC= OpenJPEG 2000 support via openjpeg JPEG2000_CONFIGURE_WITH=openjp2 JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JXL_CONFIGURE_WITH= jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LQR_CONFIGURE_WITH= lqr LQR_LIB_DEPENDS= liblqr-1.so:graphics/liblqr-1 LQR_USE= gnome=glib20 LZMA_CONFIGURE_WITH= lzma # Loadable coders, smaller executable, but PerlMagick not really works # ('make test' there works) MODULES_DESC= Modules support MODULES_CONFIGURE_WITH= modules PANGO_CONFIGURE_WITH= pango PANGO_USE= gnome=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png RAQM_DESC= Complex text layout support RAQM_CONFIGURE_WITH= raqm RAQM_LIB_DEPENDS= libraqm.so:print/libraqm # libraw is by default liked to lcms2, whichs also ends up in IM regardless # of the IM LCMS option. RAW_DESC= RAW format support (implies the lcms2 option) RAW_CONFIGURE_WITH= raw RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_IMPLIES= LCMS2 SVG_DESC= SVG vector image format support (via librsvg, implies the x11 option) SVG_CONFIGURE_WITH= rsvg SVG_USE= gnome=cairo,gdkpixbuf2,librsvg2 TESTS_TEST_DEPENDS= gsfonts>=0:print/gsfonts TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp .include .if ${PORT_OPTIONS:MTHREADS} _IMAGEMAGICK_THREADS=yes _IMAGEMAGICK_THREADS_MSG=with threads . if exists(${PERL}) PERL_THREADED!= ${SH} -c 'case `perl --version` in *freebsd-thread*) ${ECHO_CMD} yes ;; esac'; ${ECHO_CMD} . else # if ${PERL} doesn't exists, assume we dealing with threaded perl. PERL_THREADED= yes . endif .else _IMAGEMAGICK_THREADS=no _IMAGEMAGICK_THREADS_MSG=without threads _IMAGEMAGICK_THREADS_IGNORE_MSG=. Define WITH_THREADS .endif .if ${PORT_OPTIONS:MPERL} CONFIGURE_ARGS+= --with-perl=${PERL} \ --with-perl-options="MAKE=${MAKE_CMD}" PLIST_SUB+= WITH_PERL='' # PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes . else _IMAGEMAGICK_THREADS_PERL_MSG=Perl is non-threaded _IMAGEMAGICK_THREADS_IGNORE_MSG=. ${_IMAGEMAGICK_THREADS_PERL_MSG}. Reinstall Perl with threads or undefine WITH_IMAGEMAGICK_PERL . if ${_IMAGEMAGICK_THREADS} == "yes" IGNORE=${_IMAGEMAGICK_THREADS_IGNORE_MSG} or undefine WITH_THREADS . endif _IMAGEMAGICK_THREADS=no . endif .else CONFIGURE_ARGS+= --without-perl PLIST_SUB+= WITH_PERL='@comment ' .endif .if ${_IMAGEMAGICK_THREADS} == "yes" CONFIGURE_ARGS+= --with-threads CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" LDFLAGS+= -lpthread .else CONFIGURE_ARGS+= --without-threads _IMAGEMAGICK_THREADS=no .endif # OpenMP .if ${PORT_OPTIONS:MOPENMP} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenMP requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else CONFIGURE_ARGS+= --enable-openmp . endif .else CONFIGURE_ARGS+= --disable-openmp .endif .if defined(WITH_WINDOWS_FONT_DIR) CONFIGURE_ARGS+= --with-windows-font-dir=${WITH_WINDOWS_FONT_DIR} .endif .if ${PORT_OPTIONS:MOPENEXR} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=OpenEXR requires threads. ${_IMAGEMAGICK_THREADS_IGNORE_MSG} . else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath PLIST_SUB+= OPENEXR="" . endif .else CONFIGURE_ARGS+= --without-openexr PLIST_SUB+= OPENEXR="@comment " .endif .if ${PORT_OPTIONS:MDJVU} . if ${_IMAGEMAGICK_THREADS} == "no" IGNORE=DjVu requires threads${_IMAGEMAGICK_THREADS_IGNORE_MSG} . endif LIB_DEPENDS+= libdjvulibre.so:graphics/djvulibre PLIST_SUB+= DJVU="" .else CONFIGURE_ARGS+= --without-djvu PLIST_SUB+= DJVU="@comment " .endif .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib .endif # WMF (Windows Meta File) images .if ${PORT_OPTIONS:MWMF} . if ${FLAVOR:U} == x11 LIB_DEPENDS+= libwmf.so:graphics/libwmf . else LIB_DEPENDS+= libwmf.so:graphics/libwmf-nox11 . endif CONFIGURE_ARGS+= --with-wmf=yes PLIST_SUB+= WMF="" .else CONFIGURE_ARGS+= --without-wmf PLIST_SUB+= WMF="@comment " .endif # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11 . else USES+= ghostscript . endif .endif .if ${PORT_OPTIONS:MPDF} || ${PORT_OPTIONS:MGSLIB} RUN_DEPENDS+= gsfonts>=0:print/gsfonts .endif .if ${PORT_OPTIONS:MFFMPEG} BUILD_DEPENDS+= ffmpeg:multimedia/ffmpeg RUN_DEPENDS+= ffmpeg:multimedia/ffmpeg .endif .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-strip install-docDATA install-data-html .else INSTALL_TARGET= install-strip .endif .if ${PORT_OPTIONS:MTESTS} . if ${FLAVOR:U} == x11 USES+= ghostscript:x11,build . else USES+= ghostscript:build . endif .endif post-patch: # strip library name of variable parts that can change due to # the HDRI and Q16 option @${REINPLACE_CMD} -e 's|_@MAGICK_ABI_SUFFIX@||g; \ s|\.@MAGICK_ABI_SUFFIX@||g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|@\.@MAGICK_ABI_SUFFIX@|@|g' \ ${WRKSRC}/PerlMagick/Makefile.PL.in \ ${WRKSRC}/PerlMagick/quantum/Makefile.PL.in \ ${WRKSRC}/Magick++/bin/Magick++-config.in \ ${WRKSRC}/Magick++/lib/Magick++.pc.in \ ${WRKSRC}/MagickCore/MagickCore-config.in \ ${WRKSRC}/MagickCore/MagickCore.pc.in \ ${WRKSRC}/MagickCore/ImageMagick.pc.in \ ${WRKSRC}/MagickWand/MagickWand-config.in \ ${WRKSRC}/MagickWand/MagickWand.pc.in pre-configure: .if defined(_IMAGEMAGICK_THREADS_PERL_MSG) @${ECHO_CMD} '###################################################################' @${ECHO_CMD} NOTICE: ${_IMAGEMAGICK_THREADS_PERL_MSG}. Building ImageMagick ${_IMAGEMAGICK_THREADS_MSG}. @${ECHO_CMD} '###################################################################' .endif post-install: .for i in ${SAMPLE_FILES} @${MV} ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i} \ ${STAGEDIR}${PREFIX}/etc/ImageMagick-7/${i}.sample .endfor post-install-TESTS-on: test do-test: -cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} limits -m 20m ${MAKE} ${_MAKE_JOBS} check .include diff --git a/graphics/eps2png/Makefile b/graphics/eps2png/Makefile index ed4bd92ecbd5..121416d2b653 100644 --- a/graphics/eps2png/Makefile +++ b/graphics/eps2png/Makefile @@ -1,20 +1,21 @@ PORTNAME= eps2png PORTVERSION= 2.905 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JV MAINTAINER= perl@FreeBSD.org COMMENT= Converts EPS images to PNG WWW= https://www.vromans.org/johan/software/sw_eps2png.html LICENSE= ART10 GPLv2+ LICENSE_COMB= dual USES= ghostscript perl5 USE_PERL5= configure MAKE_ARGS= INSTLLSCRIPT="${PREFIX}/bin" NO_ARCH= yes .include diff --git a/graphics/epstool/Makefile b/graphics/epstool/Makefile index 651412c4f83c..b7e041dd7f78 100644 --- a/graphics/epstool/Makefile +++ b/graphics/epstool/Makefile @@ -1,44 +1,45 @@ PORTNAME= epstool PORTVERSION= 3.09 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.ghostgum.com.au/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Create or extract preview bitmaps in EPS files WWW= http://www.ghostgum.com.au/software/epstool.htm LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENCE USES= ghostscript:run gmake MAKEFILE= makefile MAKE_ARGS= CC="${CC}" \ CCAUX="${CC}" \ CLINK="${CC} ${LDFLAGS}" \ EPSLIB="" \ GSCDEBUG="" \ GTKCFLAGS="" \ GTKLIBS="" \ LIBPNGCFLAGS="" \ LIBPNGLIBS="" \ LINK="${CC} ${LDFLAGS}" \ MAKE="${MAKE_CMD}" ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/epstool \ share/man/man1/epstool.1.gz PORTDOCS= epstool.htm gsview.css OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/epstool ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/epstool.1 ${STAGEDIR}${MANPREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/epstool.htm ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/gsview.css ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile index b7bc741548de..5b05a5f5aedd 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -1,155 +1,155 @@ PORTNAME?= gimp PORTVERSION= 2.10.34 -PORTREVISION= 8 +PORTREVISION= 9 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} PKGNAMESUFFIX= -app #DISTNAME= gimp-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= GNU Image Manipulation Program WWW= https://www.gimp.org/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes LIB_DEPENDS= libasound.so:audio/alsa-lib \ libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgegl-0.4.so:graphics/gegl \ libgexiv2.so:graphics/gexiv2 \ libharfbuzz.so:print/harfbuzz \ libjson-c.so:devel/json-c \ libjson-glib-1.0.so:devel/json-glib \ liblcms2.so:graphics/lcms2 \ libmypaint.so:graphics/libmypaint \ libpng.so:graphics/png \ libpoppler-glib.so:graphics/poppler-glib \ libtiff.so:graphics/tiff LIB_DEPENDS+= ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind LIB_DEPENDS_amd64= libunwind.so:devel/libunwind LIB_DEPENDS_armv7= libunwind.so:devel/libunwind LIB_DEPENDS_i386= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64le= libunwind.so:devel/libunwind RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ glib-networking>=0:net/glib-networking \ mypaint-brushes>0:graphics/mypaint-brushes USES+= compiler:c++14-lang cpe gettext gmake gnome jpeg libtool \ localbase pkgconfig shebangfix tar:bzip2 xorg CPE_VENDOR= gimp CPE_PRODUCT= gimp USE_GNOME+= cairo gtk20 intltool librsvg2 USE_LDCONFIG= yes USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py GNU_CONFIGURE= yes CONFIGURE_ARGS?= --with-html-dir=${PREFIX}/share/doc/gimp \ --with-bug-report-url="https://bugs.freebsd.org/" \ --disable-gtk-doc \ --without-linux-input \ --with-print \ --without-gudev \ --enable-default-binary \ --disable-gimp-console \ --disable-python \ --without-appdata-test \ --with-desktop-dir=${PREFIX}/share \ --docdir=${PREFIX}/share/doc/gimp \ --with-icc-directory=${LOCALBASE}/share/color/icc \ --without-webkit \ --enable-default-binary CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread INSTALL_TARGET= install-strip .if !defined(XAUTHORITY) TEST_ENV= XAUTHORITY=${HOME}/.Xauthority .endif TEST_TARGET= check LIBS+= -lexecinfo -lm PLIST_SUB+= LIBVER=0.1000.${PORTVERSION:E} .if !defined(GIMP_SLAVE) USES+= desktop-file-utils OPTIONS_DEFINE?= AALIB GHOSTSCRIPT HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD \ WEBP WMF OPTIONS_DEFAULT= AALIB HEIF JXL LIBMNG OPENEXR OPENJPEG SIMD WEBP WMF OPTIONS_SUB= yes .endif .if defined(GIMP_SLAVE) PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config GIMP_LIBS= `${PKG_CONFIG} --libs gimp-2.0` GIMP_THUMB_LIBS= `${PKG_CONFIG} --libs gimpthumb-2.0` GIMP_UI_LIBS= `${PKG_CONFIG} --libs gimpui-2.0` LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app .else AALIB_DESC= Ascii-art Plug-in OPENJPEG_DESC= Enhanced JPEG (jpeg2000) graphics support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_WITH= aa GHOSTSCRIPT_USES= ghostscript GHOSTSCRIPT_CONFIGURE_WITH= gs HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_CONFIGURE_WITH= libheif JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CONFIGURE_WITH= jpegxl LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CONFIGURE_WITH= libmng OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CONFIGURE_WITH= openexr OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_WITH= jpeg2000 SIMD_CONFIGURE_OFF= --disable-mmx \ --disable-sse \ --disable-altivec WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_WITH= webp WMF_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libwmf.so:graphics/libwmf WMF_CONFIGURE_WITH= wmf .endif post-patch: @${REINPLACE_CMD} -e 's|%%GIMP_LIBS%%|${GIMP_LIBS}|; \ s|%%GIMP_THUMB_LIBS%%|${GIMP_THUMB_LIBS}|; \ s|%%GIMP_UI_LIBS%%|${GIMP_UI_LIBS}|' \ ${WRKSRC}/plug-ins/pygimp/Makefile.in @${REINPLACE_CMD} \ -e 's|x86_64|amd64|g' \ ${WRKSRC}/configure .include diff --git a/graphics/gmt/Makefile b/graphics/gmt/Makefile index bd55baca649f..3433ea78aa23 100644 --- a/graphics/gmt/Makefile +++ b/graphics/gmt/Makefile @@ -1,45 +1,45 @@ PORTNAME= gmt DISTVERSION= 6.3.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= https://github.com/GenericMappingTools/${PORTNAME}/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Generic Mapping Tools - data processing and display software package WWW= https://www.generic-mapping-tools.org/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi LIB_DEPENDS= libnetcdf.so:science/netcdf \ libcurl.so:ftp/curl \ libpcre2-8.so:devel/pcre2 \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos RUN_DEPENDS= bash:shells/bash \ GraphicsMagick>0:graphics/GraphicsMagick \ ffmpeg>0:multimedia/ffmpeg \ xdg-open:devel/xdg-utils \ BUILD_DEPENDS= ${LOCALBASE}/share/dcw-gmt/dcw-gmt.nc:graphics/gmt-dcw \ ${LOCALBASE}/share/gshhg-gmt/binned_GSHHS_c.nc:graphics/gmt-gshhg USES= blaslapack cmake ghostscript:run shebangfix tar:xz USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} #SHEBANG_GLOB= *.sh *.in #SHEBANG_FILES= share/tools/ncdeflate src/img/img2google src/gmtswitch CMAKE_ARGS+= -DDCW_ROOT=${LOCALBASE}/share/dcw-gmt \ -DCOPY_DCW=off \ -DGSHHG_ROOT=${LOCALBASE}/share/gshhg-gmt \ -DCOPY_GSHHG=off \ -DGMT_DATADIR=share/${PORTNAME} \ -DGMT_DOCDIR=share/doc/${PORTNAME} \ -DGMT_MANDIR=share/doc/${PORTNAME}/man \ -DGMT_EXCLUDE_PCRE=True .include diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 9b64b4a2e5cb..bbd051fcbe76 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -1,267 +1,267 @@ PORTNAME= graphviz PORTVERSION= 8.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics tk MASTER_SITES= https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${PORTVERSION}/ MAINTAINER= dinoex@FreeBSD.org COMMENT= Graph Visualization Software from AT&T and Bell Labs WWW= https://www.graphviz.org/ LICENSE= EPL LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= tclsh${TCL_VER}:lang/tcl${_TCLTK_WANTED_VERSION} LIB_DEPENDS= libltdl.so:devel/libltdl \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libexpat.so:textproc/expat2 \ libharfbuzz.so:print/harfbuzz \ libgd.so:${GD_PORT} USES= compiler:c++11-lang cpe pathfix shebangfix gmake bison \ pkgconfig libtool:keepla autoreconf localbase:ldflags jpeg \ tcl:build GNU_CONFIGURE= yes # sincos is broken on armv6, see ports/220591 CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl CFLAGS_armv7= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \ -fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf \ -fno-builtin-sincosl -fno-builtin-sinl -fno-builtin-cosl MAKE_ENV= EXPR_COMPAT=yes CONFLICTS_INSTALL= ghmm INSTALL_TARGET= install-strip USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} PLIST_SUB= PORTVERSION="${PORTVERSION}" FIX_INCLUDE= lib/cdt/dthdr.h lib/pathplan/tri.h \ lib/pathplan/pathutil.h lib/pathplan/solvers.h \ lib/pathplan/vis.h lib/pathplan/vispath.h \ lib/common/globals.h lib/gvc/gvcint.h FIX_TCL_SCRIPT= tclpkg/gdtclft/demo/entities.tcl \ tclpkg/tcldot/demo/gcat.tcl FIX_TK_SCRIPT= tclpkg/tcldot/demo/doted.tcl \ tclpkg/tclpathplan/demo/pathplan.tcl OPTIONS_DEFINE= XPM DIGCOLA IPSEPCOLA ICONV NLS PANGOCAIRO POPPLER \ ANN GTS GTK2 GDK GDK_PIXBUF SMYRNA DEVIL \ GHOSTSCRIPT PERL PHP PYTHON RUBY LUA TCL TK GUILE GO \ NVTHREADS DOCS EXAMPLES OPTIONS_DEFAULT=XPM DIGCOLA IPSEPCOLA ICONV PANGOCAIRO NVTHREADS NO_OPTIONS_SORT=yes OPTIONS_SUB= yes DIGCOLA_DESC= neato layout engine with DIGCOLA features IPSEPCOLA_DESC= neato layout engine with IPSEPCOLA features PANGOCAIRO_DESC=pangocairo support POPPLER_DESC= PDF and PS file support via poppler (requires PANGOCAIRO) ANN_DESC= ANN edge bundling support GTS_DESC= GNU Triangulated Surface Library support GTK2_DESC= gtk2 plugin (requires PANGOCAIRO) GDK_DESC= gdk library support (requires GTK2) GDK_PIXBUF_DESC=gdk pixbuf support (requires GDK) SMYRNA_DESC= SMYRNA graph viewer (requires GTK2) DEVIL_DESC= devil plugin GHOSTSCRIPT_DESC=ghostscript plugin (requires PANGOCAIRO) PERL_DESC= Perl bindings (swig) PHP_DESC= PHP bindings (swig) PYTHON_DESC= Python bindings (swig) RUBY_DESC= Ruby bindings (swig) LUA_DESC= Lua bindings (swig) TCL_DESC= TCL bindings (swig) GUILE_DESC= Guile bindings (swig) GO_DESC= Go bindings (swig) TK_DESC= TK toolkit support NVTHREADS_DESC= Link with threads (needed for nvidia) XPM_USES= xorg XPM_USE= XORG=xaw,xpm,xmu,xt,sm,ice,xext,x11,xau,xdmcp ICONV_USES= iconv NLS_USES= gettext PANGOCAIRO_USES=gnome xorg PANGOCAIRO_USE= GNOME=pango,cairo XORG=xrender,x11,xau,xdmcp GTK2_USES= gnome xorg GTK2_USE= XORG=sm,ice,xext,xinerama,xi,xrandr,xcursor,xfixes GNOME=gtk20 SMYRNA_USES= gnome gl SMYRNA_USE= GNOME=libglade2,pangox-compat,gdkpixbuf2 GL=glut,glu,gl PERL_USES= perl5 PHP_USES= php:build gnome PHP_USE= GNOME=libxml2 PHP_BROKEN= needs swig 4.2.0 PYTHON_USES= python:build RUBY_USES= ruby LUA_USES= lua TK_USES= tk:build GO_USES= go:no_targets DOCS_USES= groff POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib ANN_LIB_DEPENDS= libann.so:math/ann GTS_LIB_DEPENDS= libgts.so:graphics/gts SMYRNA_LIB_DEPENDS= libgtkgl-2.0.so:x11-toolkits/gtkglarea2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext DEVIL_LIB_DEPENDS= libIL.so:graphics/devil GUILE_USES= guile:3.0 PHP_LIB_DEPENDS= libpcre.so:devel/pcre \ libargon2.so:security/libargon2 XPM_CONFIGURE_WITH= x XPM_CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no DIGCOLA_CONFIGURE_WITH= digcola IPSEPCOLA_CONFIGURE_WITH= ipsepcola IPSEPCOLA_IMPLIES= DIGCOLA NLS_CONFIGURE_ENABLE= nls PANGOCAIRO_CONFIGURE_WITH= pangocairo POPPLER_CONFIGURE_WITH= poppler POPPLER_IMPLIES= PANGOCAIRO ANN_CONFIGURE_WITH= ann ANN_CONFIGURE_ENV= ANN_CFLAGS=-I${LOCALBASE}/include ANN_LIBS=-lann GTS_CONFIGURE_WITH= gts GTK2_CONFIGURE_WITH= gtk GTK2_IMPLIES= PANGOCAIRO GDK_CONFIGURE_WITH= gdk GDK_PIXBUF_CONFIGURE_WITH= gdk-pixbuf GDK_PIXBUF_IMPLIES= GTK2 GDK SMYRNA_CONFIGURE_OFF= --with-glut=no SMYRNA_CONFIGURE_WITH= smyrna glade gtkgl gtkglext SMYRNA_IMPLIES= GTK2 GTS DEVIL_CONFIGURE_WITH= devil GHOSTSCRIPT_CONFIGURE_OFF= --with-ghostscript=no GHOSTSCRIPT_IMPLIES= PANGOCAIRO PERL_CONFIGURE_ENABLE= perl PERL_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.pl PHP_CONFIGURE_ENABLE= php PHP_CPPFLAGS= -I${LOCALBASE}/include/php/Zend PHP_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.php PYTHON_CONFIGURE_ENABLE= python3 PYTHON_LDFLAGS= "-L${PYTHONBASE}/lib" PYTHON_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py PYTHON_CONFIGURE_ENV= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" RUBY_CONFIGURE_ENABLE= ruby RUBY_CONFIGURE_ENV= RUBY="${RUBY}" RUBY_VER="${RUBY_VER}" \ RUBY_CFLAGS="${RUBY_CFLAGS}" \ RUBY_LDFLAGS="${RUBY_LDFLAGS}" \ RUBY_INSTALL_DIR="${RUBY_SITEARCHLIBDIR}" RUBY_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.rb LUA_CONFIGURE_ENABLE= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} -lm LUA_CONFIGURE_ENV= LUA="${LUA_BINDIR}/lua" \ LUA_INSTALL_DIR=${PREFIX}/lib/lua/${LUA_VER} LUA_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.lua TCL_CONFIGURE_ENABLE= tcl TCL_CPPFLAGS= -I${TCL_INCLUDEDIR} TCL_CONFIGURE_ENV= TCLCONFIG="${TCL_LIBDIR}/tclConfig.sh" TCL_VARS= SHEBANG_FILES+=tclpkg/gv/demo/modgraph.tcl \ PLIST_SUB+=TCL_VER="${TCL_VER}" TK_CPPFLAGS= -I${TK_INCLUDEDIR} TK_CONFIGURE_ON= --with-wish=${WISH} TK_CONFIGURE_ENV= TKCONFIG="${TK_LIBDIR}/tkConfig.sh" TK_IMPLIES= TCL GUILE_CONFIGURE_ENABLE= guile GO_CONFIGURE_ENABLE= go NVTHREADS_LDFLAGS= -lpthread .include # allow the use localized gd ports in Makefile.local or slave ports. GD_PORT?= graphics/gd CONFIGURE_ARGS+= --program-transform-name="s/x/x/" \ --enable-dependency-tracking \ --enable-r=no \ --with-demos="${EXAMPLESDIR}" \ --with-freetype2=yes \ --with-libgd \ --with-webp \ --with-fontconfigincludedir=${LOCALBASE}/include \ --with-fontconfiglibdir=${LOCALBASE}/lib \ --with-tclsh=${TCLSH} \ --without-rsvg \ --with-qt=no \ --disable-io --disable-ocaml --disable-java \ --disable-python2 \ --disable-sharp .if ${PORT_OPTIONS:MPYTHON} BINARY_ALIAS+= python3=${PYTHON_CMD} .endif .if ${PORT_OPTIONS:MRUBY} RUBY_CFLAGS+= -I "${LOCALBASE}/include/ruby-${RUBY_VER}/" \ -I "${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}" .if exists(${LOCALBASE}/bin/ruby${RUBY_SHLIBVER}) RUBY_LIBS!= ${LOCALBASE}/bin/ruby${RUBY_SHLIBVER} \ -r rbconfig -e "print RbConfig::CONFIG[ 'LIBS' ]" RUBY_LDFLAGS+= ${RUBY_LIBS} .endif .endif .if ${PORT_OPTIONS:MICONV} CONFIGURE_ARGS+= --with-iconvlibdir=${ICONV_PREFIX}/lib CONFIGURE_ARGS+= --with-iconvincludedir=${ICONV_PREFIX}/include .else CONFIGURE_ARGS+= --without-libiconv-prefix .endif .if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \ ${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \ ${PORT_OPTIONS:MGUILE} || ${PORT_OPTIONS:MGO} BUILD_DEPENDS+= swig:devel/swig RUN_DEPENDS+= swig:devel/swig CONFIGURE_ARGS+= --enable-swig CONFIGURE_ENV+= SWIG="${LOCALBASE}/bin/swig" .else CONFIGURE_ARGS+= --disable-swig CONFIGURE_ENV+= SWIG="/nonexistent" .endif .if ${PORT_OPTIONS:MGHOSTSCRIPT} USES_GHOSTSCRIPT_ARGS+= lib .endif .if ${PORT_OPTIONS:MDOCS} USES_GHOSTSCRIPT_ARGS+= build .endif .if defined(USES_GHOSTSCRIPT_ARGS) USES+= ghostscript:${USES_GHOSTSCRIPT_ARGS:ts,} .endif .include post-patch: ${REINPLACE_CMD} \ -e 's|PHP_INSTALL_DATADIR=.*|PHP_INSTALL_DATADIR="${PREFIX}/share/php"|' \ -e 's|LUA_INSTALL_DIR=.*|LUA_INSTALL_DIR="${LUA_MODLIBDIR}"|' \ -e 's| vendorarchdir| sitearchdir|' \ ${WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|#include "gui.h"|#include "gui/gui.h"|' \ ${WRKSRC}/cmd/smyrna/tvnodes.h ${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \ ${WRKSRC}/lib/sfio/*.[ch] cd ${WRKSRC} && ${REINPLACE_CMD} \ -e 's|exec tclsh |exec tclsh${TCL_VER} |' ${FIX_TCL_SCRIPT} cd ${WRKSRC} && ${REINPLACE_CMD} \ -e 's|exec wish |exec wish${TCL_VER} |' ${FIX_TK_SCRIPT} pre-configure-DOCS-off: ${REINPLACE_CMD} -e 's| doc | |' ${WRKSRC}/Makefile.am ${FIND} ${WRKSRC} -name Makefile.am | \ ${XARGS} ${REINPLACE_CMD} \ -e 's|^pdf_DATA|#pdf_DATA|'; pre-install-PHP-on: ${MKDIR} "${STAGEDIR}/${PREFIX}/share/php" post-install: install-ldconfig-file cd ${WRKSRC} && \ ${INSTALL_DATA} ${FIX_INCLUDE} ${STAGEDIR}${PREFIX}/include/graphviz/ .include diff --git a/graphics/impressive/Makefile b/graphics/impressive/Makefile index 09550cf60daa..974249df9da9 100644 --- a/graphics/impressive/Makefile +++ b/graphics/impressive/Makefile @@ -1,70 +1,70 @@ PORTNAME= impressive DISTVERSION= 0.13.1 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= graphics python MASTER_SITES= SF/${PORTNAME}/Impressive/${DISTVERSION}/ DISTNAME= Impressive-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Stylish way of giving presentations WWW= http://impressive.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${PYGAME} \ ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} USES= python sdl shebangfix USE_SDL= sdl SHEBANG_FILES= impressive.py NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz PORTDOCS= ${PORTNAME}.html demo.pdf OPTIONS_DEFINE= DOCS OPTIONS_GROUP= MULTIMEDIA PDFFEATURE OPTIONS_MULTI= PDFENGINE OPTIONS_DEFAULT=FFMPEG MPLAYER MUPDF PDFTK XDG OPTIONS_GROUP_MULTIMEDIA= FFMPEG MPLAYER OPTIONS_GROUP_PDFFEATURE= PDFTK XDG OPTIONS_MULTI_PDFENGINE= GHOSTSCRIPT MUPDF POPPLER XPDF FFMPEG_DESC= Optimize generation of video preview images MPLAYER_DESC= Enable audio/video playback PDFTK_DESC= Enable automatic extraction of PDF page titles XDG_DESC= Enable web/e-mail hyperlinks in PDF files GHOSTSCRIPT_DESC= Use Ghostscript for PDF rendering MUPDF_DESC= Use MuPDF for PDF rendering POPPLER_DESC= Use Poppler for PDF rendering XPDF_DESC= Use Xpdf for PDF rendering FFMPEG_IMPLIES= MPLAYER GHOSTSCRIPT_IMPLIES= PDFTK POPPLER_IMPLIES= PDFTK XPDF_IMPLIES= PDFTK FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer PDFTK_RUN_DEPENDS= pdftk:print/pdftk XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils GHOSTSCRIPT_USES= ghostscript:run MUPDF_RUN_DEPENDS= mupdf:graphics/mupdf POPPLER_RUN_DEPENDS= pdftoppm:graphics/poppler-utils XPDF_RUN_DEPENDS= ${LOCALBASE}/libexec/xpdf/pdftoppm:graphics/xpdf do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index cb2716faf808..e930fccc661d 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,129 +1,129 @@ PORTNAME= inkscape DISTVERSION= 1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics gnome MASTER_SITES= https://media.inkscape.org/dl/resources/file/ PATCH_SITES= https://gitlab.com/${PORTNAME}/${PORTNAME}/-/commit/ PATCHFILES+= 3db96bfbac475022a32b70473b767b21a8d70c7f.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/issues/4427 PATCHFILES+= f0355a6341aceee93ce4d4d70cd9ec3a44081c38.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/5650 MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor WWW= https://inkscape.org LICENSE= GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL21 LGPL3 LGPL3+ MPL11 LICENSE_COMB= multi LICENSE_FILE_GPLv2 = ${WRKSRC}/LICENSES/GPL-2.0.txt LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LICENSE_FILE_GPLv3 = ${WRKSRC}/LICENSES/GPL-3.0.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt LICENSE_FILE_LGPL21 = ${WRKSRC}/LICENSES/LGPL-2.1.txt LICENSE_FILE_LGPL3 = ${WRKSRC}/LICENSES/LGPL-3.0.txt LICENSE_FILE_LGPL3+ = ${WRKSRC}/LICENSES/LGPL-3.0-or-later.txt LICENSE_FILE_MPL11 = ${WRKSRC}/LICENSES/MPL-1.1.txt BUILD_DEPENDS= ragel:devel/ragel LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libpopt.so:devel/popt \ libgc.so:devel/boehm-gc \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpotrace.so:graphics/libpotrace \ libpng.so:graphics/png \ libsoup-2.4.so:devel/libsoup \ libyaml.so:textproc/libyaml \ libdouble-conversion.so:devel/double-conversion \ libenchant-2.so:textproc/enchant2 \ libepoxy.so:graphics/libepoxy \ lib2geom.so:math/lib2geom RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.7.1:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cachecontrol>0:www/py-cachecontrol@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ fig2dev:print/fig2dev TEST_DEPENDS= googletest>0:devel/googletest \ bash:shells/bash USES= compiler:c++17-lang cmake:testing cpe desktop-file-utils ghostscript:run \ gnome iconv:wchar_t jpeg pathfix pkgconfig python \ readline shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtkmm30 gtksourceview4 libxml2 libxslt USE_PYTHON= cython USE_XORG= sm ice x11 xext USE_LDCONFIG= yes DATETAG= 2023-07-21_0e150ed6c4 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}_${DATETAG} BINARY_ALIAS= python3=${PYTHON_CMD} SHEBANG_FILES= share/extensions/*.py share/extensions/genpofiles.sh \ share/templates/*.py man/fix-roff-punct OPTIONS_DEFINE= OPENMP POPPLER SCRIBUS VISIO CDR WPG GVFS NLS GSPELL OPTIONS_DEFAULT= POPPLER VISIO CDR WPG GM GSPELL OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP OPTIONS_RADIO= IMAGICK OPTIONS_RADIO_IMAGICK= IMAGICK6 GM OPTIONS_SUB= yes CDR_DESC= Support for CorelDRAW graphics CDR_CMAKE_BOOL= WITH_LIBCDR CDR_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libcdr-0.1.so:graphics/libcdr01 GVFS_USE= GNOME=gvfs OPENMP_CMAKE_BOOL= WITH_OPENMP POPPLER_DESC= PDF preview rendering POPPLER_CMAKE_BOOL= ENABLE_POPPLER ENABLE_POPPLER_CAIRO POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler \ libpoppler-glib.so:graphics/poppler-glib SCRIBUS_DESC= Support color-managed PDF export using Scribus (experimental) SCRIBUS_RUN_DEPENDS= scribus:print/scribus-devel VISIO_DESC= Support for Microsoft Visio diagrams VISIO_CMAKE_BOOL= WITH_LIBVISIO VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ libvisio-0.1.so:textproc/libvisio01 WPG_DESC= Support for WordPerfect graphics WPG_CMAKE_BOOL= WITH_LIBWPG WPG_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 IMAGICK_DESC= Raster image format library IMAGICK6_DESC= Use ImageMagick6 IMAGICK6_USES= magick:6 IMAGICK6_CMAKE_BOOL= WITH_IMAGE_MAGICK GM_DESC= Use GraphicsMagick GM_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick GM_CMAKE_BOOL= WITH_GRAPHICS_MAGICK NLS_CMAKE_BOOL= WITH_NLS NLS_USES= gettext GSPELL_DESC= Support for spell checking through gspell GSPELL_CMAKE_BOOL= WITH_GSPELL GSPELL_LIB_DEPENDS= libgspell-1.so:textproc/gspell post-patch: @${REINPLACE_CMD} -e 's|COMMAND python3|COMMAND ${PYTHON_VERSION}|g' \ ${WRKSRC}/share/*/CMakeLists.txt # Third entry in the table of interpreters is basename of executable @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_VERSION}"|g' \ ${WRKSRC}/src/extension/implementation/script.cpp @${TOUCH} ${WRKSRC}/share/extensions/gcodetools_check_for_updates.inx.h .include diff --git a/graphics/klatexformula/Makefile b/graphics/klatexformula/Makefile index 741629338198..105f10037b3d 100644 --- a/graphics/klatexformula/Makefile +++ b/graphics/klatexformula/Makefile @@ -1,31 +1,31 @@ PORTNAME= klatexformula PORTVERSION= 4.0.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Convert LaTeX formula to image WWW= https://klatexformula.sourceforge.io LICENSE= GPLv2 BUILD_DEPENDS= help2man:misc/help2man USES= cmake compiler:c++11-lang desktop-file-utils ghostscript:run \ gl qt:5 shared-mime-info tar:bzip2 localbase tex USE_GL= gl USE_QT= core dbus gui sql svg widgets x11extras xml \ buildtools:build designer:build linguisttools:build \ qmake:build uitools:build USE_TEX= latex dvipsk USE_LDCONFIG= yes CMAKE_ARGS= -DKLF_INSTALL_POST_UPDATEMIMEDATABASE=off \ -DKLF_INSTALL_SHARE_MAN1_DIR=man/man1 post-patch: ${REINPLACE_CMD} '/CMAKE_SYSTEM_NAME STREQUAL/s,Linux,FreeBSD,' \ ${WRKSRC}/src/klftools/CMakeLists.txt .include diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile index a25a90069246..fd24db68a0f5 100644 --- a/graphics/ocaml-images/Makefile +++ b/graphics/ocaml-images/Makefile @@ -1,88 +1,88 @@ PORTNAME= images PORTVERSION= 4.0.1 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 2 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/camlspotter/camlimages/get/ PKGNAMEPREFIX= ocaml- DISTNAME= v${PORTVERSION} DIST_SUBDIR= ocaml-images MAINTAINER= michael.grunewald@laposte.net COMMENT= Objective Caml image processing library WWW= http://pauillac.inria.fr/camlimages/ BROKEN= does not build: broken plist DEPRECATED= Fails to package and marked broken over a year ago EXPIRATION_DATE=2023-11-30 BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/ocaml.m4:lang/ocaml-autoconf BUILD_DEPENDS+= omake:devel/omake USE_OCAML= yes USE_OCAML_FINDLIB= yes OCAML_PKGDIRS= camlimages OCAML_LDLIBS= ${OCAML_SITELIBDIR}/camlimages OMAKESUBS+= -e s@%%INCLUDESPORTS%%@${LOCALBASE}/include@ OMAKESUBS+= -e s@%%INCLUDESX11%%@${LOCALBASE}/include/X11@ OMAKESUBS+= -e s@%%INCLUDESPNG%%@${LOCALBASE}/include/libpng15@ OMAKESUBS+= -e s@%%LDFLAGSPORTS%%@-L${LOCALBASE}/lib@ OMAKE= omake 'PREFIX=${STAGEDIR}${PREFIX}' OMARGS= --dotomake .omake --force-dotomake WRKSRC= ${WRKDIR}/camlspotter-camlimages-c803efa9d5d3 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PNG JPEG TIFF XPM GIF GHOSTSCRIPT GTK2 DOCS OPTIONS_DEFAULT=PNG JPEG TIFF XPM GIF GHOSTSCRIPT OPTIONS_SUB= yes PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png JPEG_CONFIGURE_WITH= jpeg JPEG_USES= jpeg TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff XPM_CONFIGURE_WITH= xpm GIF_CONFIGURE_WITH= gif GIF_LIB_DEPENDS= libgif.so:graphics/giflib FREETYPE_USES= pkgconfig FREETYPE_CONFIGURE_WITH=freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 GHOSTSCRIPT_CONFIGURE_WITH= gs GHOSTSCRIPT_USES= ghostscript GTK2_CONFIGURE_WITH= liblgtk2 GTK2_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 GTK2_RUN_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 BINARY_ALIAS= freetype-config=true .include .if ${PORT_OPTIONS:MXPM} USES+= xorg USE_XORG= xpm .endif do-configure: @(cd ${WRKSRC} && ${REINPLACE_CMD} ${OMAKESUBS} OMakefile) (cd ${WRKSRC} && ${OMAKE} ${OMARGS} configure) do-build: (cd ${WRKSRC} && ${OMAKE} ${OMARGS}) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${OCAML_LDLIBS} (cd ${WRKSRC} && ${OMAKE} ${OMARGS} install) .include diff --git a/graphics/peps/Makefile b/graphics/peps/Makefile index 43fafef66dc8..187cd99d9ae0 100644 --- a/graphics/peps/Makefile +++ b/graphics/peps/Makefile @@ -1,35 +1,35 @@ PORTNAME= peps PORTVERSION= 2.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MASTER_SITES= http://peps.redprince.net/peps/ \ ftp://ftp.peps.redprince.net/unix/peps/ MAINTAINER= doceng@FreeBSD.org COMMENT= Converts EPS images to anti-aliased bitmaps WWW= http://peps.redprince.net/peps/ LICENSE= BSD2CLAUSE USES= ghostscript:run MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \ ETC="${PREFIX}/etc" ALL_TARGET= peps PLIST_FILES= bin/peps \ etc/peps.mime \ man/man1/peps.1.gz PORTDOCS= peps.pdf OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/peps ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/peps.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/peps.mime ${STAGEDIR}${PREFIX}/etc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/peps.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile index 62c4af1216ad..247cfd75332f 100644 --- a/graphics/pstoedit/Makefile +++ b/graphics/pstoedit/Makefile @@ -1,66 +1,67 @@ PORTNAME= pstoedit DISTVERSION= 4.00 +PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= SF MAINTAINER= eduardo@FreeBSD.org COMMENT= Convert PostScript to other vector graphic formats WWW= http://www.pstoedit.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/copying LIB_DEPENDS= libgd.so:graphics/gd \ libzip.so:archivers/libzip USES= ghostscript gmake libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-docs=no MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}" CPPFLAGS+= -isystem ${LOCALBASE}/include/ming PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EMF EXAMPLES MAGICK MING PLOTUTILS OPTIONS_DEFAULT= EMF MAGICK MING PLOTUTILS OPTIONS_SUB= yes EMF_DESC= WMF/EMF support via libEMF MING_DESC= Flash support via Ming PLOTUTILS_DESC= Plotting support via Plotutils EMF_LIB_DEPENDS= libEMF.so:graphics/libemf EMF_CONFIGURE_ON= --with-libemf-include=${LOCALBASE}/include/libEMF EMF_CONFIGURE_OFF= --without-emf MAGICK_USES= magick MAGICK_CONFIGURE_ON= --with-magick MAGICK_CONFIGURE_OFF= --without-magick MING_LIB_DEPENDS= libming.so:graphics/ming MING_CONFIGURE_ON= --with-swf MING_CONFIGURE_OFF= --without-swf PLOTUTILS_LIB_DEPENDS= libplotter.so:graphics/plotutils PLOTUTILS_CONFIGURE_ON= --with-libplot PLOTUTILS_CONFIGURE_OFF= --without-libplot post-patch: @${REINPLACE_CMD} -e 's|CXXFLAGS="-g"|CXXFLAGS="$$CXXFLAGS"|g ; \ s|GraphicsMagick|Magick|g ; \ s|=$$OLDCPPFLAGS|=$$CPPFLAGS|g ; \ s|-lstdc++||g ; \ s|-pedantic||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.ps ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/sam2p/Makefile b/graphics/sam2p/Makefile index 85e0de15a23f..8262b1a8e619 100644 --- a/graphics/sam2p/Makefile +++ b/graphics/sam2p/Makefile @@ -1,48 +1,48 @@ PORTNAME= sam2p PORTVERSION= 0.49.4 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${PORTVERSION}/ MAINTAINER= des@FreeBSD.org COMMENT= Converts raster (bitmap) image formats into PS or PDF files WWW= https://code.google.com/p/sam2p/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash RUN_DEPENDS= zip:archivers/zip \ tif22pnm:graphics/tif22pnm #USE_GITHUB= yes GH_ACCOUNT= pts USES= cpe ghostscript:run gmake jpeg:run perl5 CPE_VENDOR= ${PORTNAME}_project USE_GCC= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gif MAKE_ENV= MAKE=gmake ALL_TARGET= ${PORTNAME} PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index 973051125c04..f7b845004362 100644 --- a/graphics/xfig/Makefile +++ b/graphics/xfig/Makefile @@ -1,36 +1,37 @@ PORTNAME= xfig PORTVERSION= 3.2.8b +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/mcj/ MAINTAINER= mjl@luckie.org.nz COMMENT= Drawing program for X11 WWW= https://www.xfig.org/ LICENSE= xfig LICENSE_NAME= xfig public license LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libXaw3d.so:x11-toolkits/Xaw3d RUN_DEPENDS= fig2dev:print/fig2dev USES= cpe desktop-file-utils gmake ghostscript:lib jpeg localbase:ldflags \ tar:xz xorg USE_CSTD= gnu89 USE_XORG= ice sm x11 xaw xext xi xmu xpm xt CPE_VENDOR= xfig_project GNU_CONFIGURE= yes CFLAGS+= -Wno-return-type CONFLICTS= xfig-3.1* xfig-3.2.[1234]* xfig-[12].* OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/||' ${WRKSRC}/xfig.desktop .include diff --git a/graphics/xournal/Makefile b/graphics/xournal/Makefile index 698fba31de6c..dfa8c619a18a 100644 --- a/graphics/xournal/Makefile +++ b/graphics/xournal/Makefile @@ -1,75 +1,75 @@ PORTNAME= xournal PORTVERSION= 0.4.8.2016 -PORTREVISION= 48 +PORTREVISION= 49 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= me@janh.de COMMENT= Notetaking application that can annotate PDFs WWW= http://xournal.sourceforge.net LICENSE= GPLv2 LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gnome pkgconfig desktop-file-utils shared-mime-info xorg USE_GNOME= cairo libgnomecanvas USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --docdir="${DOCSDIR}" INSTALL_TARGET= install desktop-install OPTIONS_DEFINE= GHOSTSCRIPT DOCS GHOSTSCRIPT_DESC= Install ghostscript (PS/PDF as bitmap bg) OPTIONS_DEFAULT= GHOSTSCRIPT GHOSTSCRIPT_USES= ghostscript:run MAKE_ENV+= DATADIR=${DATADIR} PORTDOCS_MAIN= AUTHORS \ ChangeLog \ COPYING \ README PORTDOCS= ${PORTDOCS_MAIN} \ html-doc/screenshot.png \ html-doc/manual.html \ html-doc/pixmaps/lightgreen.png \ html-doc/pixmaps/medium.png \ html-doc/pixmaps/ruler.png \ html-doc/pixmaps/green.png \ html-doc/pixmaps/magenta.png \ html-doc/pixmaps/default-pen.png \ html-doc/pixmaps/lasso.png \ html-doc/pixmaps/highlighter.png \ html-doc/pixmaps/red.png \ html-doc/pixmaps/hand.png \ html-doc/pixmaps/fullscreen.png \ html-doc/pixmaps/white.png \ html-doc/pixmaps/xoj.svg \ html-doc/pixmaps/pencil.png \ html-doc/pixmaps/rect-select.png \ html-doc/pixmaps/stretch.png \ html-doc/pixmaps/blue.png \ html-doc/pixmaps/lightblue.png \ html-doc/pixmaps/orange.png \ html-doc/pixmaps/yellow.png \ html-doc/pixmaps/gray.png \ html-doc/pixmaps/xournal.svg \ html-doc/pixmaps/xournal.png \ html-doc/pixmaps/thin.png \ html-doc/pixmaps/thick.png \ html-doc/pixmaps/eraser.png \ html-doc/pixmaps/recycled.png \ html-doc/pixmaps/shapes.png \ html-doc/pixmaps/black.png \ html-doc/pixmaps/text-tool.png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS_MAIN:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/html-doc (cd ${WRKSRC} && ${COPYTREE_SHARE} html-doc/ ${STAGEDIR}${DOCSDIR}) .include diff --git a/graphics/xpeps/Makefile b/graphics/xpeps/Makefile index acc93f046dd6..5196eb9a9d1b 100644 --- a/graphics/xpeps/Makefile +++ b/graphics/xpeps/Makefile @@ -1,27 +1,27 @@ PORTNAME= peps PORTVERSION= 2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://peps.redprince.net/peps/ \ ftp://ftp.peps.redprince.net/unix/peps/ PKGNAMEPREFIX= x MAINTAINER= doceng@FreeBSD.org COMMENT= Converts EPS images to anti-aliased bitmaps with X11 support WWW= http://peps.redprince.net/peps/ LICENSE= BSD2CLAUSE RUN_DEPENDS= peps>=2.0_6:graphics/peps USES= ghostscript:x11,run MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \ ETC="${PREFIX}/etc" ALL_TARGET= xpeps PLIST_FILES= bin/xpeps do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${STAGEDIR}${PREFIX}/bin .include diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile index f623baa5e0d3..515fe08310a6 100644 --- a/lang/clisp/Makefile +++ b/lang/clisp/Makefile @@ -1,212 +1,212 @@ PORTNAME= clisp PORTVERSION= 2.49.93+ -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= lang lisp MAINTAINER= kiri@TrueFC.org COMMENT= Common Lisp implementation WWW= https://www.gnu.org/software/clisp/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/GNU-GPL BROKEN_sparc64= Does not compile LIB_DEPENDS= libffcall.so:devel/libffcall \ libreadline.so:devel/readline \ libsigsegv.so:devel/libsigsegv USES= compiler gettext ghostscript gnome iconv localbase:ldflags USE_GCC= yes USE_GITLAB= yes GL_ACCOUNT= gnu-clisp GL_PROJECT= clisp GL_TAGNAME= df3b9f6fdcff22832898e89a989eb499c0f842ed USE_LDCONFIG= yes HAS_CONFIGURE= yes CONFIGURE_ENV= FORCE_UNSAFE_CONFIGURE=1 CONFIGURE_ARGS= --prefix="${PREFIX}" --mandir="${MANPREFIX}/man" \ --elispdir="${DATADIR}/emacs" --vimdir="${DATADIR}/vim" \ --docdir="${DOCSDIR}" --with-libiconv=${ICONV_PREFIX} CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL} # Complaints if the environment changes between build stages. LDFLAGS+= ${LDFLAGS_${CHOSEN_COMPILER_TYPE}} LDFLAGS_gcc= -lthr MAKE_ENV= ${CONFIGURE_ENV} BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${BUILD_WRKSRC} MAKE_JOBS_UNSAFE=yes OPTIONS_DEFINE= ASDF BDB CLX_MIT CLX_NEW DBUS FASTCGI GDBM GLIBC GTK2 \ JITC MATLAB NETICA ORACLE PARI PCRE PGSQL QUEENS RAWSOCK \ SVM THREADS ZLIB ASDF_DESC= Another System Definition Facility BDB_DESC= Interface to Berkeley DB from Sleepycat Software CLX_MIT_DESC= Classical X11 Interface CLX_NEW_DESC= Faster X11 Interface (replaces clx/mit-clx) DBUS_DESC= Interface to the D-Bus message bus system FASTCGI_DESC= FastCGI interface for web development GDBM_DESC= Interface to GNU DBM GLIBC_DESC= Interface to most of the GNU libc library GTK2_DESC= Interface to the GTK library using glade JITC_DESC= Use a given Just-In-Time Compiler SVM_DESC= Support Vector Machine predictive analytics MATLAB_DESC= Matrix calculations using Matlab NETICA_DESC= Bayesian belief networks and influence diagrams ORACLE_DESC= Oracle RDMBS interface PARI_DESC= PARI Computer Algebra System PCRE_DESC= Perl-compatible regular expressions PGSQL_DESC= PostGreSQL RDMBS interface QUEENS_DESC= The Queens Function (a toy example) RAWSOCK_DESC= Low level socket interface THREADS_DESC= Multithreaded Support (Experimental) ZLIB_DESC= Compress vectors OPTIONS_RADIO= CLX OPTIONS_RADIO_CLX= CLX_MIT CLX_NEW CLX_DESC= X11 Module Selection OPTIONS_DEFAULT=BDB RAWSOCK ZLIB SUB_FILES= pkg-message .include # Segmentation fault in amd64 when using 'mmap(2)', errno = EINVAL. .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--disable-mmap .endif MODULES= ASDF BDB CLX_MIT CLX_NEW DBUS FASTCGI GDBM GLIBC GTK2 \ JITC MATLAB NETICA ORACLE PARI PCRE PGSQL QUEENS RAWSOCK \ SVM ZLIB .for mod in ${MODULES} . if ${PORT_OPTIONS:M${mod}} PLIST_SUB+= ${mod}="" . else PLIST_SUB+= ${mod}="@comment " . endif .endfor .if ${PORT_OPTIONS:MASDF} CONFIGURE_ARGS+=--with-module=asdf .endif .if ${PORT_OPTIONS:MBDB} USES+= bdb CONFIGURE_ARGS+=--with-module=berkeley-db CPPFLAGS+= -I${LOCALBASE}/include/db${BDB_VER} LDFLAGS+= -L${LOCALBASE}/lib/db${BDB_VER} .endif .if ${PORT_OPTIONS:MCLX_MIT} || ${PORT_OPTIONS:MCLX_NEW} USES+= xorg USE_XORG= x11 .endif .if ${PORT_OPTIONS:MCLX_MIT} CONFIGURE_ARGS+=--with-module=clx/mit-clx .endif .if ${PORT_OPTIONS:MCLX_NEW} CONFIGURE_ARGS+=--with-module=clx/new-clx .endif .if ${PORT_OPTIONS:MDBUS} LIB_DEPENDS+= libdbus-1.so:devel/dbus CONFIGURE_ARGS+=--with-module=dbus .endif .if ${PORT_OPTIONS:MFASTCGI} LIB_DEPENDS+= libfcgi.so:www/fcgi CONFIGURE_ARGS+=--with-module=fastcgi .endif .if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:databases/gdbm CONFIGURE_ARGS+=--with-module=gdbm .endif .if ${PORT_OPTIONS:MGLIBC} USE_LINUX= base CONFIGURE_ARGS+=--with-module=bindings/glibc .endif .if ${PORT_OPTIONS:MGTK2} USES+= gnome USE_GNOME= gtk20 libglade2 CONFIGURE_ARGS+=--with-module=gtk2 .endif .if ${PORT_OPTIONS:MJITC} BUILD_DEPENDS+= ${LOCALBASE}/include/lightning.h:devel/lightning LIB_DEPENDS+= liblightning.so:devel/lightning CONFIGURE_ARGS+=--with-jitc=lightning .endif .if ${PORT_OPTIONS:MMATLAB} CONFIGURE_ARGS+=--with-module=matlab .endif .if ${PORT_OPTIONS:MNETICA} CONFIGURE_ARGS+=--with-module=netica .endif .if ${PORT_OPTIONS:MORACLE} CONFIGURE_ARGS+=--with-module=oracle .endif .if ${PORT_OPTIONS:MPARI} LIB_DEPENDS+= libpari.so:math/pari CONFIGURE_ARGS+=--with-module=pari .endif .if ${PORT_OPTIONS:MPCRE} LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-module=pcre .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+=--with-module=postgresql .endif .if ${PORT_OPTIONS:MQUEENS} CONFIGURE_ARGS+=--with-module=queens .endif .if ${PORT_OPTIONS:MRAWSOCK} CONFIGURE_ARGS+=--with-module=rawsock .endif .if ${PORT_OPTIONS:MSVM} BUILD_DEPENDS+= ${LOCALBASE}/bin/svm-predict:science/libsvm CONFIGURE_ARGS+=--with-module=libsvm .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads=POSIX_THREADS \ LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}" PKGNAMESUFFIX= -threaded .endif .if ${PORT_OPTIONS:MZLIB} CONFIGURE_ARGS+=--with-module=zlib .endif post-patch: .if ${PORT_OPTIONS:MORACLE} @${REINPLACE_CMD} -e 's|-ldl||; s|-lpthread|-lcompat ${PTHREAD_LIBS}|' \ ${WRKSRC}/modules/oracle/link.sh.in .endif pre-install: .if ${PORT_OPTIONS:MCLX_MIT} ${CP} ${WRKSRC}/modules/clx/mit-clx/README.CLISP \ ${WRKSRC}/src/clx/mit-clx/README.CLISP .endif post-install: @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} .include diff --git a/mail/claws-mail-pdf_viewer/Makefile b/mail/claws-mail-pdf_viewer/Makefile index 23b92717b8b5..50b9ee0da111 100644 --- a/mail/claws-mail-pdf_viewer/Makefile +++ b/mail/claws-mail-pdf_viewer/Makefile @@ -1,13 +1,14 @@ PORTNAME= pdf_viewer +PORTREVISION= 1 COMMENT= PDF and PostScript viewer plugin for Claws Mail WWW= https://www.claws-mail.org/plugin.php?plugin=pdf_viewer LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib USES+= ghostscript CLAWS_PLUGINS_BUILD= ${PORTNAME} .include "../claws-mail/Makefile.claws" .include diff --git a/mail/courier/Makefile b/mail/courier/Makefile index e5988a573491..8b2f31d8ac4f 100644 --- a/mail/courier/Makefile +++ b/mail/courier/Makefile @@ -1,393 +1,394 @@ PORTNAME= courier PORTVERSION= 1.1.11 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= bsd@dino.sk COMMENT= Courier SMTP IMAP POP3 HTTP mail server suite WWW= https://www.Courier-MTA.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.GPL BUILD_DEPENDS= courierauthconfig:security/courier-authlib-base \ wget:ftp/wget LIB_DEPENDS= libidn.so:dns/libidn \ libpcre.so:devel/pcre \ libgdbm.so:databases/gdbm \ libcourier-unicode.so:devel/courier-unicode \ libpcre2-8.so:devel/pcre2 RUN_DEPENDS= courierauthconfig:security/courier-authlib-base \ ${LOCALBASE}/share/sysconftool/sysconftool:devel/sysconftool \ ${LOCALBASE}/etc/mime.types:misc/mime-support \ p5-Net-CIDR>=0:net-mgmt/p5-Net-CIDR \ ca_root_nss>=3.*:security/ca_root_nss \ ${LOCALBASE}/bin/wget:ftp/wget CONFLICTS= courier-imap-2.* couriermlm-0.* \ exim-4.* maildrop-1.* \ panda-imap-201* postfix-1.* postfix-2.* \ qmail-*-1.* qmail-1.* \ sendmail-*-8.* sendmail-8.* \ smail-3.* sqwebmail-3.* \ zmailer-2.* # # User-serviceable variables # # [ There's no need to add trailing ``/''s ] # # set IMAGEURL to where on the web server URL the images are found # set CACHEOWN to who you'd like to own the cache files # set MAILDROPDEFAULT to what you'd like the $DEFAULT in maildrop to be # recomended values are: /var/mail, ./Mailbox or ./Maildir # IMAGEURL?= /webmail CACHEOWN?= pop MAILDROPDEFAULT?=./Maildir # End of user-serviceable variables MAILOWN?= courier MAILGRP?= courier MAILUID?= 465 MAILGID?= 465 ETCDIR= ${PREFIX}/etc SYSCONFDIR= ${ETCDIR}/courier LIBEXECDIR= ${PREFIX}/libexec LOCALSTATEDIR= /var/spool/courier CACHEDIR= /var/spool/webmail CALENDIR= /var/spool/calendar MIMETYPES= ${LOCALBASE}/etc/mime.types WITH_TRANSPORT= local esmtp dsn USES= fam gettext gmake libtool perl5 pkgconfig tar:bzip2 ssl shebangfix USE_SUBMAKE= yes USE_RC_SUBR= courier SHEBANG_FILES= courier/filters/perlfilter/perlfilter-ratelimit.pl \ courier/filters/perlfilter/perlfilter-wrapper.pl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-root-check \ --with-db=gdbm \ --enable-syslog=1 --enable-use-flock \ --program-transform-name=s,^,, \ --enable-utf7-folder-encoding \ --enable-unicode \ --with-mailuser=${MAILOWN} \ --with-mailgroup=${MAILGRP} \ --with-mailuid=${MAILUID} \ --with-mailgid=${MAILGID} \ --with-etcdir=${ETCDIR} \ --sysconfdir=${SYSCONFDIR} \ --datadir=${DATADIR} \ --libexecdir=${LIBEXECDIR} \ --localstatedir=${LOCALSTATEDIR} \ --enable-mimetypes=${MIMETYPES} \ --enable-imageurl=${IMAGEURL} \ --with-cachedir=${CACHEDIR} \ --with-cacheowner=${CACHEOWN} \ --with-calendardir=${CALENDIR} \ --with-mydatadir=${SYSCONFDIR} \ --with-transport='${WITH_TRANSPORT}' \ --with-default-maildrop=${MAILDROPDEFAULT} \ --with-paranoid-smtpext \ --enable-workarounds-for-imap-client-bugs \ --with-notice=unicode CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip install-perms PLIST_SUB+= BINOWN="${BINOWN}" BINGRP="${BINGRP}" \ CACHEOWN="${CACHEOWN}" CACHEDIR="${CACHEDIR}" \ CALENDIR="${CALENDIR}" LOCALSTATEDIR="${LOCALSTATEDIR}" \ MAILOWN="${MAILOWN}" MAILGRP="${MAILGRP}" \ MAILUID="${MAILUID}" MAILGID="${MAILGID}" \ SHAREOWN="${SHAREOWN}" SHAREGRP="${SHAREGRP}" SUB_LIST:= ${PLIST_SUB} SUB_FILES+= pkg-message crontab sharedindexupdate OPTIONS_DEFINE= LDAP PROCMAIL SENDFAX UUCP IPV6 DOCS CERTSDIR OPTIONS_GROUP= WEBMAIL OPTIONS_GROUP_WEBMAIL= GNUPG WEBMAILRSENT WEBMAILFLAGS WEBMAILXFACE OPTIONS_RADIO= ALIASES SPELL OPTIONS_RADIO_ALIASES= SYSTEMALIASES EMPTYALIASES OPTIONS_RADIO_SPELL= ASPELL ISPELL OPTIONS_DEFAULT=WEBMAILRSENT SYSTEMALIASES LDAP_DESC= LDAP-based mail aliasing support GNUPG_DESC= GNU Privacy Guard support for WebMail ASPELL_DESC= ASpell support for WebMail ISPELL_DESC= ISpell support for WebMail PROCMAIL_DESC= Procmail local delivery support SENDFAX_DESC= mgetty+sendfax support UUCP_DESC= UUCP support CERTSDIR_DESC= separate .pem directory for certificates WEBMAILRSENT_DESC= enable Autorename Sent folder WEBMAILFLAGS_DESC= webmail show flags patch WEBMAILXFACE_DESC= experimental webmail X-Face patch SYSTEMALIASES_DESC= symlink system /etc/aliases EMPTYALIASES_DESC= create empty aliases file RCCONF_DESC= modify rc.conf to enable courier/disable sendmail MAILCONF_DESC= modify mailer.conf to use courier instead of sendmail PERIODIC_DESC= modify/create periodic.conf .include .include "${.CURDIR}/Makefile.doc" .if ${PORT_OPTIONS:MLDAP} USES+= ldap WITH_AUTH_LDAP= yes RUN_DEPENDS+= ${LOCALBASE}/lib/courier-authlib/libauthldap.so:net/courier-authlib-ldap CONFIGURE_ARGS+=--with-ldapaliasd PLIST_SUB+= WITHLDAP="" SUB_LIST+= WITHLDAP="" .else CONFIGURE_ARGS+=--without-ldapaliasd PLIST_SUB+= WITHLDAP="@comment " SUB_LIST+= WITHLDAP="@comment " .endif .if ${PORT_OPTIONS:MSYSTEMALIASES} PLIST_SUB+= WITHSYSTEMALIASES="" SUB_LIST+= WITHSYSTEMALIASES="" .else PLIST_SUB+= WITHSYSTEMALIASES="@comment " SUB_LIST+= WITHSYSTEMALIASES="@comment " .endif .if ${PORT_OPTIONS:MEMPTYALIASES} PLIST_SUB+= WITHEMPTYALIASES="" SUB_LIST+= WITHEMPTYALIASES="" .else PLIST_SUB+= WITHEMPTYALIASES="@comment " SUB_LIST+= WITHEMPTYALIASES="@comment " .endif .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) .include "${.CURDIR}/../../security/courier-authlib/Makefile.dep" .endif .if ${PORT_OPTIONS:MGNUPG} BUILD_DEPENDS+= gpg:security/gnupg RUN_DEPENDS+= gpg:security/gnupg .else # This is a hack! But works well (at least partially) for me... CONFIGURE_ENV+= GPG="${WRKSRC}/fakegpg" .endif .if ${PORT_OPTIONS:MASPELL} BUILD_DEPENDS+= aspell:textproc/aspell RUN_DEPENDS+= aspell:textproc/aspell CONFIGURE_ARGS+=--with-ispell=${LOCALBASE}/bin/aspell .elif ${PORT_OPTIONS:MISPELL} BUILD_DEPENDS+= ispell:textproc/aspell-ispell RUN_DEPENDS+= ispell:textproc/aspell-ispell CONFIGURE_ARGS+=--with-ispell=${LOCALBASE}/bin/ispell .else CONFIGURE_ARGS+=--without-ispell .endif .if ${PORT_OPTIONS:MPROCMAIL} BUILD_DEPENDS+= procmail:mail/procmail RUN_DEPENDS+= procmail:mail/procmail .endif .if ${PORT_OPTIONS:MSENDFAX} USES+= ghostscript SENDFAX_DEPENDS=sendfax:comms/mgetty+sendfax \ pnmscale:graphics/netpbm BUILD_DEPENDS+= ${SENDFAX_DEPENDS} RUN_DEPENDS+= ${SENDFAX_DEPENDS} WITH_TRANSPORT+=fax PLIST_SUB+= WITHFAX="" SUB_LIST+= WITHFAX="" .else PLIST_SUB+= WITHFAX="@comment " SUB_LIST+= WITHFAX="@comment " .endif .if ${PORT_OPTIONS:MUUCP} .if !exists(/usr/bin/uux) BUILD_DEPENDS+= uux:net/freebsd-uucp RUN_DEPENDS+= uux:net/freebsd-uucp .endif WITH_TRANSPORT+=uucp PLIST_SUB+= WITHUUCP="" .else PLIST_SUB+= WITHUUCP="@comment " .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--with-ipv6 .else CONFIGURE_ARGS+=--without-ipv6 .endif .if ${PORT_OPTIONS:MWEBMAILXFACE} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libs__sqwebmail__msg2html.c .endif .if ${PORT_OPTIONS:MWEBMAILFLAGS} EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libs__sqwebmail__folder.c ${FILESDIR}/extra-patch-libs__sqwebmail__maildir.c EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libs__sqwebmail__maildir.h ${FILESDIR}/extra-patch-libs__sqwebmail__images__sqwebmail.css .endif .if ${PORT_OPTIONS:MWEBMAILRSENT} CONFIGURE_ARGS+=--enable-autorenamesent .else CONFIGURE_ARGS+=--disable-autorenamesent .endif .if ${PORT_OPTIONS:MMAILCONF} SUB_LIST+= MAILCONF="y" .else SUB_LIST+= MAILCONF="n" .endif .if ${PORT_OPTIONS:MRCCONF} SUB_LIST+= RCCONF="y" .else SUB_LIST+= RCCONF="n" .endif .if ${PORT_OPTIONS:MPERIODIC} SUB_LIST+= PERIODIC="y" .else SUB_LIST+= PERIODIC="n" .endif .if ${PORT_OPTIONS:MCERTSDIR} CONFIGURE_ARGS+=--with-certsdir=${SYSCONFDIR}/.pem PLIST_SUB+= WITHCERTSDIR="" SUB_LIST+= CERTSDIR="${SYSCONFDIR}/.pem" .else CONFIGURE_ARGS+=--with-certsdir=${SYSCONFDIR} PLIST_SUB+= WITHCERTSDIR="@comment " SUB_LIST+= CERTSDIR="${SYSCONFDIR}" .endif _CNFFILES= esmtpd.cnf \ imapd.cnf \ pop3d.cnf _DISTEXFILES= courierd.dist \ esmtpd-msa.dist \ esmtpd-ssl.dist \ esmtpd.dist \ faxcoverpage.tr.dist \ faxnotifyrc.dist \ faxrc.dist \ imapd-ssl.dist \ imapd.dist \ ldapaddressbook.dist \ ldapaliasrc.dist \ pop3d-ssl.dist \ pop3d.dist \ sqwebmaild.dist \ webmlmrc.dist pre-everything:: @${ECHO_MSG} "===> --------------------------------------------------------" @${ECHO_MSG} "===> Run 'make config' to (re)configure ${PKGNAME}" @${ECHO_MSG} "===> --------------------------------------------------------" pre-patch: ${CP} ${TEMPLATES}/config.guess ${TEMPLATES}/config.sub ${WRKSRC} post-patch: ${REINPLACE_CMD} -i '' -e 's|#! perl|#!${PERL}|g' \ ${WRKSRC}/webadmin/*.pl \ ${WRKSRC}/webadmin/*.pl.in \ ${WRKSRC}/courier/webadmin/*.pl \ ${WRKSRC}/courier/webadmin/*.pl.in ${REINPLACE_CMD} -e 's|^PROG=\./|PROG=exec ./|g' \ ${WRKSRC}/courier/module.*/courier.config ${REINPLACE_CMD} -e 's|@mydatadir@|@sysconfdir@|g' \ ${WRKSRC}/*/*/mk*cert.* ${REINPLACE_CMD} -e 's|^\(TLS_CERTFILE=\)@mydatadir@|\1@sysconfdir@|g' \ ${WRKSRC}/*/*.dist.in \ ${WRKSRC}/*/*/*.dist.in ${REINPLACE_CMD} -e 's|^\(TLS_DHPARAMS=\)@mydatadir@|\1@sysconfdir@|g' \ ${WRKSRC}/*/*.dist.in \ ${WRKSRC}/*/*/*.dist.in ${REINPLACE_CMD} -e 's|^\(RANDFILE[[:space:]]*=[[:space:]]*\)@mydatadir@|\1@sysconfdir@|g' \ ${WRKSRC}/*/*/*.cnf.openssl.in ${REINPLACE_CMD} -e 's|$$(INSTALL_DATA) \(.$$$$file.\)|${INSTALL_MAN} \1|' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/*/Makefile.in \ ${WRKSRC}/*/*/Makefile.in \ ${WRKSRC}/*/*/*/Makefile.in ${REINPLACE_CMD} -e 's|^\(INSTALL_STRIP_PROGRAM=\).*$$|\1"${INSTALL_PROGRAM} -s"|' \ -e 's|; ldapaliasd="yes"||' \ ${WRKSRC}/configure \ ${WRKSRC}/*/configure \ ${WRKSRC}/*/*/configure \ ${WRKSRC}/*/*/*/configure ${REINPLACE_CMD} -E -e 's/(root|bin)[[:space:]]*bin/root wheel/g' \ ${WRKSRC}/courier/perms.sh.in ${REINPLACE_CMD} '/^courieresmtp_LDADD =/s/$$/ -lcourierauth/' \ ${WRKSRC}/courier/module.esmtp/Makefile.in # Avoid conflict with C++20 by adding .txt suffix ${REINPLACE_CMD} -i .c++20 's/>version$$/&.txt/' ${WRKSRC}/configure ${FIND} ${WRKSRC} -name configure -exec ${REINPLACE_CMD} \ -i .c++20 '/^version.*cat/s,/version,&.txt,' {} + pre-configure: # This is a hack! But works well (at least partially) for me... touch ${WRKSRC}/fakegpg chmod +x ${WRKSRC}/fakegpg post-build: ${PERL} -pi -e 's|^(auth)\s+(required).*|$$1\t\t$$2\tpam_unix.so\ttry_first_pass|g;' \ -e 's|^(account)\s+(required).*|$$1 \t$$2\tpam_unix.so|g;' \ -e 's|^(session)\s+(required).*|$$1 \t$$2\tpam_permit.so|g;' \ ${WRKSRC}/*/*.authpam* \ ${WRKSRC}/*/*/*.authpam* ${INSTALL} -lrs ${WRKSRC}/libs/gpglib/README.html ${WRKSRC}/libs/gpglib/README.gpglib.html ${INSTALL} -lrs ${WRKSRC}/libs/imap/BUGS ${WRKSRC}/libs/imap/BUGS.imap ${INSTALL} -lrs ${WRKSRC}/libs/imap/BUGS.html ${WRKSRC}/libs/imap/BUGS.imap.html ${INSTALL} -lrs ${WRKSRC}/libs/imap/README.proxy ${WRKSRC}/libs/imap/README.imap.proxy ${INSTALL} -lrs ${WRKSRC}/libs/imap/README.proxy.html ${WRKSRC}/libs/imap/README.imap.proxy.html ${INSTALL} -lrs ${WRKSRC}/libs/maildrop/README.html ${WRKSRC}/libs/maildrop/README.maildrop.html ${INSTALL} -lrs ${WRKSRC}/libs/pcp/README.html ${WRKSRC}/libs/pcp/README.pcp.html ${INSTALL} -lrs ${WRKSRC}/libs/sqwebmail/BUGS ${WRKSRC}/libs/sqwebmail/BUGS.sqwebmail ${INSTALL} -lrs ${WRKSRC}/libs/sqwebmail/BUGS.html ${WRKSRC}/libs/sqwebmail/BUGS.sqwebmail.html ${INSTALL} -lrs ${WRKSRC}/libs/sqwebmail/SECURITY ${WRKSRC}/libs/sqwebmail/SECURITY.sqwebmail ${INSTALL} -lrs ${WRKSRC}/libs/sqwebmail/SECURITY.html ${WRKSRC}/libs/sqwebmail/SECURITY.sqwebmail.html post-install: .for _cfgfile in ${_CNFFILES} -${MV} ${STAGEDIR}${SYSCONFDIR}/${_cfgfile} ${STAGEDIR}${SYSCONFDIR}/${_cfgfile:S/.cnf/.cnf.sample/g} .endfor .for _cfgfile in ${_DISTEXFILES} -${MV} ${STAGEDIR}${SYSCONFDIR}/${_cfgfile} ${STAGEDIR}${SYSCONFDIR}/${_cfgfile:S/.dist/.sample/g} .endfor ${INSTALL} -lrs ${STAGEDIR}${SYSCONFDIR}/maildrop ${STAGEDIR}${SYSCONFDIR}/maildropfilter ${INSTALL_DATA} /dev/null ${STAGEDIR}${SYSCONFDIR}/locallowercase ${INSTALL_DATA} ${WRKDIR}/crontab ${STAGEDIR}${SYSCONFDIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/sharedindexupdate ${STAGEDIR}${DATADIR}/ .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .for f in ${HTMLDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/html .endfor ${INSTALL_DATA} ${STAGEDIR}${DATADIR}/htmldoc/* ${STAGEDIR}${DOCSDIR}/html .endif .if ${PORT_OPTIONS:MCERTSDIR} ${MKDIR} ${STAGEDIR}${SYSCONFDIR}/.pem .endif ${RM} -r ${STAGEDIR}${DATADIR}/htmldoc ${CHMOD} -R a+r ${STAGEDIR}${DATADIR}/courierwebadmin ${CHMOD} -R a-w ${STAGEDIR}${DATADIR} ${STAGEDIR}${LIBEXECDIR}/courier ${CHMOD} 550 ${STAGEDIR}${LIBEXECDIR}/courier/modules/esmtp/courieresmtp* .include diff --git a/math/R/Makefile b/math/R/Makefile index 4910037728f1..eb3742332a41 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -1,144 +1,144 @@ PORTNAME= R DISTVERSION= 4.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math lang MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||} MAINTAINER= jrm@FreeBSD.org COMMENT= Language for statistical computing and graphics WWW= https://www.R-project.org/ LICENSE= GPLv2 ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= texi2any:print/texinfo LIB_DEPENDS= libcurl.so:ftp/curl \ libpcre2-8.so:devel/pcre2 # R packages may require GNU make or cmake to build RUN_DEPENDS= cmake:devel/cmake-core \ gmake:devel/gmake # possible TODO # - Use --with-recommended-packages=no by default # - Add an option for recommended packages # - Create ports for each of the recommended packages # - Create a meta-port for the recommended packages USES= compiler:c++11-lang cpe fortran gmake iconv libtool localbase \ pathfix perl5 readline CPE_VENDOR= r-project USE_LDCONFIG= ${PREFIX}/lib/R/lib USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-java \ --enable-R-shlib \ --with-readline \ rdocdir=${DOCSDIR} INSTALL_TARGET= install-strip PLIST_SUB= FULLVER=${DISTVERSION} \ MAJORVER=${_MAJORVER} OPTIONS_DEFINE= ICU INFO LDOUBLE LETTER MEMPROF NLS OPENMP RPROF X11 OPTIONS_DEFAULT= CAIROPANGO GHOSTSCRIPT ICU INFO JPEG LDOUBLE OPENMP PNG \ RBLAS RPROF TCLTK TIFF X11 OPTIONS_GROUP= NEEDX11 OPTIONS_GROUP_NEEDX11= CAIROPANGO GHOSTSCRIPT JPEG PNG TCLTK TEXDOCS TIFF OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS NETLIB OPENBLAS RBLAS OPTIONS_SUB= YES CAIROPANGO_DESC= Cairo graphics device and Pango multi-language text GHOSTSCRIPT_DESC= Graphics device for bitmap files via Ghostscript JPEG_DESC= JPEG graphics device LDOUBLE_DESC= Long double data type LETTER_DESC= US letter paper MEMPROF_DESC= Memory profiling via Rprofmem() and tracemem() NEEDX11_DESC= Require X11 NETLIB_DESC= Netlib BLAS implementation PNG_DESC= PNG graphics device RBLAS_DESC= Use R-bundled BLAS implementation RPROF_DESC= R profiling via Rprof() TEXDOCS_DESC= Build/Install TeX-dependent documentation files X11_DESC= X11 graphics device ATLAS_USES= blaslapack:atlas ATLAS_CONFIGURE_ON= --disable-BLAS-shlib CAIROPANGO_IMPLIES= X11 CAIROPANGO_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz CAIROPANGO_USES= gettext gnome jpeg pkgconfig CAIROPANGO_USE= GNOME=cairo,pango CAIROPANGO_CONFIGURE_WITH= cairo GHOSTSCRIPT_IMPLIES= X11 GHOSTSCRIPT_USES= ghostscript ICU_LIB_DEPENDS= libicui18n.so:devel/icu ICU_CONFIGURE_WITH= ICU INFO_INSTALL_TARGET= install-info INFO_INFO= R-admin R-data R-exts R-FAQ R-intro R-ints \ R-lang JPEG_IMPLIES= X11 JPEG_USES= jpeg pkgconfig JPEG_CONFIGURE_WITH= jpeglib JPEG_CONFIGURE_ENV= r_cv_header_jpeglib_h=yes LDOUBLE_CONFIGURE_ENABLE= long-double LETTER_CONFIGURE_ENV= R_PAPERSIZE=letter MEMPROF_CONFIGURE_ENABLE= memory-profiling NETLIB_USES= blaslapack:netlib NETLIB_CONFIGURE_ON= --disable-BLAS-shlib NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls OPENBLAS_USES= blaslapack:openblas OPENBLAS_CONFIGURE_ON= --disable-BLAS-shlib OPENMP_CONFIGURE_ENABLE= openmp PNG_IMPLIES= X11 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= libpng RBLAS_CONFIGURE_ON= --enable-BLAS-shlib \ --without-blas \ --without-lapack RBLAS_CONFIGURE_OFF= --with-blas="-L${LOCALBASE}/lib ${BLASLIB}" \ --with-lapack="${LAPACKLIB}" RBLAS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_extra_blas_Makefile.in \ ${PATCHDIR}/extra-patch-src_modules_lapack_Makefile.in RPROF_CONFIGURE_ENABLE= R-profiling TCLTK_IMPLIES= X11 TCLTK_USES= tcl tk TCLTK_CONFIGURE_WITH= tcltk tcl_config=${TCL_LIBDIR}/tclConfig.sh \ tk_config=${TK_LIBDIR}/tkConfig.sh TEXDOCS_USES= tex TEXDOCS_USE= TEX=dvipsk:build,kpathsea:build,pdftex:build .for i in KPSEWHICH MAKEINDEX PDFLATEX PDFTEX TEX TEXI2DVI TEXDOCS_CONFIGURE_ENV_OFF+= ac_cv_path_${i}="" .endfor TEXDOCS_INSTALL_TARGET= install-pdf TIFF_IMPLIES= X11 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= libtiff X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext,xmu,xscrnsaver,xt X11_CONFIGURE_WITH= x _MAJORVER= ${DISTVERSION:R:R} .include post-patch: @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/configure @${REINPLACE_CMD} \ -e "s|%%FULLVER%%|${DISTVERSION}|" \ -e "s|%%MAJORVER%%|${_MAJORVER}|" \ ${WRKSRC}/src/main/Makefile.in \ ${WRKSRC}/src/extra/blas/Makefile.in \ ${WRKSRC}/src/modules/lapack/Makefile.in post-install-RBLAS-on: @${REINPLACE_CMD} -e "s| -lR| -lR -lRblas|" \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libR.pc post-install-RBLAS-off: @${REINPLACE_CMD} -e "s| -lR| -lR ${BLASLIB}|" \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libR.pc .include diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index 645ab4242da4..9993a6431758 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -1,102 +1,102 @@ PORTNAME= asymptote PORTVERSION= 2.81 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src PATCH_SITES= https://github.com/vectorgraphics/asymptote/commit/ PATCHFILES+= fa28442195bd99b9bac87e3ff752953ac57ee172.patch:-p1 # backport fix for https://github.com/vectorgraphics/asymptote/issues/328 MAINTAINER= nivit@FreeBSD.org COMMENT= Powerful script-based vector graphics language WWW= https://asymptote.sourceforge.io/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual ONLY_FOR_ARCHS= amd64 i386 BROKEN_FreeBSD_12_i386= ./base/plain_filldraw.asy: 21.5: runtime: gmake[2]: *** [Makefile:42: makepen.pdf] Floating point exception (core dumped) LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libcurl.so:ftp/curl \ libsigsegv.so:devel/libsigsegv RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cson>=0.8:devel/py-cson@${PY_FLAVOR} \ ${PY_PILLOW} USES= compiler:c++14-lang gettext-runtime ghostscript gl gmake gnome ncurses perl5 python \ pyqt:5 shebangfix tar:tgz tex SHEBANG_FILES= GUI/*.py USE_GL= gl glu glut USE_GNOME= librsvg2:run USE_PERL5= build USE_TEX= dvipsk formats USE_PYQT= pyqt5:run CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-lsp # disable the module with Boost-related errors MAKE_ENV= ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR} MAKE_JOBS_UNSAFE= yes # see https://github.com/vectorgraphics/asymptote/issues/331 ALL_TARGET= asy asy-keywords.el INSTALL_TARGET= install-asy SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE OPTIONS_DEFINE= BDWGC DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE BDWGC_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded BDWGC_DESC= Enable Boehm-Demers-Weiser garbage collector BDWGC_CONFIGURE_ENABLE= gc=${LOCALBASE} DOCS_ALL_TARGET= html DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo DOCS_CONFIGURE_WITH= docdir=${DOCSDIR} DOCS_INSTALL_TARGET= install-html FFTW_CONFIGURE_ENABLE= fftw FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GSL_CONFIGURE_ENABLE= gsl GSL_DESC= Enable GNU Scientific library GSL_LIB_DEPENDS= libgsl.so:math/gsl MANPAGES_ALL_TARGET= man MANPAGES_BUILD_DEPENDS= texi2dvi:print/texinfo MANPAGES_INFO= asy-faq OFFSCREEN_CONFIGURE_ENABLE= offscreen OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library OFFSCREEN_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa READLINE_CONFIGURE_ENABLE= readline READLINE_USES= readline TEST_TARGET= test TEST_WRKSRC= ${WRKSRC}/tests PORTEXAMPLES= * .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) USES+= llvm:max=15 .endif post-patch: @${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure @${REINPLACE_CMD} 's,makeinfo,${LOCALBASE}/bin/makeinfo,' \ ${WRKSRC}/doc/png/Makefile.in # Fix the python interpreter in the generated file share/asymptote/GUI/xasyVersion.py: @${REINPLACE_CMD} 's,/usr/bin/env python3,${PYTHON_CMD},' ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy .include diff --git a/math/linbox/Makefile b/math/linbox/Makefile index 3297d7b81354..e1c1f52f8fd2 100644 --- a/math/linbox/Makefile +++ b/math/linbox/Makefile @@ -1,74 +1,75 @@ PORTNAME= linbox PORTVERSION= 1.7.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= C++ library for exact, high-performance linear algebra WWW= https://linalg.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual # See https://github.com/linbox-team/givaro/issues/225 # and https://github.com/linbox-team/linbox/issues/306 BROKEN_FreeBSD_14= fails to compile with clang 16 BUILD_DEPENDS= fflas-ffpack-config:math/fflas-ffpack LIB_DEPENDS= libgmp.so:math/gmp \ libgivaro.so:math/givaro RUN_DEPENDS= bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= linbox-team USES= autoreconf blaslapack:openblas compiler:c++11-lang gmake \ libtool localbase pkgconfig shebangfix SHEBANG_FILES= benchmarks/perfpublisher.sh linbox-auto-install.sh \ linbox-config.in tests/jenkins-maker.sh \ tests/perfpublisher.sh tests/test_leak.sh USE_CXXSTD= c++14 OPTIONS_DEFINE= DOXYGEN OPTIONS_RADIO= SIZE OPTIONS_RADIO_SIZE= FULL MIN OPTIONS_DEFAULT= FULL OPTIONS_SUB= yes MIN_DESC= Lightweight package, with less dependencies MIN_CONFIGURE_ON= --without-saclib --without-ocl FULL_DESC= Complete package with all its dependencies FULL_BUILD_DEPENDS= gnuplot:math/gnuplot FULL_LIB_DEPENDS= libflint.so:math/flint2 \ libfplll.so:math/fplll \ libiml.so:math/iml \ libmpfr.so:math/mpfr \ libntl.so:math/ntl \ libOpenCL.so:devel/ocl-icd \ libtinyxml2.so:textproc/tinyxml2 FULL_RUN_DEPENDS= gnuplot:math/gnuplot FULL_USES= ghostscript FULL_CONFIGURE_WITH= flint fplll ghostscript gnuplot iml mpfr ntl ocl DOXYGEN_VARS= BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed DOXYGEN_CONFIGURE_ENABLE=doc DOXYGEN_CONFIGURE_WITH= docdir=${DOCSDIR} DOXYGEN_BUILD_DEPENDS= gsed:textproc/gsed \ dot:graphics/graphviz \ doxygen:devel/doxygen GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check .if defined(PACKAGE_BUILDING) CONFIGURE_ARGS+=--disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 \ --disable-sse41 --disable-sse42 --disable-fma --disable-fma4 \ --disable-avx --disable-avx2 .endif .include diff --git a/math/plplot/Makefile b/math/plplot/Makefile index 3162a1fff92c..2fe384daa10e 100644 --- a/math/plplot/Makefile +++ b/math/plplot/Makefile @@ -1,129 +1,129 @@ PORTNAME= plplot DISTVERSION= 5.15.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math science MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source MAINTAINER= ports@FreeBSD.org COMMENT= Scientific plotting package WWW= https://plplot.sourceforge.net/ LICENSE= LGPL21+ BUILD_DEPENDS= bash:shells/bash \ ${FREEFONT_DIR}/FreeMono.ttf:x11-fonts/freefont-ttf LIB_DEPENDS= libLASi.so:devel/lasi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl RUN_DEPENDS= bash:shells/bash \ ${FREEFONT_DIR}/FreeMono.ttf:x11-fonts/freefont-ttf USES= compiler:c11 cmake gettext-runtime ghostscript gnome \ localbase perl5 pathfix pkgconfig shebangfix USE_GNOME= cairo pango USE_PERL5= build SHEBANG_FILES= ${WRKSRC}/examples/python/* \ ${WRKSRC}/examples/tcl/* \ ${WRKSRC}/examples/tk/* SHEBANG_LANG= sh xtk01 xtk02 xtk04 sh_OLD_CMD= @SH_EXECUTABLE@ sh_CMD= ${SH} xtk01_OLD_CMD= @xtk01_LOCATION@ xtk01_CMD= ${DATADIR}/examples/tk/xtk01 xtk02_OLD_CMD= @xtk02_LOCATION@ xtk02_CMD= ${DATADIR}/examples/tk/xtk02 xtk04_OLD_CMD= @xtk04_LOCATION@ xtk04_CMD= ${DATADIR}/examples/tk/xtk04 CMAKE_ARGS= -DENABLE_java:BOOL=OFF \ -DENABLE_octave:BOOL=OFF \ -DENABLE_pdl:BOOL=OFF \ -DENABLE_ada:BOOL=OFF \ -DENABLE_d:BOOL=OFF \ -DENABLE_ocaml:BOOL=OFF \ -DENABLE_python:BOOL=OFF \ -DENABLE_pyqt4:BOOL=OFF \ -DPL_FREETYPE_FONT_PATH:PATH="${FREEFONT_DIR}" \ -DCMAKE_INSTALL_PKG_CONFIG_DIR:PATH="${PREFIX}/libdata/pkgconfig" \ -DPLD_plmeta:BOOL=OFF CFLAGS+= -D_IS_BUILDING_PLPLOT_PORT_ -DSHAPELIB_INCLUDE_DIR=/nonexistent USE_LDCONFIG= yes CMAKE_OFF= DEFAULT_NO_QT_DEVICES LDFLAGS+= -pthread DATADIR= ${PREFIX}/share/${PORTNAME}${PORTVERSION} PLIST_SUB= PLPLOT_VERSION=${PORTVERSION} FREEFONT_DIR= ${LOCALBASE}/share/fonts/freefont-ttf OPTIONS_DEFINE= DOCS FORTRAN GD LUA QHULL2020 QT5 TCLTK THREADS WXGTK X11 OPTIONS_DEFAULT= QHULL2020 THREADS WXGTK X11 OPTIONS_SUB= yes FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= ENABLE_fortran FORTRAN_CONFIGURE_ENV= CMAKE_Fortran_COMPILER="${FC}" GD_LIB_DEPENDS= libgd.so:graphics/gd \ libpng.so:graphics/png GD_USES= jpeg GD_CMAKE_BOOL= PLD_png LUA_USES= lua LUA_BUILD_DEPENDS= swig:devel/swig LUA_CMAKE_BOOL= ENABLE_lua LUA_CMAKE_ON= -DLUA_EXECUTABLE:FILEPATH="${LUA_CMD}" QHULL2020_DESC= Latest Qhull support QHULL2020_LIB_DEPENDS= libqhull_r.so:math/qhull QHULL2020_CMAKE_BOOL= PL_HAVE_QHULL HAS_LIBQHULL_INCLUDE QHULL2020_CMAKE_ON= -DQHULL_RPATH=:FILEPATH="${LOCALBASE}/lib/libqhull_r.so" TCLTK_LIB_DEPENDS= libitk.so:x11-toolkits/itk TCLTK_RUN_DEPENDS= iwidgets>0:x11-toolkits/iwidgets TCLTK_USES= tk TCLTK_CMAKE_BOOL= ENABLE_itcl ENABLE_itk ENABLE_tcl ENABLE_tk TCLTK_IMPLIES= X11 ITCL_VER= 3.4.1 ITK_VER= 3.3 IWIDGETS_VER= 4.0.1 TCLTK_CMAKE_ON= -DPLPLOT_TK_VERSION:STRING="${TK_VER}" \ -DPLPLOT_ITCL_VERSION:STRING="${ITCL_VER}" \ -DPLPLOT_ITK_VERSION:STRING="${ITK_VER}" \ -DIWIDGETS_VERSIONS_LIST:STRING="${IWIDGETS_VER};${ITK_VER};${ITCL_VER}" \ -DTCL_TCLSH:FILEPATH="${TCLSH}" \ -DTCL_INCLUDE_PATH:PATH="${TCL_INCLUDEDIR}" \ -DITCL_INCLUDE_PATH:PATH="${LOCALBASE}/include/itcl${ITCL_VER}" \ -DITCL_LIBRARY:FILEPATH="${LOCALBASE}/lib/libitcl.so" \ -DTK_INCLUDE_PATH:PATH="${TK_INCLUDEDIR}" \ -DITK_INCLUDE_PATH:PATH="${LOCALBASE}/include/itk${ITK_VER}" \ -DITK_LIBRARY:FILEPATH="${LOCALBASE}/lib/libitk.so" THREADS_CMAKE_BOOL= THREADS_HAVE_PTHREAD_ARG QT5_USES= qt:5 QT5_USE= QT=core,gui,printsupport,svg,xml,widgets,buildtools:build,qmake:build QT5_CMAKE_BOOL= ENABLE_qt WXGTK_LIB_DEPENDS= libagg.so:graphics/agg WXGTK_USE= WX=3.0+ WXGTK_CMAKE_BOOL= ENABLE_wxwidgets WXGTK_CMAKE_ON= -DwxWidgets_CONFIG_EXECUTABLE:FILEPATH="${WX_CONFIG}" X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext X11_CMAKE_BOOL= PLD_xcairo PLD_xwin pre-configure: ${REINPLACE_CMD} -e \ 's|dl dlopen|c dlopen|' \ ${WRKSRC}/cmake/modules/FindLTDL.cmake ${GREP} -lR "/usr/local" ${WRKSRC}/cmake/modules | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${REINPLACE_CMD} -e \ 's|shapefil.h|do_not_want_shapefil.h|' \ ${WRKSRC}/cmake/modules/FindShapelib.cmake .include diff --git a/misc/pspresent/Makefile b/misc/pspresent/Makefile index f916a587ea06..4c4b3512cb29 100644 --- a/misc/pspresent/Makefile +++ b/misc/pspresent/Makefile @@ -1,27 +1,27 @@ PORTNAME= pspresent PORTVERSION= 1.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= misc MASTER_SITES= http://www.zmatt.net/pspresent/ MAINTAINER= ports@FreeBSD.org COMMENT= Full-screen slide shows of postscript files WWW= http://www.zmatt.net/pspresent/ LICENSE= GPLv2 USES= ghostscript:x11,run xorg USE_XORG= x11 xext xinerama MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}" ALL_TARGET= pspresent PLIST_FILES= bin/pspresent man/man1/pspresent.1.gz CFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBXINERAMA LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXext -lXinerama do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pspresent ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pspresent.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile index e83e4be9e583..45d8426083df 100644 --- a/multimedia/lives/Makefile +++ b/multimedia/lives/Makefile @@ -1,165 +1,165 @@ PORTNAME= lives DISTVERSION= 3.2.0 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= multimedia MASTER_SITES= http://lives-video.com/releases/ DISTNAME= LiVES-${PORTVERSION} MAINTAINER= vvd@FreeBSD.org COMMENT= Video editing system WWW= http://lives-video.com/ LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPL BROKEN= fails to build with FFmpeg 6 BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ analyseplugin:audio/ladspa LIB_DEPENDS= liboil-0.3.so:devel/liboil \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libmjpegutils.so:multimedia/mjpegtools RUN_DEPENDS= analyseplugin:audio/ladspa \ ffprobe:multimedia/ffmpeg \ sox:audio/sox WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= autoreconf compiler:c++11-lib gettext-runtime gettext-tools \ gl gnome libtool localbase pathfix perl5 pkgconfig python \ sdl shebangfix xorg SHEBANG_FILES= build-lives-rfx-plugin build-lives-rfx-plugin-multi smogrify \ tools/autolives.pl lives-plugins/plugins/encoders/*_encoder \ lives-plugins/marcos-encoders/*encoder* \ lives-plugins/plugins/encoders/multi_encoder3 \ lives-plugins/plugins/playback/audiostream/audiostreamer.pl GNU_CONFIGURE= yes USE_XORG= x11 xrender USE_GL= gl glu USE_SDL= sdl sdl2 USE_GNOME= cairo gdkpixbuf2 gtk30 intltool USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-ldvgrab --disable-prctl --disable-system-weed --disable-dirac INSTALL_TARGET= install-strip DOC_FILES= AUTHORS COPYING COPYING.LGPL ChangeLog FEATURES GETTING.STARTED NEWS README \ OMC/lives-OMC.txt RFX/LiVES-Perl.odt RFX/rfxbuilder.odt \ RFX/RFX.spec docs/c++-bindings.odt docs/clip_format.txt \ lives-plugins/marcos-encoders/README.multi_encoder \ weed-docs/weedspec.txt weed-docs/weedevents.txt OPTIONS_DEFINE= ALSA DOCS DOXYGEN DV FFTW FREI0R JACK IMAGEMAGICK LIBEXPLAIN \ LIBVISUAL OGG OPENCV OPTIMIZED_CFLAGS NLS PROJECTM PULSEAUDIO \ THEORA V4L WAYLAND OPTIONS_GROUP= RUNTIME EXT_WIN_CAPTURE MPLAYERS MP3 OPTIONS_GROUP_RUNTIME= CDDA2WAV GHOSTSCRIPT LAME MATROSKA MENCODER OGG123 OGM \ SSWF X264 XDG_SCREENSAVER XWININFO YTDLP OPTIONS_GROUP_EXT_WIN_CAPTURE= WMCTRL XDOTOOL OPTIONS_GROUP_MP3= MPG123 MPG321 OPTIONS_GROUP_MPLAYERS= MPLAYER MPV OPTIONS_DEFAULT= CDDA2WAV DOCS DV FFTW GHOSTSCRIPT IMAGEMAGICK JACK LAME \ MPG123 MPLAYER NLS OGG OGG123 OGM OPENCV \ THEORA X264 XDG_SCREENSAVER XDOTOOL XWININFO YTDLP OPTIONS_SUB= yes ALSA_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --disable-doxygen DV_CONFIGURE_OFF= --disable-libdv DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_RUN_DEPENDS= encodedv:multimedia/libdv EXT_WIN_CAPTURE_DESC= Allows external window capture via xdotool or wmctrl FFTW_CONFIGURE_OFF= --disable-fftw3f FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FREI0R_BUILD_DEPENDS= frei0r>0:graphics/frei0r FREI0R_CONFIGURE_OFF= --disable-frei0r FREI0R_RUN_DEPENDS= frei0r>0:graphics/frei0r GHOSTSCRIPT_USES= ghostscript:run IMAGEMAGICK_USES= magick:run JACK_CONFIGURE_OFF= --disable-jack JACK_LIB_DEPENDS= libjack.so:audio/jack \ libjackserver.so:audio/jack LAME_RUN_DEPENDS= lame:audio/lame LIBEXPLAIN_CONFIGURE_OFF= --disable-libexplain LIBEXPLAIN_DESC= Used to explain Unix and Linux system call errors LIBEXPLAIN_LIB_DEPENDS= libexplain.so:devel/libexplain LIBVISUAL_CONFIGURE_OFF= --disable-libvisual LIBVISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 MATROSKA_RUN_DEPENDS= mkvmerge:multimedia/mkvtoolnix MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder MENCODER_DESC= Use mencoder as video file and movie encoder MP3_DESC= Runtime check order is: mpg321, mpg123, mplayer, mplayer2, mpv MPG123_RUN_DEPENDS= mpg123:audio/mpg123 MPG321_DESC= MP3 decoding support via mpg321 MPG321_RUN_DEPENDS= mpg321:audio/mpg321 MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPLAYERS_DESC= Install mplayer/mpv (runtime check) MPV_DESC= MPV media player support MPV_RUN_DEPENDS= mpv:multimedia/mpv NLS_USES= gettext-tools OGG_CONFIGURE_OFF= --disable-ogg OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG123_DESC= Use ogg123 from vorbis-tools OGG123_RUN_DEPENDS= ogg123:audio/vorbis-tools OGM_DESC= Use ogmtools for manipulating with OGM files OGM_RUN_DEPENDS= ogmmerge:multimedia/ogmtools OPENCV_CONFIGURE_OFF= --disable-opencv OPENCV_LIB_DEPENDS= libopencv_calib3d.so:graphics/opencv \ libopencv_core.so:graphics/opencv SSWF_DESC= Use sswf for manipulating with Flash movies SSWF_RUN_DEPENDS= sswf:graphics/sswf THEORA_CONFIGURE_OFF= --disable-theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora OPTIMIZED_CFLAGS_CONFIGURE_ON= --enable-turbo PROJECTM_CONFIGURE_OFF= --disable-projectM PROJECTM_DESC= projectM support PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio RUNTIME_DESC= Runtime detected utilities V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CONFIGURE_OFF= --disable-v4l V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l WAYLAND_CONFIGURE_OFF= --disable-wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WMCTRL_DESC= Install wmctrl WMCTRL_RUN_DEPENDS= wmctrl:x11/wmctrl YTDLP_DESC= Install yt-dlp (youtube-dl fork) - requires SYMLINK option YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp X264_RUN_DEPENDS= x264:multimedia/x264 XDG_SCREENSAVER_DESC= Used to disable screensaver during playback XDG_SCREENSAVER_RUN_DEPENDS= xdg-screensaver:devel/xdg-utils XDOTOOL_DESC= Install xdotool XDOTOOL_RUN_DEPENDS= xdotool:x11/xdotool XWININFO_DESC= Used for external window capture XWININFO_RUN_DEPENDS= xwininfo:x11/xwininfo post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ 's/^LIBS = $$/&@LIBS@/' @${REINPLACE_CMD} -e 's|/usr/local/lib/|${LOCALBASE}/lib/|g' \ ${WRKSRC}/lives-plugins/weed-plugins/frei0r.c @${REINPLACE_CMD} 's|/usr/bin/perl|${perl_CMD}|' \ ${WRKSRC}/build-lives-rfx-plugin pre-build-NLS-on: @(cd ${WRKSRC}/po && ${DO_MAKE_BUILD} update-po) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR_REL}/html \ -not -type d >> ${TMPPLIST}) .include diff --git a/print/auctex/Makefile b/print/auctex/Makefile index bf501afa00cb..596d16f1629b 100644 --- a/print/auctex/Makefile +++ b/print/auctex/Makefile @@ -1,37 +1,38 @@ PORTNAME= auctex PORTVERSION= 13.2 +PORTREVISION= 1 CATEGORIES= print elisp MASTER_SITES= GNU PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= hrs@FreeBSD.org COMMENT= Integrated environment for writing LaTeX using GNU Emacs WWW= https://www.gnu.org/software/auctex/ LICENSE= GPLv3 .if ${FLAVOR:U} == devel_full || ${FLAVOR:U} == devel_nox BROKEN= tex.el:0:0: error: wrong-type-argument: (stringp nil) .endif USES= emacs ghostscript gmake tex USE_TEX= latex texhash GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \ --with-auto-dir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/auctex/auto \ --with-texmf-dir=${PREFIX}/${TEXMFDIR} NO_ARCH= yes SUB_FILES= pkg-message INFO= auctex preview-latex PORTDOCS= tex-ref.pdf OPTIONS_DEFINE= DOCS DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} DOCS_CONFIGURE_OFF= WITHOUT_AUCTEX_DOCSDIR=yes TEXHASHDIRS= ${TEXMFDIR} .include diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 076d6876895c..d0ccd25a679f 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -1,155 +1,155 @@ PORTNAME= cups-filters PORTVERSION= 1.28.16 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= print MASTER_SITES= https://www.openprinting.org/download/cups-filters/ MAINTAINER= tijl@FreeBSD.org COMMENT= Additional backends, filters and other software for CUPS WWW= https://wiki.linuxfoundation.org/openprinting/cups-filters LICENSE= BSD4CLAUSE GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL20 LGPL21+ MIT LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libqpdf.so:print/qpdf \ libcupsimage.so:print/cups \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lib cpe gmake gnome iconv libtool localbase \ pkgconfig shebangfix tar:xz USE_GNOME= glib20 USE_LDCONFIG= yes USE_RC_SUBR= cups_browsed CONFLICTS= foomatic-filters # bin/foomatic-rip CPE_VENDOR= linuxfoundation SHEBANG_FILES= filter/braille/drivers/generic/brftoembosser.in \ filter/braille/drivers/index/imageubrltoindexv3.in \ filter/braille/drivers/index/imageubrltoindexv4.in \ filter/braille/drivers/index/textbrftoindexv3.in \ filter/braille/filters/brftopagedbrf.in \ filter/braille/filters/imagetobrf.in \ filter/braille/filters/liblouis1.defs.gen.in \ filter/braille/filters/musicxmltobrf.in \ filter/braille/filters/texttobrf.in \ filter/braille/filters/vectortobrf.in \ filter/braille/filters/vectortopdf.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-shell=/bin/sh \ --with-pdftops-path=${LOCALBASE}/bin/pdftops \ --with-test-font-path=${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf INSTALL_TARGET= install-strip OPTIONS_DEFINE= BRAILLE COLORD DOCS OPTIONS_GROUP= FILTERS CUPS_BROWSED OPTIONS_GROUP_FILTERS= GHOSTSCRIPT IMAGES MUPDF POPPLER OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP OPTIONS_SINGLE= PDFTOPS OPTIONS_SINGLE_PDFTOPS= PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER OPTIONS_DEFAULT= COLORD GHOSTSCRIPT IMAGES POPPLER AVAHI LDAP \ PSHYBRID OPTIONS_SUB= yes BRAILLE_CONFIGURE_ENABLE= braille BRAILLE_DESC= Braille embosser support BRAILLE_USES= magick:run BRAILLE_BUILD_DEPENDS= bash:shells/bash BRAILLE_LIB_DEPENDS= liblouis.so:devel/liblouis \ # liblouisutdml.so:devel/liblouisutdml BRAILLE_RUN_DEPENDS= pdftotext:graphics/poppler-utils \ bash:shells/bash COLORD_CONFIGURE_ENABLE= dbus COLORD_DESC= Get ICC color profiles from colord (via D-Bus) COLORD_LIB_DEPENDS= libdbus-1.so:devel/dbus COLORD_RUN_DEPENDS= colord>0:graphics/colord # Filters FILTERS_DESC= Filters GHOSTSCRIPT_CONFIGURE_ENABLE= ghostscript GHOSTSCRIPT_DESC= PS-to-PDF and PS/PDF-to-raster using Ghostscript GHOSTSCRIPT_USES= ghostscript IMAGES_CONFIGURE_ENABLE= exif imagefilters IMAGES_CONFIGURE_WITH= jpeg png tiff IMAGES_DESC= Accept JPEG, PNG, and TIFF files as input IMAGES_LIB_DEPENDS= libexif.so:graphics/libexif \ libpng.so:graphics/png \ libtiff.so:graphics/tiff IMAGES_USES= jpeg MUPDF_BUILD_DEPENDS= mutool:graphics/mupdf MUPDF_RUN_DEPENDS= mutool:graphics/mupdf MUPDF_CONFIGURE_ENABLE= mutool MUPDF_DESC= PDF-to-raster using MuPDF POPPLER_CONFIGURE_ENABLE= poppler POPPLER_DESC= PDF-to-raster using Poppler POPPLER_LIB_DEPENDS= libpoppler-cpp.so:graphics/poppler # cups-browsed(8) options CUPS_BROWSED_DESC= cups-browsed(8) options AVAHI_CONFIGURE_ENABLE= avahi AVAHI_CONFIGURE_OFF= --with-browseremoteprotocols=cups AVAHI_CONFIGURE_ON= --with-browseremoteprotocols="dnssd cups" AVAHI_DESC= Discover Zeroconf/Bonjour network printers AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_SUB_LIST= AVAHI_DAEMON=avahi_daemon AVAHI_SUB_LIST_OFF= AVAHI_DAEMON= LDAP_CONFIGURE_ENABLE= ldap LDAP_DESC= Get printer locations from an LDAP server LDAP_USES= ldap # Default PDF-to-PostScript renderer PDFTOPS_DESC= Default PDF-to-PostScript renderer PSGHOSTSCRIPT_CONFIGURE_ON= --with-pdftops=gs PSGHOSTSCRIPT_DESC= Ghostscript gs(1) PSGHOSTSCRIPT_IMPLIES= GHOSTSCRIPT PSHYBRID_BUILD_DEPENDS= pdftops:graphics/poppler-utils PSHYBRID_RUN_DEPENDS= pdftops:graphics/poppler-utils PSHYBRID_CONFIGURE_ON= --with-pdftops=hybrid PSHYBRID_DESC= Ghostscript or Poppler depending on printer PSHYBRID_IMPLIES= GHOSTSCRIPT PSMUPDF_CONFIGURE_ON= --with-pdftops=mupdf PSMUPDF_DESC= MuPDF mutool(1) PSMUPDF_IMPLIES= MUPDF PSPOPPLER_BUILD_DEPENDS= pdftops:graphics/poppler-utils PSPOPPLER_RUN_DEPENDS= pdftops:graphics/poppler-utils PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops PSPOPPLER_DESC= Poppler pdftops(1) .include #.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=dynamic-exception-spec .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ -e 's|/etc|${PREFIX}&|' \ -e 's|README.gz|README|' \ ${WRKSRC}/utils/cups-browsed.8 \ ${WRKSRC}/utils/cups-browsed.conf.5 \ ${WRKSRC}/utils/driverless.1 post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf \ ${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf.sample .include diff --git a/print/cups-fxlinuxprint/Makefile b/print/cups-fxlinuxprint/Makefile index e4a4dc10f734..266d4d4f2571 100644 --- a/print/cups-fxlinuxprint/Makefile +++ b/print/cups-fxlinuxprint/Makefile @@ -1,22 +1,22 @@ PORTNAME= fxlinuxprint PORTVERSION= 1.0.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= ftp://download.fujixerox.co.jp/pub/exe/apeosport/c4300series/ PKGNAMEPREFIX= cups- DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Fuji Xerox Printer Driver WWW= https://www.fujixerox.co.jp/download/apeosport/download/c4300series/linux_module.html LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups USES= dos2unix ghostscript:run localbase:ldflags DOS2UNIX_FILES= fxlinuxprint.ppd GNU_CONFIGURE= yes .include diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index 332926901c6a..c062b59ee1b9 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -1,103 +1,103 @@ PORTNAME= cups-pdf DISTVERSION= 3.0.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.cups-pdf.de/src/ \ http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Virtual printer for CUPS to produce PDF files WWW= https://www.cups-pdf.de/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups RUN_DEPENDS= ${LOCALBASE}/sbin/cupsd:print/cups USES= ghostscript:run localbase LIBS+= -lcups ETCDIR= ${PREFIX}/etc/cups WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS _SUBST_CMD= -e "s,\#GhostScript /usr/bin/gs,GhostScript ${LOCALBASE}/bin/gs," \ -e 's,\#GSTmp /var/tmp,GSTmp /tmp,' \ -e 's,\#Grp lp,Grp daemon,' \ -e 's,\#Spool /var/spool/cups-pdf/SPOOL,Spool /var/spool/cups-pdf,' _PDF_VERSIONS= 1.2 1.3 1.4 1.5 .include .ifdef(PDF_VERSION) .if "${_PDF_VERSIONS:M${PDF_VERSION}}" == "" BROKEN= Unsupported PDF-Version selected: ${PDF_VERSION} .endif _SUBST_CMD+= -e "s,\#PDFVer 1.4,PDFVer ${PDF_VERSION}," .endif .ifdef(HOME_SUBDIR) _SUBST_CMD+= -e 's,\#Out /var/spool/cups-pdf/$${USER},Out $${HOME}/${HOME_SUBDIR},' .elifdef(OUTPUT_DIRECTORY) _SUBST_CMD+= -e 's,\#Out /var/spool/cups-pdf/$${USER},Out ${OUTPUT_DIRECTORY},' .endif .ifdef(LOG_DIRECTORY) _SUBST_CMD+= -e "s,\#Log /var/log/cups,Log ${LOG_DIRECTORY}," .endif pre-everything:: .if !defined(PDF_VERSION) || !defined(HOME_SUBDIR) || \ !defined(OUTPUT_DIRECTORY) || !defined(LOG_DIRECTORY) @${ECHO_MSG} "" @${ECHO_MSG} "You may use the following build options:" @${ECHO_MSG} "" .endif .if !defined(PDF_VERSION) @${ECHO_MSG} "PDF_VERSION=${_PDF_VERSIONS:S/ /|/Wg} PDF-version of PDF-files produced" .endif .if !defined(HOME_SUBDIR) @${ECHO_MSG} "HOME_SUBDIR= Place produced PDF-files in the" @${ECHO_MSG} " directory ~//" .endif .if !defined(OUTPUT_DIRECTORY) @${ECHO_MSG} "OUTPUT_DIRECTORY= Place produced PDF-files in the" @${ECHO_MSG} " directory /" .endif .if !defined(LOG_DIRECTORY) @${ECHO_MSG} "LOG_DIRECTORY= Place logfile into /cups-pdf_log" .endif post-patch: @${REINPLACE_CMD} ${_SUBST_CMD} ${WRKSRC}/extra/cups-pdf.conf @${REINPLACE_CMD} -e \ 's,CP_CONFIG_PATH "/etc/cups",CP_CONFIG_PATH "${ETCDIR}",' \ ${WRKSRC}/src/cups-pdf.h do-build: (cd ${WRKSRC}/src && \ ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} -o cups-pdf cups-pdf.c) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/cups/backend ${INSTALL_PROGRAM} ${WRKSRC}/src/cups-pdf \ ${STAGEDIR}${PREFIX}/libexec/cups/backend/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model ${INSTALL_DATA} ${WRKSRC}/extra/CUPS-PDF_opt.ppd \ ${WRKSRC}/extra/CUPS-PDF_noopt.ppd \ ${STAGEDIR}${PREFIX}/share/cups/model/ @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/extra/cups-pdf.conf \ ${STAGEDIR}${ETCDIR}/cups-pdf.conf.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile index 2a4bddbd1593..c1d53550b8d6 100644 --- a/print/dvisvg/Makefile +++ b/print/dvisvg/Makefile @@ -1,39 +1,39 @@ PORTNAME= dvisvg DISTVERSION= 0.7.1d -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= print MASTER_SITES= http://dvisvg.sourceforge.net/files/ MAINTAINER= hrs@FreeBSD.org COMMENT= Converter from DVI to SVG WWW= http://dvisvg.sourceforge.net/ LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} USES= ghostscript:run tex USE_TEX= base texhash ALL_TARGET= # empty # workaround for svgfonts.c not including kpathsea/c-auto.h CFLAGS+= -DHAVE_PROTOTYPES MAKE_ARGS= CC="${CC} ${CFLAGS}" TARGETDIR=${PREFIX} \ LINC=${LOCALBASE}/include \ LLIB=${LOCALBASE}/lib \ BINDIR=${PREFIX}/bin \ CNFDIR=${PREFIX}/${TEXMFDIR}/dvisvg \ post-patch: @${REINPLACE_CMD} -e "s,/usr/share/texmf,${LOCALBASE}/${TEXMFDIR}," \ ${WRKSRC}/version.h do-install: ${INSTALL_SCRIPT} ${WRKSRC}/dvisvg ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/dvisvg.man \ ${STAGEDIR}${MAN1PREFIX}/man/man1/dvisvg.1 @${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFDIR}/${PORTNAME} .for file in dvisvg.map font2svg.enc font2svg.ps ${INSTALL_DATA} ${WRKSRC}/${file} \ ${STAGEDIR}${PREFIX}/${TEXMFDIR}/${PORTNAME} .endfor .include diff --git a/print/epsonepl/Makefile b/print/epsonepl/Makefile index a84407b6d1b2..0151f8b28973 100644 --- a/print/epsonepl/Makefile +++ b/print/epsonepl/Makefile @@ -1,28 +1,28 @@ PORTNAME= epsonepl PORTVERSION= 0.2.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GS-IJS%20Plugin%20v${PORTVERSION} DISTNAME= ${PORTNAME}ijs-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Printer filter for EPSON EPL-5700L etc WWW= https://epsonepl.sourceforge.net/ LIB_DEPENDS= libijs.so:print/libijs USES= ghostscript:run uidfix tar:tgz MAKEFILE= ${FILESDIR}/Makefile SUB_FILES= pkg-message post-extract: @cd ${WRKSRC} && ${LS} ijs* | ${GREP} -v ${PORTNAME} | ${XARGS} ${RM} post-install: ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample \ ${STAGEDIR}${PREFIX}/etc @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${STAGEDIR}${DATADIR} .include diff --git a/print/fig2dev/Makefile b/print/fig2dev/Makefile index 335f768b3a24..4e1eb31122f7 100644 --- a/print/fig2dev/Makefile +++ b/print/fig2dev/Makefile @@ -1,30 +1,31 @@ PORTNAME= fig2dev PORTVERSION= 3.2.8a +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SF/mcj/ MAINTAINER= pi@FreeBSD.org COMMENT= Tools to convert Xfig .fig files WWW= https://en.wikipedia.org/wiki/Xfig LICENSE= fig2dev LICENSE_NAME= fig2dev public license LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpng.so:graphics/png RUN_DEPENDS= ppmtogif:graphics/netpbm USES= alias cpe ghostscript:run iconv tar:xz xorg USE_XORG= xpm CPE_VENDOR= xfig_project GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-transfig \ GSEXE=gs CFLAGS+= -Wno-return-type CONFLICTS_INSTALL= transfig .include diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile index 8612843457f2..4ef8cc4b54d2 100644 --- a/print/flpsed/Makefile +++ b/print/flpsed/Makefile @@ -1,51 +1,52 @@ PORTNAME= flpsed DISTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://flpsed.org/ MAINTAINER= ports@FreeBSD.org COMMENT= WYSIWYG Postscript annotator WWW= https://flpsed.org/flpsed.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig USES= desktop-file-utils ghostscript:x11 gmake xorg GNU_CONFIGURE= yes USE_XORG= x11 xcursor xext xfixes xft xinerama xrender PLIST_FILES= bin/flpsed \ man/man1/flpsed.1.gz \ share/applications/flpsed.desktop \ share/icons/flpsed.png \ share/icons/flpsed.svg PORTDOCS= README OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/flpsed ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/flpsed.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/flpsed.desktop ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons ${INSTALL_DATA} ${WRKSRC}/flpsed.png ${WRKSRC}/flpsed.svg ${STAGEDIR}${PREFIX}/share/icons do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install: .if !exists(${LOCALBASE}/bin/pdftops) @${ECHO_CMD} "" @${ECHO_CMD} " Consider installing graphics/xpdf, to take full advantage of " @${ECHO_CMD} " flpsed's ability to edit PDF files by first converting them " @${ECHO_CMD} " to PostScript via xpdf's pdftops(1) before editing, and then " @${ECHO_CMD} " transforming the edited Postscript files back to PDF via " @${ECHO_CMD} " Ghostscript's ps2pdf(1). " @${ECHO_CMD} "" .endif .include diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile index 205a6fa8f05c..8c3911e62b70 100644 --- a/print/font2svg/Makefile +++ b/print/font2svg/Makefile @@ -1,31 +1,31 @@ PORTNAME= font2svg PORTVERSION= 1.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= https://BSDforge.com/projects/source/print/font2svg/ MAINTAINER= portmaster@BSDforge.com COMMENT= All fonts to svg-font converter WWW= https://BSDforge.com/projects/print/font2svg LICENSE= GPLv2 RUN_DEPENDS= bash:shells/bash USES= ghostscript:run NO_BUILD= yes PLIST_FILES= bin/font2svg %%DATADIR%%/encodings %%DATADIR%%/font2svg.ps post-patch: @${REINPLACE_CMD} -e "s|^#!/bin/bash|#!/usr/bin/env bash| ; \ s|^font2svg_home=.*$$|font2svg_home=${DATADIR}|" \ ${WRKSRC}/font2svg.sh do-install: ${INSTALL_SCRIPT} ${WRKSRC}/font2svg.sh ${STAGEDIR}${PREFIX}/bin/font2svg @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/encodings ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/font2svg.ps ${STAGEDIR}${DATADIR} .include diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile index 44282b6b3691..e9ce587c1a55 100644 --- a/print/foo2zjs/Makefile +++ b/print/foo2zjs/Makefile @@ -1,54 +1,54 @@ PORTNAME= foo2zjs PORTVERSION= 20161203 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= LOCAL/bsam/${PORTNAME} \ ftp://ftp.wart.ru/pub/FreeBSD/ports/distfiles/ # Obtained from https://www.cybercom.net/~dcoffin/hbpl/ PATCH_SITES= LOCAL/tijl PATCHFILES= hbpl1-20160830.patch.xz:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Driver for printers that use the ZjStream wire protocol WWW= http://foo2zjs.rkkda.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:print/foomatic-db \ foomatic-rip:print/cups-filters \ gsed:textproc/gsed USES= cpe ghostscript gmake shebangfix CPE_VENDOR= rkkda SHEBANG_FILES= msexpand printer-profile.sh MAKE_JOBS_UNSAFE= yes SUB_FILES= ${_DEVDCONF_FILE} pkg-message OPTIONS_DEFINE= DOCS _DEVDCONF_FILE= ${PORTNAME}.conf _EXTRAFILES= msexpand getweb post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile post-install: cd ${WRKSRC} && \ ${INSTALL_SCRIPT} ${_EXTRAFILES} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}/etc/devd cd ${WRKDIR} && \ ${INSTALL_SCRIPT} ${_DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foo2zjs-icc2ps post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ChangeLog INSTALL README manual.pdf ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index fbfc42eb8c2b..b248772d341e 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -1,63 +1,63 @@ PORTNAME= foomatic-filters PORTVERSION= 4.0.17 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ MAINTAINER= jrm@FreeBSD.org COMMENT= Foomatic wrapper scripts WWW= https://www.openprinting.org LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf cpe ghostscript perl5 pkgconfig CPE_VENDOR= linuxfoundation GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \ ac_cv_path_CUPS=${LOCALBASE}/libexec/cups \ ac_cv_path_CUPS_BACKENDS=${LOCALBASE}/libexec/cups/backend \ ac_cv_path_CUPS_FILTERS=${LOCALBASE}/libexec/cups/filter \ ac_cv_path_ENSCRIPT=${LOCALBASE}/bin/enscript \ ac_cv_path_MPAGE=${LOCALBASE}/bin/mpage \ ac_cv_path_PERL=${LOCALBASE}/bin/perl \ ac_cv_path_PPR=${LOCALBASE}/lib/ppr \ ac_cv_path_PPR_INTERFACES=${LOCALBASE}/lib/ppr/interfaces \ ac_cv_path_PPR_LIB=${LOCALBASE}/lib/ppr/lib \ ac_cv_path_TEXTTOPS=${LOCALBASE}/libexec/cups/filter/texttops CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS= cups-filters OPTIONS_DEFINE= A2PS CUPS_IMAGE DBUS MPAGE OPTIONS_DEFAULT= A2PS CUPS_IMAGE DBUS ENSCRIPT_A4 MPAGE OPTIONS_RADIO= ENSCRIPT OPTIONS_RADIO_ENSCRIPT= ENSCRIPT_A4 ENSCRIPT_LETTER ENSCRIPT_LETTERDJ A2PS_DESC= Install a2ps convertor CUPS_IMAGE_DESC= Install cups image utilities ENSCRIPT_A4_DESC= Install enscript convertor (A4) ENSCRIPT_LETTERDJ_DESC= Install enscript convertor (letterdj) ENSCRIPT_LETTER_DESC= Install enscript convertor (letter) MPAGE_DESC= Print multiple pages per sheet of paper A2PS_RUN_DEPENDS= a2ps:print/a2ps CUPS_IMAGE_LIB_DEPENDS= libcupsimage.so:print/cups DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus ENSCRIPT_A4_RUN_DEPENDS= enscript:print/enscript-a4 ENSCRIPT_LETTERDJ_RUN_DEPENDS= enscript:print/enscript-letterdj ENSCRIPT_LETTER_RUN_DEPENDS= enscript:print/enscript-letter MPAGE_RUN_DEPENDS= mpage:print/mpage post-patch: @${REINPLACE_CMD} -e 's|ln -sf $$(BINDIR)|ln -sf ../../../bin|g' \ -e '/filter.conf/ s|if.*||' \ ${WRKSRC}/Makefile.am post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foomatic-rip .include diff --git a/print/gspdf/Makefile b/print/gspdf/Makefile index d7bac24a43bc..6aed3e1ae9d6 100644 --- a/print/gspdf/Makefile +++ b/print/gspdf/Makefile @@ -1,18 +1,18 @@ PORTNAME= gspdf PORTVERSION= 0.5 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= print gnustep MASTER_SITES= SAVANNAH/gap DISTNAME= GSPdf-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Postscript and Pdf Viewer for GNUstep WWW= https://gap.nongnu.org/gspdf/index.html USES= ghostscript gnustep USE_GNUSTEP= back build post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GSPdf.app/GSPdf .include diff --git a/print/gv/Makefile b/print/gv/Makefile index 2c06c9871936..f0b9d6982738 100644 --- a/print/gv/Makefile +++ b/print/gv/Makefile @@ -1,40 +1,40 @@ PORTNAME= gv PORTVERSION= 3.7.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= print MASTER_SITES= GNU MAINTAINER= mbeis@xs4all.nl COMMENT= PostScript and PDF previewer WWW= https://www.gnu.org/software/gv/ LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d USES= cpe ghostscript:x11 iconv gmake perl5 shebangfix xorg USE_PERL5= build USE_XORG= xpm ice sm xext xmu x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/X11 \ --enable-setenv-code \ --enable-SIGCHLD-fallback SHEBANG_FILES= ${WRKSRC}/src/gv-update-userconfig.in INFO= gv CPE_VENDOR= gnu PLIST_FILES= bin/gv \ bin/gv-update-userconfig \ %%DATADIR%%/gv_system.ad \ lib/X11/app-defaults/GV \ man/man1/gv.1.gz \ man/man1/gv-update-userconfig.1.gz PLIST_DIRS= %%DATADIR%%/safe-gs-workdir .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no .endif .include diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile index ab4e03447c34..cb6574d970bb 100644 --- a/print/html2ps/Makefile +++ b/print/html2ps/Makefile @@ -1,49 +1,49 @@ PORTNAME= html2ps DISTVERSION= 1.0b7 -PORTREVISION= 7 +PORTREVISION= 8 PORTEPOCH= 1 CATEGORIES= print www perl5 MASTER_SITES= LOCAL/hrs MAINTAINER= hrs@FreeBSD.org COMMENT= HTML to PostScript converter LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \ weblint++:www/weblint++ \ paperconf:print/libpaper NO_BUILD= yes USES= ghostscript:run magick:6,run perl5 CONFLICTS_INSTALL= p5-DocSet # bin/html2ps SUB_FILES= html2psrc PLIST_FILES= bin/html2ps \ etc/html2psrc \ man/man1/html2ps.1.gz \ man/man5/html2psrc.5.gz \ ${DATADIR_REL}/html2ps.html \ ${DATADIR_REL}/hyphen.tex post-patch: @${REINPLACE_CMD} -e \ 's|exec perl|exec ${PERL}| ; \ s|%%LOCALBASE%%|${LOCALBASE}| ; \ s|%%PREFIX%%|${PREFIX}| ; \ s|%%DATADIR%%|${DATADIR}|' \ ${WRKSRC}/html2ps do-install: ${INSTALL_SCRIPT} ${WRKSRC}/html2ps ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/html2psrc ${STAGEDIR}${PREFIX}/etc ${INSTALL_MAN} ${WRKSRC}/html2ps.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/html2psrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/html2ps.html ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/hyphen.tex ${STAGEDIR}${DATADIR} .include diff --git a/print/libspectre/Makefile b/print/libspectre/Makefile index 690bb5edb1ad..ecb71f9e223c 100644 --- a/print/libspectre/Makefile +++ b/print/libspectre/Makefile @@ -1,18 +1,19 @@ PORTNAME= libspectre PORTVERSION= 0.2.12 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://libspectre.freedesktop.org/releases/ MAINTAINER= desktop@FreeBSD.org COMMENT= Small library for rendering Postscript documents WWW= https://www.freedesktop.org/wiki/Software/libspectre/ LICENSE= GPLv2 USES= ghostscript gmake gnome libtool localbase pathfix pkgconfig USE_LDCONFIG= yes USE_GNOME= cairo GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile index 747a74613c15..68097eb7a1b4 100644 --- a/print/lilypond-devel/Makefile +++ b/print/lilypond-devel/Makefile @@ -1,84 +1,85 @@ PORTNAME= lilypond DISTVERSION= 2.25.9 +PORTREVISION= 1 CATEGORIES= print audio MASTER_SITES= http://lilypond.org/download/source/v${DISTVERSION:R}/ PKGNAMESUFFIX= -devel MAINTAINER= m.ne@gmx.net COMMENT= GNU music typesetter WWW= https://lilypond.org/ LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ dblatex:textproc/dblatex \ fontforge:print/fontforge \ help2man:misc/help2man \ pdftexi2dvi:print/texinfo \ pngtopnm:graphics/netpbm \ rsync:net/rsync \ t1ascii:print/t1utils \ texi2html:textproc/texi2html \ zip:archivers/zip LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpng16.so:graphics/png RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu \ mftrace:print/mftrace USES= bison:build compiler:c++11-lib cpe ghostscript gmake gnome \ guile:2.2 magick:7,build perl5 pkgconfig python USE_CXXSTD= c++17 USE_GNOME= cairo pango USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} \ GUILE_FLAVOR=guile-2.2 \ HOME=${WRKDIR} \ YACC=${YACC} MAKEFILE= GNUmakefile ALL_TARGET= all CONFLICTS_INSTALL= lilypond BINARY_ALIAS= python=${PYTHON_VERSION} INFO= lilypond-changes \ lilypond-contributor \ lilypond-essay \ lilypond-extending \ lilypond-internals \ lilypond-learning \ lilypond-notation \ lilypond-snippets \ lilypond-usage \ music-glossary PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= NLS URW OPTIONS_SUB= yes URW_DESC= Use bundled URW fonts NLS_USES= gettext URW_BUILD_DEPENDS= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_RUN_DEPENDS_OFF= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_CONFIGURE_WITH= urwotf-dir=${LOCALBASE}/share/fonts/urw-base35-fonts post-patch: @${SED} -e 's|%%FONTDIR%%|${WRKDIR}/fontconfig/cache/|' \ ${FILESDIR}/fonts.conf > ${WRKDIR}/.fonts.conf post-patch-NLS-off: @${REINPLACE_CMD} -e '/po \\$$/d' ${WRKSRC}/${MAKEFILE}.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lilypond (cd ${STAGEDIR}/${DATADIR} && ${LN} -fs ${DISTVERSION} current) .include diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index 0d0dd2058f8c..9b2abb84a9fa 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -1,82 +1,83 @@ PORTNAME= lilypond DISTVERSION= 2.24.2 +PORTREVISION= 1 CATEGORIES= print audio MASTER_SITES= http://lilypond.org/download/source/v${DISTVERSION:R}/ MAINTAINER= m.ne@gmx.net COMMENT= GNU music typesetter WWW= https://lilypond.org/ LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ dblatex:textproc/dblatex \ fontforge:print/fontforge \ help2man:misc/help2man \ pdftexi2dvi:print/texinfo \ pngtopnm:graphics/netpbm \ rsync:net/rsync \ t1ascii:print/t1utils \ texi2html:textproc/texi2html \ zip:archivers/zip LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans-Bold.ttf:x11-fonts/dejavu \ mftrace:print/mftrace USES= bison:build compiler:c++11-lib cpe ghostscript gmake gnome \ guile:2.2 magick:7,build perl5 pkgconfig python USE_CXXSTD= c++14 USE_GNOME= pango USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} \ HOME=${WRKDIR} \ YACC=${YACC} \ GUILE_FLAVOR=guile-${GUILE_VER} MAKEFILE= GNUmakefile ALL_TARGET= all CONFLICTS_INSTALL= lilypond-devel BINARY_ALIAS= python=${PYTHON_VERSION} INFO= lilypond-changes \ lilypond-contributor \ lilypond-essay \ lilypond-extending \ lilypond-internals \ lilypond-learning \ lilypond-notation \ lilypond-snippets \ lilypond-usage \ music-glossary PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= NLS URW OPTIONS_SUB= yes URW_DESC= Use bundled URW fonts NLS_USES= gettext URW_BUILD_DEPENDS= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_RUN_DEPENDS_OFF= urw-base35-fonts>0:x11-fonts/urw-base35-fonts URW_CONFIGURE_WITH= urwotf-dir=${LOCALBASE}/share/fonts/urw-base35-fonts post-patch: @${SED} -e 's|%%FONTDIR%%|${WRKDIR}/fontconfig/cache/|' \ ${FILESDIR}/fonts.conf > ${WRKDIR}/.fonts.conf post-patch-NLS-off: @${REINPLACE_CMD} -e '/po \\$$/d' ${WRKSRC}/${MAKEFILE}.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lilypond (cd ${STAGEDIR}/${DATADIR} && ${LN} -fs ${DISTVERSION} current) .include diff --git a/print/lout/Makefile b/print/lout/Makefile index c84e957741f0..3e5457a67cbb 100644 --- a/print/lout/Makefile +++ b/print/lout/Makefile @@ -1,24 +1,24 @@ PORTNAME= lout PORTVERSION= 3.42.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MAINTAINER= kbowling@FreeBSD.org COMMENT= LaTeX like document creation system with PostScript/PDF output WWW= https://savannah.nongnu.org/projects/lout/ LICENSE= GPLv3+ USES= cpe ghostscript:run gmake magick:run CPE_VENDOR= lout_project USE_GITHUB= yes GH_ACCOUNT= william8000 MAKEFILE= makefile ALL_TARGET= lout prg2lout INSTALL_TARGET= install installman installdoc OPTIONS_DEFINE= DOCS .include diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile index a992cc2f23fe..8578b8dc79e6 100644 --- a/print/magicfilter/Makefile +++ b/print/magicfilter/Makefile @@ -1,33 +1,34 @@ PORTNAME= magicfilter DISTVERSIONPREFIX= v DISTVERSION= 2.3.i +PORTREVISION= 1 CATEGORIES= print MAINTAINER= bofh@FreeBSD.org COMMENT= Customizable, extensible automatic printer filter WWW= https://www.pell.portland.or.us/~orc/Code/magicfilter/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/lib/libmagic.so:sysutils/file RUN_DEPENDS= ${LOCALBASE}/lib/libmagic.so:sysutils/file USES= ghostscript USE_GITHUB= yes GH_ACCOUNT= Orc HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.sh CONFIGURE_ARGS+= --prefix=${PREFIX} \ --confdir=${PREFIX}/etc \ --filterdir=${PREFIX}/libexec/magicfilter \ --use-fifo CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif .include diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile index b645d590ef55..576ae51caa70 100644 --- a/print/pnm2ppa/Makefile +++ b/print/pnm2ppa/Makefile @@ -1,50 +1,50 @@ PORTNAME= pnm2ppa PORTVERSION= 1.13 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= print MASTER_SITES= SF MAINTAINER= 000.fbsd@quip.cz COMMENT= Convert PNM images to PPA for some HP printers WWW= http://pnm2ppa.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/docs/en/LICENSE USES= gmake ghostscript:run GNU_CONFIGURE= yes OPTIONS_DEFINE= A4SIZE A4SIZE_DESC= Set A4 (not Letter) as a default paper size .include .if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE) RUN_DEPENDS+= enscript:print/enscript-a4 .else RUN_DEPENDS+= enscript:print/enscript-letter .endif post-patch: @${REINPLACE_CMD} -e 's|-Wformat-security -g|-Wformat-security| ; \ s|-O2 -DNDEBUG|-DNDEBUG|' ${WRKSRC}/configure @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ ${WRKSRC}/pnm2ppa.conf > ${WRKSRC}/pnm2ppa.conf.sample @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ ${WRKSRC}/docs/en/pnm2ppa.1 > ${WRKSRC}/pnm2ppa.1 @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \ ${FILESDIR}/asciippafilter.SH > ${WRKSRC}/asciippafilter @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \ ${FILESDIR}/ppafilter.SH > ${WRKSRC}/ppafilter do-install: ${INSTALL_PROGRAM} ${WRKSRC}/calibrate_ppa ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${STAGEDIR}${PREFIX}/etc .include diff --git a/print/ps2eps/Makefile b/print/ps2eps/Makefile index 16e3161f72dd..13d7bb2bffb5 100644 --- a/print/ps2eps/Makefile +++ b/print/ps2eps/Makefile @@ -1,41 +1,41 @@ PORTNAME= ps2eps PORTVERSION= 1.64 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= print MASTER_SITES= http://www.tm.uka.de/~bless/ \ http://www.ipv6.tm.uka.de/~bless/ MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= Generate Encapsulated Postscript file from Postscript document WWW= http://www.tm.uka.de/~bless/ps2eps CONFLICTS_INSTALL= texlive-base WRKSRC= ${WRKDIR}/ps2eps USES= ghostscript:run perl5 USE_PERL5= run OPTIONS_DEFINE= DOCS do-build: ${CC} -o ${WRKSRC}/bbox ${WRKSRC}/src/C/bbox.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bbox ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2eps ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/bbox.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/ps2eps.1 ${STAGEDIR}${PREFIX}/man/man1/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/html @${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Changes.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/html/bbox.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/html/ps2eps.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/pdf/bbox.pdf ${STAGEDIR}${DOCSDIR}/pdf ${INSTALL_DATA} ${WRKSRC}/doc/pdf/ps2eps.pdf ${STAGEDIR}${DOCSDIR}/pdf .include diff --git a/print/psdim/Makefile b/print/psdim/Makefile index d0d2836b43b9..6a7da719ece2 100644 --- a/print/psdim/Makefile +++ b/print/psdim/Makefile @@ -1,20 +1,20 @@ PORTNAME= psdim PORTVERSION= 1.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= print MASTER_SITES= http://www.mathstat.dal.ca/~selinger/psdim/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Calculates the optimal placement of the pages for n-up printing WWW= https://www.mathstat.dal.ca/~selinger/psdim/ LICENSE= GPLv2 USES= ghostscript HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} PLIST_FILES= bin/psdim man/man1/psdim.1.gz .include diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile index 694806dab5de..11d1644e37f0 100644 --- a/print/pstotext/Makefile +++ b/print/pstotext/Makefile @@ -1,36 +1,36 @@ PORTNAME= pstotext PORTVERSION= 1.9 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= http://ftp.gwdg.de/pub/ghostscript/contrib/ \ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/contrib/ \ http://gd.tuwien.ac.at/pub/publishing/ghostscript/contrib/ \ http://fossies.org/unix/misc/ MAINTAINER= ports@FreeBSD.org COMMENT= PostScript to Text converter WWW= https://pages.cs.wisc.edu/~ghost/doc/pstotext.htm LICENSE= EULA LICENSE_NAME= End User License Agreement LICENSE_FILE= ${WRKSRC}/pstotext.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cpe ghostscript:run SUB_LIST= LICENSE=${LICENSE} \ LICENSE_DIR=${_LICENSE_DIR} PLIST_FILES= bin/pstotext \ man/man1/pstotext.1.gz post-patch: @${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/main.c \ ${WRKSRC}/pstotext.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pstotext ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pstotext.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include diff --git a/print/shrinkpdf/Makefile b/print/shrinkpdf/Makefile index 6e593c8bdf4e..a50ad7af1208 100644 --- a/print/shrinkpdf/Makefile +++ b/print/shrinkpdf/Makefile @@ -1,28 +1,29 @@ PORTNAME= shrinkpdf PORTVERSION= 1.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= print graphics MAINTAINER= grembo@FreeBSD.org COMMENT= Simple wrapper around Ghostscript to reduce the file size of PDFs WWW= https://github.com/aklomp/shrinkpdf LICENSE= BSD3CLAUSE USES= ghostscript:run USE_GITHUB= yes GH_ACCOUNT= aklomp SUB_FILES= ${PORTNAME}.1 NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKDIR}/shrinkpdf.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile index 3b21da47a1a3..7831bf4d618d 100644 --- a/print/texlive-base/Makefile +++ b/print/texlive-base/Makefile @@ -1,165 +1,165 @@ PORTNAME= texlive PORTVERSION= ${TEXLIVE_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR} PKGNAMESUFFIX= -base DISTNAME= ${PORTNAME}-${PORTVERSION}-source DIST_SUBDIR= TeX MAINTAINER= tex@FreeBSD.org COMMENT= TeX Live Typesetting System, base binaries WWW= https://tug.org/texlive/ LIB_DEPENDS= libicuio.so:devel/icu \ libt1.so:devel/t1lib \ libTECkit.so:textproc/teckit \ libgd.so:graphics/gd \ libgraphite2.so:graphics/graphite2 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libpng.so:graphics/png \ libzzip.so:devel/zziplib \ libpoppler.so:graphics/poppler \ libpotrace.so:graphics/libpotrace RUN_DEPENDS= p5-File-HomeDir>=0:devel/p5-File-HomeDir \ p5-YAML-Tiny>=0:textproc/p5-YAML-Tiny \ psbook:print/psutils USES= compiler:c++11-lib cpe ghostscript gnome localbase pkgconfig perl5 \ python:run shebangfix tar:xz tex xorg CPE_VENDOR= tug USE_CXXSTD= gnu++11 USE_GNOME= cairo USE_PERL5= run USE_TEX= web2c kpathsea ptexenc tlmgr texhash-bootstrap USE_XORG=x11 SHEBANG_FILES= texk/texlive/linked_scripts/accfonts/mkt1font \ texk/texlive/linked_scripts/accfonts/vpl2ovp \ texk/texlive/linked_scripts/accfonts/vpl2vpl \ texk/texlive/linked_scripts/arara/arara.sh \ texk/texlive/linked_scripts/bibcop/bibcop.pl \ texk/texlive/linked_scripts/bibexport/bibexport.sh \ texk/texlive/linked_scripts/convbkmk/convbkmk.rb \ texk/texlive/linked_scripts/ctanupload/ctanupload.pl \ texk/texlive/linked_scripts/ebong/*.py \ texk/texlive/linked_scripts/dtxgen/dtxgen \ texk/texlive/linked_scripts/dviasm/*.py \ texk/texlive/linked_scripts/exceltex/exceltex \ texk/texlive/linked_scripts/findhyph/findhyph \ texk/texlive/linked_scripts/fragmaster/fragmaster.pl \ texk/texlive/linked_scripts/git-latexdiff/git-latexdiff \ texk/texlive/linked_scripts/installfont/installfont-tl \ texk/texlive/linked_scripts/kotex-utils/jamo-normalize.pl \ texk/texlive/linked_scripts/latexpand/latexpand \ texk/texlive/linked_scripts/lilyglyphs/*.py \ texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo \ texk/texlive/linked_scripts/mathspic/mathspic.pl \ texk/texlive/linked_scripts/mf2pt1/mf2pt1.pl \ texk/texlive/linked_scripts/multibibliography/multibibliography.pl \ texk/texlive/linked_scripts/optexcount/optexcount \ texk/texlive/linked_scripts/pygmentex/*.py \ texk/texlive/linked_scripts/pythontex/*.py \ texk/texlive/linked_scripts/rubik/rubikrotation.pl \ texk/texlive/linked_scripts/spix/spix.py \ texk/texlive/linked_scripts/splitindex/splitindex.pl \ texk/texlive/linked_scripts/svn-multi/svn-multi.pl \ texk/texlive/linked_scripts/texdirflatten/texdirflatten \ texk/texlive/linked_scripts/texliveonfly/texliveonfly.py \ texk/texlive/linked_scripts/ulqda/ulqda.pl \ texk/texlive/linked_scripts/urlbst/urlbst \ texk/texlive/linked_scripts/yplan/yplan \ texk/texlive/linked_scripts/webquiz/webquiz.py \ texk/texlive/linked_scripts/petri-nets/pn2pdf \ texk/texlive/linked_scripts/pdflatexpicscale/pdflatexpicscale.pl \ texk/texlive/linked_scripts/pdfxup/pdfxup \ texk/texlive/linked_scripts/tlcockpit/tlcockpit.sh \ texk/texlive/linked_scripts/ctan-o-mat/ctan-o-mat.pl \ texk/texlive/linked_scripts/pdftex-quiet/pdftex-quiet \ texk/texlive/linked_scripts/clojure-pamphlet/pamphletangler \ texk/texlive/linked_scripts/latex-papersize/latex-papersize.py \ texk/texlive/linked_scripts/makedtx/makedtx.pl \ texk/texlive/linked_scripts/pdfbook2/pdfbook2 # during build phase gnu configure is run a lot GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-native-texlive-build \ --disable-web-progs \ --disable-psutils \ --enable-shared \ --disable-t1utils \ --disable-dvipdfmx \ --disable-dvipdfm-x \ --disable-xdvipdfmx \ --enable-build-in-source-tree \ --datarootdir=${LOCALBASE}/share \ --with-system-freetype2 \ --with-freetype2-includes=${LOCALBASE}/include/freetype2 \ --with-freetype2-libdir=${LOCALBASE}/lib \ --with-system-gd \ --with-system-cairo \ --with-system-harfbuzz \ --with-system-graphite2 \ --with-system-pixman \ --with-system-t1lib \ --without-system-xpdf \ --with-system-zziplib \ --with-system-zlib .for L in gmp icu kpathsea libgs libpng libpaper mpfr ptexenc potrace teckit CONFIGURE_ARGS+=--with-system-$L \ --with-$L-include=${LOCALBASE}/include \ --with-$L-libdir=${LOCALBASE}/lib .endfor MAKE_ENV= CONFIG_SITE=${CONFIG_SITE} INSTALL_TARGET= install-strip CONFLICTS_INSTALL= detex dvi2tty ps2eps BINARY_ALIAS= freetype-config=true EXTRACT_AFTER_ARGS= ${EXCLUDE_FILES:S,^,--exclude ,} INFO= dvipng tlbuild PLIST_SUB= INSTALL_DATA="${INSTALL_DATA}" OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 X11_USE= TEX=xpdfopen:run EXCLUDE_FILES= ${DISTNAME}/texk/web2c \ ${DISTNAME}/texk/kpathsea \ ${DISTNAME}/texk/ptexenc \ ${DISTNAME}/texk/xdvik \ ${DISTNAME}/texk/dvipdfm-x \ ${DISTNAME}/texk/dvipsk \ ${DISTNAME}/utils/t1utils \ ${DISTNAME}/utils/xpdfopen post-extract: @${FIND} ${WRKSRC} -name '*.orig' -delete post-patch: ${REINPLACE_CMD} -e 's|/usr/bin/python -O|${python_CMD}|' \ ${WRKSRC}/texk/texlive/linked_scripts/de-macro/de-macro ${REINPLACE_CMD} -e 's|exec texconfig|exec ${PREFIX}/bin/texconfig|' \ ${WRKSRC}/texk/texlive/linked_scripts/texlive-extra/texconfig-sys.sh ${REINPLACE_CMD} -e 's|exec fmtutil|exec ${PREFIX}/bin/fmtutil|' \ ${WRKSRC}/texk/texlive/linked_scripts/texlive/fmtutil-sys.sh ${REINPLACE_CMD} -e 's|exec updmap|exec ${PREFIX}/bin/updmap|' \ ${WRKSRC}/texk/texlive/linked_scripts/texlive/updmap-sys.sh ${REINPLACE_CMD} -e '/tlmgr/d' \ ${WRKSRC}/texk/texlive/linked_scripts/Makefile.in post-install-fmtutil: for D in ${TEXHASHDIRS}; do \ ${MKDIR} ${STAGEDIR}${PREFIX}/$$D; \ done ${MKDIR} ${STAGEDIR}${PREFIX}/${TEXMFCONFIGDIR}/web2c ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/web2c/fmtutil.cnf \ ${STAGEDIR}${PREFIX}/${FMTUTIL_CNF} post-install: post-install-fmtutil .ORDER: post-install-fmtutil do-texhash .include diff --git a/print/texvc/Makefile b/print/texvc/Makefile index 64a8f239fbea..dffa571889ee 100644 --- a/print/texvc/Makefile +++ b/print/texvc/Makefile @@ -1,31 +1,31 @@ PORTNAME= texvc PORTVERSION= 20050202 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= print MASTER_SITES= SF/wikipedia/Support%20files/${PORTNAME}%20Linux-x86%20source%20%2B%20binary DISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Convert latex equations to HTML, MathML, PNG WWW= https://www.mediawiki.org/wiki/Texvc USES= gmake USE_OCAML= yes NO_OCAML_RUNDEPENDS= yes BUILD_WRKSRC= ${WRKSRC}/src PLIST_FILES= bin/texvc OPTIONS_DEFINE= RASTER OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} RASTER_DESC= rasterization support RASTER_USES= ghostscript:run magick:6,run tex RASTER_USE= TEX=latex,dvipsk MAKE_JOBS_UNSAFE= yes do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${STAGEDIR}${PREFIX}/bin .include diff --git a/print/transfig/Makefile b/print/transfig/Makefile index 1cfec122df73..4dc3251a47f6 100644 --- a/print/transfig/Makefile +++ b/print/transfig/Makefile @@ -1,37 +1,37 @@ PORTNAME= transfig PORTVERSION= 3.2.5e -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF/mcj/mcj-source/ DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= pi@FreeBSD.org COMMENT= Tools to convert Xfig .fig files RUN_DEPENDS= ppmtogif:graphics/netpbm LIB_DEPENDS= libpng.so:graphics/png USES= alias ghostscript:run imake xorg CFLAGS+= -Wno-return-type USE_XORG= xpm CONFLICTS_INSTALL= fig2dev # bin/fig2dev bin/fig2ps2tex MAKE_ARGS+= INSTALLFLAGS="${COPY}" \ INSTPGMFLAGS="${STRIP}" \ INSTBINFLAGS="-m ${BINMODE}" \ INSTDATFLAGS="-m ${SHAREMODE}" \ INSTMANFLAGS="-m ${MANMODE}" post-install: for i in hr_HR hu_HU pl_PL ro_RO; do \ ${LN} -sf cs_CZ.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ done for i in ja ja_JP.EUC ja_JP.eucJP ja_JP ja_JP.ujis ; do \ ${LN} -sf japanese.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ done for i in ko ko_KR.EUC ko_KR.eucKR ko_KR ko_KR.ujis; do \ ${LN} -sf korean.ps ${STAGEDIR}${PREFIX}/lib/X11/fig2dev/$${i}.ps; \ done .include diff --git a/sysutils/LPRngTool/Makefile b/sysutils/LPRngTool/Makefile index 4e21e228fc46..1406474a9950 100644 --- a/sysutils/LPRngTool/Makefile +++ b/sysutils/LPRngTool/Makefile @@ -1,29 +1,29 @@ PORTNAME= LPRngTool PORTVERSION= 1.3.2 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= sysutils print MASTER_SITES= SF/lprng/lprngtool/LRPngTool-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Configuration Tool for LPRng WWW= https://lprng.sourceforge.net/ LICENSE= GPLv2 BUILD_DEPENDS= a2ps:print/a2ps \ mpage:print/mpage USES= ghostscript:build tar:tgz tk GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_WISH=${WISH} CONFIGURE_ARGS= --with-spool_directory=/var/spool/lpd USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e \ 's|=freebsd|=generic|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ '/cp $$p.sample $$p;/d ; \ /chmod 644 $$p;/d' ${WRKSRC}/postinstall.generic.sh .include diff --git a/textproc/docproj-legacy/Makefile b/textproc/docproj-legacy/Makefile index fcd8f3db6783..e02849982efa 100644 --- a/textproc/docproj-legacy/Makefile +++ b/textproc/docproj-legacy/Makefile @@ -1,73 +1,74 @@ PORTNAME= docproj PORTVERSION= 3.1 +PORTREVISION= 1 CATEGORIES= textproc PKGNAMESUFFIX= -legacy MAINTAINER= doceng@FreeBSD.org COMMENT= Meta-port for the FreeBSD Legacy Documentation Project WWW= https://www.freebsd.org/docproj RUN_DEPENDS= ${LOCALBASE}/share/xml/dtd/xhtml/xhtml.soc:textproc/xhtml \ ${LOCALBASE}/share/xml/xmlcharent/catalog:textproc/xmlcharent \ ${LOCALBASE}/share/xsl/iso-schematron/xslt1/iso_schematron_skeleton_for_xslt1.xsl:textproc/iso-schematron-xslt \ docbook-xsl-ns>=1.78.1_4:textproc/docbook-xsl-ns \ docbook>0:textproc/docbook \ links:www/links1 \ p5-XML-Parser>=2.41:textproc/p5-XML-Parser \ peps:graphics/peps \ pngtopnm:graphics/netpbm \ scr2png:graphics/scr2png \ scr2txt:textproc/scr2txt \ xsltproc:textproc/libxslt \ zip:archivers/zip USES= ghostscript:run metaport perl5 USE_PERL5= run OPTIONS_DEFINE= CJK DBLATEX FOP GIT GROFF IGOR JING TRANSLATOR OPTIONS_DEFAULT= CJK GIT GROFF IGOR TRANSLATOR CJK_DESC= CJK support DBLATEX_DESC= dblatex PDF renderer (experimental, requires TeXLive) FOP_DESC= FOP PDF renderer (requires Java) GIT_DESC= Git support GROFF_DESC= Groff support from ports IGOR_DESC= Igor automated proofreader for documentation JING_DESC= Jing for advanced RELAX NG validation TRANSLATOR_DESC= Tools for translators CJK_RUN_DEPENDS= html2text:textproc/html2text DBLATEX_RUN_DEPENDS= dblatex:textproc/dblatex DBLATEX_USES= tex DBLATEX_USE= TEX=xetex FOP_RUN_DEPENDS= ${_FONTS} \ fop:textproc/fop GIT_RUN_DEPENDS= git:devel/git GROFF_USES= groff:run IGOR_RUN_DEPENDS= igor:textproc/igor JING_RUN_DEPENDS= jing:textproc/jing TRANSLATOR_RUN_DEPENDS= itstool:textproc/itstool \ msgcat:devel/gettext-tools _FONTS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf \ ${LOCALBASE}/share/fonts/GentiumPlus/GentiumPlus-Regular.ttf:x11-fonts/gentium-plus \ ${LOCALBASE}/share/fonts/Lohit/Lohit-Bengali.ttf:x11-fonts/lohit _FONTS_CJK= ${LOCALBASE}/share/fonts/ipa/ipam.otf:japanese/font-ipa \ ${LOCALBASE}/share/fonts/nanum-ttf/NanumBarunGothic.ttf:korean/nanumfonts-ttf \ ${LOCALBASE}/share/fonts/TrueType/gkai00mp.ttf:chinese/arphicttf .include .if ${PORT_OPTIONS:MFOP} || ${PORT_OPTIONS:MDBLATEX} ONLY_FOR_ARCHS= amd64 i386 CJK_RUN_DEPENDS+= ${_FONTS_CJK} .endif # generate MINIMALDOCPORTS for src/release/Makefile.inc.docports. # (XXX: incomplete yet) minimaldocports: @${ECHO_CMD} "MINIMALDOCPORTS= \\" @${MAKE} all-depends-list | ${SED} -e 's,^${PORTSDIR}/, ,' -e 's,$$, \\,' .include diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile index b598e180dd96..1ae8cb480d7b 100644 --- a/textproc/latex2html/Makefile +++ b/textproc/latex2html/Makefile @@ -1,40 +1,40 @@ PORTNAME= latex2html PORTVERSION= 2016 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= TEX/obsolete/support/${PORTNAME} MAINTAINER= hrs@FreeBSD.org COMMENT= Convert LaTeX documents to HTML WWW= https://www.latex2html.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/bin/anytopnm:graphics/netpbm RUN_DEPENDS:= ${BUILD_DEPENDS} CONFLICTS= ja-latex2html USES= ghostscript perl5 tex USE_TEX= latex dvipsk texhash GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-perl=${PERL} \ --disable-gif \ --shlibdir=${DATADIR} \ --with-texpath=${PREFIX}/${TEXMFDIR}/tex/latex/html \ --without-mktexlsr SUB_FILES= pkg-message TEXHASHDIRS= ${TEXMFDIR} PORTDOCS= FAQ INSTALL README OPTIONS_DEFINE= DOCS post-install: ${INSTALL_MAN} ${WRKSRC}/latex2html.1 ${STAGEDIR}${MANPREFIX}/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/textproc/pdfsandwich/Makefile b/textproc/pdfsandwich/Makefile index 0a74bac97ca9..604517e8fc0e 100644 --- a/textproc/pdfsandwich/Makefile +++ b/textproc/pdfsandwich/Makefile @@ -1,25 +1,25 @@ PORTNAME= pdfsandwich DISTVERSION= 0.1.7 -PORTREVISION= 39 +PORTREVISION= 40 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/pdfsandwich%20${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Command line tool generating "sandwich" OCR pdf files WWW= https://sourceforge.net/projects/pdfsandwich LICENSE= GPLv2 BUILD_DEPENDS= gawk:lang/gawk \ ocamlopt:lang/ocaml RUN_DEPENDS= pdfunite:graphics/poppler-utils \ tesseract:graphics/tesseract \ unpaper:graphics/unpaper USES= gmake ghostscript:run magick:6,run tar:bz2 GNU_CONFIGURE= yes PLIST_FILES= bin/pdfsandwich \ man/man1/pdfsandwich.1.gz .include diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile index 30fae66fbf33..09d0db7259ef 100644 --- a/textproc/pdftohtml/Makefile +++ b/textproc/pdftohtml/Makefile @@ -1,24 +1,24 @@ PORTNAME= pdftohtml PORTVERSION= 0.40a -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/Experimental%20Versions/${PORTNAME}%20${PORTVERSION:S|a||} \ http://fossies.org/linux/www/ MAINTAINER= ports@FreeBSD.org COMMENT= Command-line tool for converting pdf-files into html WWW= https://sourceforge.net/projects/pdftohtml/ USES= cpe ghostscript gmake PLIST_FILES= bin/pdf-to-html pre-patch: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e "s|-O[0-9]||" -e "s|-g||" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/pdftohtml \ ${STAGEDIR}${PREFIX}/bin/pdf-to-html .include diff --git a/textproc/py-ocrmypdf/Makefile b/textproc/py-ocrmypdf/Makefile index 06138b9b54b4..8f8b7f00d410 100644 --- a/textproc/py-ocrmypdf/Makefile +++ b/textproc/py-ocrmypdf/Makefile @@ -1,70 +1,71 @@ PORTNAME= ocrmypdf DISTVERSION= 15.4.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Adds an OCR text layer to scanned PDF files WWW= https://github.com/ocrmypdf/OCRmyPDF LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}deprecation>=2.1.0:devel/py-deprecation@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}img2pdf>=0.4.4:graphics/py-img2pdf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=10.0.1:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>=3.6.8:print/py-reportlab@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rich>=13:textproc/py-rich@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20220319:textproc/py-pdfminer.six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pikepdf>=8:textproc/py-pikepdf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pluggy>=0.13.0:devel/py-pluggy@${PY_FLAVOR} \ tesseract:graphics/tesseract TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=6.36.0:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.5.0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xmp-toolkit>=2.0.1:textproc/py-python-xmp-toolkit@${PY_FLAVOR} USES= ghostscript:run python:3.9+ shebangfix USE_PYTHON= autoplist concurrent pep517 pytest # Skip some checks as they yield wrong results if run with the root account PYTEST_IGNORED_TESTS= test_chmod \ test_input_file_not_readable \ test_malformed_docinfo # leads to an internal pytest error SHEBANG_FILES= src/ocrmypdf/__main__.py \ src/ocrmypdf/hocrtransform.py \ src/ocrmypdf/pdfinfo/__init__.py TEST_ARGS= -n ${MAKE_JOBS_NUMBER} TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes PLIST_FILES= etc/bash_completion.d/ocrmypdf.bash share/fish/vendor_completions.d/ocrmypdf.fish OPTIONS_DEFINE= PNGQUANT UNPAPER OPTIONS_DEFAULT=PNGQUANT UNPAPER PNGQUANT_DESC= Optimizes the encoding of PNG-style images in PDFs UNPAPER_DESC= Deskew and clean up pages before OCR processing PNGQUANT_RUN_DEPENDS= pngquant:graphics/pngquant UNPAPER_RUN_DEPENDS= unpaper:graphics/unpaper .include .if ${PYTHON_REL} < 31000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4:devel/py-typing-extensions@${PY_FLAVOR} .endif post-install: # Install shell completion files @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ .include diff --git a/textproc/sowing/Makefile b/textproc/sowing/Makefile index d902f8901730..6ea65dac0767 100644 --- a/textproc/sowing/Makefile +++ b/textproc/sowing/Makefile @@ -1,38 +1,38 @@ PORTNAME= sowing PORTVERSION= 1.1.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://ftp.mcs.anl.gov/pub/sowing/ MAINTAINER= ports@FreeBSD.org COMMENT= Text processing tools to generate documentation from source files WWW= http://web.engr.illinois.edu/~wgropp/projects/software/sowing/ BUILD_DEPENDS= ppmtogif:graphics/netpbm RUN_DEPENDS= ppmtogif:graphics/netpbm USES= ghostscript gmake perl5 tex USE_TEX= latex dvipsk GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${DATADIR} MAKE_JOBS_UNSAFE= yes ALL_TARGET= all-redirect CONFLICTS_INSTALL= bib2html # bin/bib2html post-patch: @${REINPLACE_CMD} -e \ 's|\([[:blank:]]\)\($$(exec_prefix)\)|\1$$(DESTDIR)\2| ; \ s|\([[:blank:]]\)\($$(bindir)\)|\1$$(DESTDIR)\2| ; \ s|\([[:blank:]]\)\($$(datadir)\)|\1$$(DESTDIR)\2| ; \ s|\([[:blank:]]\)\($$(man1dir)\)|\1$$(DESTDIR)\2|' \ ${WRKSRC}/Makefile.in .if defined(MAINTAINER_MODE) regression-test: install @(cd ${BUILD_WRKSRC} && ${DO_MAKE_BUILD} testing) .endif .include diff --git a/textproc/tth/Makefile b/textproc/tth/Makefile index e5fae0c2ae1c..1da49fbc0eba 100644 --- a/textproc/tth/Makefile +++ b/textproc/tth/Makefile @@ -1,35 +1,35 @@ PORTNAME= tth PORTVERSION= 4.03 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= http://hutchinson.belmont.ma.us/tth/tth-noncom/ \ http://redundancy.redundancy.org/mirror/ DISTNAME= tth_C MAINTAINER= ports@FreeBSD.org COMMENT= TeX to HTML translator WWW= http://hutchinson.belmont.ma.us/tth/ RUN_DEPENDS= ppmtogif:graphics/netpbm USES= ghostscript:run shebangfix tar:tgz #USE_TEX= latex SHEBANG_FILES= Xfonts.fix OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC}; ${CC} ${CFLAGS} tth.c -o tth -ll do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tth ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/ps2png ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/Xfonts.fix ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}/${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/tth_manual.html ${STAGEDIR}${DOCSDIR} @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include