diff --git a/CHANGES b/CHANGES index beea8548e828..e1136763ed79 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3839 +1,3862 @@ Updating Information for FreeBSD ports developers This file is maintained by portmgr@FreeBSD.org and copyrighted by the FreeBSD Foundation. This file contains major changes to ports and the ports infrastructure. Intended audience are ports committers, maintainers and other developers. User oriented changes should be submitted for inclusion in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20211211: +AUTHOR: tcberner@FreeBSD.org + + A new USES has been added to depend on ImageMagick. + + USES=magick + + adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}. + + If a specific version is required, use for example + + USES=magick:6 resp. USES=magick:7 + + If only a build, run or test is required, use for example + + USES=magick:build resp. USES=magick:6,build,test + + If a dependency on the nox11 flavor is required, use for example + + USES=magick:nox11 resp. USES=magick:7,nox11,run,test + + See magick.mk for more details on the available flags. + 20211122: AUTHOR: bapt@FreeBSD.org The default compression for INDEX file as fetch via make fetchindex has switched from .bz2 to .xz (.zst is also available). The .bz2 format is still available but is considered deprecated and may be removed in the future. 20211010: AUTHOR: bapt@FreeBSD.org INSTALLS_ICONS has been replace by a trigger on gtk-update-icon-cache. the macro does nothing anymore. 20211010: AUTHOR: bapt@FreeBSD.org A new USES has been added, to simplify the integration of triggers in the ports tree. 20210801: AUTHOR: delphij@FreeBSD.org WANT_OPENLDAP_SASL is removed now that OpenLDAP is always built with SASL support. 20210730: AUTHOR: tcberner@FreeBSD.org A new USES has been added to depend on the mlt multimedia framework. Ports that depend on mlt should now use USES=mlt: to specify their dependency. At the moment the supported version is 6, but will be extended to also allow for selection of mlt 7 shortly. 20210604: AUTHOR: mat@FreeBSD.org The prepare-commit-msg hook was enhanced to auto-fill the first line of the commit with the category/port in case only one port was committed to. 20210525: AUTHOR: amdmi3@FreeBSD.org PYTHON_REL has been switched from a 4 digits number to a 5 digits number to handle python 3.10.0. Ports checking for python 3.7.10 should compare PYTHON_REL against 30710 and ports checking for python 3.10.0 should compare PYTHON_REL against 31000. 20210420: AUTHOR: mat@FreeBSD.org A prepare-commit-msg hook was added to the repository. This hooks prepares the commit message template for specific ports tree usage. To make use of it, the easiest way is to run: git config --add core.hooksPath .hooks 20201120: AUTHOR: gnome@FreeBSD.org New default version for librsvg2. Current versions of graphics/librsvg2 are using parts written in rust. For architectures that do not have support for rust, and for people who prefer not to have, or are not able to compile rust software due to hardware limitations, the version can be chosen via this new flag. The default on almost all architectures is rust. If you prefer no to use rust, add the following to your make.conf: DEFAULT_VERSIONS+=librsvg2=legacy 20210327: AUTHOR: bapt@FreeBSD.org New @touch keyword Its purpose is to ensure that a file is being created at install time while not necessary tracked by the package. 20201120: AUTHOR: pauamma@gundo.com New virtual category: education. This category comprises ports that are mainly educational in nature or purpose, such as: * course-writing or course-delivery applications, * classroom or school management applications (eg, scheduling classes), * applications, utilities, or games primarily or substantially designed to help the user learn a specific topic or study in general, like typing tutors, flashcard applications, or educational games. 20201110: AUTHOR: bapt@FreeBSD.org Patents are a complicated topic, and their regulation varies depending on jurisdiction. Patents are not necessarily related to the license and so should not be connected to the license framework. Patent limitations within the ports tree have been removed and left to the user or consumer to deal with their local legislation to determine if they can use the software without legal restrictions. 20201022: AUTHOR: bapt@FreeBSD.org New @rmempty keyword Its purpose is to delete empty files at deinstallation time. It is meant to be used for generated files/untracked by the package manager files. It respects rootdir 20201022: AUTHOR: bapt@FreeBSD.org @shell has been rewritten in lua It provides the exact same feature set as the previous version but it is now sandboxed and rootdir compliant (see the pkg -r option). 20201001: AUTHOR: manu@FreeBSD.org The @sample keyword was rewritten in lua. It behaves exactly like the previous one but it is sandboxed and is rootdir compliant (see pkg -r option). 20201001: AUTHOR: bapt@FreeBSD.org packages scripts and keywords can both be written in lua (version 5.3), see pkg-lua-script(5) for the API. Note that all scripts written in lua will: - run inside a capsicum sandbox, - be rootdir compatible (see pkg -r option) - be cross installation compatible example: installing packages in an arm64 rootdir on and amd64 host. 20200531: AUTHOR: kde@FreeBSD.org pyqt.mk gained support for test-only dependencies. If a component, say py-qt5-gui is only required for testing, you can add USE_PYQT= gui_test 20200514: AUTHOR: mat@FreeBSD.org Add PATCH_CONTINUE_ON_FAIL to allow patching to go through all the patches even if one fail. This helps when upgrading ports with a large number of patches, like www/chromium where having to fix one patch, re-do the patching, fix the fallout, 800 times, is really painful. 20200414: AUTHOR: bapt@FreeBSD.org package scripts can now be done in lua, the following are supported: - pkg-pre-install.lua - pkg-post-install.lua - pkg-pre-deinstall.lua - pkg-post-deinstall.lua see pkg-lua-script(5) for more details. 20200414: AUTHOR: mat@FreeBSD.org USES=lua gained flavors. Ports using USES=lua:module or lua:flavors will be flavored. A range of supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ) for ports not supporting all lua versions. USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of flavored lua ports, in a similar way as PHP or Python flavors. 20200115: AUTHOR: bapt@FreeBSD.org ${PREFIX}/share/man is now a valid location for manpages ${PREFIX}/man being considered as deprecated. 20191009: AUTHOR: bapt@FreeBSD.org The ipv6 virtual category is gone, it does not make sense anymore in 2019 where the norm in applications is to have support both ipv4 and ipv6. 20191001: AUTHOR: bapt@FreeBSD.org BINARY_WRAPPERS allow to push in front of the PATH wrappers for binaries. This is useful when 2 tools do provide the same feature, but the configure scripts do test for some variables which are not in one of the tool. 20190919: AUTHOR: madpilot@FreeBSD.org USES=xfce now defaults to gtk3, so for ported applications requiring GTK2 XFCE support USES=xfce:gtk2 should be used. 20190903: AUTHOR: bapt@FreeBSD.org The ports tree now supports overlays overlays are a way to help users to integrate their own ports tree with the official ports tree without having to maintain clone of the official tree and remerge on regular basis. The ports tree will lookup in the overlays (in the order the are listed in OVERLAY variable) for the dependencies and the USES. It will use the first found. in order to use it the user have to declare his overlays that way in their make.conf: OVERLAYS= overlay1 overlay2 overlay3 20181225: AUTHOR: kde@FreeBSD.org cmake.mk now defaults to out-of-sourcetree builds. The option 'outsource' has been removed. Ports that need an intree build now can pass 'insource'. 20181110: AUTHOR: bapt@FreeBSD.org texinfo files are now installed in ${PREFIX}/share/info 20180630: AUTHOR: kde@FreeBSD.org bsd.qt.mk has been replaced by qt.mk. This changes the way ports have to depend on Qt slightly. Previously one would have written USE_QT4=foo bar or USE_QT5=foo bar while now one has to write USES=qt:4 USE_QT=foo bar respectively USES=qt:5 USE_QT=foo bar Further qmake.mk no longer respects QT_NONSTANDARD. Ports that don't want to get the configure environment provided by qmake.mk should add the argument no_env, ports that don't want the configure target should specify no_configure. 20180506: AUTHOR: brnrd@FreeBSD.org All USE_ and WANT_ variables for PHP have been removed and marked UNSUPPORTED. Use USES= php: as a replacement. USE_PHPIZE, USE_PHPEXT, USE_ZENDEXT, USE_PHP_BUILD, WANT_PHP_CLI, WANT_PHP_CGI, WANT_PHP_MOD, WANT_PHP_WEB, WANT_PHP_EMB 20180311: AUTHOR: brnrd@FreeBSD.org USE_APACHE has been replaced by USES=apache. 20180308: AUTHOR: mat@FreeBSD.org Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now flavored. They will automatically get flavors (php56, php70, php71, php72) depending of the versions they support (set with IGNORE_WITH_PHP). As a consequence, ports using USES=pear and USES=horde are also flavored. As all packages must have different package names, the following variables must be used in PKGNAMEPREFIX/SUFFIX: Variable + Values + -------------------------------------------------------------------------------------- PHP_PKGNAMEPREFIX | php56- php72- | PHP Extensions | | and modules -------------------------------------------------------------------------------------- PHP_PKGNAMESUFFIX | -php56 -php72 | PHP Applications -------------------------------------------------------------------------------------- PECL_PKGNAMEPREFIX | php56-pecl- | PECL extensions | | automatic -------------------------------------------------------------------------------------- PEAR_PKGNAMEPREFIX | php56-pear- | PEAR modules | | without PEAR_CHANNEL PEAR__PKGNAMEPREFIX | php56-pear-channel- | with PEAR_CHANNEL | | automatic In all the ports with PHP dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PHP_FLAVOR}' after the origin. For example: RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Validate>=0.5.0:devel/pear-Validate@${PHP_FLAVOR} \ ${PECL_PKGNAMEPREFIX}smbclient>=0.8.0:net/pecl-smbclient@${PHP_FLAVOR} \ PHP applications (for example, www/wordpress) can also get flavors, add the flavors keyword to USES=php, for example: USES=php:flavors, and add ${PHP_PKGNAMESUFFIX} to its PKGNAMESUFFIX. 20180125: AUTHOR: mat@FreeBSD.org Add support to passing directories to EXTRA_PATCHES. Instead of: EXTRA_PATCHES= ${PATCHDIR}/feat-foo-patch-file.c \ ${PATCHDIR}/feat-foo-patch-file.h \ ${PATCHDIR}/feat-foo-patch-file2.c Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set: EXTRA_PATCHES= ${PATCHDIR}/feat-foo 20180116: AUTHOR: mat@FreeBSD.org The deprecated PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION, and PYTHON3_DEFAULT_VERSION have been removed. 20180106: AUTHOR: kde@FreeBSD.org USES=qmake now accepts a new variable, QMAKE_CONFIGURE_ARGS. Starting with Qt 5.8.0, qmake can use configure.json files to help define configuration options and configuration time checks. These options are generally in the form '-foo -no-bar', and must be passed after "--" at the end of qmake's command line. The QMAKE_CONFIGURE_ARGS variable allows one to set those options, and USES=qmake takes care of passing them at the right position when invoking qmake. 20180102: AUTHOR: kde@FreeBSD.org There is a new USES=eigen to depend on math/eigen[23]. Usage: USES=eigen:[,] version: 2 or 3 (required) type: build (default), run For example: USES=eigen:2,build,run will add a BUILD- and RUN_DEPENDS on math/eigen2, and USES=eigen:3 will add a BUILD_DEPENDS on math/eigen3. 20171231: AUTHOR: kde@FreeBSD.org USES=cmake now supports two additional list variables: * CMAKE_ON : List of variables to turn on * CMAKE_OFF : List of variables to turn off This can be used as a shortcut to append these to CMAKE_ARGS. For example ports that previously set CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE can now set this as CMAKE_ON= VAR1 VAR2 CMAKE_OFF= VAR3 20171130: AUTHOR: mat@FreeBSD.org Ports using USE_PYTHON=distutils are now flavored. They will automatically get flavors (py27, py34, py35, py36) depending on what versions they support. There is also a USE_PYTHON=flavors for ports that do not use distutils but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if the port is using distutils but flavors are not wanted. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added to cope with Python ports that did not have the Python PKGNAMEPREFIX but are flavored. USES=python now also exports a PY_FLAVOR variable that contains the current python flavor. It can be used in dependency lines when the port itself is not python flavored, for example, deskutils/calibre. By default it will only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT. Define BUILD_ALL_PYTHON_FLAVORS in your make.conf to generate all possible flavors. A port can set USE_PYTHON=allflavors to have all the flavors and not simply the default ones. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin. For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} 20171130: AUTHOR: mat@FreeBSD.org To help with flavored ports, helpers are available. In these, replace <*> with the flavor name. *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable. *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable. For example: flavor2_PKGNAMESUFFIX= -foo can replace: .if ${FLAVOR:U} == flavor2 PKGNAMESUFFIX= -foo .endif 20171130: AUTHOR: mat@FreeBSD.org Flavors are a way to have multiple variations of a port. The port is built multiple times, with the variations. To declare flavors, set the FLAVORS variable to the flavors you want defined. The first flavor will be the default: FLAVORS= flavor1 flavor2 The flavors MUST be lowercase, and can contain [[:lower:][:digit:]_]. Then, when building the port, pass the FLAVOR as an argument after make to select the flavor. $ make install FLAVOR=flavor2 In the port, you can then change the behavior depending on the value of the FLAVOR variable. Note that the different flavors MUST have different PKGNAMEs. Be sure to guard against an empty FLAVOR variable by using ${FLAVOR:U}: .if ${FLAVOR:U} == flavor2 PKGNAMESUFFIX= -foo OPTIONS_DEFAULT+= FOO .endif A tools guide is available at: https://wiki.freebsd.org/Ports/FlavorsTools A port migration guide is available at: https://wiki.freebsd.org/Ports/FlavorsMigration 20171020: AUTHOR: ak@FreeBSD.org The USES=fmake has been removed. It was created to help migration from old FreeBSD make (pmake) and there are no more users of it left in the ports tree. 20171012: AUTHOR: mat@FreeBSD.org Remove WANT_GNOME and HAVE_GNOME, they were in disuse, and made useless by options. 20171011: AUTHOR: bapt@FreeBSD.org New BINARY_ALIAS variable has been added, when defined it will create symlinks of some given binaries in a directory which will be prepended to the PATH. The syntax is the following: BINARY_ALIAS= target1=source1 target2=source2 For example to have a "swig" binary in the path which will be pointing at swig3.0 and a "sed" pointing at GNU sed: gsed BINARY_ALIAS= swig=swig3.0 sed=gsed 20170625: AUTHOR: kde@FreeBSD.org The default generator for USES=cmake ports has been switched to ninja. Previously it was possible to opt-in to using ninja instead of make(1) by setting CMAKE_NINJA, now ports need to opt-out. Ports that do not build with ninja must switch from USES=cmake: to USES=cmake:,noninja 20170417: AUTHOR: kwm@FreeBSD.org New USES: meson, to handle properly the meson building system. 20170313: AUTHOR: tijl@FreeBSD.org HTTPS certificates are now verified when "make makesum" fetches distfiles. If this fails make sure you have a CA certificate bundle installed such as security/ca_root_nss. If it still fails and there are other HTTPS sites with a valid certificate consider removing the site from MASTER_SITES. If the site cannot be removed you can disable certificate verification by adding the following line to the port Makefile: FETCH_ENV= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1 20170218: AUTHOR: kde@FreeBSD.org * Qt 4's binaries have been moved to lib/qt4/bin to match what is already done to Qt 5's binaries. Since these binaries are no longer in ${LOCALBASE}/bin, they also do not have the -qt4 suffix in their names any more. * Consequently, there are no Qt 4 or Qt 5 binaries in the default $PATH, and misc/qtchooser is now used to select the actual Qt binaries. In other words, calling "qmake" or "moc" now goes through qtchooser, which prefers Qt 5 binaries by default. The ports framework handles this automatically. The UPDATING entry covers this in more detail. * Qt 5.7.1 requires a C++11-capable compiler to be used. qmake and CMake pass the appropriate flags to the compiler (such as -std=c++11) automatically, but if your port fetches Qt's build flags via pkg-config (which can be the case for autotools-based ports), you might need to take care of this manually by setting USE_CXXSTD in your Makefile: USE_CXXSTD= c++11 20160116: AUTHOR: mat@FreeBSD.org A new EXTRA_PATCH_TREE has been added. Points to a directory hierarchy with the same layout as the ports tree, where local patches can be found. This allows a third party to keep their patches in some other source control system if needed. For example, if you have EXTRA_PATCH_TREE=/patches, when building lang/perl5.24, any file named patch-* in /patches/lang/perl5.24/ will be used to patch the Perl distribution. 20160116: AUTHOR: mat@FreeBSD.org During extraction of the do-patch target into a separate script, the "-d PATCH_WRKSRC" had to be removed from the PATCH_ARGS and PATCH_DIST_ARGS variables. If using these variables directly, you will need to adapt the Makefile. For example: ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/extra-patch needs to be changed to: ${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} < ${FILESDIR}/extra-patch 20161218: AUTHOR: tcberner@FreeBSD.org QT_PREFIX has been dropped, in favour of using PREFIX directly. 20160911: AUTHOR: amdmi3@FreeBSD.org Support has been added for complete set of Creative Commons licenses CC-(BY|BY-ND|BY-NC|BY-NC-ND|BY-NC-SA|BY-SA)-(1.0|2.0|2.5|3.0|4.0) 20160909: AUTHOR: amdmi3@FreeBSD.org Verbose build logs are now preferred and enabled by default for cmake, ninja and GNU configure. Ports which still produce quiet build logs (hiding actual commands) are strongly advised to switch to verbose logs. 20160908: AUTHOR: amdmi3@FreeBSD.org Support has been added for NONE license, use it when the port doesn't have cleanly defined licensing terms. Note that without clean license allowing you to use and distribute the code it would be be illegal to do so in many jurisdictions, so for ports with NONE license no distfiles or packages are distributed. 20160824: AUTHOR: mat@FreeBSD.org To complete the USE_GITHUB framework, a GH_SUBDIR variable has been added. It automatically moves a secondary distfile to the right place inside WRKSRC. It also extends the GH_TUPLE variable to make it as easy to use as possible. Before: GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js \ FVANCOP:ChartNew.js:77e7f87:chartnew_js post-extract: @${RMDIR} ${WRKSRC}/database ${WRKSRC}/3rd/Chart.js @${MV} ${WRKSRC_database} ${WRKSRC}/database @${MV} ${WRKSRC_chart_js} ${WRKSRC}/3rd/Chart.js After: GH_TUPLE= Regaddi:Chart.js:f13f99b:chart_js/3rd/Chart.js \ FVANCOP:ChartNew.js:77e7f87:chartnew_js/3rd/ChartNew.js It also works if not using GH_TUPLE but the regular GH_ACCOUNT/PROJECT/TAGNAME variables: GH_SUBDIR= 3rd/Chart.js:chart_js 3rd/ChartNew.js:chartnew_js 20160824: AUTHOR: kde@FreeBSD.org A new USES file has been introduced: USES=kde:4, which replaces the old bsd.kde4.mk file in preparation for upcoming KDE Frameworks and Plasma5 ports. Ports depending on KDE4 have to switch from USE_KDE4=foo bar to USES=kde:4 USE_KDE=foo bar and make sure to switch from using KDE4_PREFIX to the new name KDE_PREFIX in the Makefiles as well as plists. 20160821: AUTHOR: kde@FreeBSD.org A new USES file has been introduced: USES=grantlee:[4,5], which introduces a LIB_DEPENDS on either devel/grantlee (Qt4) or devel/grantlee5 (Qt5). Uses/grantlee.mk also exports the GRANTLEE_VERSION variable to users, and the GRANTLEE_VERSION_FULL and GRANTLEE_VERSION_SHORT pkg-plist substitutions. 20160817: AUTHOR: mat@FreeBSD.org This adds the possibility to use regular expressions for the makeplist stage of the PLIST_SUB life. From time to time, the values are too generic, and they get in the way of other stuff. This adds the possibility to have a VAR_regex=regex that will be used instead of the VAR=string to search for possible replacements. For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced in paths if a file is called, say "machine", will end up being "%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full words are replaced, so machine will stay machine, but "lib/mach/foo "will still be replaced by "lib/%%PERL_ARCH%%/foo". 20160803: AUTHOR: mat@FreeBSD.org Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. 20160628: AUTHOR: mat@FreeBSD.org USEify USES=php. The following variables have been folded into arguments: - USE_PHPIZE -> USES=php:phpize - USE_PHPEXT -> USES=php:ext - USE_ZENDEXT -> USES=php:zend - USE_PHP_BUILD -> USES=php:build - WANT_PHP_CLI -> USES=php:cli - WANT_PHP_CGI -> USES=php:cgi - WANT_PHP_MOD -> USES=php:mod - WANT_PHP_WEB -> USES=php:web - WANT_PHP_EMB -> USES=php:embed 20160627: AUTHOR: mat@FreeBSD.org USE_OPENSSL has been replaced by USES=ssl. 20160625: AUTHOR: adamw@FreeBSD.org A new ${opt}_CMAKE_BOOL OPTIONS helper has been added. Instead of: FOO_CMAKE_ON= -DWITH_FOO:BOOL=YES -DWITH_BAR:BOOL=YES FOO_CMAKE_OFF= -DWITH_FOO:BOOL=NO -DWITH_BAR:BOOL=NO you can use this shortcut: SOMEOPT_CMAKE_BOOL= WITH_FOO WITH_BAR 20160525: AUTHOR: mat@FreeBSD.org A new stage-qa test has been added, it reports all shared libraries dependencies that are not part of the port list of dependencies. It help finds what is called proxy dependencies. A is needed by B, and B is needed by C. If C also needs A, then it needs to be registered, and this check will tell you to do so. Right now, it is only reporting the problems, but if you add PROXYDEPS_FATAL=yes to your environment, it will give an error and will force you to fix the dependencies. 20160525: AUTHOR: bapt@FreeBSD.org New keyword @xmlcatmgr has been added, to handle the XML and SGML catalog maintainance, in order to improve consistency and correctness of the generation of the catalog. If the catalog file has an extension being '.xml' it will be automatically added to the XML catalog, otherwise it will be added to the SGML catalog 20160512: AUTHOR: emaste@FreeBSD.org "make makesum" now writes the current timestamp to distinfo when it is run. This is done to support development and prototyping efforts for reproducible package builds, which require some concept of a "last updated" time. The TIMESTAMP can currently be ignored for ports that have no distinfo, and for updates done without using "make makesum." 20160428 AUTHOR: mat@FreeBSD.org USE_RUBYGEMS has been replaced by USES=gem. 20160426: AUTHOR: mat@FreeBSD.org USE_MYSQL and USE_BDB have been replaced by USES=mysql and USES=bdb. WANT_BDB_VER=XX should be replaced by USES=bdb:XX. 20160414: AUTHOR: mat@FreeBSD.org USE_RC_SUBR=yes has not done anything for a long time, it will now give an error. 20160413: AUTHOR: jbeich@FreeBSD.org Introducing CONFIGURE_OUTSOURCE. It changes HAS_CONFIGURE and GNU_CONFIGURE by invoking configure, build and install stage outside of source tree e.g., $ mkdir ../.build $ cd ../.build $ ${OLDPWD}/configure $ gmake $ gmake install 20160402: AUTHOR: bapt@FreeBSD.org Adding ${PORTSDIR} in dependency lines is no longer necessary meaning RUN_DEPENDS= foo:${PORTSDIR}/bar/foo can now be written RUN_DEPENDS= foo:bar/foo if the path after ':' is not absolute the framework will automatically prepend ${PORTSDIR}/ 20160301: AUTHOR: mat@FreeBSD.org Introduce GH_TUPLE. GH_TUPLE allows one to put all the GH_{ACCOUNT,PROJECT,TAGNAME} into one variable, in the form of account:project:tagname[:group]. It is helpful when there are many submodules. 20160207: AUTHOR: kwm@FreeBSD.org The GNOME and MATE framework activation changed. To use the frameworks now either gnome or mate needs to be added USES. The usage of USE_GNOME, USE_MATE, INSTALLS_ICONS and for example GLIB_SCHEMAS stays the same. Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk is now forbidden. 20160112: AUTHOR: amdmi3@FreeBSD.org Support has been added for "or later" variants of GNU licenses (e.g. LICENSE=GPLv2+) and for Public Domain (LICENSE=PD). Complete list of new LICENSE values: AGPLv3+ GPLv1+ GPLv2+ GPLv3+ GPLv3RLE+ LGPL20+ LGPL21+ LGPL3+ PD 20160110: AUTHOR: bapt@FreeBSD.org USE_FIREBIRD and USE_SQLITE has been replaced by USES=firebird and USES=sqlite 20151105: AUTHOR: mat@FreeBSD.org Change the meaning of NO_WRKSUBDIR to force a WRKDIR != WRKSRC. Right now, NO_WRKSUBDIR means that the extraction does not produce a subdirectory, and that everything goes straight into WRKDIR. It is problematic, because during the build of a port, quite a few files are created in there, and then, a stage directory, where everything is installed, and then a pkg directory where the package is created, and those often conflict, or get in the way, of the building process. With this, NO_WRKSUBDIR will extract the distfiles directly into WRKSRC instead of WRKDIR. In this case, WRKSRC is artificial and is based on PKGNAME and not DISTNAME, mitigate conflicts with rc files. 20151022: AUTHOR: amdmi3@FreeBSD.org Improved support for USES=shebangfix - We now support multiple values for *_OLD_CMD - We replace more variants by default (/bin/${lang}, /usr/bin/${lang}, /usr/bin/env ${lang}). - shebangfix now also supports lua if USES=lua is specified - Pattern matching has been improved: we now only match whole worlds, e.g. "/usr/bin/perl5.005" is no longer erroneously replaced with "${perl_CMD}5.005". Note that *_OLD_CMD entries which contain spaces must now be quoted. 20150928: AUTHOR: amdmi3@FreeBSD.org Implemented complete support for test target. You can now `make test' on any port to run test sequence, no-op by default. If a port defines TEST_TARGET, it'll run sub-make with specified target, usually `check' or `test', useful if upstream supports that. The port may instead define custom do-test target, as well as usual satellite targets: {pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off `make test' builds and stages port first, so test may use both WRKDIR and STAGEDIR, and both BUILD and RUN depends are available for test target. Additionally, TEST_DEPENDS is now properly supported and may be used to define additional depends specifically for testing. Framework may define default tests for specific cases. For instance, perl5.mk and cran.mk provide default test target on their own. 20150926: AUTHOR: bapt@FreeBSD.org @sample now accept arguments, so it can now be used the following way: @sample afile.sample or @sample path/to/example etc/target 20150926: AUTHOR: bapt@FreeBSD.org New keywords are supported in pkg since 1.5.x: @preexec : execute the during pre-install scripts @postexec : execute the during post-install scripts @preunexec : execute the during pre-deinstall scripts @postunexec : execute the during post-deinstall scripts @exec does not specify when it should be executed and is now considered as deprecated. 20150914: AUTHOR: mat@FreeBSD.org Introducing the %%PERL5_MAN1%% PLIST_SUB entry, as Perl now installs man1 pages in the same prefix as man3 pages. 20150828: AUTHOR: mat@FreeBSD.org _VARS and _VARS_OFF have been introduced to allow for a generic way to set/append to variables. OPT1_VARS= foo=bar baz+=bam will set FOO to bar and append bam to BAZ if OPT1 is enabled. _VARS_OFF works the same way, if the option is disabled. 20150818: AUTHOR: kde@FreeBSD.org The CMAKE_ENV option has been deprecated. It no longer has any effect, and the CONFIGURE_ENV variable should be used instead. 20150818: AUTHOR: mat@FreeBSD.org _IMPLIES and _PREVENTS have been introduced to register dependency, or conflicts between options. OPTIONS_DEFINE= FOO BAR BAZ FOO_IMPLIES= BAR BAZ_PREVENTS= BAR If the FOO option is selected, the BAR option will be enabled as well. If the BAZ and BAR options are both enabled, an error will be given. 20150817: AUTHOR: mat@FreeBSD.org UNIQUENAME and LATEST_LINK have been removed. LATEST_LINK was only used by ports-mgmt/pkg{,-devel} and PKGBASE can be used in its stead. UNIQUENAME was used by USE_LDCONFIG where it was not unique enough, and as old compat shims with options. 20150716: AUTHOR: kwm@FreeBSD.org USE_GHOSTSCRIPT was replaced by USES=ghostscript. The ghostscript USES accepts version, build, run, nox11 and for version 9 the agpl argument. If no version is specified, the default 9 for GHOSTSCRIPT_DEFAULT is honored. 20150701: AUTHOR: mat@FreeBSD.org Make option target helpers have been added, it allows replacing: .include post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh .if ${PORT_OPTIONS:MPTHREAD} ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \ ${WRKSRC}/hints/freebsd.sh .else ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ ${WRKSRC}/hints/freebsd.sh .endif with: post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh post-patch-PTHREAD-on: ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|-lpthread|g;' \ ${WRKSRC}/hints/freebsd.sh post-patch-PTHREAD-off: ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \ ${WRKSRC}/hints/freebsd.sh 20150622: AUTHOR: bapt@FreeBSD.org Remove USE_RCORDER, USE_RC_SUBR has been modified to support PREFIX=/usr automatically 20150529: AUTHOR: mat@FreeBSD.org Extend the multiple distfiles USE_GITHUB framework by allowing it to fetch only additional distfiles, but not the main one. Set USE_GITHUB=nodefault and use the GH_* variables with groups as usual. 20150528: AUTHOR: mat@FreeBSD.org USE_GITHUB can now fetch multiple distfiles. It uses a grouping feature similar to MASTER_SITES/PATCH_SITES. Some helpful variables are provided: WRKSRC_ for putting things in the right place in post-extract, and DISTNAME_/DISTFILE_ for use with EXTRACT_ONLY. A simple example: PORTNAME= bar PORTVERSION= 1.0 USE_GITHUB= yes GH_ACCOUNT= foo GH_PROJECT= ${PORTNAME}-images:images post-extract: @${MV} ${WRKSRC_images} ${WRKSRC}/images It will fetch those two distfiles: $ make fetch-urlall-list https://codeload.github.com/foo/bar/tar.gz/1.0?dummy=/foo-bar-1.0_GH0.tar.gz https://codeload.github.com/foo/bar-images/tar.gz/1.0?dummy=/foo-bar-images-1.0-1.0.tar.gz It will then extract them to ${WRKDIR} in their respectives directories. 20150526: AUTHOR: antoine@FreeBSD.org PYTHON_REL has been switched from a 3 digits number to a 4 digits number to handle python 2.7.10. Ports checking for python 2.7.9 should compare PYTHON_REL against 2709 and ports checking for python 2.7.10 should compare PYTHON_REL against 2710. 20150521: AUTHOR: mat@FreeBSD.org GH_COMMIT support has been removed, see the 20150319 for more informations. 20150419: AUTHOR: tijl@FreeBSD.org USE_AUTOTOOLS has been deprecated. It can be replaced with USES=autoreconf and GNU_CONFIGURE=yes. Support for USE_AUTOTOOLS=libtoolize has been removed. It can be replaced with "USES=autoreconf libtool". 20150409: AUTHOR: bapt@FreeBSD.org Add a new USES=gnustep to handle the GNUstep ports. Now the dependencies on GNUstep libraries is done via the regular LIB_DEPENDS USE_GNUSTEP is now a macro that accept many arguments: back, build, gui, back Depending on the feature needed for a given port Reuse USES=objc to avoid duplicating code 20150408: AUTHOR: bapt@FreeBSD.org Add a new USES=waf to handle the waf building system, allowing to factorise code. Plug waf into MAKE_CMD and CONFIGURE_CMD so the regular defined targets can be reused. Always define _MAKE_JOBS so that when bsd.port.mk will stop overwritting _MAKE_JOBS when parallel jobs are disabled we can enforce -j1 (which is needed to really disable parallelisation with waf WAF_CMD has been created to allow one to override the location of the waf script relatively to WRKSRC CONFIGURE_TARGET is by default defined to "configure" ALL_TARGET is by default defined to "build" INSTALL_TARGET is by default defined to "install" USES=waf is by default stagedir safe 20150407: AUTHOR: bapt@FreeBSD.org USE_XZ and USE_BZIP2 are not supported anymore, they have been replaced by USES=tar:bzip2 and tar:xz 20150328: AUTHOR: bapt@FreeBSD.org New "metaport" USES to take care of predefining correctly the needed macros as expected by meta ports. 20150323: AUTHOR: bapt@FreeBSD.org Remove "@fc" and "@fontsdir". All fonts should always use @fcfontsdir which Properly takes care of the fonts.dir and fonts.scale cache files as well as ensure to properly update the fontconfig cache New "fonts" USES. It defines the default variables needed for fonts and also takes care of the run time dependencies 20150326: AUTHOR: bdrewery@FreeBSD.org PTHREAD_CFLAGS and PTHREAD_LIBS have been removed. Please see entry 20130207 for more information. 20150319: AUTHOR: bdrewery@FreeBSD.org MASTER_SITE GHR (GITHUB_RELEASE) has been removed. The same functionality can be achieved with just USE_GITHUB/GH_ACCOUNT/GH_PROJECT. GH_TAGNAME defaults to DISTVERSION. If the tag needs to be adjusted then change GH_TAGNAME. No GH_COMMIT is needed. 20150319: AUTHOR: bdrewery@FreeBSD.org USE_GITHUB has been updated to make GH_COMMIT optional. Using this new scheme allows only setting the _tag_ or _commit hash_ in GH_TAGNAME and not having to know the hash for a tag. This scheme will download a tarball that has a different checksum than before due to a changed directory name for extraction. GH_TAGNAME can now be any length of the hash as long as it is unique. There is no longer a 7-character requirement. The following MASTER_SITES are provided to retain the old checksum and directory structure (that require GH_COMMIT): GH -> GHL GITHUB -> GITHUB_LEGACY 20150305: AUTHOR: olivierd@FreeBSD.org Dependencies on the Xfce ports have been migrated to USES. Instead of USE_XFCE= configenv, you should use USES= xfce. 20150224: AUTHOR: makc@FreeBSD.org New USE_QT4 component has been introduced to reduce buildtime dependencies for Qt 4 ports that use localization support. Instead of USE_QT4=linguist you should now use USE_QT4=linguisttools_build. Conversion of existing ports may require USE_QT4 adjustment for missing components. 20141217: AFFECTS: users of lang/perl5.* AUTHOR: mat@FreeBSD.org Perl now links libperl.so with all .so it builds. The stage-qa checks have been extended to check that libperl.so is in fact linked with .so in SITE_ARCH and errors out if none of the .so build by a port are linked with it. It also checks that the rpath and runpath elf attributes are present. 20141130: AUTHOR: tijl@FreeBSD.org The devel/gettext port has been split up in devel/gettext-runtime which contains runtime libraries such as libintl, and devel/gettext-tools which contains build tools such as msgfmt. You can use USES=gettext-runtime to set a LIB/BUILD/RUN_DEPENDS on devel/gettext-runtime and USES=gettext-tools to set a BUILD/RUN_DEPENDS on devel/gettext-tools. USES=gettext is now the same as "USES=gettext-runtime gettext-tools", meaning a LIB_DEPENDS on devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools. 20141126: AUTHOR: mat@FreeBSD.org The way Perl modules are installed has changed. Before, we had site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have : site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. 20141122: AUTHOR: crees@FreeBSD.org Dependencies on the PostgreSQL ports have been migrated to USES. Instead of USE_PGSQL, please use USES=pgsql instead. USE_PGSQL=yes becomes USES=pgsql WANT_PGSQL_VER=91+ becomes USES=pgsql:9.1+ USE_PGSQL=server becomes USES=pgsql and WANT_PGSQL=server 20141118: AUTHOR: mat@FreeBSD.org To ease future work, a new SITE_ARCH variable and PLIST_SUB replacement containing SITE_PERL/PERL_ARCH has been added. 20141102: AUTHOR: bdrewery@FreeBSD.org SSP is now default. This can be disabled with WITHOUT_SSP. SSP_CFLAGS defaults to -fstack-protector. SSP will be used on all amd64 releases. It will only be used on i386 releases over 10.0. 20141007: AUTHOR: mat@FreeBSD.org The @cwd [path] construct in plist files is deprecated. Instead of adding those lines to the plist: @cwd / etc/rc.d/foo var/db/bar @cwd /some @exec mkdir -p %D/nested/dir add this: /etc/rc.d/foo /var/db/bar @exec mkdir -p /some/nested/dir 20141002: AUTHOR: bapt@FreeBSD.org New BUNDLE_LIBS knobs to allow a port to tell pkg(8) not to compute provided libraries, this is to be used when a port bundles libraries it doesn't want to expose to other ports. 20141001: AUTHOR: tijl@FreeBSD.org Support for autoconf213, autoheader213, aclocal14 and automake14 has been removed from USE_AUTOTOOLS. 20140930: AUTHOR: bdrewery@FreeBSD.org Building ports in a chroot or jail have always required a particular environment be setup. This was not clear though and the ports framework did not enforce it. These requirements are: 1. Either a SRC_BASE/sys/sys/param.h, or /usr/include/sys/param.h be present with the __FreeBSD_version_ number of the target system, or OSVERSION be set in the environment. Lack of these would fallback on kern.osreldate before, which is no longer the case. 2. UNAME_r,UNAME_v,UNAME_s all must be set for the target system. Not having these values in sync will now cause the build to error until it is resolved. Setting these in the environment can be done via your own wrapper scripts, or /etc/login.conf (along with cap_mkdb /etc/login.conf) or via /etc/make.conf using appropriate values. Note that OSVERSION is redundant if a proper param.h is in the environment: OSVERSION+= 1100036 UNAME_ENV+= OSVERSION=${OSVERSION} UNAME_ENV+= UNAME_s=FreeBSD UNAME_ENV+= UNAME_r=11.0-CURRENT UNAME_ENV+= UNAME_v="${UNAME_s} ${UNAME_r}" .MAKEFLAGS: ${UNAME_ENV} MAKE_ENV+= ${UNAME_ENV} CONFIGURE_ENV+= ${UNAME_ENV} SCRIPTS_ENV+= ${UNAME_ENV} 20140922: AUTHOR: bapt@FreeBSD.org pkg(8) now handles the directories under PREFIX automatically, and will automatically remove them as needed. A new @dir keyword has been introduced to handle directories specially: - directories with special owner, group, or permissions (access mode) - empty directories - directories out of PREFIX As a consequence @dirrm and @dirrmtry are now considered deprecated. Credentials can now be passed in arguments to keywords (the empty keyword means "regular file"): @(user,group,mode) file1 @dir(user,group,mode) directory_with_special_owner_or_mode PLIST_DIRSTRY is now considered deprecated, use PLIST_DIRS instead. 20140917: AUTHOR: tijl@FreeBSD.org Support for USE_AUTOTOOLS=libtool, USE_GNOME=ltasneededhack, USE_GNOME=lthack and USE_GNOME=ltverhack has been removed. Ports should use USES=libtool instead. Support for USE_AUTOTOOLS=libltdl has been removed. Ports should use LIB_DEPENDS=libltdl.so:${PORTSDIR}/devel/libltdl 20140916: AUTHOR: tijl@FreeBSD.org The installation of *.la files without some form of USES=libtool in the port Makefile will now result in a stage-qa error. Previously this would only cause a warning. The :keepla argument to USES=libtool is no longer special. It is now only needed if a port uses *.la files at run time and no longer to fix link problems in other ports. 20140901: AUTHOR: bapt@FreeBSD.org Support for pkg_install has been removed. Note that WITH_PKGNG is now called WITH_PKG (still used to define 'devel') WITH_PKGNG remains for compatibility @stopdaemon support has gone, pkg(8) has a generic mechanism to provide the same function, see HANDLE_RC_SCRIPTS in pkg.conf(5). 20140901: AUTHOR: bapt@FreeBSD.org Support for NO_STAGE has been removed. 20140825: AUTHOR: antoine@FreeBSD.org Support for NOPORTDATA has been removed. 20140809: AUTHOR: mva@FreeBSD.org The Python language bits of the ports framework have been converted to USES. Instead of USE_PYTHON, please use USES=python instead. USE_PYTHON=yes becomes USES=python USE_PYTHON=2.7+ becomes USES=python:2.7+ USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build ... Additionally, several Python specific features have been converted to USES-inspired USE_PYTHON=,. USE_PYDISTUTILS becomes USE_PYTHON=distutils PYDISTUTILS_AUTOPLIST becomes USE_PYTHON=autoplist ... Please read the header comments of Uses/python.mk for more details about the new and changed bits and pieces. You will find a list of deprecated variables and how to replace them in your own ports at the end of the header comment. 20140715: AUTHOR: bapt@FreeBSD.org LIB_DEPENDS only supports one form: lib*.so 20140708: AUTHOR: mva@FreeBSD.org Support for installations based on the easy_install setup.py target has been removed from the Ports framework for Python software. The PYEASYINSTALL_* knobs and support for USE_PYDISTUTILS=easy_install have been removed. 20140623: AUTHOR: bapt@FreeBSD.org IGNOREFILES is not supported anymore, it was an unsafe feature allowing to use unchecked files downloaded from untrusted places to be used in the ports tree. 20140607: AUTHOR: mva@FreeBSD.org New PYTHON_CONCURRENT_INSTALL knob to support the parallel installation of ports for different python versions. If set to yes, the knob indicates that the port can be installed for different python versions at the same time. The port will use a unique prefix for certain directories using USES=uniquefiles:dirs (see the uniquefiles.mk Uses for details about the directories). Binaries receive an additional suffix, based on ${PYTHON_VER}. The values for the uniquefiles USES are set as follows: UNIQUE_PREFIX= ${PYTHON_PKGNAMEPREFIX} UNIQUE_SUFFIX= -${PYTHON_VER} If the port is installed for the current default python version, scripts and binaries in ${PREFIX}/bin ${PREFIX}/sbin ${PREFIX}/libexec are linked from the prefixed version to the prefix-less original name, e.g. bin/foo-2.7 --> bin/foo. 20140529: AUTHOR: miwi@FreeBSD.org USE_GMAKE is no longer supported, please use USES=gmake instead 20140526: AUTHOR: bapt@FreeBSD.org USE_DOS2UNIX is no longer supported, USES=dos2unix should be used instead 20140525: AUTHOR: mat@FreeBSD.org Add a USE_PERL5=fixpacklist to account for ports creating a .packlist file referencing ${STAGEDIR} when not using USE_PERL5=configure or USE_PERL5=modbuildtiny. 20140505: AUTHOR: bapt@FreeBSD.org :U and :L syntax is not supported anymore in the ports tree, :tu and :tl should be used instead This makes the ports tree incompatible with make(1) version that does not support :tu and :tl (aka FreeBSD 8.3 and earlier) 20140428: AUTHOR: bapt@FreeBSD.org EXTRA_PATCHES has been extended to support a new syntax: EXTRA_PATCHES= file:-pX Where X is the pathname strip count passed to patch(1) 20140423: AUTHOR: tijl@FreeBSD.org The semantics of USES=libtool have changed. It now deletes .la libraries from the staging area to reduce overlinking. USES=libtool:keepla can be used in case they need to be kept. This form still modifies .la libraries to remove references to other libraries to reduce overlinking. Note that .la libraries have to kept around as long as there are .la libraries from other ports that refer to them. Those ports need to use some form of USES=libtool first such that those references are removed. 20140419: AUTHOR: bdrewery@FreeBSD.org check-orphans has been renamed to check-plist. It now checks: A. Files in STAGEDIR that are missing from plist. To make check-plist ignore a file *as an orphan* do one of the following: 1. Install it 2. post-install: ${RM} ${STAGEDIR}file 3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file 4. Add to plist as a @comment @comment file @comment @dirrmtry dir B. Files in plist missing from STAGEDIR C. Files in plist which are owned by dependencies/MTREEs 20140416: AUTHOR: bdrewery@FreeBSD.org The default target for 'make' now runs 'make stage' if the port supports it, otherwise 'make build' as before. 20140411: AUTHOR: bdrewery@FreeBSD.org A new plist keyword has been added, @sample. It accepts a file (must end in .sample): @sample file.conf.sample This will install file.conf.sample and copy it to file.conf. The file.conf will be removed if it matches file.conf.sample on deinstall. This replaces older patterns of: @unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi etc/pkgtools.conf.sample @exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf 20140312: AUTHOR: bapt@FreeBSD.org Two new USES were added to finish handling distfiles formats a consistent way: USES=tar[:[xz|bzip2|Z|tgz]] handles distributions files in format: - plain tar - tar.xz - tar.bz2 - tar.Z - tgz USES=lha handles distributions files info LHA format 20140307: AUTHOR: rene@FreeBSD.org Two new USES were added by bapt@FreeBSD.org : USES=zip handles distribution files in Zip format. InfoZip files need USES=zip:infozip USES=makeself handles distribution files in makeself format. 20140303: AUTHOR: kde@FreeBSD.org Add support for Qt 5 via USE_QT5. USE_QT5 is analogous to USE_QT4, the only difference is the list of available components (see Mk/bsd.qt.mk for details). USES=qmake supports Qt 5 as well. 20140224: AUTHOR: bapt@FreeBSD.org Deprecate support for KNOBS, the new option framework allows to express a more consistent, user friendly and visible way the same feature. 20140127: AUTHOR: mat@FreeBSD.org Add two new options helpers: ${OPT}_${TYPE}_DEPENDS_OFF= will automatically add: ${TYPE_DEPENDS}+= in case OPT is 'off' ${OPT}_${FLAG}_OFF= will automatically add: ${FLAG}+= in case OPT is 'off' 20140111: AUTHOR: mva@FreeBSD.org New USES=uniquefiles to make files or directories unique by adding a prefix or suffix to them. Files listed in UNIQUE_PREFIX_FILES will receive the prefix set via UNIQUE_PREFIX. The same applies to UNIQUE_SUFFIX_FILES, but with the chosen UNIQUE_SUFFIX. UNIQUE_PREFIX and UNIQUE_SUFFIX are set to PKGNAMEPREFIX and PKGNAMESUFFIX by default. The uniquefiles USES enables ports to name files in special ways, e.g. by outlining that the port does not support X11 (-nox11). A binary named bin/foo thus can be easily renamed to bin/foo-featureA via USES= uniquefiles UNIQUE_SUFFIX= -featureA UNIQUE_SUFFIX_FILES= bin/foo The uniquefiles USES automatically adjusts the plist at installation time. There is no need to consider the prefix or suffix in the pkg-plist file itself. If the original name of the renamed file is bin/foo, this exact name should be put into pkg-plist. The dirs argument to USES=uniquefiles will cause certain standard directories, such as DOCSDIR or EXAMPLESDIR to be prepended with the UNIQUE_PREFIX. The change to the directories will hapen prior to configuring or building the port, so that the port Makefile as well as the port's build logic are aware of the changed name. Since the uniquefiles USES effectively manipulates the port's installation and file layout, it will only be available for stagedir-aware ports. Ports with NO_STAGE=yes will be unable to use the uniquefiles USES. 20131218: AUTHOR: mva@FreeBSD.org lang/python (and as such the 'python' binary and accomplices) has been removed as default dependency for the USE_PYTHON, USE_PYTHON_BUILD and USE_PYTHON_RUN knobs. Ports need to use a designated (default) python interpreter to build and install and in most cases for execution in the user environment. Ports that install python scripts, which are not limited to a certain python version (or version range), can include lang/python as build and/or run dependency. USE_PYTHON=yes and similar knobs will only pull in the default python version (e.g. lang/python27), but none of the meta ports or lang/python itself. Please use lang/python as build or run-time dependency only, if there is no other way to get a port working properly, since the usage of lang/python complicates package builds for different python versions. 20131213: AUTHOR: tijl@FreeBSD.org New USES=fortran to replace USE_FORTRAN. USE_FORTRAN=yes can be replaced with USES=fortran or USES=fortran:gcc. USE_FORTRAN=ifort can be replaced with USES=fortran:ifort. USE_FORTRAN=f77 is deprecated and the version of gcc it depends on (lang/gcc34) is scheduled to be removed. Note that USE_FORTRAN=yes also makes GCC the C/C++ compiler while USES=fortran only sets the Fortran compiler and can be used together with Clang as C/C++ compiler. 20131208: AUTHOR: mva@FreeBSD.org New USES=twisted, to replace the old USE_TWISTED knob. twisted can be configured with the arguments run or build to replace the previous USE_TWISTED_RUN and USE_TWISTED_BUILD knobs. The twisted components can be added as comma-separated arguments. If you previously wrote USE_TWISTED= yes USE_TWISTED= conch names USE_TWISTED_RUN= yes you now would write USES= twisted USES= twisted:conch,names USES= twisted:run 20131119: AUTHOR: kwm@FreeBSD.org The USE_GNOME component ltverhack no longer has a hard dependancy on libtool. If USE_AUTOTOOLS=libtool isn't defined it will try to patch ltmain.sh and or libtool in ${WRKSRC}. If those files are located somewhere else in ${WRKSRC} then it is possible to overwrite ltverhack_PATCH_FILES with there new locations. configure script --distable-static will work also after using the "new" ltverhack. Please keep in mind that USE_AUTOTOOLS implies GNU_CONFIGURE so you might need to add that back for the port to work. 20131031: AUTHOR: rene@FreeBSD.org Add a new USES for kernel module ports. USES=kmod takes no arguments and: - adds kld to CATEGORIES - sets SSP_UNSAFE - sets IGNORE if the kernel sources are not found - defines KMODDIR to /boot/modules by default, add it to PLIST_SUB and MAKE_ENV, and create it upon installation - handles cross-referencing kernel modules upon installation and deinstallation 20131021: AUTHOR: amdmi3@FreeBSD.org share/applications directory was added to the mtree, meaning that you no longer need to create or remove it in your ports. 20131008: AUTHOR: bapt@FreeBSD.org New "compiler" USES to be able to select the compiler based on the features it provides. Supported arguments are: - c++11-lang: the port needs a c++11 aware compiler what ever standard library it uses, implies features - c++11-lib: the port needs a c++11 standard library, implies features - c11: the ports needs a c11 aware compiler implies features - features: this will create a COMPILER_FEATURES variable which contains the list of features ${CC} do support, implies env. - env: the COMPILER_TYPE will be set to either gcc or clang. By default the uses will try to use clang33 from ports when nothing in base is relevant except if the user explicitly defines FAVORITE_COMPILER=gcc in his make.conf 20131008: AUTHOR: makc@FreeBSD.org New USES: qmake, configure tool widely used among Qt based projects. New framework is stage-friendly. To convert existing ports remove custom configure target, adjust QMAKE_ENV, QMAKE_ARGS, QMAKE_PRO if required (see Mk/Uses/qmake.mk for details). 20131005: AUTHOR: bdrewery@FreeBSD.org PATCHFILES now support an optional :-pX flag that notes which patch strip level to use. This allows multiple patches in 1 port to use different PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP. Syntax: PATCHFILES= patch[:-pX][:distgroup] 20131003: AUTHOR: bapt@FreeBSD.org New USES: scons, to handle properly the scons building system, this this also gives the scons packages user the ability to respect MAKE_JOBS. 20130924: AUTHOR: bapt@FreeBSD.org Stage aware ports can now create package without the requirement from being root. If a port really needs root anyway it should add NEED_ROOT in its Makefile. For a port that needs special credential on files DO NOT RELY on chown in post-install section but rely on @own, @group in pkg-plist Be careful about rights on directories as pkg_install cannot store them they needs to be done via @exec chown. 20130923: AUTHOR: bapt@FreeBSD.org The ports tree is now staged by default. With pkgng the sequence hasn't changed, the main difference is that creating package is now independent from installing it. With pkg_install, the package is now created first and make install, do install the package. New macros: - STAGEDIR: PATH to the directory where the port will be staged. - NO_STAGE: Keep the old behaviour of the ports tree (aka no staging area) Unsupported macro if NO_STAGE is not set: - MAN* with staging man page compression and handling of hardlinks and symlinks is automatically done in the stage. the manpages becomes then a "normal" plist files and should be tracked in pkg-plist. - MANCOMPRESSED the compress-man target is able to only compress when it needed. New target: - stage: this installs everything into the stage directory - makeplist: this will create a pkg-plist and print it to stdout. This is a sample plist and it should always be _reviewed_ not directly used. NOTE: with staging only what is in the plist will be installed, nothing more, meaning a port staged cannot have leftovers except directories left. It is really important to double check the pkg-plist to make sure all the files the maintainer wants to package are in! make makeplist can help in that area. 20130923: AUTHOR: mva@FreeBSD.org * New USES: zope This replaces the previous USE_ZOPE knob. All other zope related knobs for port Makefiles still exist. See Mk/Uses/zope.mk for details. 20130920: AUTHOR: bdrewery@FreeBSD.org SSP support has been added to ports with WITH_SSP_PORTS for i386 and amd64 on FreeBSD 10, and amd64 on earlier versions. SSP_UNSAFE is added to disable in a port if it fails to build, but this should only be used in rare circumstances such as kernel modules. Otherwise, the port may just be failing due to lack of respecting LDFLAGS. On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in libssp_nonshared.a to address issues linking on i386 [1]. On earlier FreeBSD versions the WITH_SSP_PORTS knob will add -lssp_nonshared to LDFLAGS on i386. This is not needed on amd64. However, several hundred ports do not currently respect LDFLAGS, so this support is disabled currently as it causes build failures if a dependency is looking for the stack_chk symbols. [1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup 20130919: AUTHOR: gahr@FreeBSD.org * New USES: tcl, tk This uses replaces all the previous USE_TCL, USE_TCL_BUILD, USE_TCL_RUN, USE_TCL_WRAPPER, USE_TK, USE_TK_BUILD, USE_TK_RUN and USE_TK_WRAPPER macros. See the Mk/Uses/tcl.mk and the commit message of r327607 for details. Moreover, the default Tcl/Tk version is now specified in terms of bsd.default-versions.mk. It is now possible to specify one's preferred Tcl/Tk version using DEFAULT_VERSIONS+= tcltk=x.y in make.conf. 20130918: AUTHOR: bapt@FreeBSD.org The perl framework is not included unconditionally and the old framework is not recognized anymore, the following MACROS has been removed: * PERL_CONFIGURE * USE_PERL5_RUN * USE_PERL5_BUILD * PERL_MODBUILD 20130904: AUTHOR: madpilot@FreeBSD.org To allow ports to work with the iconv implementation in 10-CURRENT after commit r254273 the USES=iconv options now conditionally adds a dependency depending on the FreeBSD version. It also defines a few utility variables which can be used in the ports: ICONV_CMD: location of the iconv binary. after r254273: /usr/bin/iconv before: ${LOCALBASE}/bin/iconv ICONV_LIB: ld(1) flags to get the iconv DSO. after r254273: empty before: -liconv ICONV_CONFIGURE_ARG: String that can be passed to configure scripts to hint the location of the libiconv library. after r254273: empty before: --with-libiconv-prefix=${LOCALBASE} 20130902: AUTHOR: bapt@FreeBSD.org USE_GNOME=pkgconfig is not supported anymore by the ports tree, please uses: USES=pkgconfig 20130831: AUTHOR: bdrewery@FreeBSD.org crees has added USE_PACKAGE_DEPENDS_ONLY which works like USE_PACKAGE_DEPENDS but will not fallback on source if a package is missing. 20130731: AUTHOR: bapt@FreeBSD.org * New USES: perl5 This uses replaces all the previous perl macros. Here is how to migrate: Always include perl5: USES= perl5 If USE_PERL5 is undefined then perl5 will be a build and run dependency Migrating to new USE_PERL5: ======================================================= | BEFORE | AFTER | ======================================================= | PERL_CONFIGURE=yes | USE_PERL5= configure | ------------------------------------------------------- | USE_PERL5_RUN=yes | USE_PERL5=run | ------------------------------------------------------- | USE_PERL5_BUILD=yes | USE_PERL5=build | ------------------------------------------------------- | PERL_MODBUILD=yes | USE_PERL5=modbuild | ------------------------------------------------------- | USE_PERL5=yes | | ------------------------------------------------------- | USE_PERL5=5.14+ | USE_PERL5= 5.14+ | ------------------------------------------------------- | PERL_CONFIGURE= 5.14+ | USE_PERL5=5.14+ configure | ------------------------------------------------------- | PERL_MODBUILD= 5.14+ | USE_PERL5=5.14+ modbuild | ------------------------------------------------------- 20130726: AUTHOR: rene@FreeBSD.org * With the removal of QT 3/KDE 3, the following are no longer recognized: - USE_KDEBASE_VER - USE_KDELIBS_VER - USE_QT_VER Mk/bsd.kde.mk has been removed, it was only used for QT 3/KDE 3. 20130628: AUTHOR: bapt@FreeBSD.org * New USES: imake This uses replaces USE_IMAKE, it handles dependency on imake. Its only argument is 'env', which prevent from defining the do-configure target. * New LATE_INSTALL_TARGET This content of this new macro is appended to INSTALL_TARGET 20130620: AUTHOR: bapt@FreeBSD.org * New USES: fmake This uses will allow to build ports using the legacy FreeBSD make, for ports not compatible with bmake 20130614: AUTHOR: bapt@FreeBSD.org * New macros to help dealing with ports that have options: OPTIONS_SUB=yes when set in a port, all the option names are automatically added to the PLIST_SUB with "@comment " value in case the option is off and empty value in case the options is on. ${OPT}_CONFIGURE_ENABLE= will automatically add: CONFIGURE_ARGS+=--enable- in case OPT is activated CONFIGURE_ARGS+=--disable- in case OPT is deactivated ${OPT}_CONFIGURE_ON= will automatically add: CONFIGURE_ARGS+= in case OPT is activated ${OPT}_CONFIGURE_OFF= will automatically add: CONFIGURE_ARGS+= in case OPT is deactivated ${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on' ${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on' ${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on' ${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if OPT is 'on' ${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on' ${OPT}_USES will append the speficied uses to USES if OPT is 'on' ${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on' ${OPT}_CMAKE_ON= will automatically add: CMAKE_ARGS+= in case OPT is activated ${OPT}_CMAKE_OFF= will automatically add: CMAKE_ARGS+= in case OPT is deactivated ${OPT}_${TYPE}_DEPENDS= will automatically add: ${TYPE_DEPENDS}+= in case OPT is 'on' 20130614: AUTHOR: bapt@FreeBSD.org * New 'display' USES macro to handle building ports that may require a a display to build. USES= display[:install] will start Xvfb and set the DISPLAY environment variable before the installation phase and stop it at the end. (install is the implicit value) USES= display:build will start Xvfb and set the DISPLAY environment variable before the build phase and stop it at the end. 20130607: AUTHOR: bdrewery@FreeBSD.org * Checks were added to block GH_TAGNAME=master as this is not a valid setup. A known hash or tag should be used for GH_TAGNAME instead of a branch name. As soon as a branch is updated, the known checksum in the distinfo would then be invalid. 20130606: AUTHOR: bdrewery@FreeBSD.org * WRKSRC_SUBDIR has been added to simplify overriding WRKSRC to use a subdirectory: WRKSRC= ${WRKDIR}/${DISTNAME}/src Becomes: WRKSRC_SUBDIR= src 20130606: AUTHOR: bapt@FreeBSD.org The OPTIONS macro is no longer recognized, please use the new options framework. 20130509: AUTHOR: kwm@FreeBSD.org * Two new USES macros to handle mime data of ports. USES= desktop-file-utils Handles MimeType in .desktop files that are installed in share/applications. USES= shared-mime-info For supporting mime xml files installed in share/mime/packages. The desktop-file-utils USES is only needed if the .desktop files installed by the port has a MimeType field. USE_GNOME=desktopfileutils is deprecated. The shared-mime-info USES handles mime types xml files. Please note that only the packages/${NAME}.xml file should be listed in the plist. The shared-mime-info port will clean up the share/mime/* directories and generated files. Both USES have there own post-install and code that adds @exec/@unexec lines to the pkg-plist. This means that when a port switches to the USES macro, the related post-install command and @exec/@unexec lines can be removed from the prot. 20130507: AUTHOR: bapt@FreeBSD.org * New USES macro to handle setting correct shebang to scripts By default it will fix bash, perl, php, ruby and python on all files specified in the SHEBANG_FILES macro (glob pattern relative to ${WRKSRC}) Paths can be customized, and number of languages supported can be extended. * USE_GETTEXT, USE_NCURSES, USE_READLINE are no longer recognized 20130506: AUTHOR: bapt@FreeBSD.org * New USES macro to handle linking on ncurses and on readline USES= ncurses will set env and make the port link to base version of ncurses if no port version is installed otherwise it will link against port version USES= ncurses:port will for the port to link against the ports version of ncurses USES= ncurses:base will force to link against base version of ncurses. USES= readline will make the port link against base version of readline except on 10+ where it will force dependency on the port version of readline USES= readline:port will anyway force dependency on the port version of readline. 20130426: AUTHOR: mva@FreeBSD.org * USE_ICONV has been deprecated and converted into the iconv USE feature USES= iconv 20130425: AUTHOR: bapt@FreeBSD.org * USE_CDRTOOLS is no longer recognized * USE_FREETYPE is no longer recognized 20130423: AUTHOR: jgh@FreeBSD.org * New USES macro to handle support for gettext dependency: USES= gettext:build will add gettext into BUILD_DEPENDS USES= gettext:run will add gettext into RUN_DEPENDS USES= gettext:lib will add gettext into LIB_DEPENDS It deprecates USE_GETTEXT which will be removed as soon as it is not used anymore 20130422: AUTHOR: bdrewery@FreeBSD.org * The entry for 20120830 to change CCACHE_DIR was not fully supported by all ports. There is now a CCACHE_DIR variable that can be used in /etc/make.conf for more complete coverage: CCACHE_DIR=/var/cache/ccache 20130422: AUTHOR: bapt@FreeBSD.org * New USES macro to handle support for pkgconf (pkg-config) dependency: USES= pkgconfig[:build] will add pkgconf into BUILD_DEPENDS USES= pkgconfig:run will add pkgconf into RUN_DEPENDS USES= pkgconfig:both will add pkgconf into both RUN and BUILD DEPENDS It deprecates USE_PKGCONFIG which will be removed as soon as it is not used anymore 20130320: AUTHOR: jgh@FreeBSD.org * New USES macro to handle support for Zenoss ports and Zenpacks: USES= zenoss 20130319: AUTHOR: makc@FreeBSD.org * New USES macro should be used instead of deprecated USE_CMAKE and CMAKE_OUTSOURCE: USES= cmake:outsource to perform out-of-source build (equivalent to former pair usage of USE_CMAKE/CMAKE_OUTSOURCE) USES= cmake In-source build (equivalent to plain USE_CMAKE=yes) can be used if project doesn't support out-of-source build. 20130319: AUTHOR: bapt@FreeBSD.org * The options framework now uses ports-mgmt/dialog4ports contributed by Ilya A. Arkhipov. It boostraps it if not present when one calls make config. dialog4ports provides a new UI able to represent all the features provided by the new options framework. 20130315: AUTHOR: bdrewery@FreeBSD.org * USE_QMAIL_RUN, USE_QMAIL_BUILD and WANT_QMAIL have been removed and converted into the qmail USE feature USES= qmail:run will add qmail into RUN_DEPENDS USES= qmail:build will add qmail into BUILD_DEPENDS USES= qmail[:both] will add qmail into both RUN and BUILD DEPENDS USES= qmail:vars will set QMAIL_PREFIX 20130315: AUTHOR: bapt@FreeBSD.org * Add new Keywords directory and first info.yaml keyword (@info). Keywords directory will contain all the custom plist keywords allowing to extend pkg-plist with new keywords. Only works with pkgng. 20130307: AUTHOR: bapt@FreeBSD.org * New USES macro to handle on demand features, 2 examples has been added to the ports tree: pathfix: to replace USE_GNOME= gnomehack fuse: to replace USE_FUSE= yes 20130207: AUTHOR: gahr@FreeBSD.org * Use of PTHREAD_CFLAGS and PTHREAD_LIBS is unsupported. The former expands to the empty string, while the second is simply -pthread. Please use -pthread directly in your LDFLAGS, if needed. 20121214: AUTHOR: flo@FreeBSD.org * Add a USE_FUSE macro to handle fuse dependencies. It makes sure sysutils/fusefs-libs gets installed and depending on fuse being in base or not it installs sysutils/fusefs-kmod. 20121210: AUTHOR: bapt@FreeBSD.org * OPTIONS has been extended 2 new macros are available: OPTIONS_RADIO - allows only 0 or 1 options to be selected OPTIONS_GROUP - allows 0 or N options among to be selected 20121010: AUTHOR: bapt@FreeBSD.org * IPV6 option is now activated by default for the whole ports tree 20121010: AUTHOR: bapt@FreeBSD.org * The ports tree is now using pkgng as the default package manager for HEAD. This only affects users of CURRENT -- users of other branches need not take any action. To keep pkg_install as the default package manager, use the new WITHOUT_PKGNG knob in make.conf 20120830: AUTHOR: beat@FreeBSD.org * CCACHE support for building ports has been added (depends on devel/ccache). Therefore new user settable variables are available: WITH_CCACHE_BUILD - Enable CCACHE support (Default off) NO_CCACHE - Disable CCACHE support for example for certain ports if CCACHE is enabled. By default CCACHE uses $HOME/.ccache as cache directory. To use a non-default cache directory this could be overwritten like: MAKE_ENV+= CCACHE_DIR=/var/cache/ccache 20120820: AUTHOR: gahr@FreeBSD.org * GitHub support has been integrated into bsd.sites.mk. In order to fetch distfiles from GitHub, a port must define USE_GITHUB along with the following variables: GH_ACCOUNT - account name of the GitHub user hosting the project default: not set, mandatory GH_PROJECT - name of the project on GitHub default: ${PORTNAME} GH_TAGNAME - name of the tag to download (master, 2.0.1, ...) default: ${DISTVERSION} GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME (man git-describe(1)) default: not set, mandatory The port www/tivoka is an example how to use this mechanism. 20120726: AUTHOR: bapt@FreeBSD.org * new macro USE_PKGCONFIG has been introduce in place of USE_GNOME= pkgconfig USE_PKGCONFIG= yes and USE_PKGCONFIG= build for build only dependency USE_PKGCONFIG= run for run only dependency USE_PKGCONFIG= both for both build and run dependency 20120715: AUTHOR: beat@FreeBSD.org * The ports tree moved from CVS to Subversion. A Subversion to CVS exporter is in place to continue the support of CVSup but do not commit to pcvs directly. All commits have to be done in the new port Subversion repository on svn.FreeBSD.org. You will find more information about Subversion in the Ports Subversion Primer in the FreeBSD wiki, in the "Committer's Guide" and the "Porter's Handbook". If you are in doubt or unsure about a Subversion operation please contact ports@FreeBSD.org. 20120529: AUTHOR: crees@FreeBSD.org * OPTIONS has been updated with many changes and improvements. Old-style OPTIONS declarations will continue to work for a while, but do not introduce any into existing or new ports. For further information, see the Porter's Handbook section on Makefile Options. 20110923: AUTHOR: amdmi3@FreeBSD.org * LDFLAGS is now passed to both the configure and make environments, and should be handled just like CPPFLAGS (see previous entry). Summarizing both LDFLAGS and CPPFLAGS changes, where you would have used CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" now just use CPPFLAGS+= "-I${LOCALBASE}/include" LDFLAGS+= "-L${LOCALBASE}/lib" Note that it's advised to append these variables (+=) instead of overriding (=) to allow customization by user. 20110320: AUTHOR: gerald@FreeBSD.org * CPPFLAGS is now passed to both the configure and make environments, so this no longer needs to happen in individual ports by adding this to CONFIGURE_ENV or MAKE_ENV. Rather, just set CPPFLAGS in the port Makefile (if necessary). For example, where you would have used CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" MAKE_ENV= SOMETHING=foo CPPFLAGS="-I${LOCALBASE}/include" now just use CPPFLAGS= "-I${LOCALBASE}/include" MAKE_ENV SOMETHING=foo 20100831: AUTHOR: autotools@FreeBSD.org * USE_GETTEXT has been cleaned up. 'build' BUILD time dependency only 'run' RUN time dependency only 'yes' LIBRARY dependency 20100606: AUTHOR: gerald@FreeBSD.org * USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+ is transparently rewritten to USE_GCC=4.4+ and lang/gcc43 will be disconnected from the USE_GCC infrastructure soon. 20100524: AUTHOR: alepulver@FreeBSD.org * The license support files (bsd.licenses.mk and bsd.licenses.db.mk) from GSoc 2008/2009 have been committed. A new PH entry will be available soon, but for the moment look at: http://wiki.freebsd.org/PortsLicenseInfrastructure Or, alternatively, the comments at the beginning of the mentioned files. 20090906: AUTHOR: flz@FreeBSD.org * There is now a unified way to create users and groups in your ports. First, make sure they are added to both ports/GIDs and ports/UIDs, then add the following in your port: USERS= foo GROUPS= foo ... if you want your port to create the foo user and group. 20090812: AUTHOR: portmgr@FreeBSD.org * sourceforge.net has changed their URL layout to be more flexible for their users. A new bsd.sites.mk macro SFP has been added for projects that moved from http://${mirror}/sourceforge/%SUBDIR%/ to http://${mirror}/project/%SUBDIR%/ Note that %SUBDIR% is now highly individual for each project and might need changing as well. 20090521: AUTHOR: portmgr@FreeBSD.org * bsd.port.options.mk is now clear to be widely used. 20090516: AUTHOR: pgollucci@FreeBSD.org * APACHE_COMPAT is dead! * USE_APACHE=yes is dead! * WITH_APACHE13, WITH_APACHE2, WITH_APACHE20, and WITH_APACHE22 are dead You should set USE_APACHE=13|20|22+. WITH_APACHE option can be used to conditional include support for ANY version of Apache based on APACHE_PORT. Currently www/apache13 20090207: AUTHOR: pgollucci@FreeBSD.org * devel/libslang dropped in favor of devel/libslang2 * WITH_SLANG2 has been removed. WITH_SLANG now implies devel/libslang2. 20080905: AUTHOR: hrs@FreeBSD.org * print/ghostscript-* and related ports have been renamed in the following way: print/ghostscript-gnu -> print/ghostscript7 print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11 print/ghostscript-gnu-commfont -> print/ghostscript7-commfont print/ghostscript-gpl -> print/ghostscript8 print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11 japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont * USE_GHOSTSCRIPT now supports a version number which the port requires. The valid value is "7" or "8". If other value is specified, value of WITH_GHOSTSCRIPT_VER is used. * WITH_GHOSTSCRIPT_GNU has been removed in favor of WITH_GHOSTSCRIPT_VER. The valid value of WITH_GHOSTSCRIPT_VER is "7" or "8", and the default value is "8". 20080821: AUTHOR: rafan@FreeBSD.org * CONFIGURE_ARGS is updated to use correct syntax for newer autoconf on the configure target. Individual ports no longer need to change CONFIGURE_TARGET to have the '--build=' prefix. 20080721: AUTHOR: pav@FreeBSD.org * Default OpenLDAP version was changed from 2.3 to 2.4. * USE_GTK and USE_XPM variables are no longer recognized. 20080523: AUTHOR: flz@FreeBSD.org * By default, ports-mgmt/pkg_install now sets up a wrapper to use ports pkg_install (when installed) instead of base when the former is more recent. This can be disabled in the options menu, or with the WITHOUT_WRAPPER knob. 20080414: AUTHOR: pav@FreeBSD.org * @rmtry is now supported in pkg-plist. * USE_DISPLAY made more powerful, see comments in bsd.port.mk for details. * ${PW} is now defined. * LIB_DEPENDS can now be used with libraries with + sign in their name without the need for escaping. 20080312: AUTHOR: pav@FreeBSD.org * USE_XPM no longer implies USE_XLIB. * USE_LDCONFIG can now be used to Linux binary ports that install shared libraries instead of INSTALLS_SHLIB. 20070908: AUTHOR: gabor@FreeBSD.org, linimon@FreeBSD.org * The Perl-related code parts have been extracted from bsd.port.mk to bsd.perl.mk. This includes the user-settable knobs (e.g. USE_PERL5) and infrastructure parts of the code, like default targets. The new code is designed to be conditionally included based on either USE_PERL5_*, PERL_CONFIGURE, or PERL_MODBUILD being set. However, some of the default settings remain in bsd.port.mk while we make sure that all ports comply with this. * A convenient version handling has been implemented for Perl-related knobs. With this new feature one can require a minimal, a maximal or an exact version, that the given port needs. For the full description and some examples, please see the documentation in bsd.perl.mk. 20070804: AUTHOR: gabor@FreeBSD.org The following functional changes were made to bsd.*.mk and to Tools/scripts/security-check.awk: * The variable definitions that cover command line tools, e.g. MKDIR, were extracted from bsd.port.mk into bsd.commands.mk, so that we can reuse them within the infrastructure later. * The old DESTDIR implementation was removed both from the infrastructure, and from the individual ports. Variables like TARGETDIR should not longer be used. * A new DESTDIR implementation has been added, implemented in bsd.destdir.mk. The new implementation puts no requirements on the individual ports. 20070730: AUTHOR: python@FreeBSD.org * The default Python version has been changed from 2.4.x to 2.5.x. * A number of variables have been added to bsd.python.mk to support the more integrated support for Python eggs, including: PYDISTUTILS_PKGNAME, PYDISTUTILS_PKGVERSION, PYEASYINSTALL_EGG, PYDISTUTILS_NOEGGINFO, PYDISTUTILS_EGGINFO, PYEASYINSTALL_ARCHDEP * More detailed descriptions of the variables can be found in the comments in bsd.python.mk. 20070723: AUTHOR: rafan@FreeBSD.org * The default CONFIGURE_ARGS when GNU_CONFIGURE is set now contains --mandir and --infodir if configure script supports them. 20070712: AUTHOR: maho@FreeBSD.org * Add knob USE_FORTRAN for ports which uses FORTRAN. All ports uses FORTRAN compiler should use this knob. Usages are: USE_FORTRAN=yes (default;gfortran42), USE_FORTRAN=ifc (Intel FORTRAN compiler) and USE_FORTRAN=g77 (/usr/bin/f77 or g77-34). 20070701: AUTHOR: portmgr@FreeBSD.org The following change was made to the ports infrastructure: * Virtual category 'kld' was added. If the port installs kernel loadable modules, it should be included in this category. 20070524: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The 'make-deinstall-all' target now checks for moved ports. * The installation directories PORTEXAMPLES and PORTDATA are now defined. * The USE_MAKESELF knob is added for ports that use the makeself archiver. * The description of fetch-list was updated. The targets fetch-required-list, fetch-url-list, and fetch-urlall-list were added. * 'make search' will also now search in ports/MOVED. * The default method for 'make update' is now portsnap. Previously, you had to manually select one of 3 methods: SUP_UPDATE, CVS_UPDATE, or PORTSNAP_UPDATE. The latter is now obsolete. * Several Makevar definitions have been moved to the pre-makefile section: DATADIR, DOCSDIR, ETCDIR, EXAMPLESDIR, WWWDIR. 20070403: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The default dependency of USE_GHOSTSCRIPT has been changed from ghostscript-gnu to ghostscript-gpl. The WITH_GHOSTSCRIPT_GPL variable is now no-op. New WITH_GHOSTSCRIPT_GNU variable was added. * bsd.tcl.mk was overhauled. Most importantly, the semantics of USE_TCL* and USE_TK* variables was changed. USE_TCL and USE_TK now implies both build and run dependencies, USE_TCL_RUN and USE_TK_BUILD variables were introduced. Existing ports in the tree were modified. * Unused category 'tcl81' was removed, and new categories 'tcl' and 'tk' were added. 20070324: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * Default LIBTOOLFILES value was changed from literal `configure' to ${CONFIGURE_SCRIPT}. * bsd.efl.mk was moved to ports/Mk. USE_EFL family of macros is now generally available to all ports. * New macros COPYTREE_BIN and COPYTREE_SHARE were added, to allow for easy installation of a tree hierarchy, either with executable (bin) or read-only (share) permissions on files. * A new variable WWWDIR was added, with default value of ${PREFIX}/www/${PORTNAME}. * Variables DOCSDIR_REL, DATADIR_REL, EXAMPLESDIR_REL and WWWDIR_REL were added for porter's convenience. They contain the values of their respective non-REL variables, except relative to installation PREFIX. 20070313: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * bsd.ocaml.mk and bsd.xfce.mk were added. * The FETCH_CMD was refactored so that ports can override the command, the arguments, or both. 20070306: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * The remaining vestiges of FreeBSD 4.X support were removed. Any remaining users of 4.X should have stayed with the RELEASE_4_EOL tag. * It is now possible to include USE_PHP after bsd.port.pre.mk. * 'make search' should now work with non-default ${PORTSDIR}. 20070130: AUTHOR: portmgr@FreeBSD.org The following changes were made to the ports infrastructure: * DEPENDS variable was removed, please use other *_DEPENDS variables instead. * A new pkg-plist keyword is available, @stopdaemon. It will call forcestop on all rc.subr scripts installed by the port on deinstall, effectively stopping services on deinstall/upgrade. * rc.subr script suffix is now available in Makefile as RC_SUBR_SUFFIX. * New variable USE_CDRTOOLS was introduced. It replaced direct dependencies on sysutils/cdrtools port. It now automatically support switching to cdrtools-cjk port when user specified WITH_CJK. All ports were converted. * USE_DOS2UNIX, infrastructure for converting DOS to UNIX line feeds, was enhanced by a new variable DOS2UNIX_REGEX. It allows to specify a find -iregex parameter to limit touched files by file extensions. * Support for partially translated manpages was added. For examples of usage, please refer to Porter's Handbook. * USE_TCL/USE_TK variables were changed to provide runtime dependency. New variables USE_TCL_BUILD and USE_TK_BUILD were added. All unintuitive quirks of these variables were fixed. * USE_LDCONFIG was fixed to work properly for ports, that specify @cwd in the pkg-plists. * Old bsd.java.mk version 1.0 macros were removed. * New category: ports-mgmt * New virtual category: gnustep * Unused 'picobsd' category was removed. 20070118: AUTHOR: maho@FreeBSD.org We'd like to ask all ports maintainers, who are using Fortran77 (f77 in base), to switch to Fortran90/95 (gfortran42, lang/gcc42). Please refer to http://people.freebsd.org/~maho/gfortran/gfortran.html for details. 20061014: AUTHOR: gnome@FreeBSD.org The following changes have been introduced to the GNOME porting process during the GNOME 2.16 update: * GNOME is now installed into LOCALBASE. Any port which makes use of the gnomeprefix component will have its PREFIX forced to LOCALBASE 20060930: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * The bsd.port.mk pre and post includes have been split into 3 pieces instead of 2, to allow OPTIONS to be able to influence dependencies. This is still experimental and not yet enabled by any port. This adds the file 'bsd.port.options.mk'. * bsd.gcc.mk has been updated to understand gfortran. * emulators/linux_base is now removed. linux_base-fc4 has been the default for some time. * The USE_FIREBIRD macro was added to bsd.database.mk. 20060914: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * PKGVERSION was introduced as an intermediate variable refactored out of PKGNAME. * bsd.lua.mk was added to support lua-related ports. * DESTDIR was removed from bsd.scons.mk because it was problematic. * Some quotes were added to the 'missing' target to improve handling of duplicate origins. 20060903: AUTHOR: sat@FreeBSD.org The following functional changes were made to bsd.sites.mk: * MASTER_SITES variable can now look like MACRO1/subdir1 MACRO2/subdir2, and be expanded in a way that you expect it to, that is apply different subdirs to different sites. You can safely replace ${M_S_FOO:S/%SUBDIR%/bar/} with FOO/bar. * If M_S_SUBDIR is unset, a macro in M_S won't set it anymore, but rather substitute %SUBDIR% all by itself. Now it's possible to use macros with different default subdirs and they will expand in a proper way. 20060805: AUTHOR: sat@FreeBSD.org The following functional changes were made to bsd.sites.mk: * MASTER_SITES variable can now contain special macros which are expanded into traditional URL[:group] syntax and cause some convenient effects, e.g. set a default M_S_SUBDIR. * A macro is any space-delimited word in MASTER_SITES without a forward slash. * If MASTER_SITE_ is defined, then the macro is expanded to its value. * Abbreviated macros are provided for extremely popular locations, e.g. CPAN and SF. To avoid further obfuscation their unabbreviated equivalents should be avoided. * Popular macros can trigger M_S_SUBDIR to default to a predefined value, e.g. ${PORTNAME:L} for SF and ${PORTNAME:C/-.*//} for CPAN. * Abbreviations and M_S_SUBDIR defaults are defined by MASTER_SITES_ABBREVS and MASTER_SITES_SUBDIRS, both set in bsd.sites.mk. * If a macro belongs to a group (e.g. SF:source1), all the sites it expands into also belong to the same group. * Macros and traditional URL's can be mixed safely, their order stays intact. 20060804: AUTHOR: gabor@FreeBSD.org The following functional changes were made to bsd.*.mk and to Tools/scripts/security-check.awk: * Add DESTDIR support to let one install ports into a jail from outside. A package is installed under ${DESTDIR}${PREFIX} now and registered under ${DESTDIR}/var/db/pkg. * TARGETDIR variable has been added for referencing ${DESTDIR}${PREFIX}. * LOCALBASE, LINUXBASE and X11BASE variables point to the final destination now, LOCALBASE_REL, LINUXBASE_REL and X11BASE_REL can be used for the old behavior. The behavior has not been changed in PLIST_SUB. Note, that the three variables are still overridable with a hack, so this change doesn't affect POLA, but necessary for DESTDIR support. * OSVERSION is now determined from the userland, not from the kernel. Cross-compiling between releases is still not supported, but this behavior is more correct for jails with differing userland from the kernel version. * Add some sanity check for PREFIX and DESTDIR. This can be skipped by defining IGNORE_PATH_CHECKS, but very discouraged. * Deinstalling from DESTDIR, determining if a port is already installed in DESTDIR, etc. are implemented by chrooting those specific commands. * Text changes to reflect that we are installing to DESTDIR, removing from DESTDIR, etc. Note, that this change implements only the infrastructure support. Ports should also be implemented to respect DESTDIR. 20060717: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Introduces IA32_BINARY_PORT for certain cases where a given port fetches and installs compiled i386 binaries. * Adds some infrastructure for support of 32-bit i386 apps on amd64. * Again fix USE_LDCONFIG logic to make it work with non-default PREFIX to fix bug introduced in previous revision. 20060705: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Change all bogus uses of BROKEN to IGNORE. (Note: the BROKEN_WITH_* forms are retained for compatibility but deprecated.) Internally, these variables all had already set IGNORE, not BROKEN, so they were really misnomers. * Fix USE_LDCONFIG with non-default PREFIX. * Fix DESKTOP_ENTRIES processing on 4.x. * Add 'make missing' to show missing dependencies. * Add bsd.scons.mk and bsd.wx.mk. 20060616: AUTHOR: portmgr@FreeBSD.org The patch in ports/95841 to get rid of remnants of FORCE_PKG_REGISTER was backed out because it broke kdelibs3*. 20060616: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * Update default MySQL version from 4.1 to 5.0 [1] * Update default PHP version from 4 to 5 [2] * Update default LDAP version from 2.2 to 2.3 [3] * Add support for LDAP version 2.4 [4] * Update default linux_base from '8' (Redhat 8) to 'fc4' (Fedora Core 4) [5] * Switch default Linux X implementation from XFree86 to X.org to track the above [5] * Deprecate INSTALLS_SHLIB and replace it by USE_LDCONFIG. If set to "yes", the old behavior is preserved. Otherwise, it can be set to a list of directories to be added to ${PREFIX}/libdata/ldconfig/${UNIQUENAME}. Note that this directory is used by ldconfig startup script, it is meant to replace ldconfig scripts installed by some ports as (sometimes 000.${UNQUENAME}.sh) [6] * Adds USE_LDCONFIG32 which is like USE_LDCONFIG but the target file is ${PREFIX}/libdata/ldconfig32/${UNIQUENAME} instead. (Note: this should only be used on 64-bit architectures) [6] * Set the default LANG for tr to be C to avoid some build problems [7] * Include bsd.java.mk in both pre and post sections [8] * Get rid of remnants of FORCE_PKG_REGISTER [9] * Always print options with make showconfig [10] PR: 92805 [1], 92806 [2], 96793 [3], 97515 [4], 96849 [5], 91933 [6], 91381 [7], 97020 [8], 95841 [9], 97133 [10] 20060523: AUTHOR: portmgr@FreeBSD.org The following functional changes were made to bsd.port.mk: * include bsd.emacs.mk only when USE_EMACS is set [5] * Correct the implementation of pretty-print-run-depends-list [8] * Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX are set after bsd.port.pre.mk. [9] * Include bsd.tcl.mk if USE_TCL_BUILD is defined [10] * Set PERL_MM_USE_DEFAULT in BATCH mode [11] * Add the {ONLY,NOT}_FOR_ARCH_REASON and {ONLY,NOT}_FOR_ARCH_REASON_${ARCH} variables to allow better customization of the error string reported to users when they attempt a build on an unsupported architecture. [12] * Avoid errors from duplicated targets when parsing MLINKS on ports without a default value set. [13] * Fix handling of MLINKS when invalid entries are listed [14] * Enforce sanity of DESKTOP_ENTRIES. If the Categories field is omitted, try to map ports categories to their freedesktop.org counterpart [15] PR: 95238 [5], 94164 [8], 94219 [9], 92355 [10], 95579 [11], 94675 [12], 66109 [13], 66110 [14], 95603 [15] 20060121: AUTHOR: portmgr@FreeBSD.org The following changes affecting ports developers were introduced: * Gamin is a default FAM system * New virtual categories: hamradio and rubygems * Virtual category 'offix' was removed * New USE_DOS2UNIX variable for converting DOS linefeeds to UNIX * Variables like BROKEN and FORBIDDEN should no longer be quoted * New NOFETCHFILES variable to prevent downloading from MASTER_SITES while still allowing MASTER_SITE_OVERRIDE * New plist macro @dirrmtry with functionality of @unexec rmdir || true * USE_REINPLACE no longer needs to be defined, REINPLACE_CMD is always available Detailed documentation of new features is available in Porter's Handbook. 20051108: AUTHOR: portmgr@FreeBSD.org The following changes were introduced: * Add bsd.database.mk - move out from bsd.port.mk USE_MYSQL and USE_PGSQL. - add support for Berkeley DB and SQLite (via USE_BDB and USE_SQLITE knobs). * Escape '+' in make search * Add "makepatch" target to simplify creation of patches during porting * Replace deprecated MACHINE_ARCH with ARCH * Remove support of OpenLDAP 2.1 * Add bsd.tcl.mk It introduces USE_TCL/USE_TCL_BUILD knobs to support various version of tcl (8.0 -> 8.4) * Fix cosmetic bugs in security-check target * Add support for INDEX-7 and above (up to INDEX-9 actually) * Add "package-recursive" to bsd.port.subdir.mk * Remove check for FreeBSD version < 460101 * New category: net-im * Add .desktop file facilities It introduces DESKTOPDIR and DESKTOP_ENTRIES knobs * Add SHA256 support to "*checksum" targets * Fix USE_PYTHON with OPTIONS * Force NO_LINT to MAKE_ENV to avoid library breaks * Fix typo: s/RC_ORDER/USE_RCORDER/g * Add support for PostgreSQL 8.1 * Add bsd.apache.mk USE_APACHE knob enhancements 20051105: AUTHOR: gnome@FreeBSD.org GNOME has been upgraded from 2.10.2 to 2.12.1. This update brings with it many important porting changes: - gtk20's pkg-config file no longer contains the X11 pango modules. Therefore, if your port requires these modules, you may have to manually patch them in to your port's Makefiles. Contact gnome@FreeBSD.org if you have questions on this. - A new USE_GNOME component, ltverhack, has been added. This pseudo-component hacks libtool so that shared library versions are more consistent with other operating systems. Using this component can prevent unnecessary shared library version changes. - A new macro, INSTALLS_ICONS, has been added. If your port installs Freedesktop-style icons to ${LOCALBASE}/share/icons or ${X11BASE}/share/icons, then you should use this macro. NOTE: use of this macro requires your port to set either USE_GNOME or WANT_GNOME. 20050618: AUTHOR: netchild@FreeBSD.org - USE_LINUX now implies NO_FILTER_SHLIBS=yes. It also doesn't use FreeBSD tools to strip binaries anymore, so it's not necessary anymore to override STRIP and STRIP_CMD. - USE_LINUX_PREFIX implies NO_MTREE now. - In the USE_LINUX case, USE_XLIB now depends upon the Linux X11 libraries instead upon the native FreeBSD libraries. - The variable LINUX_BASE_PORT contains a string which is suitable as an item in *_DEPENDS, so if a port BATCH_DEPENDS or FETCH_DEPENDS upon the default (or overridden) Linux base, ${LINUX_BASE_PORT} should be used instead of a hardcoded reference. - If USE_LINUX or OVERRIDE_LINUX_BASE doesn't point to an existing linux_base port and if USE_LINUX isn't set to "yes" (case insensitive), the port will be marked as IGNORE. 20050609: AUTHOR: portmgr@FreeBSD.org The following changes were introduced: * Improve documentation of CONFLICTS. * Fix add-plist-docs target to work correctly with wildcards. * Fix USE_MYSQL and USE_PGSQL knobs to work in partial ports tree. * Introduce 2 new variables: USE_FAM and WANT_FAM_SYSTEM. * Suppress "Vulnerability check disabled" message if DISABLE_VULNERABILITIES is defined. * Switch default MySQL version to 4.1 * Add support for OpenLDAP v.23 * Fix add-plist-info and add-plist-post targets to avoid warnings from ports which redefine them. * Fix add-plist-docs target to handle NOPORTDOCS knob properly. * Use INSTALLDIRS="site" in configure for perl ports. * Fix NO_(CHECKSUM|BUILD|INSTALL|PACKAGE) knobs if OPTIONS are defined. * Add an ability to depend on versioned installed package. Example: BUILD_DEPENDS=p5-Tree-Simple>=1.12:${PORTSDIR}/devel/p5-Tree-Simple Please note, it's experimental feature, work is currently in progress. 20050325: AUTHOR: jdp@FreeBSD.org The CVSup port has been upgraded with a patch to correct the handling of the "refuse" file for files that are in the CVS Attic. This solves a problem some people were having, where CVSup would delete their ports/INDEX* files even though the files were listed in the "refuse" file. The bug fix is in the cvsupd server, so mirror sites must upgrade their servers in order for this fix to help. Meanwhile, adding "ports/Attic/INDEX*" to the refuse file serves as a work-around. 20050321: AUTHOR: kwm@FreeBSD.org The gstreamer-plugins gconf dependency moved to its own port in devel. When your application needs gstreamer-plug-gconf, just add USE_GSTREAMER=gconf to you Makefile 20050319: AUTHOR: gnome@FreeBSD.org New GNOME components have been added to bsd.gnome.mk. See http://www.FreeBSD.org/gnome/docs/gnome2_porting.html for the complete list of available GNOME 2 components. Py-gnome2 lost many of its GNOME dependencies to a new port, py-gnome-extras. Therefore, ports that used to depend on the pygnome2 component for modules such as gtkhtml2, gnomepanel, etc. should replace the pygnome2 dependency with pygnomeextras. 20050314: AUTHOR: edwin@FreeBSD.org New variable for in /etc/make.conf: IGNORE_MASTER_SITE_xxx If you prefer a certain mastersite for a collection of master-sites, set this in your /etc/make.conf: MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/ If you insist on only using the ones you specify, set this in your /etc/make.conf: IGNORE_MASTER_SITE_xxx=yes MASTER_SITE_xxx=http://z.x.y/%SUBDIR%/ Use "make -V MASTER_SITES" to see the differences. 20050313: AUTHOR: ahze@FreeBSD.org, kwm@FreeBSD.org The following changes were committed: * USE_GNOME=gstreamerplugins has been deprecated. The new method which uses bsd.gstreamer.mk is: USE_GSTREAMER=plugin-name Example: USE_GSTREAMER= dvd or WANT_GSTREAMER= yes .include .if defined(WITH_DVD) USE_GSTREAMER= dvd .endif * misc/gnomehier now creates a mtree file and each port using USE_GNOME=gnomehier or gnomeprefix now use the BSD.gnome-x11.dist mtree file to help "keep" directories and not accidentally add gnome directories to a port. 20050207: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Change bento to pointyhat names in comments. * Document DISABLE_VULNERABILITIES variable. * Add WWW: line for 'search' target. * Speedup check-vulnerable invocation, if portaudit is installed. * Run install-info for all .info files. * Run add-plist-docs more strictly and prevent some situations with leftover files in the future. * Introduce two new variables: MASTER_PORT and SLAVE_PORT. The results from these variables is only used as information for users. * Honor OPTIONS if PACKAGE_BUILDING or BATCH are defined. * Move all USE_GCC entries to new file - bsd.gcc.mk. 'test-gcc' target allows users to check gcc version if USE_GCC is used. Give maintainers opportunity to add '+' character to USE_GCC version for using specified and higher versions. Example: USE_GCC=3.3+ builds ports with gcc version 3.3 and higher (3.4, 4.0). * Install startup scripts with the help of USE_RC_SUBR variable. * Add three new targets: config-recursive, rmconfig-recursive and config-conditional. You can set or delete OPTIONS for all dependencies before every build. config-conditional target is used to skip configuring ports which have already been configured. * Fix using of WANT_PGSQL_VER variable if PostgreSQL is already installed. 20041231: AUTHOR: netchild@FreeBSD.org USE_LINUX_PREFIX doesn't implies USE_LINUX anymore. 20041209: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Define new macros: DATE, FMT, MKTEMP, OBJDUMP, and use command macro SORT. * Change layout of comments to 4 column tabs, remove lots of spaces and eight-column-tabs. * Introduce 2 new variables: SUB_FILES and SUB_LIST: Example: SUB_FILES= pkg-message pkg-install SUB_LIST+= "VERSION=${VERSION}" This looks for ${FILESDIR}/pkg-message.in and ${FILESDIR}/pkg-install.in Substitutions in SUB_LIST are applied to these files and the output is redirected to ${WRKDIR}. PKGMESSAGE will be set to ${WRKDIR}/pkg-message. PKGINSTALL will be set to ${WRKDIR}/pkg-install. * Document DEPRECATED and EXPIRATION_DATE variables. * Sanitize the intermittent output by the build infrastructure so that cutting and pasting from it no longer interferes with GNATS-tags. * Honor configure arguments for USE_XLIB if USE/WITH_LIBTOOL_ is used. * Properly document 'describe' target. * Properly remove directories at deinstallation time if ports sets a non-standard PREFIX. * Defaults INDEXFILE to INDEX-6 on 6-CURRENT. 20041119: AUTHOR: portmgr@FreeBSD.org The following changes were committed: * Fix INDEX build if MAINTAINER is not defined. * Remove USE_QT2 option, since qt2 is obsolete. * Better define and explain ARCH option. * Add new script Tools/make_readmes, to speedup 'readmes' target. Avoid recursing into individual port directories and run it at top level, after the category README.html files have been created. * Fix 'search' target and enable a case-insensitive search on 5-x. * Extend 'search' target and enable search by categories. * Remove 'tk42' and 'tcl76' categories since they're obsolete. * Introduce DISTVERSION variable, that can be set instead of PORTVERSION and is automatically converted in a conforming PORTVERSION. Example: DISTVERSION= 10Alpha3 extends 10Alpha3 to 10.a3 DISTVERSION= 3Beta7-pre2 extends 3Beta7-pre2 to 3.b7.p2 * Use --suffix option instead of -b for patch(1), to make it compatible with BSD patch(1). * Fix {WANT,WITH}_MYSQL_VER behavior, to deal with conflicting versions. 20041116: AUTHOR: gnome@FreeBSD.org The way OMF files are handled has been changed to use the new INSTALLS_OMF macro (similar to INSTALLS_SHLIB). Details about the new macro can be found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk. 20041113: AUTHOR: portmgr@FreeBSD.org Since INDEX version in CVS is always too old, portmgr decided to remove it. You will still be able to build your own INDEX or use 'fetchindex' target in /usr/ports/. 20041109: AUTHOR: gnome@FreeBSD.org The way GConf schema files are handled has been changed to use the new GCONF_SCHEMAS macro (similar to MAN). Details about the new macro can be found at http://www.FreeBSD.org/gnome/docs/porting.html and bsd.gnome.mk. 20040803: AUTHOR: ade@FreeBSD.org As part of the ongoing autotools cleanup, devel/autoconf has been replaced with devel/autoconf253, and devel/automake with devel/automake15. Consumers of the various autotools knobs from bsd.autotools.mk should not notice any differences. This update completes the transition of autotools to true versioned packages (cf: tcl/tk) 20040723: AUTHOR: anholt@FreeBSD.org The XFREE86_VERSION variable is replaced by the X_WINDOW_SYSTEM variable. XFREE86_VERSION may no longer be used by ports Makefiles. X_WINDOW_SYSTEM may currently be set to xorg, xfree86-4, and xfree86-3 (please use :L in checking it). Several X_*_PORT variables are provided by bsd.port.mk which map to the appropriate port for the X_WINDOW_SYSTEM chosen. 20040719: AUTHOR: ale@FreeBSD.org There has been a big update to PHP ports and bsd.php.mk to add more flexibility and new features. Now a port may depend on a specific set of PHP extensions. To do so, simply replace: USE_PHP= yes with: USE_PHP= ext1 ext2 ext3 ... in the port Makefile. A list of all PHP extensions is included in bsd.php.mk. If the requirement is a build dependency too, the port should also define: USE_PHP_BUILD=yes Moreover, the new knob WANT_PHP_SCR has been added to indicate that the port requires the 'php' binary to run. Last but not least, many common operations to build/install/register a PHP extension can now be omitted from the port Makefile if it defines: USE_PHPEXT= yes For more information on this point and on additional variables, see bsd.php.mk. 20040717: AUTHOR: eik@FreeBSD.org OpenLDAP version 2.2 is now the default. When your port links against the openldap client libraries use USE_OPENLDAP= yes and do not depend on a particular version. A user (or package building cluster) can select the desired flavor with WANT_OPENLDAP_VER and WANT_OPENLDAP_SASL, but these must not be used in ports Makefiles. 20040709: AUTHOR: portmgr@FreeBSD.org USE_LIBTOOL_VER now configures a port to use the ports version of libtool instead of its included version. This was put in place to reduce the number of ad hoc patches to individual ports' libtools to prevent .la file installation as well as fix various threading problems. To restore the previous libtool behavior, use the new macro, USE_INC_LIBTOOL_VER. It works the exact same way as USE_LIBTOOL_VER in that it takes a libtool version as its argument. For example, to use the included version of libtool with extra hacks provided by libtool-1.5, add the following to your Makefile: USE_INC_LIBTOOL_VER= 15 To use the ports version of libtool-1.5, add the following to your Makefile: USE_LIBTOOL_VER= 15 Note: these macros are mutually exclusive. Your port should only include one or the other if it needs to make use of libtool. 20040707: AUTHOR: gnome@FreeBSD.org The way GConf schema files are installed has changed to support the upcoming GNOME 2.8 GConf. Details about the change can be found at http://www.FreeBSD.org/gnome/docs/porting.html. All existing ports have been converted to the new style, and portlint has been updated to flag old-style GConf schema installation. 20040610: AUTHOR: portmgr@FreeBSD.org The following behavioral or feature changes were committed: * Support verbose index builds with INDEX_VERBOSE * Support glob expressions in USE_GETTEXT to allow more flexibility in the face of future gratuitous library version bumps by the gettext developers: USE_GETTEXT=yEs # Works as before (case-insensitive) USE_GETTEXT=[5-7] # Accepts any of those libintl.so.x versions # in the LIB_DEPENDS * Extend 'make search' support to allow much more flexible searching From the PR: Besides the good old key and name variables, this patch adds support for path, info, maint, cat, bdeps, and rdeps, which match on the appropriate fields, plus their exclusion counterparts: xkey, xname, etc. Examples: Find all ports whose names contain "pear-" but not "html" or "http": make search name=pear- xname='ht(tp|ml)' Find ports whose names contain "pear-" and which don't have apache listed in build-time dependencies: make search name=pear- xbdeps=apache The positive variables (name, key, maint, etc) are AND-ed, their negative versions are OR-ed; in other words, matching any x- variable will cause the port to be skipped, mismatch on any non-x- variable will cause it to be skipped. Examples: Find ports that are both in the 'www' category and maintained by Thierry Thomas: make search maint=thierry@ path=/www/ Find ports in the 'archivers' category that are either not orphaned or don't have "zip" in their names (contrived): make search cat=archivers xmaint=ports@freebsd xname=zip It is possible to select fields to display. Example: Find PEAR ports that don't build-depend on apache, displaying only Port:, Path:, and Info: lines: make search name=pear- xbdeps=apache display=name,path,info Case-sensitivity can now be turned of with icase=1. Example: Find ports with @freebsd.org maintainer addresses without the "proper" capitalization (@FreeBSD.org), display their paths and maintainer addresses: make search maint=@freebsd\\.org icase=0 display=maint,path The key and xkey variables can be limited in scope to displayed fields by setting keylim to 1. Example: Find ports that contain "apache" in either of the name, path, info fields, ignore the rest of the record (dependencies, maintainer address, etc): make search key=apache display=name,path,info keylim=1 The following variables can be set e.g. in /etc/make.conf to control default search behavior: PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps PORTSEARCH_KEYLIM?=0 PORTSEARCH_XKEYLIM?=0 PORTSEARCH_IGNORECASE?=1 * Extend USE_PERL5_BUILD and USE_PERL5 to add EXTRACT and PATCH dependencies * While building index, treat non-existent dependencies as fatal. Previously the error was being hidden by the stderr redirection. * Don't always retry BROKEN ports when package building (it is taking too much time to continually rebuild ports that are usually going to really be broken). Set TRYBROKEN if you want to attempt a build of a BROKEN port. 20040604: AUTHOR: ade@FreeBSD.org Over the past few weeks, we have been testing the next incarnation of ports/Mk/bsd.autotools.mk on the road to bringing at least some semblance of sanity back to this corner of the ports collection. By far and away the easiest way to see the changes will be to view the new file once committed, but here is a summary of the changes: 1. USE_LIBTOOL, USE_AUTOCONF, USE_AUTOHEADER, USE_AUTOMAKE have been fully deprecated. Ports attempting to use these variables after the commit will error out, and most obviously break INDEX generation, with a helpful error message. Instead, ports must now specifically choose the version of any of these tools that they need with the corresponding USE_*_VER variables. Note that these variables understand any and all versions of autotools ports in the tree, there is no longer a need to have specific version numbers hardcoded in the infrastructure of bsd.autotools.mk (as there is now). In particular, this will immediately open up automake18 and autoconf259 for general use and beating. 2. Similarly for WANT_LIBTOOL, WANT_AUTOCONF, and WANT_AUTOMAKE. Again, these have been fully deprecated, and the equivalent WANT_*_VER versions should be used. In order to preserve existing behavior for these variables, please note the 20040314 entry in ports/CHANGES for the appropriate version numbers to use for any ports in the GNATS queue. Both WANT_* and USE_* bring in the relevant tool as a build dependency, and set up a reasonably large number of variables pointing to the right programs to be using in the port. The only difference at the moment, is that USE_* will run an extra autotools-related configuration step, whereas WANT_* merely requests the environment. 3. The helper knob USE_LIBLTDL has been added which currently simply adds a LIB dependency on the libltdl port. 4. Three new variables have been introduced, WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN=yes. These variables will do nothing by themselves (a Work-In-Progress), but if the appropriate autotool version is defined (either through WANT_*_VER or USE_*_VER), this will add the relevant dependency to RUN_DEPENDS. Steps 3 and 4 now essentially negate the need for any kind of direct dependency within a non-autotools port Makefile on devel/autoconf*, devel/automake*, devel/libtool*, and devel/libltdl. 20040416: AUTHOR: java@FreeBSD.org There has been a couple of bsd.java.mk tweaks and fixes. . Features from Stage 2 has been removed. A port can no longer use the JDK dependency features by setting JAVA_HOME. Use JAVA_PREFERRED_PORT instead (see below). . The default JDK port now depends on OS version: java/diablo-jdk13 for 4.x, and java/jdk14 for 5.x . It is now possible for the user (and the porters) to define a list of preferred JDK ports to build and run ports. The port will use the first JDK port from the list that matches the requirements specified in the Makefile. JAVA_PREFERRED_PORT contains a list of suitable JDK ports (sorted by preference). Names for JDKs may be found in bsd.java.mk, listed in ${_JAVA_PORTS_ALL} (e.g. "JAVA_PORT_NATIVE_BSDJAVA_1_4"). . JAVA_PORT_VERSION is now set to the full version number of the chosen JDK (e.g. "1.4.2"). Porters will find hints regarding how to obtain the same behavior as before in the header of bsd.java.mk. 20040414: AUTHOR: gnome@FreeBSD.org When writing a port that uses GTK+ 2.X, you can now list the dependency with "USE_GNOME=gtk20" which is preferable to LIB_DEPENDS because the GTK+ library version only needs to be changed in bsd.gnome.mk. Please see http://www.FreeBSD.org/gnome/docs/porting.html for all the available GNOME components as well as detailed instructions on creating ports that use the GNOME infrastructure. 20040404: AUTHOR: gnome@FreeBSD.org The glib20 and gtk20 ports were updated to 2.4.0. This new version is completely source and binary compatible with the previous 2.2.x series. However, certain API calls have been deprecated. If your port defines the following macros, they may refuse to build with the new versions of glib20 and gtk20: GTK_DISABLE_DEPRECATED GDK_DISABLE_DEPRECATED G_DISABLE_DEPRECATED The temporary solution is to either patch your port's Makefiles to, or use an in-place regular expression to remove these macros. The more permanent solution is to wait until the port's authors update their code to use current API calls. 20040402: AUTHOR: java@FreeBSD.org There has been a big update to bsd.java.mk. However, this update is mostly backwards compatible, so it shouldn't affect most java port maintainers. There is some new functionality and minor changes worth documenting here though. bsd.java.mk now provides a new set of macros to be used by ports that require a JDK. When USE_JAVA is set, the following variables may be set in order to give to precision regarding the requirements of the port: . JAVA_VERSION A list of space-separated suitable java versions for the port. An optional "+" allows you to specify a range of versions. (allowed values: 1.1[+] 1.2[+] 1.3[+] 1.4[+]) (NOTE: Used to be set by bsd.java.mk) . JAVA_OS A list of space-separated suitable JDK port operating systems for the port. (allowed values: native linux) (NOTE: Used to be set by bsd.java.mk) . JAVA_VENDOR A list of space-separated suitable JDK port vendors for the port. (allowed values: freebsd bsdjava sun ibm blackdown) (NOTE: Used to be set by bsd.java.mk) . JAVA_BUILD When set, it means that the selected JDK port should be added to build dependencies for the port. . JAVA_RUN This variable works exactly the same as JAVA_BUILD but regarding run dependencies. Here are some of the macros defined after setting USE_JAVA: . JAVA_PORT The name of the JDK port (e.g. java/jdk14) . JAVA_HOME The home of the JDK port in the local base . JAVA_PORT_VERSION The version of the JDK port. (NOTE: Used to be JAVA_VERSION, see above) . JAVA_PORT_OS The operating system used by the JDK port. (NOTE: Used to be JAVA_OS, see above) . JAVA_PORT_VENDOR The vendor of the JDK port. (NOTE: Used to be JAVA_VENDOR, see above) Plus many macros for the commonly used java executables: APPLETVIEWER, JAR, JAVA, JAVAC, JAVADOC, JAVAH, JAVAP, JAVA_KEYTOOL, JAVA_N2A, JAVA_POLICYTOOL, JAVA_SERIALVER, RMIC, RMID and RMIREGISTRY. bsd.java.mk 2.0 is mostly backward compatible with the previous version, save for the notes above and changed internal variables. Using the new features is strongly encouraged, since the old bsd.java.mk 1.0 features will be deprecated and may be removed in the future. You will find more detailed info (as well as a quick tutorial) at: http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html 20040316: AUTHOR: gnome@FreeBSD.org The print/freetype2 port has been updated to 2.1.7. This update changes some of the internal FreeType API. Applications may need to be patched to support this new API. If a source files includes freetype/freetype.h, make sure ft2build.h is included before freetype/freetype.h. The proper way to do this is: #include #include FT_FREETYPE_H However, the following will work as well, but is deprecated: #include #include 20040314: AUTHOR: ade@FreeBSD.org USE_LIBTOOL, USE_AUTOCONF, and USE_AUTOMAKE are now considered deprecated, and will be removed on or around June 1st 2004. All ports should now choose the specific version of the tool, using USE_LIBTOOL_VER, USE_AUTOCONF_VER, and USE_AUTOMAKE_VER. The old "system default" behavior can be written as follows: Old New USE_LIBTOOL=yes USE_LIBTOOL_VER=13 USE_AUTOCONF=yes USE_AUTOCONF_VER=213 USE_AUTOMAKE=yes USE_AUTOMAKE_VER=14 20040304: AUTHOR: eik@FreeBSD.org New variable MASTER_SITE_SOURCEFORGE_EXTENDED. It has the ten official sourceforge.net download mirrors, whereas MASTER_SITE_SOURCEFORGE only has five. To check if your port is mirrored there, go to click on ${DISTFILES} and you'll see five or ten mirrors, corresponding to the variables above. 20040226: AUTHOR: knu@FreeBSD.org The default version of Ruby is now 1.8 on all platforms including the i386. Users on the i386 platform need to follow the instructions described in the UPDATING file to cope with this upgrade. Next time ruby is major upgraded, you won't need to do this kind of messy work because some subtle changes have been made to the ruby port infrastructure to make it easier to handle multiple versions of ruby. 20040217: AUTHOR: gnome@FreeBSD.org Mozilla will now default to using GTK2, and will only compile against Gtk+-1.2 if explicitly requested. This is in exact opposite to the old behavior. The valid values of WITH_MOZILLA are now: mozilla (www/mozilla, GTK2) mozilla-devel (www/mozilla-devel, GTK2) mozilla-gtk1 (www/mozilla-gtk1, GTK1) mozilla-devel-gtk1 (www/mozilla-devel-gtk1, GTK1) As before, WITH_MOZILLA can be set in /etc/make.conf, but doing so is not advised unless you desire the development versions. GTK2 browsers will automatically compile against GTK2 mozilla, and GTK1 browsers (galeon1, galeon1, and galeon1) will automatically compile against GTK1. Again, the only people who will need to take action are those who desire development versions (which are inactive at this time anyway). Those who want GTK1 mozilla-devel must set WITH_MOZILLA=mozilla-devel-gtk1 or they will be pleasantly surprised with their very own GTK2 installation on the next update. WITH_MOZILLA=mozilla-gtk2 and WITH_MOZILLA=mozilla-devel-gtk2 are still honored for the time being, but their use is now deprecated. Any new ports are not required to consider their values, and so eventually WITH_MOZILLA _will_ have to be changed. Hopefully galeon2 can catch up to peoples' expectations from galeon1 soon, and we can remove the GTK1 ports altogether. 20040204: AUTHOR: portmgr@FreeBSD.org The bsd.php.mk file has been moved out of the lang/php4 port into the Mk directory. This will make it much easier to include PHP support in PHP-dependent ports. Instead of including bsd.php.mk directly, a port can simply set USE_PHP=yes, and the ports system with Do the Right Thing. All trailing whitespace has been removed from bsd.port.mk. Enhance the new OPTIONS code by only including saved options if the port defines OPTIONS, attempt to use LATEST_LINK as the unique name for a port (fall back to ${PKGNAMEPREFIX}${PORTNAME} otherwise), bring the ===> messages in line with the existing ones by using PKGNAME instead of PORTNAME, use PKGNAME in the dialog, use ECHO_CMD instead of ECHO_MSG to write the OPTIONSFILE, display a message during compilation indicating that user-specified options have been found, and make the output of the showconfig target a little more user-friendly. A new USE_ICONV macro has been added that takes the place of an explicit LIB_DEPENDS on converters/libiconv. This will help with future shared lib version bumps. A new USE_GETTEXT macro has been added that takes the place of an explicit LIB_DEPENDS on devel/gettext. This will help with future shared lib version bumps. Module::Build is a system for building, testing, and installing Perl modules. It will eventually replace the obsoleted ExtUtils::MakeMaker. Many new Perl modules have already switched to using Build.PL instead of Makefile.PL. To facilitate building those modules, a new PERL_MODBUILD macro has been added. Use that in place of PERL_CONFIGURE when porting Perl modules that make use of the Module::Build framework. Certain ports want to check for the availability of SDL libraries before including them. This change adds a new WANT_SDL macro similar to WANT_GNOME. By setting this, the porter indicates that her port can optional use SDL if present on the system. WANT_SDL should be defined _before_ bsd.port.pre.mk is included. After including bsd.port.pre.mk, the list of available SDL components will be returned in the HAVE_SDL macro. For details on how to process this component list, refer to bsd.sdl.mk. The OpenBSD and NetBSD projects diverged from the FreeBSD ports tree years ago, and it no longer make sense to include obsolete references to incorrect paths in the FreeBSD ports system. This change removes the NetBSD and OpenBSD PORTSDIR compatibility bits from bsd.port.mk. The comment for PKGDIR read, ``A direction containing any package creating file.'' The word ``direction'' should be ``directory.'' This has been fixed. A new DIRNAME macro has been added that points to /usr/bin/dirname. All direct use of dirname in ports can be switched to this macro. Direct use of commands dirname, id, and rm have been corrected to use their macro equivalents instead. Some useless ${HEAD} -n 1 statements have been removed. A strange comment in the do-install target and an out of place ``fi'' have been fixed as well. On 5-CURRENT after the 5.2-RELEASE split, the default Perl version has been updated from 5.6.1 to 5.8.2. As well, some Perl definitions in bsd.port.mk have been moved to their correct locations which corrects the PERL_LEVEL definition. The following optimizations have been added to the ports system to speed up recursive operations such as make describe, make index, make ignorelist, etc. bsd.gnome.mk is now only included if a port defines USE_GNOME, WANT_GNOME, and/or USE_GTK. More variables are cached and passed down through bsd.port.subdir.mk. Perl is no longer invoked when a simple ``echo'' will do. More subshell variable assignments have been hidden behind conditionals so that the commands are not spawned every time. Finally, dependency lists are only constructed if ports actually declare dependencies. These optimizations give make index approximately a 43% speedup. If CPUFLAGS is not defined (this _CPUCFLAGS is empty), trying to remove _CPUCFLAGS from CFLAGS will result in an error. This change fixes that. On recent versions of 5.X, /etc/rc.subr exists, and there is no reason to install another copy in ${LOCALBASE}/etc. The reason this was ever done was to workaround some build issues on bento. However, testing OSVERSION seems to work in spite of those build issues. The ports system now supports MySQL 3.23, 4.0, 4.1, and 5.0. Also, the ability to scale to newer versions was also but in place. An .endif comment indicated that the .if block checked WANT_MYSQL when, in fact, it was checking WANT_MYSQL_VER. This has been corrected. The PTHREAD{CFLAGS,LIBS} macros have been made overridable on all versions of FreeBSD to allow for alternate threading implementations (e.g. -lc_r, -lthr, -mt, etc.). The default threading library has been changed to -lpthread from -lc_r on -CURRENT. The new SIZE support broke distfiles fetching on FreeBSD < 4.8. On those versions of FreeBSD, the SIZE distfile attribute is now ignored. Also, defining DISABLE_SIZE in, for example, /etc/make.conf, will ignore the SIZE attribute on all versions of FreeBSD. This is useful with alternate values for FETCH_CMD. A new vulnerabilities database has been added to the ports system in order to keep more accurate, up-to-date, track of security vulnerabilities. The ports system now knows how to query that database and dynamically prevents the installation of vulnerable ports. In order to allow for more rapid development of the package tools, the ports system will prefer to use pkg_* tools found in ${LOCALBASE} over those in the base system. However, all PKG_* macros are still overridable. A new physical category, net-mgmt, has been created to house network management ports. The /var/db/port.mkversion file never really took off, and is now very obsolete. Replace the code used to generate and check this file with a simple OSVERSION check. The ports system now requires FreeBSD 4.3 or higher. The last round of bsd.*.mk changes broke ports that had duplicate distinfo entries (e.g. linux_base). This is now fixed. Along with this fix, only distfiles with a bad checksum will be refetched, where as distfiles missing from distinfo will not be refetched. The PLIST_{DIRS,FILES} macros were passed to the final package list unchanged by PLIST_SUB. This is not always desirable. Now, those macros are passed through PLIST_SUB. The previous OPTIONS code assumed users would be running port build as root. If this was not the case, OPTIONS configuration would fail. Now, the bits of the config and rmconfig targets that require write access to system directories are run under SU_CMD. The makesum target will now add a SIZE attribute for each distfile by default. This can be overridden by defining NO_SIZE in a port's Makefile. Note: this could probably be expanded to omit SIZE attributes for specific distfiles in the future. 20040129: AUTHOR: trevor@FreeBSD.org SIZE lines in distinfo files: if you set USE_SIZE when you do "make makesum", the byte sizes of the distfiles will be listed in the distinfo file. Then, if a distfile is replaced on its master site with one of a different size than that listed, "make fetch" will fail with a "size mismatch" error before downloading the file and the user will be asked to fetch the file by hand. Also, a user will know the size of the distfiles before fetching and decide to fetch later. 20040129: AUTHOR: erwin@FreeBSD.org Start of CHANGES file. FORMAT: This file contains a list, in reverse chronological order, of major breakages or added features in tracking ports. Not all things will be listed here, and it only starts on January 29, 2004. Copyright information: Copyright 2004-2020 FreeBSD Foundation All Rights Reserved. Redistribution, publication, translation and use, with or without modification, in full or in part, in any form or format of this document are permitted without further permission from the author. THIS DOCUMENT IS PROVIDED BY FREEBSD FOUNDATION ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Contact portmgr@FreeBSD.org if you have any questions about your use of this document. diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index 9caf01581b47..539fc4a73fdd 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -1,1032 +1,1041 @@ #!/bin/sh # MAINTAINER: portmgr@FreeBSD.org set -o pipefail if [ -z "${STAGEDIR}" -o -z "${PREFIX}" -o -z "${LOCALBASE}" ]; then echo "STAGEDIR, PREFIX, LOCALBASE required in environment." >&2 exit 1 fi [ -n "${DEBUG_MK_SCRIPTS}" -o -n "${DEBUG_MK_SCRIPTS_QA}" ] && set -x LF=$(printf '\nX') LF=${LF%X} notice() { echo "Notice: $*" >&2 } warn() { echo "Warning: $*" >&2 } err() { echo "Error: $*" >&2 } list_stagedir_elfs() { cd ${STAGEDIR} && find -s . -type f \( -perm +111 -o -name '*.so*' \) "$@" } shebangonefile() { local f interp interparg badinterp rc f="$*" rc=0 # whitelist some files case "${f}" in *.pm|*.pod|*.txt|${STAGEDIR}${LINUXBASE}/*) return 0 ;; esac interp=$(sed -n -e '1s/^#![[:space:]]*\([^[:space:]]*\).*/\1/p;2q' "${f}") badinterp="" case "${interp}" in "") ;; /bin/rc) # whitelist some interpreters ;; ${LOCALBASE}/bin/python|${PREFIX}/bin/python|${LOCALBASE}/bin/python2|${PREFIX}/bin/python2|${LOCALBASE}/bin/python3|${PREFIX}/bin/python3) badinterp="${interp}" ;; ${LINUXBASE}/*) ;; ${LOCALBASE}/bin/perl5.* | ${PREFIX}/bin/perl5.*) # lang/perl5* are allowed to have these shebangs. if ! expr ${PKGORIGIN} : '^lang/perl5.*' > /dev/null; then err "'${interp}' is an invalid shebang for '${f#${STAGEDIR}${PREFIX}/}' you must use ${LOCALBASE}/bin/perl." err "Either pass \${PERL} to the build or use USES=shebangfix" rc=1 fi ;; ${LOCALBASE}/*) ;; ${PREFIX}/*) ;; /bin/csh) ;; /bin/sh) ;; /bin/tcsh) ;; /usr/bin/awk) ;; /usr/bin/env) interparg=$(sed -n -e '1s/^#![[:space:]]*[^[:space:]]*[[:space:]]*\([^[:space:]]*\).*/\1/p;2q' "${f}") case "${interparg}" in python|python2|python3) badinterp="${interp} ${interparg}" ;; esac ;; /usr/bin/nawk) ;; /usr/bin/sed) ;; /usr/sbin/dtrace) ;; /usr/bin/make) ;; /usr/libexec/atf-sh) ;; *) badinterp="${interp}" ;; esac if [ -n "${badinterp}" ]; then err "'${badinterp}' is an invalid shebang you need USES=shebangfix for '${f#${STAGEDIR}${PREFIX}/}'" rc=1 fi return ${rc} } shebang() { local f l link rc rc=0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue shebangonefile "${f}" || rc=1 # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${STAGEDIR}${PREFIX} \ -type f -perm +111 2>/dev/null) EOF return ${rc} } baselibs() { local rc local found_openssl local file [ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return while read -r f; do case ${f} in File:\ .*) file=${f#File: .} ;; *NEEDED*\[libarchive.so.[56]]) err "Bad linking on ${f##* } for ${file} please add USES=libarchive" rc=1 ;; *NEEDED*\[libedit.so.7]) err "Bad linking on ${f##* } for ${file} please add USES=libedit" rc=1 ;; *NEEDED*\[libcrypto.so.*]|*NEEDED*\[libssl.so.*]) found_openssl=1 ;; esac done <<-EOF $(list_stagedir_elfs -exec readelf -d {} + 2>/dev/null) EOF if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then warn "you need USES=ssl" elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then warn "you may not need USES=ssl" fi return ${rc} } symlinks() { local rc rc=0 # Split stat(1) result into 2 lines and read each line separately to # retain spaces in filenames. while read -r l; do # No results presents a blank line from heredoc. [ -z "${l}" ] && continue read -r link case "${link}" in ${STAGEDIR}*) err "Bad symlink '${l#${STAGEDIR}${PREFIX}/}' pointing inside the stage directory" rc=1 ;; /*) # Only warn for symlinks within the package. if [ -e "${STAGEDIR}${link}" ]; then warn "Bad symlink '${l#${STAGEDIR}}' pointing to an absolute pathname '${link}'" fi # Also warn if the symlink exists nowhere. if [ ! -e "${STAGEDIR}${link}" -a ! -e "${link}" ]; then warn "Symlink '${l#${STAGEDIR}}' pointing to '${link}' which does not exist in the stage directory or in localbase" fi ;; esac # Use heredoc to avoid losing rc from find|while subshell. done <<-EOF $(find ${STAGEDIR} -type l -exec stat -f "%N${LF}%Y" {} +) EOF return ${rc} } paths() { local rc rc=0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue # Ignore false-positive/harmless files case "${f}" in */lib/ruby/gems/*) continue ;; */share/texmf-var/web2c/*/*.fmt) continue ;; */share/texmf-var/web2c/*/*.log) continue ;; esac err "'${f#${STAGEDIR}${PREFIX}/}' is referring to ${STAGEDIR}" rc=1 # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${TMPPLIST} ${STAGEDIR} -type f -exec grep -l "${STAGEDIR}" {} +) EOF return ${rc} } # For now do not raise an error, just warnings stripped() { [ -x /usr/bin/file ] || return # this is fatal [ -n "${STRIP}" ] || return 0 # Split file and result into 2 lines and read separately to ensure # files with spaces are kept intact. # Using readelf -h ... /ELF Header:/ will match on all ELF files. find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \ -exec sh -c 'readelf -S -- /dev/null "$@" || :' -- {} + 2>/dev/null | awk ' /File:/ {sub(/File: /, "", $0); file=$0} /[[:space:]]\.debug_info[[:space:]]*PROGBITS/ {print file}' | while read -r f; do warn "'${f#${STAGEDIR}${PREFIX}/}' is not stripped consider trying INSTALL_TARGET=install-strip or using \${STRIP_CMD}" done } desktopfileutils() { if [ -z "${USESDESKTOPFILEUTILS}" ]; then grep -q MimeType= ${STAGEDIR}${PREFIX}/share/applications/*.desktop 2>/dev/null && warn "you need USES=desktop-file-utils" else grep -q MimeType= ${STAGEDIR}${PREFIX}/share/applications/*.desktop 2>/dev/null || warn "you may not need USES=desktop-file-utils" fi return 0 } sharedmimeinfo() { local f found found=0 for f in ${STAGEDIR}${PREFIX}/share/mime/packages/*.xml; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/mime/packages/*.xml" ] && break #no matches [ "${f}" = "${STAGEDIR}${PREFIX}/share/mime/packages/freedesktop.org.xml" ] && continue found=1 break done if [ -z "${USESSHAREDMIMEINFO}" -a ${found} -eq 1 ]; then warn "you need USES=shared-mime-info" elif [ -n "${USESSHAREDMIMEINFO}" -a ${found} -eq 0 ]; then warn "you may not need USES=shared-mime-info" fi return 0 } suidfiles() { local filelist filelist=$(find ${STAGEDIR} -type f \ \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ \( -perm -u+s -or -perm -g+s \)) if [ -n "${filelist}" ]; then warn "setuid files in the stage directory (are these necessary?):" ls -liTd ${filelist} fi return 0 } libtool() { if [ -z "${USESLIBTOOL}" ]; then find ${STAGEDIR} -name '*.la' | while read -r f; do if grep -q 'libtool library' "${f}"; then err ".la libraries found, port needs USES=libtool" return 1 fi done # The return above continues here. fi } libperl() { local has_some_libperl_so files found if [ -n "${SITE_ARCH_REL}" -a -d "${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}" ]; then has_some_libperl_so=0 files=0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue files=$((files+1)) found=$(readelf -d ${f} | awk "BEGIN {libperl=1} /NEEDED.*${LIBPERL}/ { libperl = 0 } END {print libperl} ") case "${found}" in 1) warn "${f} is not linked with ${LIBPERL}, not respecting lddlflags?" ;; 0) has_some_libperl_so=1 ;; esac # Use heredoc to avoid losing rc from find|while subshell done <<-EOT $(find ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} -name '*.so') EOT if [ ${files} -gt 0 -a ${has_some_libperl_so} -eq 0 ]; then err "None of the ${files} .so in ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} are linked with ${LIBPERL}, see above for the full list." return 1 else return 0 fi fi } prefixvar() { if [ ${PREFIX} != ${LINUXBASE} -a -d ${STAGEDIR}${PREFIX}/var ]; then warn "port uses ${PREFIX}/var instead of /var" fi } terminfo() { local f found for f in ${STAGEDIR}${PREFIX}/share/misc/*.terminfo; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/misc/*.terminfo" ] && break #no matches found=1 break done for f in ${STAGEDIR}${PREFIX}/share/misc/terminfo.db*; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/misc/terminfo.db*" ] && break #no matches found=1 break done if [ -z "${USESTERMINFO}" -a -n "${found}" ]; then warn "you need USES=terminfo" elif [ -n "${USESTERMINFO}" -a -z "${found}" ]; then warn "you may not need USES=terminfo" fi return 0 } listcontains() { local str lst elt str=$1 lst=$2 for elt in ${lst} ; do if [ ${elt} = ${str} ]; then return 0 fi done return 1 } proxydeps_suggest_uses() { local pkg=$1 local lib_file=$2 # miscellaneous USE clauses if [ ${pkg} = 'devel/gettext-runtime' ]; then warn "you need USES+=gettext-runtime" elif [ ${pkg} = 'databases/sqlite3' ]; then warn "you need USES+=sqlite" elif [ ${pkg} = 'databases/sqlite2' ]; then warn "you need USES+=sqlite:2" # Gnome -> same as port # grep LIB_DEPENDS= Mk/Uses/gnome.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|[ "\1" = "\3" ] \&\& echo "\\${pkg} = \\\"\2/\3\\\" -o \\\\"|'|sort|sh elif [ ${pkg} = "accessibility/atk" -o \ ${pkg} = "accessibility/atkmm" -o \ ${pkg} = "graphics/cairo" -o \ ${pkg} = "graphics/cairomm" -o \ ${pkg} = "devel/dconf" -o \ ${pkg} = "devel/gconf2" -o \ ${pkg} = "devel/gconfmm26" -o \ ${pkg} = "devel/glib20" -o \ ${pkg} = "devel/glibmm" -o \ ${pkg} = "audio/gsound" -o \ ${pkg} = "x11-toolkits/gtk20" -o \ ${pkg} = "x11-toolkits/gtk30" -o \ ${pkg} = "www/gtkhtml4" -o \ ${pkg} = "x11-toolkits/gtkmm20" -o \ ${pkg} = "x11-toolkits/gtkmm24" -o \ ${pkg} = "x11-toolkits/gtkmm30" -o \ ${pkg} = "x11-toolkits/gtksourceview2" -o \ ${pkg} = "x11-toolkits/gtksourceview3" -o \ ${pkg} = "x11-toolkits/gtksourceviewmm3" -o \ ${pkg} = "databases/libgda5" -o \ ${pkg} = "databases/libgda5-ui" -o \ ${pkg} = "databases/libgdamm5" -o \ ${pkg} = "devel/libglade2" -o \ ${pkg} = "graphics/libgnomecanvas" -o \ ${pkg} = "x11/libgnomekbd" -o \ ${pkg} = "devel/libgsf" -o \ ${pkg} = "graphics/librsvg2" -o \ ${pkg} = "devel/libsigc++12" -o \ ${pkg} = "devel/libsigc++20" -o \ ${pkg} = "x11-toolkits/libwnck" -o \ ${pkg} = "x11-toolkits/libwnck3" -o \ ${pkg} = "textproc/libxml++26" -o \ ${pkg} = "textproc/libxml2" -o \ ${pkg} = "textproc/libxslt" -o \ ${pkg} = "x11-wm/metacity" -o \ ${pkg} = "x11-toolkits/pango" -o \ ${pkg} = "x11-toolkits/pangomm" -o \ ${pkg} = "x11-toolkits/pangox-compat" -o \ ${pkg} = "x11-toolkits/vte" -o \ ${pkg} = "x11-toolkits/vte3" ]; then warn "you need USE_GNOME+=${pkg#*/}" # Gnome different as port # grep LIB_DEPENDS= Mk/Uses/gnome.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|[ "\1" = "\3" ] \|\| echo "elif [ \\${pkg} = \\\"\2/\3\\\" ]; then; warn \\\"you need USE_GNOME+=\1\\\""|'|sort|sh elif [ ${pkg} = "databases/evolution-data-server" ]; then warn "you need USE_GNOME+=evolutiondataserver3" elif [ ${pkg} = "graphics/gdk-pixbuf" ]; then warn "you need USE_GNOME+=gdkpixbuf" elif [ ${pkg} = "graphics/gdk-pixbuf2" ]; then warn "you need USE_GNOME+=gdkpixbuf2" elif [ ${pkg} = "x11/gnome-desktop" ]; then warn "you need USE_GNOME+=gnomedesktop3" elif [ ${pkg} = "devel/gobject-introspection" ]; then warn "you need USE_GNOME+=introspection" elif [ ${pkg} = "graphics/libart_lgpl" ]; then warn "you need USE_GNOME+=libartlgpl2" elif [ ${pkg} = "devel/libIDL" ]; then warn "you need USE_GNOME+=libidl" elif [ ${pkg} = "x11-fm/nautilus" ]; then warn "you need USE_GNOME+=nautilus3" elif [ ${pkg} = "devel/ORBit2" ]; then warn "you need USE_GNOME+=orbit2" elif [ ${pkg} = "graphics/librsvg2-rust" ]; then warn "you need USE_GNOME+=librsvg2" # mate # grep LIB_DEPENDS= Mk/Uses/mate.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_MATE+=\1"|' elif [ ${pkg} = "x11-fm/caja" ]; then warn "you need USE_MATE+=caja" elif [ ${pkg} = "sysutils/mate-control-center" ]; then warn "you need USE_MATE+=controlcenter" elif [ ${pkg} = "x11/mate-desktop" ]; then warn "you need USE_MATE+=desktop" elif [ ${pkg} = "x11/libmatekbd" ]; then warn "you need USE_MATE+=libmatekbd" elif [ ${pkg} = "net/libmateweather" ]; then warn "you need USE_MATE+=libmateweather" elif [ ${pkg} = "x11-wm/marco" ]; then warn "you need USE_MATE+=marco" elif [ ${pkg} = "x11/mate-menus" ]; then warn "you need USE_MATE+=menus" elif [ ${pkg} = "x11/mate-panel" ]; then warn "you need USE_MATE+=panel" elif [ ${pkg} = "sysutils/mate-polkit" ]; then warn "you need USE_MATE+=polkit" # KDE # grep -B1 _LIB= Mk/Uses/kde.mk | grep _PORT=|sed -e 's/^kde-\(.*\)_PORT=[[:space:]]*\([^[:space:]]*\).*/elif [ ${pkg} = "\2" ]; then warn "you need to use USE_KDE+=\1"/' # KDE Applications elif [ ${pkg} = "net/akonadi-contacts" ]; then warn "you need to use USE_KDE+=akonadicontacts" elif [ ${pkg} = "deskutils/akonadi-import-wizard" ]; then warn "you need to use USE_KDE+=akonadiimportwizard" elif [ ${pkg} = "net/akonadi-mime" ]; then warn "you need to use USE_KDE+=akonadimime" elif [ ${pkg} = "net/akonadi-notes" ]; then warn "you need to use USE_KDE+=akonadinotes" elif [ ${pkg} = "net/akonadi-calendar" ]; then warn "you need to use USE_KDE+=akonadicalendar" elif [ ${pkg} = "net/akonadi-search" ]; then warn "you need to use USE_KDE+=akonadisearch" elif [ ${pkg} = "net/kalarmcal" ]; then warn "you need to use USE_KDE+=alarmcalendar" elif [ ${pkg} = "net/calendarsupport" ]; then warn "you need to use USE_KDE+=calendarsupport" elif [ ${pkg} = "net/kcalcore" ]; then warn "you need to use USE_KDE+=calendarcore" elif [ ${pkg} = "net/kcalutils" ]; then warn "you need to use USE_KDE+=calendarutils" elif [ ${pkg} = "net/kcontacts" ]; then warn "you need to use USE_KDE+=contacts" elif [ ${pkg} = "net/eventviews" ]; then warn "you need to use USE_KDE+=eventviews" elif [ ${pkg} = "net/libkgapi" ]; then warn "you need to use USE_KDE+=gapi" elif [ ${pkg} = "deskutils/grantleetheme" ]; then warn "you need to use USE_KDE+=grantleetheme" elif [ ${pkg} = "net/libgravatar" ]; then warn "you need to use USE_KDE+=gravatar" elif [ ${pkg} = "net/kidentitymanagement" ]; then warn "you need to use USE_KDE+=identitymanagement" elif [ ${pkg} = "net/kimap" ]; then warn "you need to use USE_KDE+=imap" elif [ ${pkg} = "net/incidenceeditor" ]; then warn "you need to use USE_KDE+=incidenceeditor" elif [ ${pkg} = "deskutils/kdepim-apps-libs" ]; then warn "you need to use USE_KDE+=kdepim-apps-libs" elif [ ${pkg} = "net/kitinerary" ]; then warn "you need to use USE_KDE+=kitinerary" elif [ ${pkg} = "net/kontactinterface" ]; then warn "you need to use USE_KDE+=kontactinterface" elif [ ${pkg} = "net/kf5-kdav" ]; then warn "you need to use USE_KDE+=kdav" elif [ ${pkg} = "security/kpkpass" ]; then warn "you need to use USE_KDE+=kpkpass" elif [ ${pkg} = "net/ksmtp" ]; then warn "you need to use USE_KDE+=ksmtp" elif [ ${pkg} = "net/kldap" ]; then warn "you need to use USE_KDE+=ldap" elif [ ${pkg} = "deskutils/libkdepim" ]; then warn "you need to use USE_KDE+=libkdepim" elif [ ${pkg} = "security/libkleo" ]; then warn "you need to use USE_KDE+=libkleo" elif [ ${pkg} = "net/libksieve" ]; then warn "you need to use USE_KDE+=libksieve" elif [ ${pkg} = "net/mailcommon" ]; then warn "you need to use USE_KDE+=mailcommon" elif [ ${pkg} = "net/mailimporter" ]; then warn "you need to use USE_KDE+=mailimporter" elif [ ${pkg} = "net/kmailtransport" ]; then warn "you need to use USE_KDE+=mailtransport" elif [ ${pkg} = "net/kmbox" ]; then warn "you need to use USE_KDE+=mbox" elif [ ${pkg} = "net/messagelib" ]; then warn "you need to use USE_KDE+=messagelib" elif [ ${pkg} = "net/kmime" ]; then warn "you need to use USE_KDE+=mime" elif [ ${pkg} = "net/pimcommon" ]; then warn "you need to use USE_KDE+=pimcommon" elif [ ${pkg} = "net/kpimtextedit" ]; then warn "you need to use USE_KDE+=pimtextedit" elif [ ${pkg} = "net/ktnef" ]; then warn "you need to use USE_KDE+=tnef" elif [ ${pkg} = "databases/akonadi" ]; then warn "you need to use USE_KDE+=akonadi" elif [ ${pkg} = "sysutils/baloo-widgets" ]; then warn "you need to use USE_KDE+=baloo-widgets" elif [ ${pkg} = "audio/libkcddb" ]; then warn "you need to use USE_KDE+=libkcddb" elif [ ${pkg} = "audio/libkcompactdisc" ]; then warn "you need to use USE_KDE+=libkcompactdisc" elif [ ${pkg} = "graphics/libkdcraw" ]; then warn "you need to use USE_KDE+=libkdcraw" elif [ ${pkg} = "games/libkdegames" ]; then warn "you need to use USE_KDE+=libkdegames" elif [ ${pkg} = "misc/libkeduvocdocument" ]; then warn "you need to use USE_KDE+=libkeduvocdocument" elif [ ${pkg} = "graphics/libkexiv2" ]; then warn "you need to use USE_KDE+=libkexiv2" elif [ ${pkg} = "graphics/libkipi" ]; then warn "you need to use USE_KDE+=libkipi" elif [ ${pkg} = "graphics/libksane" ]; then warn "you need to use USE_KDE+=libksane" elif [ ${pkg} = "astro/marble" ]; then warn "you need to use USE_KDE+=marble" elif [ ${pkg} = "graphics/okular" ]; then warn "you need to use USE_KDE+=okular" # KDE Plasma elif [ ${pkg} = "x11/plasma5-kactivitymanagerd" ]; then warn "you need to use USE_KDE+=activitymanagerd" elif [ ${pkg} = "x11-wm/plasma5-kdecoration" ]; then warn "you need to use USE_KDE+=decoration" elif [ ${pkg} = "devel/plasma5-khotkeys" ]; then warn "you need to use USE_KDE+=hotkeys" elif [ ${pkg} = "sysutils/plasma5-kmenuedit" ]; then warn "you need to use USE_KDE+=kmenuedit" elif [ ${pkg} = "security/plasma5-kscreenlocker" ]; then warn "you need to use USE_KDE+=kscreenlocker" elif [ ${pkg} = "x11/plasma5-libkscreen" ]; then warn "you need to use USE_KDE+=libkscreen" elif [ ${pkg} = "sysutils/plasma5-libksysguard" ]; then warn "you need to use USE_KDE+=libksysguard" elif [ ${pkg} = "deskutils/plasma5-milou" ]; then warn "you need to use USE_KDE+=milou" elif [ ${pkg} = "x11-themes/plasma5-oxygen" ]; then warn "you need to use USE_KDE+=oxygen" elif [ ${pkg} = "x11/plasma5-plasma-workspace" ]; then warn "you need to use USE_KDE+=plasma-workspace" elif [ ${pkg} = "sysutils/plasma5-powerdevil" ]; then warn "you need to use USE_KDE+=powerdevil" # KDE Frameworks elif [ ${pkg} = "x11-toolkits/kf5-attica" ]; then warn "you need to use USE_KDE+=attica" elif [ ${pkg} = "sysutils/kf5-baloo" ]; then warn "you need to use USE_KDE+=baloo" elif [ ${pkg} = "x11/kf5-frameworkintegration" ]; then warn "you need to use USE_KDE+=frameworkintegration" elif [ ${pkg} = "devel/kf5-kcmutils" ]; then warn "you need to use USE_KDE+=kcmutils" elif [ ${pkg} = "devel/kf5-kdeclarative" ]; then warn "you need to use USE_KDE+=kdeclarative" elif [ ${pkg} = "x11/kf5-kded" ]; then warn "you need to use USE_KDE+=kded" elif [ ${pkg} = "x11/kf5-kdelibs4support" ]; then warn "you need to use USE_KDE+=kdelibs4support" elif [ ${pkg} = "security/kf5-kdesu" ]; then warn "you need to use USE_KDE+=kdesu" elif [ ${pkg} = "www/kf5-kdewebkit" ]; then warn "you need to use USE_KDE+=kdewebkit" elif [ ${pkg} = "www/kf5-khtml" ]; then warn "you need to use USE_KDE+=khtml" elif [ ${pkg} = "devel/kf5-kio" ]; then warn "you need to use USE_KDE+=kio" elif [ ${pkg} = "lang/kf5-kross" ]; then warn "you need to use USE_KDE+=kross" elif [ ${pkg} = "x11/kf5-plasma-framework" ]; then warn "you need to use USE_KDE+=plasma-framework" elif [ ${pkg} = "graphics/kf5-prison" ]; then warn "you need to use USE_KDE+=prison" elif [ ${pkg} = "misc/kf5-purpose" ]; then warn "you need to use USE_KDE+=purpose" elif [ ${pkg} = "devel/kf5-solid" ]; then warn "you need to use USE_KDE+=solid" elif [ ${pkg} = "textproc/kf5-sonnet" ]; then warn "you need to use USE_KDE+=sonnet" elif [ ${pkg} = "net/kf5-syndication" ]; then warn "you need to use USE_KDE+=syndication" elif [ ${pkg} = "textproc/kf5-syntax-highlighting" ]; then warn "you need to use USE_KDE+=syntaxhighlighting" elif [ ${pkg} = "devel/kf5-threadweaver" ]; then warn "you need to use USE_KDE+=threadweaver" elif expr ${pkg} : '.*/kf5-.*' > /dev/null; then warn "you need USE_KDE+=$(echo ${pkg} | sed -E 's|.*/kf5-k||')" # GStreamer 0.10 elif [ ${pkg} = "multimedia/gstreamer" ]; then warn "you need to use USE_GSTREAMER+=yes" elif [ ${pkg} = "multimedia/gstreamer-plugins" ]; then warn "you need to use USE_GSTREAMER+=yes" elif [ ${pkg} = "multimedia/gstreamer-plugins-bad" ]; then warn "you need to use USE_GSTREAMER+=bad" # GStreamer 1 elif [ ${pkg} = "multimedia/gstreamer1" ]; then warn "you need to use USE_GSTREAMER1+=yes" elif [ ${pkg} = "multimedia/gstreamer1-plugins" ]; then warn "you need to use USE_GSTREAMER1+=yes" elif [ ${pkg} = "multimedia/gstreamer1-plugins-bad" ]; then warn "you need to use USE_GSTREAMER1+=bad" # boost related elif [ ${pkg} = "devel/boost-python-libs" ]; then warn "you need to add LIB_DEPENDS+=\${PY_BOOST} and maybe USES+=python" # sdl-related elif [ ${pkg} = 'devel/sdl12' ]; then warn "you need USE_SDL+=sdl" elif echo ${pkg} | grep -E '/sdl_(console|gfx|image|mixer|mm|net|pango|sound|ttf)$' > /dev/null; then warn "you need USE_SDL+=$(echo ${pkg} | sed -E 's|.*/sdl_||')" elif [ ${pkg} = 'devel/sdl20' ]; then warn "you need USE_SDL+=sdl2" elif echo ${pkg} | grep -E '/sdl2_(gfx|image|mixer|net|ttf)$' > /dev/null; then warn "you need USE_SDL+=$(echo ${pkg} | sed -E 's|.*/sdl2_||')2" # gl-related elif expr ${lib_file} : "${LOCALBASE}/lib/libGL.so.*$" > /dev/null; then warn "you need USE_GL+=gl" elif expr ${lib_file} : "${LOCALBASE}/lib/libGLX.so.*$" > /dev/null; then warn "you need USE_GL+=gl" elif expr ${lib_file} : "${LOCALBASE}/lib/libgbm.so.*$" > /dev/null; then warn "you need USE_GL+=gbm" elif expr ${lib_file} : "${LOCALBASE}/lib/libGLESv2.so.*$" > /dev/null; then warn "you need USE_GL+=glesv2" elif expr ${lib_file} : "${LOCALBASE}/lib/libEGL.so.*$" > /dev/null; then warn "you need USE_GL+=egl" elif expr ${lib_file} : "${LOCALBASE}/lib/libOpenGL.so.*$" > /dev/null; then warn "you need USE_GL+=opengl" elif [ ${pkg} = 'graphics/glew' ]; then warn "you need USE_GL+=glew" elif [ ${pkg} = 'graphics/libGLU' ]; then warn "you need USE_GL+=glu" elif [ ${pkg} = 'graphics/libGLw' ]; then warn "you need USE_GL+=glw" elif [ ${pkg} = 'graphics/freeglut' ]; then warn "you need USE_GL+=glut" # Xorg-libraries: this should be by XORG_MODULES @ bsd.xorg.mk elif echo ${pkg} | grep -E '/lib(X11|Xau|Xdmcp|Xext|SM|ICE|Xfixes|Xft|Xdamage|Xcomposite|Xcursor|Xinerama|Xmu|Xmuu|Xpm|Xt|Xtst|Xi|Xrandr|Xrender|Xres|XScrnSaver|Xv|Xxf86vm|Xxf86dga|Xxf86misc|xcb)$' > /dev/null; then warn "you need USE_XORG+=$(echo ${pkg} | sed -E 's|.*/lib||' | tr '[:upper:]' '[:lower:]')" elif [ ${pkg} = 'x11/pixman' ]; then warn "you need USE_XORG+=pixman" # Qt5 elif expr ${pkg} : '.*/qt5-.*' > /dev/null; then warn "you need USES=qt:5 and USE_QT+=$(echo ${pkg} | sed -E 's|.*/qt5-||')" # MySQL elif expr ${lib_file} : "${LOCALBASE}/lib/mysql/[^/]*$" > /dev/null; then warn "you need USES+=mysql" # postgresql elif expr ${pkg} : "^databases/postgresql.*-client" > /dev/null; then warn "you need USES+=pgsql" # bdb elif expr ${pkg} : "^databases/db[456]" > /dev/null; then warn "you need USES+=bdb" # fam/gamin elif [ ${pkg} = "devel/fam" -o ${pkg} = "devel/gamin" ]; then warn "you need USES+=fam" # firebird elif [ ${pkg} = "databases/firebird25-client" ]; then warn "you need USES+=firebird" # fuse elif [ ${pkg} = "sysutils/fusefs-libs" ]; then warn "you need USES+=fuse" # gnustep elif [ ${pkg} = "lang/gnustep-base" ]; then warn "you need USES+=gnustep and USE_GNUSTEP+=base" elif [ ${pkg} = "x11-toolkits/gnustep-gui" ]; then warn "you need USES+=gnustep and USE_GNUSTEP+=gui" # iconv elif [ ${pkg} = "converters/libiconv" ]; then warn "you need USES+=iconv, USES+=iconv:wchar_t, or USES+=iconv:translit depending on needs" # jpeg elif [ ${pkg} = "graphics/jpeg-turbo" ]; then warn "you need USES+=jpeg" # libarchive elif [ ${pkg} = "archivers/libarchive" ]; then warn "you need USES+=libarchive" elif [ ${pkg} = "devel/libedit" ]; then warn "you need USES+=libedit" # lua elif expr ${pkg} : "^lang/lua" > /dev/null; then warn "you need USES+=lua" + # magick + elif [ ${pkg} = "graphics/ImageMagick6" ] ; then + warn "you need USES=magick:6" + elif [ ${pkg} = "graphics/ImageMagick6-nox11" ] ; then + warn "you need USES=magick:6,nox11" + elif [ ${pkg} = "graphics/ImageMagick7" ] ; then + warn "you need USES=magick:7" + elif [ ${pkg} = "graphics/ImageMagick7-nox11" ] ; then + warn "you need USES=magick:7,nox11" # motif elif [ ${pkg} = "x11-toolkits/lesstif" -o ${pkg} = "x11-toolkits/open-motif" ]; then warn "you need USES+=motif" # ncurses elif [ ${pkg} = "devel/ncurses" ]; then warn "you need USES+=ncurses" # objc elif [ ${pkg} = "lang/libobjc2" ]; then warn "you need USES+=objc" # openal elif [ ${pkg} = "audio/openal" -o ${pkg} = "audio/openal-soft" -o ${pkg} = "audio/freealut" ]; then warn "you need USES+=openal" # readline elif [ ${pkg} = "devel/readline" ]; then warn "you need USES+=readline" # ssl elif [ ${pkg} = "security/openssl" -o ${pkg} = "security/openssl111" \ -o ${pkg} = "security/libressl" -o ${pkg} = "security/libressl-devel" \ ]; then warn "you need USES=ssl" # Tcl elif expr ${pkg} : "^lang/tcl" > /dev/null; then warn "you need USES+=tcl" # Tk elif expr ${pkg} : "^x11-toolkits/tk" > /dev/null; then warn "you need USES+=tk" # Xfce # grep LIB_DEPENDS= Mk/Uses/xfce.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_XFCE+=\1"|' elif [ ${pkg} = "sysutils/garcon" ]; then warn "you need USE_XFCE+=garcon" elif [ ${pkg} = "x11/libexo" ]; then warn "you need USE_XFCE+=libexo" elif [ ${pkg} = "x11-toolkits/libxfce4gui" ]; then warn "you need USE_XFCE+=libgui" elif [ ${pkg} = "x11/libxfce4menu" ]; then warn "you need USE_XFCE+=libmenu" elif [ ${pkg} = "x11/libxfce4util" ]; then warn "you need USE_XFCE+=libutil" elif [ ${pkg} = "x11-wm/xfce4-panel" ]; then warn "you need USE_XFCE+=panel" elif [ ${pkg} = "x11-fm/thunar" ]; then warn "you need USE_XFCE+=thunar" elif [ ${pkg} = "x11/xfce4-conf" ]; then warn "you need USE_XFCE+=xfconf" # default elif expr ${lib_file} : "${LOCALBASE}/lib/[^/]*$" > /dev/null; then lib_file=${lib_file#${LOCALBASE}/lib/} lib_file=${lib_file%.so*}.so warn "you need LIB_DEPENDS+=${lib_file}:${pkg}" fi } proxydeps() { local file dep_file dep_file_pkg already rc rc=0 # Check all dynamicaly linked ELF files # Some .so are not executable, but we want to check them too. while read -r file; do # No results presents a blank line from heredoc. [ -z "${file}" ] && continue while read -r dep_file; do # No results presents a blank line from heredoc. [ -z "${dep_file}" ] && continue # Skip files we already checked. if listcontains ${dep_file} "${already}"; then continue fi if pkg which -q ${dep_file} > /dev/null 2>&1; then dep_file_pkg=$(pkg which -qo ${dep_file}) # Check that the .so we need has a SONAME if [ "${dep_file_pkg}" != "${PKGORIGIN}" ]; then # When grep -q finds a match it will close the pipe immediately. # This may cause the test to fail when pipefail is turned on. set +o pipefail if ! readelf -d "${dep_file}" | grep -q SONAME; then err "${file} is linked to ${dep_file} which does not have a SONAME. ${dep_file_pkg} needs to be fixed." fi set -o pipefail fi # If we don't already depend on it, and we don't provide it if ! listcontains ${dep_file_pkg} "${LIB_RUN_DEPENDS} ${PKGORIGIN}"; then # If the package has a flavor, check that the dependency is not on that particular flavor. flavor=$(pkg annotate -q -S "$(pkg which -q "${dep_file}")" flavor) if [ -n "${flavor}" ]; then if listcontains ${dep_file_pkg}@${flavor} "${LIB_RUN_DEPENDS} ${PKGORIGIN}"; then continue fi fi err "${file} is linked to ${dep_file} from ${dep_file_pkg} but it is not declared as a dependency" proxydeps_suggest_uses ${dep_file_pkg} ${dep_file} rc=1 fi else err "${file} is linked to ${dep_file} that does not belong to any package" rc=1 fi already="${already} ${dep_file}" done <<-EOT $(env LD_LIBMAP_DISABLE=1 ldd -a "${STAGEDIR}${file}" | \ awk ' BEGIN {section=0} /^\// {section++} !/^\// && section<=1 && ($3 ~ "^'${PREFIX}'" || $3 ~ "^'${LOCALBASE}'") {print $3}') EOT done <<-EOT $(list_stagedir_elfs | \ file -F $'\1' -f - | \ grep -a 'ELF.*FreeBSD.*dynamically linked' | \ cut -f 1 -d $'\1'| \ sed -e 's/^\.//') EOT [ -z "${PROXYDEPS_FATAL}" ] && return 0 return ${rc} } sonames() { [ ! -d ${STAGEDIR}${PREFIX}/lib -o -n "${BUNDLE_LIBS}" ] && return 0 while read -r f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue # Ignore symlinks [ -f "${f}" -a ! -L "${f}" ] || continue if ! readelf -d ${f} | grep -q SONAME; then warn "${f} doesn't have a SONAME." warn "pkg(8) will not register it as being provided by the port." warn "If another port depend on it, pkg will not be able to know where it comes from." case "${f}" in ${STAGEDIR}${PREFIX}/lib/*/*) warn "It is in a subdirectory, it may not be used in another port." ;; *) warn "It is directly in ${PREFIX}/lib, it is probably used by other ports." ;; esac fi # Use heredoc to avoid losing rc from find|while subshell done <<-EOT $(find ${STAGEDIR}${PREFIX}/lib -name '*.so.*') EOT } perlcore_port_module_mapping() { case "$1" in Net) echo "Net::Config" ;; libwww) echo "LWP" ;; *) echo "$1" | sed -e 's/-/::/g' ;; esac } perlcore() { local portname version module gotsome [ -x "${LOCALBASE}/bin/corelist" ] || return 0 for dep in ${UNIFIED_DEPENDS}; do portname=$(expr "${dep}" : ".*/p5-\(.*\)") if [ -n "${portname}" ]; then gotsome=1 module=$(perlcore_port_module_mapping "${portname}") version=$(expr "${dep}" : ".*>=*\([^:<]*\)") while read -r l; do case "${l}" in *was\ not\ in\ CORE*) # This never was with Perl # CORE, so nothing to do here ;; *and\ removed*) # This was in Perl CORE but has # been removed since. warn "${dep##*:} was in Perl CORE. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if it should be conditionally added depending on PERL_LEVEL" ;; *deprecated*in*) # This is in Perl CORE but is # deprecated. warn "${dep##*:} is in Perl CORE but deprecated. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if the dependency is really needed or if it should be conditionally added depending on PERL_LEVEL" ;; *was\ first\ released*) # This is in Perl CORE and is # maybe not needed. warn "${dep##*:} is present in Perl CORE. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if the dependency is really needed or if it should be conditionally added depending on PERL_LEVEL" ;; *) err "This line is not handled: \"${l}\"" esac done <<-EOT $(${LOCALBASE}/bin/corelist "${module}"|tail -1) EOT fi done if [ -n "${gotsome}" ] && ! pkg info -e devel/p5-Module-CoreList; then notice "You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions." fi } no_arch() { [ -z "$NO_ARCH" ] && return rc=0 while read -r f; do [ -z "$f" ] && continue if [ -n "$NO_ARCH_IGNORE" ]; then skip= for blacklist in $NO_ARCH_IGNORE; do case $f in *$blacklist) skip=1; break;; esac done [ "$skip" ] && continue fi err "'${f#.}' is a architecture specific binary file and you have set NO_ARCH. Either remove NO_ARCH or add '$(basename $f)' to NO_ARCH_IGNORE." rc=1 done <<-EOF $(list_stagedir_elfs \ | file -F $'\1' -f - -N \ | grep -aE 'ELF .* [LM]SB .*, .*, version [0-9]+ \(FreeBSD\)' \ | cut -f 1 -d $'\1') EOF return $rc } gemdeps() { rc=0 if [ "${PKGBASE%%-*}" = "rubygem" ]; then # shellcheck disable=SC2153 # In the heredoc, ${PORTNAME} comes from the environment, not # to be confused with ${portname} while read -r l; do if [ -n "${l}" ]; then name=${l%% *} vers=${l#* } while read -r v; do if ! while read -r p; do ${LOCALBASE}/bin/ruby -e "puts 'OK' if Gem::Dependency.new('${name}','${v}').match?('${name}','${p}')" done | grep -qFx OK; then err RubyGem dependency ${name} ${v} is not satisfied. rc=1 fi <<-EOF $(${LOCALBASE}/bin/gem list -e "${name}" \ | sed "s|.*(\(.*\))|\1|" \ | tr -d ' ' \ | tr , '\n') EOF done <<-EOF $(while echo "${vers}" | grep -q '"'; do echo "${vers}" | cut -d '"' -f2 vers=$(echo "${vers}"|cut -d '"' -f3-) done) EOF fi done <<-EOF $(grep -a 'add_runtime_dependency' ${STAGEDIR}${PREFIX}/lib/ruby/gems/*/specifications/${PORTNAME}-*.gemspec \ | sed 's|.*<\(.*\)>.*\[\(.*\)\])|\1 \2|' \ | sort -u) EOF fi return $rc } # If an non rubygem-port has a 'Gemfile' file # it is checked with bundle to be sure # all dependencies are satisfied. # Without the check missing/wrong dependencies # are just found when executing the application gemfiledeps() { # skip check if port does not use ruby at all if [ -z "$USE_RUBY" ]; then return 0 fi # skip check if port is a rubygem-* one; they have no Gemfiles if [ "${PKGBASE%%-*}" = "rubygem" ]; then return 0 fi # advise install of bundler if its not present for check if ! type bundle > /dev/null 2>&1; then notice "Please install sysutils/rubygem-bundler for additional Gemfile-checks" return 0 fi # locate the Gemfile(s) while read -r f; do # no results presents a blank line from heredoc [ -z "$f" ] && continue # if there is no Gemfile everything is fine - stop here [ ! -f "$f" ] && return 0; # use bundle to check if Gemfile is satisfied # if bundle returns 1 the Gemfile is not satisfied # and so stage-qa isn't also if ! bundle check --dry-run --gemfile $f > /dev/null 2>&1; then warn "Dependencies defined in ${f} are not satisfied" fi done <<-EOF $(find ${STAGEDIR} -name Gemfile) EOF return 0 } flavors() { local rc pkgnames uniques rc=0 if [ -n "${FLAVOR}" ]; then pkgnames=$(make -C "${CURDIR}" flavors-package-names|sort) uniques=$(echo "${pkgnames}"|uniq) if [ "$pkgnames" != "${uniques}" ]; then err "Package names are not unique with flavors:" make -C "${CURDIR}" pretty-flavors-package-names >&2 err "maybe use _PKGNAMEPREFIX/SUFFIX". rc=1 fi fi return ${rc} } license() { local lic autoaccept pkgmirror #distsell distmirror pkgsell if [ -n "$DISABLE_LICENSES" ]; then warn "You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks" elif [ -n "$LICENSE" ]; then for lic in $LICENSE_PERMS; do case "$lic" in auto-accept) autoaccept=1 ;; #dist-mirror) distmirror=1 ;; #dist-sell) distsell=1 ;; pkg-mirror) pkgmirror=1 ;; #pkg-sell) pkgsell=1 ;; esac done if [ -z "$autoaccept" ]; then warn "License is not auto-accepted, packages will not be built, ports depending on this one will be ignored." fi if [ -z "$pkgmirror" ]; then warn "License does not allow package to be distributed, ports depending on this one will be ignored" fi fi return 0 } # This is to prevent adding dependencies to meta ports that are only there to # improve the end user experience. depends_blacklist() { local dep rc instead rc=0 for dep in ${UNIFIED_DEPENDS}; do origin=$(expr "${dep}" : ".*:\([^@]*\)") instead="" case "$origin" in lang/python|lang/python2|lang/python3) # lang/python depends on lang/pythonX, but it's # ok, it is also in the blacklist. if [ ${PKGORIGIN} != lang/python ]; then instead="USES=python:xy with a specific version" fi ;; lang/gcc) instead="USE_GCC" ;; lang/julia) instead="a dependency on lang/julia\${JULIA_DEFAULT:S/.//}" ;; devel/llvm) instead="a dependency on devel/llvm\${LLVM_DEFAULT}" ;; www/py-django) instead="one of the www/py-djangoXYZ port" ;; esac if [ -n "${instead}" ]; then err "$origin should not be depended upon. Instead, use $instead." rc=1 fi done return $rc } pkgmessage() { for message in ${PKGMESSAGES}; do if [ -f "${message}" ]; then if ! head -1 "${message}" | grep -q '^\['; then warn "${message} not in UCL format, will be shown on initial install only." warn "See https://docs.freebsd.org/en/books/porters-handbook/pkg-files/#porting-message" fi fi done return 0 } reinplace() { if [ -f ${REWARNFILE} ]; then warn "Possible REINPLACE_CMD issues:" cat ${REWARNFILE} fi } checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" checks="$checks proxydeps sonames perlcore no_arch gemdeps gemfiledeps flavors" checks="$checks license depends_blacklist pkgmessage reinplace" ret=0 cd ${STAGEDIR} || exit 1 for check in ${checks}; do eval check_test="\$IGNORE_QA_$check" if [ -z "${check_test}" ]; then ${check} || ret=1 else warn "Ignoring $check QA test" fi done exit ${ret} diff --git a/Mk/Uses/magick.mk b/Mk/Uses/magick.mk new file mode 100644 index 000000000000..1d44270031ab --- /dev/null +++ b/Mk/Uses/magick.mk @@ -0,0 +1,93 @@ +# Handle dependency on ImageMagick +# +# Feature: magick +# Usage: USES=magick:ARGS +# Valid ARGS: [version],[kinds],[flavor] +# +# version The chooseable versions are , 6 and 7. +# USES=magick -- depend on ${IMAGEMAGICK_DEFAULT} (default) +# USES=magick:6 -- depend on ImageMagick6 +# USES=magick:7 -- depend on ImageMagick7 +# +# flavor The flavors are and nox11 +# USES=magick -- depend on the default flavor (default) +# USES=magick:nox11 -- depend on the nox11 flavor +# +# kinds The dependency kinds are , lib, build, run and test +# USES=magick -- add a LIB_DEPENDS (default) +# USES=magick:lib -- add a LIB_DEPENDS +# USES=magick:build -- add a BUILD_DEPENDS +# USES=magick:run -- add a RUN_DEPENDS +# USES=magick:test -- add a TEST_DEPENDS +# USES=build,run -- add a BUILD_- and RUN_DEPENDS +# +# In short, on a default ports tree +# USES=magick +# is equivalent to +# USES=magick:7,lib +# +# MAINTAINER: tcberner@FreeBSD.org +# + +.if ! defined(_INCLUDE_USES_MAGICK_MK) +_INCLUDE_USES_MAGICK_MK= YES + +#=== Version selection === +_magick_versions= 6 7 + +_magick_version= # +. for _ver in ${_magick_versions:O:u} +. if ${magick_ARGS:M${_ver}} +. if empty(_magick_version) +_magick_version= ${_ver} +. else +IGNORE= Incorrect USES=magick:${magick_ARGS} - multiple versions defined +. endif +. endif +. endfor +# Fallback to the default version +.if empty(_magick_version) +_magick_version= ${IMAGEMAGICK_DEFAULT} +.endif + +#=== Flavor selection === +_magick_flavors= nox11 +_magick_flavor= # +. for _flavor in ${_magick_flavors:O:u} +. if ${magick_ARGS:M${_flavor}} +. if empty(_magick_flavor) +_magick_flavor= -${_flavor} +. else +IGNORE= Incorrect USES=magick:${magick_ARGS} - multiple flavors defined +. endif +. endif +. endfor + +#=== Dependeny selection === +_magick_depends= lib build run test +_magick_depend= # +. for _depend in ${_magick_depends:O:u} +. if ${magick_ARGS:M${_depend}} +_magick_depend+= ${_depend} +. endif +. endfor +.if empty(_magick_depend) +_magick_depend= lib +.endif + +#=== Dependency setup === +_MAGICK_PORT= graphics/ImageMagick${_magick_version}${_magick_flavor} +_MAGICK_LIB= libMagick++-${_magick_version}.so +_MAGICK_PKG= ImageMagick${_magick_version}${_magick_flavor} + +_MAGICK_BUILD_DEPENDS= ${_MAGICK_PKG}>=${_magick_version}:${_MAGICK_PORT} +_MAGICK_LIB_DEPENDS= ${_MAGICK_LIB}:${_MAGICK_PORT} +_MAGICK_RUN_DEPENDS= ${_MAGICK_PKG}>=${_magick_version}:${_MAGICK_PORT} +_MAGICK_TEST_DEPENDS= ${_MAGICK_PKG}>=${_magick_version}:${_MAGICK_PORT} + +#=== Actual dependency creation === +. for _kind in ${_magick_depend} +${_kind:tu}_DEPENDS+= ${_MAGICK_${_kind:tu}_DEPENDS} +. endfor + +.endif diff --git a/audio/beets/Makefile b/audio/beets/Makefile index c6b6fd0961b3..be43c7e2d2b2 100644 --- a/audio/beets/Makefile +++ b/audio/beets/Makefile @@ -1,93 +1,93 @@ # Created by: Mark Felder PORTNAME= beets PORTVERSION= 1.4.9 PORTREVISION= 4 CATEGORIES= audio python MASTER_SITES= CHEESESHOP MAINTAINER= stiginge@pvv.org COMMENT= Media library management system for obsessive-compulsive music geeks LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}confuse>=1.0.0:devel/py-confuse@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jellyfish>=0:devel/py-jellyfish@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}munkres>=0:math/py-munkres@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}musicbrainzngs>=0.4:audio/py-musicbrainzngs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mutagen>=1.33:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyacoustid>=0:audio/py-pyacoustid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.9:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils optsuffix PLIST_FILES= man/man1/beet.1.gz man/man5/beetsconfig.5.gz NO_ARCH= yes OPTIONS_DEFINE= ACOUSTICBRAINZ BADFILES BEATPORT CHROMA DISCOGS EMBYUPDATE \ FETCHART FFMPEG IMAGEMAGICK IPFS KODIUPDATE LASTFM \ LASTIMPORT LYRICS LYRICS_GOOGLE MPDSTATS METASYNC_DBUS \ PLEXUPDATE REPLAYGAIN SONOS_UPDATE SPOTIFY THUMBNAILS WEB \ WEB_CORS ACOUSTICBRAINZ_DESC= AcousticBrainz Plugin BADFILES_DESC= Bad Files Plugin BEATPORT_DESC= Beatport Catalog Autotagging Support DISCOGS_DESC= Discogs Search Plugin EMBYUPDATE_DESC= Emby Update Plugin FETCHART_DESC= Cover Art Fetch Plugin IMAGEMAGICK_DESC= Cover Art Resizing and Comparison IPFS_DESC= IPFS Plugin KODIUPDATE_DESC= Kodi Update Plugin LASTFM_DESC= LastGenre Plugin LASTIMPORT_DESC= Last.fm Import Plugin LYRICS_DESC= Lyrics Plugin LYRICS_GOOGLE_DESC= Use Google Custom Search for Lyrics METASYNC_DBUS_DESC= Amarok support for the MetaSync plugin MPDSTATS_DESC= MPD Statistics Plugin PLEXUPDATE_DESC= PlexUpdate Plugin REPLAYGAIN_DESC= Normalize Audio Loudness SONOS_UPDATE_DESC= Sonos Update Plugin SPOTIFY_DESC= Spotify Plugin THUMBNAILS_DESC= Thumbnails for freedesktop.org-compliant file managers WEB_DESC= Web plugin for querying, browsing and playing music WEB_CORS_DESC= Cross-origin resource sharing for the Web plugin ACOUSTICBRAINZ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} BADFILES_RUN_DEPENDS= flac:audio/flac \ mp3val:audio/mp3val BEATPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.6.1:www/py-requests-oauthlib@${PY_FLAVOR} DISCOGS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discogs-client>=2.2.1:audio/py-discogs-client@${PY_FLAVOR} EMBYUPDATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} FETCHART_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} FFMPEG_RUN_DEPENDS= ffmpeg>=2:multimedia/ffmpeg -IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6,run IPFS_RUN_DEPENDS= ipfs-go:sysutils/ipfs-go KODIUPDATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} LASTFM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylast>=0:audio/py-pylast@${PY_FLAVOR} LASTIMPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} LYRICS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} LYRICS_GOOGLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4:www/py-beautifulsoup@${PY_FLAVOR} METASYNC_DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} MPDSTATS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-mpd2>=0.4.2:audio/py-python-mpd2@${PY_FLAVOR} PLEXUPDATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} REPLAYGAIN_RUN_DEPENDS= mp3gain>=0:audio/mp3gain \ aacgain>=0:audio/aacgain SONOS_UPDATE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}soco>=0:multimedia/py-soco@${PY_FLAVOR} SPOTIFY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} THUMBNAILS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} WEB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} WEB_CORS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask-Cors>=0:www/py-flask-cors@${PY_FLAVOR} post-install: ${INSTALL} ${WRKSRC}/man/beet.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL} ${WRKSRC}/man/beetsconfig.5 ${STAGEDIR}${PREFIX}/man/man5/ .include diff --git a/audio/kwave/Makefile b/audio/kwave/Makefile index a305c8d16369..0d6cf318f4b4 100644 --- a/audio/kwave/Makefile +++ b/audio/kwave/Makefile @@ -1,38 +1,37 @@ PORTNAME= kwave DISTVERSION= ${KDE_APPLICATIONS_VERSION} CATEGORIES= audio kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Sound editor for KDE -BUILD_DEPENDS= convert:graphics/ImageMagick6 LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libFLAC.so:audio/flac \ libfftw3.so:math/fftw3 \ libid3.so:audio/id3lib \ libmad.so:audio/libmad \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libsamplerate.so:audio/libsamplerate \ libvorbisenc.so:audio/libvorbis USES= cmake compiler:c++11-lang desktop-file-utils gettext kde:5 \ - localbase:ldflags pkgconfig qt:5 tar:xz + localbase:ldflags magick:6,build pkgconfig qt:5 tar:xz USE_KDE= archive auth bookmarks codecs completion config configwidgets \ coreaddons crash dbusaddons i18n iconthemes itemviews \ jobwidgets kio service solid sonnet textwidgets widgetsaddons \ windowsystem xmlgui \ ecm_build USE_QT= concurrent core dbus gui multimedia network widgets xml \ buildtools_build qmake_build OPTIONS_GROUP= AUDIOPLUGIN OPTIONS_GROUP_AUDIOPLUGIN= ALSA PULSEAUDIO ALSA_CMAKE_BOOL= WITH_ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio OPTIONS_DEFINE= DOCS .include diff --git a/audio/mp3plot/Makefile b/audio/mp3plot/Makefile index 5aca195200b4..82a07d7b7fee 100644 --- a/audio/mp3plot/Makefile +++ b/audio/mp3plot/Makefile @@ -1,39 +1,39 @@ # Created by: Andrew Pantyukhin PORTNAME= mp3plot DISTVERSION= 0.6.0 PORTREVISION= 29 CATEGORIES= audio MASTER_SITES= http://p.outlyer.net/mp3plot/files/ MAINTAINER= ports@FreeBSD.org COMMENT= MP3 bitrate plot tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang LIB_DEPENDS= libboost_thread.so:devel/boost-libs USE_CXXSTD= c++98 OPTIONS_DEFINE= GD IMAGEMAGICK OPTIONS_DEFAULT=GD CONFIGURE_ARGS= --with-boost-program-options=boost_program_options \ --with-boost-thread=boost_thread CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes LIBS+= -L${LOCALBASE}/lib -lboost_system PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz GD_CONFIGURE_ENABLE= gd GD_LIB_DEPENDS= libgd.so:graphics/gd IMAGEMAGICK_CONFIGURE_ENABLE= magick -IMAGEMAGICK_LIB_DEPENDS=libMagick++-6.so:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6 post-patch: @${REINPLACE_CMD} -e '/bldtype_/s|-O2||g; s|^extra_LD.*||g' ${WRKSRC}/configure .include diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile index 9b9f8473d2d1..b39afaabe8b1 100644 --- a/cad/alliance/Makefile +++ b/cad/alliance/Makefile @@ -1,58 +1,57 @@ # Created by: hrs PORTNAME= alliance DISTVERSION= 5.1.1 PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= ftp://asim.lip6.fr/pub/alliance/distribution/5.0/ \ ftp://ftp.lyx.org/lip6/softs/alliance/distribution/5.0/ \ ftp://ftp.jussieu.fr/lip6/softs/alliance/distribution/5.0/ MAINTAINER= ports@FreeBSD.org COMMENT= Complete set of CAD tools and libraries for VLSI design LICENSE= Alliance LICENSE_NAME= Alliance VLSI Cad System License LICENSE_FILE= ${WRKSRC}/LICENCE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= fails to link: collect2: error: ld returned 1 exit status -BUILD_DEPENDS= convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \ - fig2dev:print/fig2dev +BUILD_DEPENDS= fig2dev:print/fig2dev -USES= autoreconf:build gmake libtool motif tar:bz2 xorg +USES= autoreconf:build gmake libtool magick:build motif tar:bz2 xorg USE_GCC= yes USE_TEX= dvipsk:build latex:build USE_XORG= ice sm x11 xext xt HAS_CONFIGURE= yes CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP} YACC=${YACC} CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \ --prefix=${ALLIANCE_TOP} MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip CFLAGS+= -fcommon CONFLICTS_INSTALL= fspclient SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/alliance/src ALLIANCE_TOP= ${PREFIX}/alliance post-patch: @${REINPLACE_CMD} -e '/include /d' \ ${WRKSRC}/xgra/src/XSB_parse.c # Recursive make commands should always use the variable MAKE, not the # explicit command name `make' (see the GNU make manual, section 5.7.1) @${REINPLACE_CMD} -e 's/; make/; $$(MAKE)/' \ ${WRKSRC}/documentation/Makefile.am \ ${WRKSRC}/documentation/alliance-examples/Makefile \ ${WRKSRC}/documentation/tutorials/Makefile.am pre-configure: @cd ${WRKSRC} && ./autostuff .include diff --git a/comms/apitran/Makefile b/comms/apitran/Makefile index 3c8243103655..8785f27f503f 100644 --- a/comms/apitran/Makefile +++ b/comms/apitran/Makefile @@ -1,40 +1,39 @@ PORTNAME= apitran PORTVERSION= g20180926 PORTREVISION= 4 CATEGORIES= comms astro hamradio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= hamradio@FreeBSD.org COMMENT= Toolkit to handle the automatic picture transmission protocol LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYNUMPY} \ ${PY_PILLOW} \ - sox:audio/sox \ - display:graphics/ImageMagick6 + sox:audio/sox -USES= python:3.6+,run shebangfix +USES= magick:6,run python:3.6+,run shebangfix USE_GITHUB= yes GH_ACCOUNT= rsj56 GH_TAGNAME= d209347 NO_BUILD= yes NO_ARCH= yes SHEBANG_FILES= apitran do-install: ${INSTALL_SCRIPT} ${WRKSRC}/apitran ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in NOAA_APT_Frame_Format.gif README.md ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ex_1ch_11025.png ex_2ch_48000.png ex_2ch_48000.wav ${INSTALL_DATA} ${WRKSRC}/Examples/$f ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/comms/xastir/Makefile b/comms/xastir/Makefile index 5420f7783a82..2a38e0cef473 100644 --- a/comms/xastir/Makefile +++ b/comms/xastir/Makefile @@ -1,89 +1,89 @@ # Created by: Carl Makin PORTNAME= xastir DISTVERSIONPREFIX= Release- DISTVERSION= 2.1.6 CATEGORIES= comms hamradio MAINTAINER= carl@stagecraft.cx COMMENT= X Amateur Station Tracking and Information Reporting LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xfontsel:x11-fonts/xfontsel RUN_DEPENDS= wget:ftp/wget LIB_DEPENDS= libfreetype.so:print/freetype2 \ libjasper.so:graphics/jasper \ libjbig.so:graphics/jbigkit \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libshp.so:devel/shapelib \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libwebpmux.so:graphics/webp \ libwmflite.so:graphics/libwmf \ libpcre.so:devel/pcre USES= gettext gmake gnome jpeg motif python:run shebangfix xorg USE_XORG= ice sm x11 xext xt USE_GNOME+= libxml2 GNU_CONFIGURE= yes SHEBANG_FILES= scripts/gpx2shape SHEBANG_REGEX= ./scripts/.*\.(sh|pl|py) USE_GITHUB= yes GH_ACCOUNT= Xastir GH_PROJECT= Xastir #CFLAGS+= -fcommon SUB_FILES= pkg-message OPTIONS_DEFINE= BDB CURL DAVIS ERRORPOP FESTIVAL GEOTIFF GPSMAN OPTIONS_RADIO= MGG OPTIONS_RADIO_MGG= GMAGICK IMAGICK DAVIS_DESC= Include Davis Weatherstation Support CURL_DESC= Include CURL Internet Image support GEOTIFF_DESC= Include GeoTIFF Support GPSMAN_DESC= Include GPSMAN Support FESTIVAL_DESC= Include Festival Voice Synthesis Support ERRORPOP_DESC= Send error popups to stderr BDB_DESC= Tiger Map Caching using Berkeley DB MGG_DESC= Image library for raster map processing IMAGICK_DESC= ImageMagick (Version 6) GMAGICK_DESC= GraphicsMagick (Needs GCC to compile) OPTIONS_DEFAULT= BDB CURL GMAGICK DAVIS_CONFIGURE_ON= --enable-davis -IMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 +IMAGICK_USES= magick:6 IMAGICK_CONFIGURE_WITH= imagemagick GMAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick GMAGICK_CONFIGURE_WITH= graphicsmagick GMAGICK_USES= compiler:gcc-c++11-lib CURL_LIB_DEPENDS= libcurl.so:ftp/curl GEOTIFF_LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff GPSMAN_BUILD_DEPENDS= ${LOCALBASE}/share/doc/gpsmanshp/GPSManSHP.pdf:graphics/gpsmanshp GPSMAN_IMPLIES= SHAPELIB GPSMAN_CONFIGURE_WITH= gpsman FESTIVAL_BUILD_DEPENDS= festival:audio/festival FESTIVAL_CONFIGURE_WITH= festival #RTREE_CONFIGURE_WITH= rtree ERRORPOP_CONFIGURE_WITH= errorpopups BDB_USES= bdb BDB_CONFIGURE_ON= --with-bdb-incdir=${BDB_INCLUDE_DIR} \ --with-bdb-libdir=${BDB_LIB_DIR} .include diff --git a/databases/opendbviewer/Makefile b/databases/opendbviewer/Makefile index a89512df01f3..4d7987782786 100644 --- a/databases/opendbviewer/Makefile +++ b/databases/opendbviewer/Makefile @@ -1,28 +1,26 @@ PORTNAME= opendbviewer PORTVERSION= 1.1.1 DISTVERSIONPREFIX= v CATEGORIES= databases MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Simple database explorer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= convert:graphics/ImageMagick6 - -USES= cmake compiler:c++11-lang qt:5 +USES= cmake compiler:c++11-lang magick:6,build qt:5 USE_GITHUB= yes GH_ACCOUNT= Jet1oeil USE_QT= core gui network sql sql-sqlite3 testlib widgets \ buildtools_build linguisttools_build qmake_build OPTIONS_DEFINE= DOCS PGSQL MYSQL OPTIONS_DEFAULT= PGSQL PGSQL_USE= QT=sql-pgsql MYSQL_USE= QT=sql-mysql CMAKE_ARGS+= -DCMAKE_CXX_STANDARD=11 .include diff --git a/databases/virtuoso/Makefile b/databases/virtuoso/Makefile index 0dcaa0eb5ca7..61fec3050978 100644 --- a/databases/virtuoso/Makefile +++ b/databases/virtuoso/Makefile @@ -1,112 +1,112 @@ # Created by: Max Khon PORTNAME= virtuoso PORTVERSION= 7.2.5 PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= SF DISTNAME= ${PORTNAME}-opensource-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Universal SQL/Application Server LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= Fails to link: missing sbrk BROKEN_mips64= Does not compile: error: DV_INT_TAG_WORD undeclared BROKEN_powerpc64= Does not compile: error: DV_INT_TAG_WORD undeclared BROKEN_sparc64= Does not compile: error: DV_INT_TAG_WORD undeclared NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe NOT_FOR_ARCHS_REASON= can only be built on 64bit platforms BUILD_DEPENDS= gawk:lang/gawk\ htmldoc:textproc/htmldoc\ flex>2.5.4:textproc/flex\ gperf>=3.0.3:devel/gperf LIB_DEPENDS= libxml2.so:textproc/libxml2 USES= gmake libtool readline uidfix ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-readline\ --without-internal-zlib\ --without-jdk2\ --without-jdk3\ --without-jdk4\ --disable-hslookup\ --disable-wbxml2\ --with-layout=freebsd\ --datadir="${PREFIX}"\ --localstatedir="${PREFIX}" CONFIGURE_ENV= ac_cv_header_sys_timeb_h=no CPPFLAGS+= -std=gnu89 LDFLAGS+= -lexecinfo MAKE_ENV= PATH=${LOCALBASE}/bin:${PATH}\ ISQL=isql-vt USE_RC_SUBR= virtuoso USERS= virtuoso GROUPS= virtuoso SUB_FILES= pkg-message CHECK_PORT= nc -z localhost $$\1 2>\&1 OPTIONS_DEFINE= IMAGEMAGICK KERBEROS LDAP IODBC post-patch: ${REINPLACE_CMD} -e 's,-lruby,-lruby${RUBY_SUFFIX},g'\ ${WRKSRC}/configure ${FIND} ${WRKSRC} -name '*.sh' | ${XARGS} ${GREP} -l 'netstat -an.*grep LISTEN' |\ ${XARGS} ${REINPLACE_CMD}\ -e 's,expr \$$,expr -- $$,'\ -e 's,netstat -an.*grep.*$$\([a-zA-Z0-9]*\).*grep LISTEN,${CHECK_PORT},' check: ${SETENV} -u HOST ${MAKE_ENV} ${MAKE} -C ${WRKSRC} check .include .if ${SSL_DEFAULT} == base BROKEN_FreeBSD_12= OpenSSL version 1.1.0 or greater is currently not supported BROKEN_FreeBSD_13= OpenSSL version 1.1.0 or greater is currently not supported BROKEN_FreeBSD_14= OpenSSL version 1.1.0 or greater is currently not supported .endif .if ${PORT_OPTIONS:MIMAGEMAGICK} CONFIGURE_ARGS+=--enable-imagemagick=${LOCALBASE} -LIB_DEPENDS+= libMagickWand-6.so:graphics/ImageMagick6 +USES+= magick:6 PLIST_SUB+= WITH_IMAGEMAGICK="" .else CONFIGURE_ARGS+=--disable-imagemagick PLIST_SUB+= WITH_IMAGEMAGICK="@comment " .endif .if ${PORT_OPTIONS:MIODBC} CONFIGURE_ARGS+=--with-iodbc=${LOCALBASE} LIB_DEPENDS+= libiodbc.so:databases/libiodbc CPPFLAGS+= -I${LOCALBASE}/include/libiodbc PLIST_SUB+= WITH_IODBC="" .else CPPFLAGS+= -I../../libsrc/odbcsdk/include PLIST_SUB+= WITH_IODBC="@comment " .endif .if ${PORT_OPTIONS:MKERBEROS} CONFIGURE_ARGS+=--enable-krb=${LOCALBASE} LIB_DEPENDS+= libkrb5.so:security/krb5 .else CONFIGURE_ARGS+=--disable-krb .endif .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+=--enable-openldap=${LOCALBASE} USE_OPENLDAP= yes .else CONFIGURE_ARGS+=--disable-openldap .endif post-install: ${FIND} ${STAGEDIR} -name "*.ini" -exec ${MV} {} {}.sample \; -print ${RMDIR} ${STAGEDIR}${PREFIX}/virtuoso/doc/html .include diff --git a/deskutils/goesimage/Makefile b/deskutils/goesimage/Makefile index 11dc98caa647..780b7e5126ad 100644 --- a/deskutils/goesimage/Makefile +++ b/deskutils/goesimage/Makefile @@ -1,47 +1,46 @@ PORTNAME= goesimage DISTVERSION= 0.1.3 CATEGORIES= deskutils MAINTAINER= yuri@FreeBSD.org COMMENT= Wallpapers from NOAA Geostationary Operational Environment Satellite LICENSE= UNLICENSE LICENSE_FILE= ${WRKSRC}/UNLICENSE RUN_DEPENDS= bash:shells/bash \ - convert:graphics/ImageMagick6 \ curl:ftp/curl \ nitrogen:sysutils/nitrogen -USES= shebangfix +USES= magick:6,run shebangfix SHEBANG_FILES= goesimage USE_GITHUB= yes GH_ACCOUNT= pigmonkey NO_BUILD= yes NO_ARCH= yes SUB_LIST= PORTNAME=${PORTNAME} SUB_FILES= crontab RUN_ARGS= -w -e -o # -w: NOAA GOES West satellite, -e: NOAA GOES East satellite, -o: print output, don't set as a wallpaper (it is set by nitrogen) do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/ ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/crontab ${STAGEDIR}${DATADIR} @(echo "#!/bin/sh"; \ echo ""; \ echo "crontab -l | ${GREP} -v '${PREFIX}/bin/${PORTNAME}' | (cat ; cat ${DATADIR}/crontab) | crontab -"; \ ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-enable @(echo "#!/bin/sh"; \ echo ""; \ echo "crontab -l | ${GREP} -v '${PREFIX}/bin/${PORTNAME}' | crontab -"; \ ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-disable @(echo "#!/bin/sh"; \ echo ""; \ echo "${PREFIX}/bin/nitrogen --set-zoom "$$"(${PREFIX}/libexec/${PORTNAME} ${RUN_ARGS})"; \ ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-run-now @cd ${STAGEDIR}${PREFIX}/bin && ${CHMOD} +x ${PORTNAME}-enable ${PORTNAME}-disable ${PORTNAME}-run-now .include diff --git a/deskutils/py-paperless/Makefile b/deskutils/py-paperless/Makefile index f80911ff5b16..8531da3df54e 100644 --- a/deskutils/py-paperless/Makefile +++ b/deskutils/py-paperless/Makefile @@ -1,133 +1,133 @@ PORTNAME= paperless PORTVERSION= 2.7.0 PORTREVISION= 9 CATEGORIES= deskutils python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= b122931185fb.patch:-p1 # https://github.com/the-paperless-project/paperless/pull/712 PATCHFILES+= b131c97d1d85.patch:-p1 # https://github.com/the-paperless-project/paperless/pull/716 MAINTAINER= grembo@FreeBSD.org COMMENT= Index and archive scanned paper documents LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateparser>=0.7.1:devel/py-dateparser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-cors-headers>=2.4.0:www/py-django-cors-headers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-crispy-forms>=1.7.2:www/py-django-crispy-forms@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-extensions>=2.1.6:www/py-django-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-filter>=2.0.0:www/py-django-filter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}djangoql>=0.12.4:www/py-djangoql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.9.0:www/py-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fuzzywuzzy>=0.15.1:devel/py-fuzzywuzzy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}langdetect>=1.0.7:textproc/py-langdetect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdftotext>=2.1.1:textproc/py-pdftotext@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyocr>=0.5.3:graphics/py-pyocr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.10.1:www/py-python-dotenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-gnupg>=0.4.3:security/py-python-gnupg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-magic>=0.4.10:devel/py-python-magic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} RUN_DEPENDS+= gpg2:security/gnupg \ optipng:graphics/optipng \ tesseract:graphics/tesseract \ unpaper:graphics/unpaper USES= python:3.5+ shebangfix USE_GITHUB= yes GH_ACCOUNT= the-paperless-project USE_RC_SUBR= paperless-consumer SHEBANG_FILES= ${WRKSRC}/src/manage.py SUB_FILES= README nginx.conf paperless.7 pkg-message sshd_config uwsgi.ini SUB_LIST= PKGBASE=${PKGBASE} PYTHON_CMD=${PYTHON_CMD} \ PYTHONPREFIX_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} \ ECHO=${ECHO} EGREP=${EGREP} TOUCH=${TOUCH} \ CHOWN=${CHOWN} RM=${RM:Q} NO_ARCH= yes USERS= paperless GROUPS= paperless OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SINGLE= IMAGICK OPTIONS_SINGLE_IMAGICK= IMAGICK6_NOX11 IMAGICK6_X11 IMAGICK7_NOX11 IMAGICK7_X11 OPTIONS_DEFAULT= IMAGICK6_X11 IMAGICK_DESC= ${IMAGEMAGICK_DESC} IMAGICK6_NOX11_DESC= ImageMagick6 without X11 support IMAGICK6_X11_DESC= ImageMagick6 with X11 support IMAGICK7_NOX11_DESC= ImageMagick7 without X11 support IMAGICK7_X11_DESC= ImageMagick7 with X11 support DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.8.3,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_USES= gmake -IMAGICK6_X11_RUN_DEPENDS= convert:graphics/ImageMagick6 -IMAGICK6_NOX11_RUN_DEPENDS= convert:graphics/ImageMagick6-nox11 -IMAGICK7_X11_RUN_DEPENDS= convert:graphics/ImageMagick7 -IMAGICK7_NOX11_RUN_DEPENDS= convert:graphics/ImageMagick7-nox11 +IMAGICK6_X11_USES= magick:6,run +IMAGICK6_NOX11_USES= magick:6,run,nox11 +IMAGICK7_X11_USES= magick:7,run +IMAGICK7_NOX11_USES= magick:7,run,nox11 PORTDOCS= * PAPERLESS_STATICDIR= ${WRKSRC}/static do-build: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} \ -f ${WRKSRC}/src @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} \ -f ${WRKSRC}/src @${RM} -r ${PAPERLESS_STATICDIR} @${SETENV} \ PAPERLESS_STATICDIR=${PAPERLESS_STATICDIR} \ ${PYTHON_CMD} ${WRKSRC}/src/manage.py collectstatic do-build-DOCS-on: cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} html SPHINXBUILD=sphinx-build-${PYTHON_VER} post-build-DOCS-on: @${RM} ${WRKSRC}/docs/_build/html/.buildinfo do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/paperless @cd ${WRKSRC}/resources && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} @cd ${WRKSRC}/src && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/paperless @${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/paperless/manage.py \ ${STAGEDIR}${PREFIX}/bin/paperless @${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC} && \ ${COPYTREE_SHARE} static ${STAGEDIR}${WWWDIR} @${SED} -e 's|%%WWWDIR%%|${WWWDIR}|g;' \ ${WRKSRC}/paperless.conf.example \ > ${STAGEDIR}${PREFIX}/etc/paperless.conf.sample @${MKDIR} ${STAGEDIR}/var/db/paperless/consume/input \ ${STAGEDIR}/var/db/paperless/media \ ${STAGEDIR}/var/db/paperless/sqlite ${INSTALL_MAN} ${WRKDIR}/paperless.7 ${STAGEDIR}${MANPREFIX}/man/man7 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/presentation @cd ${WRKSRC}/docs/_build/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/presentation && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/presentation post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} \ ${WRKDIR}/README \ ${WRKDIR}/nginx.conf \ ${WRKDIR}/sshd_config \ ${WRKDIR}/uwsgi.ini \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/devel/bugzilla44/Makefile b/devel/bugzilla44/Makefile index c7fc8f096b84..73de5c3d4a9e 100644 --- a/devel/bugzilla44/Makefile +++ b/devel/bugzilla44/Makefile @@ -1,135 +1,135 @@ PORTNAME= bugzilla PORTVERSION= 4.4.13 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= MOZILLA/webtools MOZILLA/webtools/archived MAINTAINER= bz-ports@FreeBSD.org COMMENT= Bug-tracking system developed by Mozilla Project LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE # see Bugzilla/Install/Requirements.pm # PR 194782: silence Module::Pluggable deprecated warnings # PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv RUN_DEPENDS= \ p5-CGI>=3.51:www/p5-CGI \ p5-DBI>=1.614:databases/p5-DBI \ p5-DateTime-TimeZone>=1.64:devel/p5-DateTime-TimeZone \ p5-DateTime>=0.75:devel/p5-DateTime \ p5-Email-MIME>=1.904:mail/p5-Email-MIME \ p5-Email-Send>=2.04:mail/p5-Email-Send \ p5-Encode-Detect>=0:converters/p5-Encode-Detect \ p5-List-MoreUtils>=0.32:lang/p5-List-MoreUtils \ p5-Math-Random-ISAAC>=1.001:math/p5-Math-Random-ISAAC \ p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable \ p5-Template-Toolkit>=2.24:www/p5-Template-Toolkit \ p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap \ p5-TimeDate>=2.23:devel/p5-TimeDate \ p5-URI>=1.55:net/p5-URI USES= cpe perl5 USE_PERL5= run CPE_VENDOR= mozilla SUB_FILES= pkg-message DATA_DIRS_LIST= images js skins # checksetup will fail if these directories are not present! EMPTY_DIRS_LIST=data graphs contrib lib t xt .include "${.CURDIR}/Makefile.common" .include "${.CURDIR}/Makefile.options" MODPERL_USE= APACHE_RUN=22+ MYSQL_USES= mysql MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql PGSQL_USES= pgsql PGSQL_RUN_DEPENDS= p5-DBD-Pg>=3.4.2:databases/p5-DBD-Pg SQLITE_USES= sqlite SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.29:databases/p5-DBD-SQLite \ sqlite3>=3:databases/sqlite3 GRAPH_REPORTS_RUN_DEPENDS= p5-GD>=1.20:graphics/p5-GD \ p5-GD-Graph>=0:graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ p5-Template-GD>=0:www/p5-Template-GD CHARTING_MODULES_RUN_DEPENDS= p5-Chart>=2.4.10:graphics/p5-Chart PATCH_VIEWER_RUN_DEPENDS= p5-PatchReader>=0.9.6:devel/p5-PatchReader \ interdiff:misc/patchutils MORE_HTML_RUN_DEPENDS= p5-HTML-Parser>=3.67:www/p5-HTML-Parser \ p5-HTML-Scrubber>=0:www/p5-HTML-Scrubber INBOUND_EMAIL_RUN_DEPENDS= p5-Email-MIME-Attachment-Stripper>=0:mail/p5-Email-MIME-Attachment-Stripper \ p5-Email-Reply>=0:mail/p5-Email-Reply \ p5-HTML-FormatText-WithLinks>=0.13:textproc/p5-HTML-FormatText-WithLinks MAIL_QUEUEING_RUN_DEPENDS= p5-TheSchwartz>=1.10:devel/p5-TheSchwartz \ p5-Daemon-Generic>=0:net/p5-Daemon-Generic \ p5-File-Slurp>=9999.13:devel/p5-File-Slurp MOVE_BUGZ_RUN_DEPENDS= p5-MIME-Tools>=5.406:mail/p5-MIME-Tools \ p5-XML-Twig>=0:textproc/p5-XML-Twig -BMP2PNG_RUN_DEPENDS= convert:graphics/ImageMagick6 +BMP2PNG_USES= magick:6,run # Note: XML-RPC and JSON-RPC are deprecated in favor of REST # and will likely be removed in the Bugzilla 7.0 release. # XXX SOAP::Lite can be removed if upstream officially depends on # XMLRPC::Lite>=0.717, see Bugzilla/Install/Requirements.pm XMLRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-XMLRPC-Lite>=0.712:net/p5-XMLRPC-Lite \ p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite JSONRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC \ p5-JSON-XS>=2.0:converters/p5-JSON-XS MODPERL_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ p5-Apache-DBI>=0:www/p5-Apache-DBI GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz EXPORT_IMPORT_RUN_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-XML-Twig>=0:textproc/p5-XML-Twig LDAP_RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius SMTP_AUTH_RUN_DEPENDS= p5-Authen-SASL>=2.16:security/p5-Authen-SASL MIME_SNIFF_RUN_DEPENDS= p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \ p5-IO-Stringy>=2.110:devel/p5-IO-Stringy .include post-extract: ${RM} -r ${WRKSRC}/.git ${RM} ${WRKSRC}/.bzrignore ${WRKSRC}/.gitignore ${WRKSRC}/.gitrev \ ${WRKSRC}/docs/en/README.docs ${WRKSRC}/docs/en/html/Bugzilla-Guide.proc \ ${WRKSRC}/.travis.yml ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST.SKIP \ ${WRKSRC}/taskgraph.json post-patch: ${REINPLACE_CMD} -e 's/apache/www/' ${WRKSRC}/Bugzilla/Install/Localconfig.pm ${REINPLACE_CMD} -e 's|/opt/bugzilla|${WWWDIR}|' ${WRKSRC}/importxml.pl \ ${WRKSRC}/docs/en/html/api/importxml.html ${FIND} ${WRKSRC} -type f \( -name \*.cgi -o -name \*.html -o -name \*.pl -o -name \*.pm -o -name \*.t -o -name \*.txt -o -name \*.xml \) \ -exec ${SED} -i '' -e "s=/usr/bin/perl=${PERL}=g; \ s!/usr/lib/sendmail!/usr/sbin/sendmail!g; \ s!/var/www/html/bugzilla!${WWWDIR}!" {} \+ .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MMYSQL} ${REINPLACE_CMD} -e "s/'mysql'/'Pg'/" ${WRKSRC}/Bugzilla/Install/Localconfig.pm .endif pre-install: ${FIND} ${WRKSRC} -type f \( -name "*.orig" -or -name "*.bak" \) -delete do-install: .SILENT @${MKDIR} ${STAGEDIR}${WWWDIR} ${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \ ${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \; @${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} .for D in ${DATA_DIRS_LIST} (cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D}) .endfor ${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - @${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) do-install-CONTRIB-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/contrib (cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/contrib) .include diff --git a/devel/bugzilla50/Makefile b/devel/bugzilla50/Makefile index 589602d9f5e0..82766f276fb8 100644 --- a/devel/bugzilla50/Makefile +++ b/devel/bugzilla50/Makefile @@ -1,144 +1,144 @@ PORTNAME= bugzilla PORTVERSION= 5.0.4 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= MOZILLA/webtools MOZILLA/webtools/archived MAINTAINER= bz-ports@FreeBSD.org COMMENT= Bug-tracking system developed by Mozilla Project LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE # see Bugzilla/Install/Requirements.pm # PR 194782: silence Module::Pluggable deprecated warnings # PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv RUN_DEPENDS= \ p5-CGI>=3.51:www/p5-CGI \ p5-DBI>=1.614:databases/p5-DBI \ p5-DateTime-TimeZone>=1.64:devel/p5-DateTime-TimeZone \ p5-DateTime>=0.75:devel/p5-DateTime \ p5-Email-MIME>=1.904:mail/p5-Email-MIME \ p5-Email-Sender>=1.300011:mail/p5-Email-Sender \ p5-Encode-Detect>=0:converters/p5-Encode-Detect \ p5-JSON-XS>=2.01:converters/p5-JSON-XS \ p5-List-MoreUtils>=0.32:lang/p5-List-MoreUtils \ p5-Math-Random-ISAAC>=1.001:math/p5-Math-Random-ISAAC \ p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable \ p5-Template-Toolkit>=2.24:www/p5-Template-Toolkit \ p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap \ p5-TimeDate>=2.23:devel/p5-TimeDate \ p5-URI>=1.55:net/p5-URI USES= cpe perl5 USE_PERL5= run CPE_VENDOR= mozilla SUB_FILES= pkg-message DATA_DIRS_LIST= images js skins # checksetup will fail if these directories are not present! EMPTY_DIRS_LIST=data graphs contrib lib t xt .include "${.CURDIR}/Makefile.common" .include "${.CURDIR}/Makefile.options" MODPERL_USE= APACHE_RUN=22+ MYSQL_USES= mysql MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql PGSQL_USES= pgsql:9.1+ PGSQL_RUN_DEPENDS= p5-DBD-Pg>=3.4.2:databases/p5-DBD-Pg SQLITE_USES= sqlite SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.29:databases/p5-DBD-SQLite \ sqlite3>=3:databases/sqlite3 GRAPH_REPORTS_RUN_DEPENDS= p5-GD>=1.20:graphics/p5-GD \ p5-GD-Graph>=0:graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ p5-Template-GD>=0:www/p5-Template-GD CHARTING_MODULES_RUN_DEPENDS= p5-Chart>=2.4.10:graphics/p5-Chart PATCH_VIEWER_RUN_DEPENDS= p5-PatchReader>=0.9.6:devel/p5-PatchReader \ interdiff:misc/patchutils MORE_HTML_RUN_DEPENDS= p5-HTML-Parser>=3.67:www/p5-HTML-Parser \ p5-HTML-Scrubber>=0:www/p5-HTML-Scrubber INBOUND_EMAIL_RUN_DEPENDS= p5-Email-MIME-Attachment-Stripper>=0:mail/p5-Email-MIME-Attachment-Stripper \ p5-Email-Reply>=0:mail/p5-Email-Reply \ p5-HTML-FormatText-WithLinks>=0.13:textproc/p5-HTML-FormatText-WithLinks MAIL_QUEUEING_RUN_DEPENDS= p5-TheSchwartz>=1.10:devel/p5-TheSchwartz \ p5-Daemon-Generic>=0:net/p5-Daemon-Generic MOVE_BUGZ_RUN_DEPENDS= p5-MIME-Tools>=5.406:mail/p5-MIME-Tools \ p5-XML-Twig>=0:textproc/p5-XML-Twig -BMP2PNG_RUN_DEPENDS= convert:graphics/ImageMagick6 +BMP2PNG_USES= magick:6,run # Note: XML-RPC and JSON-RPC are deprecated in favor of REST # and will likely be removed in the Bugzilla 7.0 release. # XXX SOAP::Lite can be removed if upstream officially depends on # XMLRPC::Lite>=0.717, see Bugzilla/Install/Requirements.pm XMLRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-XMLRPC-Lite>=0.712:net/p5-XMLRPC-Lite \ p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite JSONRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC REST_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC MODPERL_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ p5-Apache-DBI>=0:www/p5-Apache-DBI GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz EXPORT_IMPORT_RUN_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-XML-Twig>=0:textproc/p5-XML-Twig LDAP_RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius SMTP_AUTH_RUN_DEPENDS= p5-Authen-SASL>=2.16:security/p5-Authen-SASL MIME_SNIFF_RUN_DEPENDS= p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \ p5-IO-Stringy>=2.110:devel/p5-IO-Stringy MEMCACHED_RUN_DEPENDS= p5-Cache-Memcached>=1.30:databases/p5-Cache-Memcached .include post-extract: # The docs_urlbase parameter has been removed. If documentation has not been # compiled locally, the "Help" links and other documentation links will # redirect to bugzilla.readthedocs.org automatically. ${RM} -r ${WRKSRC}/docs ${RM} -r ${WRKSRC}/.git ${RM} ${WRKSRC}/.bzrignore ${WRKSRC}/.gitignore ${WRKSRC}/.gitrev \ ${WRKSRC}/.travis.yml ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST.SKIP post-patch: ${REINPLACE_CMD} -e 's/apache/www/' ${WRKSRC}/Bugzilla/Install/Localconfig.pm ${REINPLACE_CMD} -e 's|/opt/bugzilla|${WWWDIR}|' ${WRKSRC}/importxml.pl ${FIND} ${WRKSRC} -type f \( -name \*.cgi -o -name \*.pl -o -name \*.pm -o -name \*.t \) \ -exec ${SED} -i '' -e "s=/usr/bin/perl=${PERL}=g; \ s!/usr/lib/sendmail!/usr/sbin/sendmail!g;" {} \+ .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MMYSQL} ${REINPLACE_CMD} -e "s/'mysql'/'Pg'/" ${WRKSRC}/Bugzilla/Install/Localconfig.pm .endif pre-install: ${FIND} ${WRKSRC} -type f \( -name "*.orig" -or -name "*.bak" \) -delete do-install: .SILENT @${MKDIR} ${STAGEDIR}${WWWDIR} ${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \ ${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \; @${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} .for D in ${DATA_DIRS_LIST} (cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D}) .endfor ${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - @${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} do-install-CONTRIB-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/contrib (cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/contrib) do-install-MOREBUGURL-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/extensions/MoreBugUrl (cd ${WRKSRC}/extensions/MoreBugUrl && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/extensions/MoreBugUrl) do-install-VOTING-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/extensions/Voting (cd ${WRKSRC}/extensions/Voting && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/extensions/Voting) .include diff --git a/devel/p5-Project-Gantt/Makefile b/devel/p5-Project-Gantt/Makefile index 11df7bb64e32..c977094188e1 100644 --- a/devel/p5-Project-Gantt/Makefile +++ b/devel/p5-Project-Gantt/Makefile @@ -1,21 +1,20 @@ # Created by: clsung PORTNAME= Project-Gantt PORTVERSION= 1.03 PORTREVISION= 8 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Create Gantt charts to manage project scheduling BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-Class-Date>=0:devel/p5-Class-Date \ - convert:graphics/ImageMagick6 +RUN_DEPENDS= p5-Class-Date>=0:devel/p5-Class-Date -USES= perl5 +USES= magick:6,run perl5 USE_PERL5= configure WRKSRC= ${WRKDIR}/Gantt .include diff --git a/devel/rubygem-paperclip-rails5/Makefile b/devel/rubygem-paperclip-rails5/Makefile index 6e000f154c30..71e2358e3185 100644 --- a/devel/rubygem-paperclip-rails5/Makefile +++ b/devel/rubygem-paperclip-rails5/Makefile @@ -1,38 +1,38 @@ # Created by: Ryan Steinmetz PORTNAME= paperclip DISTVERSION= 6.1.0 PORTREVISION= 2 CATEGORIES= devel rubygems MASTER_SITES= RG PKGNAMESUFFIX= -rails5 MAINTAINER= ruby@FreeBSD.org COMMENT= Easy upload management for ActiveRecord LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-activemodel5>=4.2.0:databases/rubygem-activemodel5 \ rubygem-activesupport5>=4.2.0:devel/rubygem-activesupport5 \ rubygem-mimemagic>=0.3.0:misc/rubygem-mimemagic \ rubygem-mime-types>=0:misc/rubygem-mime-types \ rubygem-terrapin>=0.6.0:devel/rubygem-terrapin USES= cpe gem CPE_VENDOR= thoughtbot USE_RUBY= yes NO_ARCH= yes OPTIONS_SINGLE= IMAGEMAGICK OPTIONS_SINGLE_IMAGEMAGICK= IMX11 IMNOX11 OPTIONS_DEFAULT= IMNOX11 IMNOX11_DESC= Depend on ImageMagick without X11 support IMX11_DESC= Depend on ImageMagick with X11 support -IMNOX11_RUN_DEPENDS= ImageMagick6-nox11>0:graphics/ImageMagick6-nox11 -IMX11_RUN_DEPENDS= ImageMagick6>0:graphics/ImageMagick6 +IMNOX11_USES= magick:6,run,nox11 +IMX11_USES= magick:6,run .include diff --git a/devel/rubygem-paperclip-rails50/Makefile b/devel/rubygem-paperclip-rails50/Makefile index e1b19e51dc5a..f69dc8b34825 100644 --- a/devel/rubygem-paperclip-rails50/Makefile +++ b/devel/rubygem-paperclip-rails50/Makefile @@ -1,27 +1,26 @@ # Created by: Ryan Steinmetz PORTNAME= paperclip PORTVERSION= 6.1.0 CATEGORIES= devel rubygems MASTER_SITES= RG PKGNAMESUFFIX= -rails50 MAINTAINER= ruby@FreeBSD.org COMMENT= Easy upload management for ActiveRecord LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ImageMagick7-nox11>=0:graphics/ImageMagick7-nox11 \ - rubygem-activemodel50>0:databases/rubygem-activemodel50 \ +RUN_DEPENDS= rubygem-activemodel50>0:databases/rubygem-activemodel50 \ rubygem-activesupport50>=0:devel/rubygem-activesupport50 \ rubygem-mimemagic>=0.3.0:misc/rubygem-mimemagic \ rubygem-mime-types>=0:misc/rubygem-mime-types \ rubygem-terrapin>=0.6.0:devel/rubygem-terrapin NO_ARCH= yes USE_RUBY= yes -USES= cpe gem +USES= cpe gem magick:7,nox11,run CPE_VENDOR= thoughtbot .include diff --git a/editors/emacs-devel/Makefile b/editors/emacs-devel/Makefile index b66daf43c41e..3e69668d544f 100644 --- a/editors/emacs-devel/Makefile +++ b/editors/emacs-devel/Makefile @@ -1,261 +1,261 @@ # Created by: Kenneth Vestergaard Schmidt PORTNAME= emacs DISTVERSION= 29.0.50.20211205 PORTEPOCH= 2 CATEGORIES= editors PKGNAMESUFFIX= -devel MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} COMMENT_nox= (No X flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= texinfo>=6.5,1:print/texinfo LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full nox full_CONFLICTS_INSTALL= emacs-devel-nox nox_PKGNAMESUFFIX= -devel-nox nox_CONFLICTS_INSTALL= emacs-devel USES= autoreconf:build cpe gmake localbase:ldflags ncurses pkgconfig CPE_VENDOR= gnu USE_GITHUB= yes GH_ACCOUNT= emacs-mirror GH_TAGNAME= 2d0e1e5 .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome xorg USE_XORG= ice sm x11 xcb xext xfixes xinerama xmu xrandr xrender xt .endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var \ --without-libsystemd \ --without-selinux .if ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gconf \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-webp \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs emacs-canna emacs-nox SUB_FILES= sources.el SUB_LIST= EMACS_VER=${DISTVERSION:R} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime \ epa erc ert eshell eudc eww flymake forms gnus htmlfontify \ idlwave ido info mairix-el message mh-e modus-themes newsticker \ nxml-mode octave-mode org pcl-cvs pgg rcirc reftex remember \ sasl sc semantic ses sieve smtpmail speedbar srecode todo-mode \ tramp url vhdl-mode vip viper widget wisent woman INFO_PATH= ${DATADIR_REL}/info PLIST_SUB= EMACS_VER=${DISTVERSION:R} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS GCONF GNUTLS GSETTINGS HARFBUZZ JSON \ LCMS2 M17N MAILUTILS MODULES NATIVECOMP OTF \ SCROLLBARS SOURCES THREADS XFT XIM XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG JSON KQUEUE LCMS2 M17N MAILUTILS \ MODULES OSS OTF PNG SCROLLBARS SOURCES SVG \ THREADS TIFF WEBP XFT XIM XML XPM OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF WEBP XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 XAW XAW3D .if ${FLAVOR:U} == nox OPTIONS_EXCLUDE= ALSA CAIRO DBUS GCONF GFILE GIF GSETTINGS GTK2 \ GTK3 HARFBUZZ JPEG LCMS2 M17N MAGICK OSS OTF \ PNG SCROLLBARS SVG TIFF WEBP XAW XAW3D XFT XIM \ XPM XWIDGETS .endif OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG, XFT] FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support NATIVECOMP_DESC= Emacs Lisp native compiler support OTF_DESC= Opentype fonts [implies XFT] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG XFT CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus GCONF_USE= GNOME=gconf2 GCONF_CONFIGURE_WITH= gconf GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JSON_LIB_DEPENDS= libjansson.so:devel/jansson JSON_CONFIGURE_WITH= json KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt -MAGICK_LIB_DEPENDS= libMagickCore-7.so:graphics/ImageMagick7 +MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_LIB_DEPENDS= libmailutils.so:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules NATIVECOMP_LIB_DEPENDS= libgccjit.so:lang/${_GCC_PORT} NATIVECOMP_CONFIGURE_WITH= native-compilation NATIVECOMP_MAKE_ARGS= NATIVE_FULL_AOT=1 NATIVECOMP_LDFLAGS= -L${LOCALBASE}/lib/${_GCC_PORT} OSS_CONFIGURE_ON= --with-sound=oss OTF_IMPLIES= XFT OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_WITH= webp XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${PORT_OPTIONS:MNATIVECOMP} && !defined(_GCC_PORT_CHOSEN) _GCC_PORT!= ${BSDMAKE} -V_GCC_PORT USE_GCC=11+ _GCC_PORT_CHOSEN=yes .endif .if ${ARCH:Mpowerpc64*} USE_GCC= yes .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MXAW} && \ !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif pre-configure: @(cd ${WRKSRC} && ./autogen.sh all) @${REINPLACE_CMD} \ -e '/emacs-repository-version/s/^.*$$/(setq emacs-repository-version "${GH_TAGNAME}")/' \ -e '/emacs-repository-branch/s/^.*$$/(setq emacs-repository-branch "master")/' \ ${WRKSRC}/lisp/loadup.el post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd @(cd ${STAGEDIR}${PREFIX} && ${FIND} libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET}/ -name emacs-*.pdmp >> ${TMPPLIST}) post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION:R}/${CONFIGURE_TARGET} # Natively compiled elisp files names include build checksum information, so add # these files to the plist after the build. post-install-NATIVECOMP-on: @(cd ${WRKSRC} && ${FIND} native-lisp -type f | ${SED} -e 's,^,lib/emacs/${DISTVERSION:R}/,') >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/emacs/${DISTVERSION:R}/native-lisp/ -name '*.eln*' -exec ${STRIP_CMD} {} + post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION:R}/site-lisp/site-start.el .include diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile index a432d0572fa8..17c0af6d3613 100644 --- a/editors/emacs/Makefile +++ b/editors/emacs/Makefile @@ -1,256 +1,256 @@ # Created by: MANTANI Nobutaka PORTNAME= emacs DISTVERSION= 27.2 PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= GNU .if ${FLAVOR:U} == canna PATCH_SITES+= https://www.gentei.org/~yuuji/software/emacs27canna/:canna PATCHFILES+= emacs27.0.90-canna-20200308.diff.gz:-p1:canna .endif MAINTAINER= emacs@FreeBSD.org COMMENT= GNU editing macros ${COMMENT_${FLAVOR}} COMMENT_nox= (No X flavor) COMMENT_canna= (Canna Japanese input flavor) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp FLAVORS= full canna nox canna_PKGNAMESUFFIX= -canna canna_LIB_DEPENDS= libcanna.so:japanese/canna-lib canna_CONFLICTS_INSTALL= emacs emacs-nox canna_DESCR= ${.CURDIR}/pkg-descr-canna full_CONFLICTS_INSTALL= emacs-canna emacs-nox nox_PKGNAMESUFFIX= -nox nox_CONFLICTS_INSTALL= emacs emacs-canna USES= cpe gmake localbase:ldflags makeinfo ncurses pkgconfig tar:xz CPE_VENDOR= gnu .if ${FLAVOR:U} != nox USES+= desktop-file-utils gnome xorg USE_XORG= ice sm x11 xcb xext xfixes xinerama xmu xrandr xt .endif GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-build-details \ --localstatedir=/var .if ${FLAVOR:U} == canna CONFIGURE_ARGS+= --with-canna .endif .if ${FLAVOR:U} == nox CONFIGURE_ARGS+= --with-sound=no \ --with-x-toolkit=no \ --without-cairo \ --without-dbus \ --without-gconf \ --without-gif \ --without-gsettings \ --without-imagemagick \ --without-jpeg \ --without-lcms2 \ --without-libotf \ --without-m17n-flt \ --without-png \ --without-rsvg \ --without-tiff \ --without-toolkit-scroll-bars \ --without-x \ --without-xim \ --without-xpm \ --without-xwidgets .else CONFIGURE_ARGS+= --with-x .endif # See r468320 to determine if/when the next line can be removed CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no CONFLICTS_INSTALL= emacs-devel emacs-devel-nox SUB_FILES= sources.el SUB_LIST= EMACS_VER=${DISTVERSION} INFO= auth autotype bovine calc ccmode cl dbus dired-x ebrowse ede \ ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime \ epa erc ert eshell eudc eww flymake forms gnus htmlfontify \ idlwave ido info mairix-el message mh-e newsticker nxml-mode \ octave-mode org pcl-cvs pgg rcirc reftex remember sasl sc \ semantic ses sieve smtpmail speedbar srecode todo-mode tramp \ url vhdl-mode vip viper widget wisent woman INFO_PATH= ${DATADIR_REL}/info .if ${FLAVOR:U} == canna PLIST_FILES+= ${DATADIR}/${DISTVERSION}/lisp/canna.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/canna.elc \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.el.gz \ ${DATADIR}/${DISTVERSION}/lisp/isearch-ext.elc .endif PLIST_SUB= EMACS_VER=${DISTVERSION} \ GNU_HOST=${CONFIGURE_TARGET} OPTIONS_DEFINE= ACL DBUS FCITXPATCH GCONF GNUTLS GSETTINGS \ HARFBUZZ JSON LCMS2 M17N MAILUTILS MODULES OTF \ SCROLLBARS SOURCES THREADS XFT XIM XML XWIDGETS OPTIONS_DEFAULT= ACL CAIRO DBUS GIF GNUTLS GSETTINGS GTK3 \ HARFBUZZ JPEG JSON KQUEUE LCMS2 M17N MAILUTILS \ MODULES OSS OTF PNG SCROLLBARS SOURCES SVG \ THREADS TIFF XFT XIM XML XPM OPTIONS_GROUP= GRAPHICS OPTIONS_GROUP_GRAPHICS= CAIRO GIF JPEG MAGICK PNG SVG TIFF XPM OPTIONS_RADIO= FILENOTIFY SOUND X11TOOLKIT OPTIONS_RADIO_FILENOTIFY= GFILE KQUEUE OPTIONS_RADIO_SOUND= ALSA OSS OPTIONS_RADIO_X11TOOLKIT= GTK2 GTK3 MOTIF XAW XAW3D .if ${FLAVOR:U} == nox OPTIONS_EXCLUDE= ALSA CAIRO DBUS FCITXPATCH GCONF GFILE GIF \ GSETTINGS GTK2 GTK3 HARFBUZZ JPEG LCMS2 M17N \ MAGICK MOTIF OSS OTF PNG SCROLLBARS SVG TIFF \ XAW XAW3D XFT XIM XPM XWIDGETS .endif OPTIONS_SUB= YES ACL_DESC= Access control list support CAIRO_DESC= Cairo graphics library support [implies PNG, XFT] FCITXPATCH_DESC= Patch to pass C-Space to Fcitx input method FILENOTIFY_DESC= File notification support GFILE_DESC= File notification via gfile GRAPHICS_DESC= Graphics support GSETTINGS_DESC= GSettings API for application settings HARFBUZZ_DESC= HarfBuzz for text shaping KQUEUE_DESC= File notification via kqueue M17N_DESC= M17N support for text-shaping [implies XFT] MAGICK_DESC= ImageMagick image processing support (deprecated) MAILUTILS_DESC= Mail framework via GNU Mailutils MODULES_DESC= Dynamic modules support OTF_DESC= Opentype fonts [implies XFT] SCROLLBARS_DESC= Toolkit scroll-bars SOURCES_DESC= Install sources SVG_DESC= Scalable vector graphics support [implies PNG] X11TOOLKIT_DESC= X11 toolkit XAW3D_DESC= Athena3D widgets XAW_DESC= Athena widgets XIM_DESC= X Input Method XWIDGETS_DESC= Experimental GTK widgets [implies GTK3] ACL_CONFIGURE_ENABLE= acl ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-sound=alsa CAIRO_IMPLIES= PNG XFT CAIRO_USE= GNOME=cairo CAIRO_CONFIGURE_WITH= cairo DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus FCITXPATCH_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_xfns.c GCONF_USE= GNOME=gconf2 GCONF_CONFIGURE_WITH= gconf GFILE_USE= GNOME=glib20 GFILE_CONFIGURE_ON= --with-file-notification=gfile GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CONFIGURE_WITH= gif GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GSETTINGS_USE= GNOME=glib20 GSETTINGS_CONFIGURE_WITH= gsettings GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --with-x-toolkit=gtk2 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ON= --with-x-toolkit=gtk3 HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_WITH= harfbuzz JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg JSON_LIB_DEPENDS= libjansson.so:devel/jansson JSON_CONFIGURE_WITH= json KQUEUE_CONFIGURE_ON= --with-file-notification=kqueue LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_WITH= lcms2 #LTO_CONFIGURE_ON= --enable-link-time-optimization M17N_IMPLIES= XFT M17N_LIB_DEPENDS= libm17n.so:devel/m17n-lib M17N_CONFIGURE_WITH= m17n-flt -MAGICK_LIB_DEPENDS= libMagickCore-7.so:graphics/ImageMagick7 +MAGICK_USES= magick:7 MAGICK_CONFIGURE_WITH= imagemagick MAILUTILS_LIB_DEPENDS= libmailutils.so:mail/mailutils MAILUTILS_CONFIGURE_WITH= mailutils MAILUTILS_CONFIGURE_ENV_OFF= ac_cv_lib_lockfile_maillock=no \ ac_cv_prog_liblockfile=no MODULES_CONFIGURE_WITH= modules MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-x-toolkit=motif OSS_CONFIGURE_ON= --with-sound=oss OTF_IMPLIES= XFT OTF_LIB_DEPENDS= libotf.so:print/libotf OTF_CONFIGURE_WITH= libotf PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= png SCROLLBARS_CONFIGURE_WITH= toolkit-scroll-bars .if ${FLAVOR:U} == canna SOURCES_PLIST_FILES= ${DATADIR}/${DISTVERSION}/src/canna.c .endif SVG_IMPLIES= PNG SVG_USE= GNOME=cairo,librsvg2 SVG_CONFIGURE_WITH= rsvg THREADS_CONFIGURE_WITH= threads TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= tiff XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --with-x-toolkit=athena XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-x-toolkit=athena \ --without-xaw3d XFT_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 XFT_USE= XORG=xft,xrender XFT_CONFIGURE_WITH= xft XIM_CONFIGURE_WITH= xim # keep XML_USES=gnome, because nox flavor does not have USES=gnome XML_USES= gnome XML_USE= GNOME=libxml2 XML_CONFIGURE_WITH= xml2 XPM_USE= XORG=xpm XPM_CONFIGURE_WITH= xpm XWIDGETS_IMPLIES= GTK3 XWIDGETS_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 XWIDGETS_USE= XORG=xcomposite XWIDGETS_CONFIGURE_WITH= xwidgets .include .if ${ARCH} == powerpc64le USE_GCC= yes .endif .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} && !${PORT_OPTIONS:MMOTIF} \ && !${PORT_OPTIONS:MXAW} && !${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+= --with-x-toolkit=no .endif .if ${FLAVOR} == nox # With a desktop entry stage-qa will give a warning about requiring # desktop-file-utils and portlint -C will give a warning about INSTALLS_ICONS, # but don't pull in those dependencies with the nox flavor. post-patch: @${REINPLACE_CMD} -e 's/^Terminal=.*$$/Terminal=true/' ${WRKSRC}/etc/emacs.desktop .endif post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd post-install-MAILUTILS-on: ${LN} -sf ${PREFIX}/bin/movemail \ ${STAGEDIR}${PREFIX}/libexec/emacs/${DISTVERSION}/${CONFIGURE_TARGET} post-install-SOURCES-on: @${MKDIR} ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/src/*.[ch] ${STAGEDIR}${DATADIR}/${DISTVERSION}/src ${INSTALL_DATA} ${WRKDIR}/sources.el ${STAGEDIR}${DATADIR}/${DISTVERSION}/site-lisp/site-start.el .include diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile index 844e0fcd3027..f727b8e6c2e2 100644 --- a/emulators/mgba/Makefile +++ b/emulators/mgba/Makefile @@ -1,72 +1,71 @@ PORTNAME= mgba DISTVERSION= 0.9.2 CATEGORIES= emulators MAINTAINER= greg@unrelenting.technology COMMENT= Game Boy Advance (GBA) emulator/debugger LICENSE= MPL20 BSD3CLAUSE LGPL21+ LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/third-party/inih/LICENSE.txt LICENSE_FILE_LGPL21+ = ${WRKSRC}/src/third-party/blip_buf/license.txt LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png USES= cmake compiler:c++11-lang gl gnome localbase:ldflags pkgconfig \ sdl sqlite:3 USE_GITHUB= yes GH_ACCOUNT= mgba-emu USE_GL= gl glu USE_LDCONFIG= yes USE_SDL= sdl2 CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING="${DOCSDIR}" \ -DUSE_MINIZIP:BOOL=OFF \ -DUSE_LIBZIP:BOOL=OFF \ -DUSE_ZLIB:BOOL=ON \ -DUSE_LZMA:BOOL=ON \ -DUSE_SQLITE3:BOOL=ON \ -DUSE_DISCORD_RPC:BOOL=OFF \ -DBUILD_GL:BOOL=ON \ -DBUILD_GLES2:BOOL=OFF LDFLAGS+= -Wl,--as-needed # glu OPTIONS_DEFINE= DEBUGGERS FFMPEG LIBRETRO MAGICK QT5 DOCS OPTIONS_DEFAULT= DEBUGGERS FFMPEG LIBRETRO MAGICK QT5 OPTIONS_SUB= yes DEBUGGERS_DESC= Debugging infrastructure (CLI debugger, GDB remote stub) FFMPEG_DESC= FFmpeg video recording support LIBRETRO_DESC= libretro core MAGICK_DESC= ImageMagick GIF recording support QT5_DESC= Qt 5 frontend DEBUGGERS_USES= libedit DEBUGGERS_CMAKE_BOOL= USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavresample.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG LIBRETRO_CMAKE_BOOL= BUILD_LIBRETRO LIBRETRO_CMAKE_ON= -DLIBRETRO_LIBDIR:PATH="${PREFIX}/lib/libretro" LIBRETRO_CONFLICTS_INSTALL= libretro-mgba -MAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ - libMagickCore-6.so:graphics/ImageMagick6 +MAGICK_USES= magick:6 MAGICK_CMAKE_BOOL= USE_MAGICK QT5_USES= desktop-file-utils qt:5 QT5_USE= qt=qmake_build,buildtools_build,core,gui,widgets,network,opengl,multimedia QT5_CMAKE_BOOL= BUILD_QT .include diff --git a/games/enigma/Makefile b/games/enigma/Makefile index 26758c47be45..9cb448453776 100644 --- a/games/enigma/Makefile +++ b/games/enigma/Makefile @@ -1,51 +1,50 @@ # Created by: Edwin Groothuis PORTNAME= enigma PORTVERSION= 1.30 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Reimplementation of Oxyd, a puzzle game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \ libpng.so:graphics/png \ libenet.so:net/enet \ libcurl.so:ftp/curl -BUILD_DEPENDS= convert:graphics/ImageMagick6 USE_GITHUB= yes GH_ACCOUNT= Enigma-Game GH_PROJECT= Enigma -USES= autoreconf:build gettext gmake iconv localbase pkgconfig sdl +USES= autoreconf:build gettext gmake iconv localbase magick:6,build pkgconfig sdl GNU_CONFIGURE= yes USE_SDL= sdl2 image2 mixer2 ttf2 CONFIGURE_ARGS= --with-system-enet LDFLAGS+= -lintl SUB_FILES= pkg-message PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html NLS_CONFIGURE_ENABLE=nls pre-configure: @cd ${CONFIGURE_WRKSRC} && ${SH} autogen.sh post-patch-DOCS-off: @${REINPLACE_CMD} -e '/SUBDIRS =/d' ${WRKSRC}/doc/Makefile.am post-patch: @${REINPLACE_CMD} -e '/Exec=/s,enigma,${PREFIX}/bin/enigma,g' \ ${WRKSRC}/etc/enigma.desktop .include diff --git a/games/openclaw/Makefile b/games/openclaw/Makefile index b2b158bc017a..b03b6693d46e 100644 --- a/games/openclaw/Makefile +++ b/games/openclaw/Makefile @@ -1,72 +1,71 @@ PORTNAME= OpenClaw DISTVERSION= 0.0-51 PORTREVISION= 4 DISTVERSIONSUFFIX= -gbac7730 CATEGORIES= games MAINTAINER= greg@unrelenting.technology COMMENT= Reimplementation of Captain Claw (1997) platformer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libtinyxml.so:textproc/tinyxml USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= pjasicek USE_SDL= gfx2 image2 mixer2 ttf2 PLIST_FILES= bin/openclaw PORTDATA= ASSETS.ZIP SAVES.XML clacon.ttf config.xml console02.tga SUB_FILES= pkg-message OPTIONS_DEFINE= LAUNCHER OPTIONS_DEFAULT= LAUNCHER LAUNCHER_DESC= Install launcher to manage game settings -LAUNCHER_USES= mono -LAUNCHER_BUILD_DEPENDS= convert:graphics/ImageMagick6 +LAUNCHER_USES= magick:6,build mono LAUNCHER_PLIST_FILES= bin/ClawLauncher.exe bin/clawlauncher LAUNCHER_DESKTOP_ENTRIES= \ "${GH_PROJECT}" \ "" \ "${PORTNAME:tl}" \ "clawlauncher" \ "Game;ArcadeGame;" \ "" post-patch: @${REINPLACE_CMD} '/CMAKE_RUNTIME_OUTPUT_DIRECTORY/d; s| -O2 -g||' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|/usr/share/openclaw|${DATADIR}|g' \ ${WRKSRC}/Build_Release/clawlauncher \ ${WRKSRC}/Build_Release/config_linux_release.xml pre-build: @cd ${WRKSRC}/Build_Release && ${CP} config_linux_release.xml config.xml post-build-LAUNCHER-on: @convert -verbose -set filename:size %wx%h \ ${WRKSRC}/ClawLauncher/Resources/launcher_icon.ico \ ${WRKDIR}/launcher_icon_%\[filename:size].png do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME:tl} \ ${STAGEDIR}${PREFIX}/bin @cd ${WRKSRC}/Build_Release && ${COPYTREE_SHARE} \ "${PORTDATA}" ${STAGEDIR}${DATADIR} do-install-LAUNCHER-on: ${INSTALL_SCRIPT} ${WRKSRC}/Build_Release/ClawLauncher.exe \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/Build_Release/clawlauncher \ ${STAGEDIR}${PREFIX}/bin .for size in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 192x192 256x256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps ${INSTALL_DATA} ${WRKDIR}/launcher_icon_${size}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps/${PORTNAME:tl}.png @${ECHO_CMD} share/icons/hicolor/${size}/apps/${PORTNAME:tl}.png >> ${TMPPLIST} .endfor .include diff --git a/games/openfodder/Makefile b/games/openfodder/Makefile index 496ee6c18c63..3c7604e324cd 100644 --- a/games/openfodder/Makefile +++ b/games/openfodder/Makefile @@ -1,78 +1,78 @@ PORTNAME= OpenFodder DISTVERSION= 1.6.0 CATEGORIES= games PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 129d50b3ba09.patch:-p1 MAINTAINER= jbeich@FreeBSD.org COMMENT= Open source port of Cannon Fodder LICENSE= BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.BSD.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LGPLv2.1.txt LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT.txt LICENSE_FILE_ZLIB= ${WRKSRC}/COPYING.ZLIB.txt USES= compiler:c++14-lang sdl USE_GITHUB= yes USE_SDL= mixer2 GH_TUPLE= ${PORTNAME}:data:1.7.0:data/Run \ ${PORTNAME}:scripts:c6f3076:scripts/Run/Scripts GH_PROJECT= ${PORTNAME:tl} PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= *.md DESKTOP_ENTRIES="${PORTNAME}" \ "" \ "${PORTNAME:tl}" \ "${PORTNAME}" \ "Game;ActionGame;" \ "" OPTIONS_DEFINE= DOCS ICONS OPTIONS_DEFAULT=ICONS -ICONS_BUILD_DEPENDS= mogrify:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +ICONS_USES= magick:build post-patch: @${REINPLACE_CMD} -e 's,clang++,${CXX},' \ -e 's/ -ferror-limit=100//' \ -e 's, -I/usr/include[^[:space:]]*,,g' \ -e 's,git log -n 1 --pretty=,${ECHO_CMD} ,' \ -e 's,%%h,${DISTVERSIONFULL},' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's,/usr/local,${PREFIX},' \ ${WRKSRC}/Source/ResourceMan.cpp post-build-ICONS-on: @for size in 16x16 24x24 32x32 48x48 57x57; do \ ${MKDIR} ${WRKDIR}/icons/hicolor/$$size/apps; \ done @mogrify -verbose -set filename:size %wx%h -format png \ -path ${WRKDIR}/icons/hicolor/%\[filename:size]/apps \ ${WRKSRC}/Projects/${PORTNAME:tl}.ico do-test: @(cd ${WRKSRC_data} && ${SETENV} ${TEST_ENV} \ ${WRKSRC}/Run/${PORTNAME} --unit-test-headless) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Run/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/Run && ${COPYTREE_SHARE} "${PORTDATA}" \ ${STAGEDIR}${DATADIR} "! -name ${PORTNAME} -type f") do-install-DOCS-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" \ ${STAGEDIR}${DOCSDIR}) do-install-ICONS-on: (cd ${WRKDIR}/icons && ${COPYTREE_SHARE} . \ ${STAGEDIR}${PREFIX}/share/icons) (cd ${STAGEDIR}${PREFIX} && ${FIND} share/icons -type f >>${TMPPLIST}) .include diff --git a/games/openspades/Makefile b/games/openspades/Makefile index cd5f8606416e..48f79b74fc3f 100644 --- a/games/openspades/Makefile +++ b/games/openspades/Makefile @@ -1,50 +1,49 @@ PORTNAME= openspades PORTVERSION= 0.1.3 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= games MASTER_SITES= https://github.com/yvt/openspades-paks/releases/download/r33/:data DISTFILES= OpenSpadesDevPackage-r33.zip:data MAINTAINER= amdmi3@FreeBSD.org COMMENT= Compatible client of Ace of Spades LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= bundles non-portable AngelScript -BUILD_DEPENDS= convert:graphics/ImageMagick6 # for building icons LIB_DEPENDS= libcurl.so:ftp/curl \ libopusfile.so:audio/opusfile USE_GITHUB= yes GH_ACCOUNT= yvt USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \ - gl gnome openal sdl xorg + gl gnome magick:6,build openal sdl xorg CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \ -DOPENSPADES_INSTALL_MAN="man/man6" \ -DOPENSPADES_INSTALL_BINARY="bin" \ -DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}" DOS2UNIX_FILES= Sources/AngelScript/source/as_config.h USE_SDL= sdl2 image2 USE_GL= gl glew PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: @${MV} ${WRKDIR}/Nonfree/*.pak ${WRKDIR}/OfficialMods/*.pak \ ${WRKSRC}/Resources/ post-patch: @${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt post-install: cd ${WRKSRC}/Resources/ && ${COPYTREE_SHARE} "Gfx Locales Maps Models PackageInfo.json Scripts Shaders Sounds Textures *.pak" ${STAGEDIR}${DATADIR} .include diff --git a/games/sgt-puzzles/Makefile b/games/sgt-puzzles/Makefile index bc31b955f096..2623dcb3a505 100644 --- a/games/sgt-puzzles/Makefile +++ b/games/sgt-puzzles/Makefile @@ -1,33 +1,31 @@ PORTNAME= puzzles PORTVERSION= 20211031 CATEGORIES= games MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ \ https://mirror.amdmi3.ru/distfiles/ PKGNAMEPREFIX= sgt- DISTNAME= ${PORTNAME}-${PORTVERSION}.${COMMITHASH} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simon Tatham's Portable Puzzle Collection LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE COMMITHASH= 640f923 -BUILD_DEPENDS= convert:graphics/ImageMagick6-nox11 - -USES= cmake gnome perl5 pkgconfig +USES= cmake gnome magick:6,build,nox11 perl5 pkgconfig USE_PERL5= build CMAKE_ARGS= -DNAME_PREFIX:STRING=sgt- OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 OPTIONS_DEFAULT=GTK3 GTK_DESC= Gtk version GTK2_CMAKE_ON= -DPUZZLES_GTK_VERSION=2 GTK2_USE= GNOME=gtk20 GTK3_CMAKE_ON= -DPUZZLES_GTK_VERSION=3 GTK3_USE= GNOME=gtk30 .include diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile index 87dad77b9fea..fd41cd2ebb1a 100644 --- a/games/tuxpaint/Makefile +++ b/games/tuxpaint/Makefile @@ -1,63 +1,62 @@ # Created by: Alejandro Pulver PORTNAME= tuxpaint PORTVERSION= 0.9.26 CATEGORIES= games MASTER_SITES= SF MAINTAINER= wen@FreeBSD.org COMMENT= Drawing program designed for young children LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt -BUILD_DEPENDS= convert:graphics/ImageMagick7 LIB_DEPENDS= libfribidi.so:converters/fribidi \ libpaper.so:print/libpaper \ libimagequant.so:graphics/libimagequant RUN_DEPENDS= anytopnm:graphics/netpbm \ bash:shells/bash -USES= gettext gmake gnome gperf pkgconfig sdl shebangfix +USES= gettext gmake gnome gperf magick:7,build pkgconfig sdl shebangfix SHEBANG_FILES= src/tuxpaint-import.sh USE_GNOME= librsvg2 USE_SDL= image mixer sdl ttf pango MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ PREFIX="${PREFIX}" \ MAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \ DEVMAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \ X11_ICON_PREFIX="${STAGEDIR}${PREFIX}/share/pixmaps" \ GNOME_PREFIX="${PREFIX}" \ ARCH_INSTALL="" \ OPTFLAGS="${CFLAGS} -DHAVE_STRCASESTR" \ SHARED_FLAGS="-shared -fPIC" \ GPERF="${GPERF}" MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-gettext install-im install-magic-plugins \ install-magic-plugin-dev install-default-config \ install-example-stamps install-example-starters \ install-icon install-bin install-importscript \ install-data install-doc install-man PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS post-extract: @${RM} -r ${WRKSRC}/fonts/locale/vi_docs post-patch: .for file in src/tuxpaint-import.sh src/tp_magic_api.h.in src/tuxpaint.conf \ hildon/tuxpaint.conf @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${file} .endfor post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tuxpaint @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tuxpaint/plugins/*.so .include diff --git a/graphics/acidwarp-sdl/Makefile b/graphics/acidwarp-sdl/Makefile index 73c4714de01a..6dd4c39a6e21 100644 --- a/graphics/acidwarp-sdl/Makefile +++ b/graphics/acidwarp-sdl/Makefile @@ -1,36 +1,34 @@ PORTNAME= acidwarp-sdl PORTVERSION= g2020062101 CATEGORIES= graphics MAINTAINER= swills@FreeBSD.org COMMENT= Eye candy program which displays various patterns -BUILD_DEPENDS= convert:graphics/ImageMagick7 - -USES= cmake sdl +USES= cmake magick:7,build sdl USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= dreamlayers GH_PROJECT= acidwarp GH_TAGNAME= 698c4e1 # Fix build on recent current (clang11) CFLAGS+= -fcommon PORTSCOUT= skipv:svgalib-port,original,old-sdl-port PLIST_FILES= bin/acidwarp \ share/applications/acidwarp.desktop \ share/pixmaps/acidwarp.png post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/acidwarp.desktop do-install: ${STRIP_CMD} ${WRKSRC}/bin/acidwarp ${INSTALL_PROGRAM} ${WRKSRC}/bin/acidwarp ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/acidwarp.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/acidwarp.png ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/graphics/autotrace/Makefile b/graphics/autotrace/Makefile index b2d03ed1272f..aa3332d431d0 100644 --- a/graphics/autotrace/Makefile +++ b/graphics/autotrace/Makefile @@ -1,50 +1,50 @@ # Created by: KANOU Hiroki PORTNAME= autotrace PORTVERSION= 0.31.1 PORTREVISION= 32 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/AutoTrace/${PORTVERSION} MAINTAINER= portmaster@BSDforge.com COMMENT= Convert bitmap to vector graphics LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libpng.so:graphics/png USES= cpe pathfix pkgconfig libtool CPE_VENDOR= autotrace_project GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= $$(libpng-config --I_opts) LDFLAGS+= $$(libpng-config --L_opts) INSTALL_TARGET= install-strip OPTIONS_DEFINE= IMAGEMAGICK MING PSTOEDIT OPTIONS_DEFAULT=IMAGEMAGICK MING_DESC= Enable swf interface PSTOEDIT_DESC= Convert postscript to other formats -IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6 IMAGEMAGICK_CONFIGURE_OFF= --without-magick MING_LIB_DEPENDS= libming.so:graphics/ming MING_CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/ming MING_CONFIGURE_OFF= ac_cv_header_ming_h=no PSTOEDIT_LIB_DEPENDS= libpstoedit.so:graphics/pstoedit PSTOEDIT_CONFIGURE_OFF= --without-pstoedit post-patch: @${REINPLACE_CMD} -e \ 's|Magick-config|MagickWand-config|g ; \ /$$PSTOEDIT_CONFIG/s|--version|--modversion| ; \ s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \ /^PSTOEDIT_CONFIG=/s|=.*$$|=pkg-config|' ${WRKSRC}/configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libautotrace.so .include diff --git a/graphics/aview/Makefile b/graphics/aview/Makefile index 822c3d21e79f..33d110dce2ef 100644 --- a/graphics/aview/Makefile +++ b/graphics/aview/Makefile @@ -1,26 +1,27 @@ # Created by: frankch@waru.life.nthu.edu.tw PORTNAME= aview DISTVERSION= 1.3.0rc1 PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= SF/aa-project/${PORTNAME}/${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Graphics viewer for viewing netpbm format on console or X using aalib -RUN_DEPENDS= anytopnm:graphics/netpbm \ - convert:graphics/ImageMagick6 +RUN_DEPENDS= anytopnm:graphics/netpbm LIB_DEPENDS= libaa.so:graphics/aalib +USES= magick:6,run + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-x=no post-patch: @${REINPLACE_CMD} -e 's|/bash|/sh|g' ${WRKSRC}/asciiview @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' .include diff --git a/graphics/chafa/Makefile b/graphics/chafa/Makefile index 85dbfd62db71..e05b9a676a62 100644 --- a/graphics/chafa/Makefile +++ b/graphics/chafa/Makefile @@ -1,35 +1,33 @@ # Created by: Emanuel Haupt PORTNAME= chafa PORTVERSION= 1.8.0 CATEGORIES= graphics MASTER_SITES= https://hpjansson.org/chafa/releases/ \ https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Character art facsimile generator LICENSE= GPLv3 LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LESSER -BUILD_DEPENDS= convert:graphics/ImageMagick7 LIB_DEPENDS= libfreetype.so:print/freetype2 \ - libMagickCore-7.so:graphics/ImageMagick7 -USES= gettext-runtime gnome libtool tar:xz +USES= gettext-runtime gnome libtool magick:7 tar:xz USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}/html INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-install: ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \ ${STAGEDIR}${MANPREFIX}/share/man/man1 .include diff --git a/graphics/converseen/Makefile b/graphics/converseen/Makefile index 3dc1ee0c5c46..3c7d56702b34 100644 --- a/graphics/converseen/Makefile +++ b/graphics/converseen/Makefile @@ -1,29 +1,27 @@ PORTNAME= converseen DISTVERSIONPREFIX= v DISTVERSION= 0.9.9.2 CATEGORIES= graphics MAINTAINER= fernape@FreeBSD.org COMMENT= Easy to use graphics conversion utility LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6 - -USES= cmake compiler:c++11-lang qt:5 tar:bzip2 +USES= cmake compiler:c++11-lang magick:6 qt:5 tar:bzip2 USE_QT= core gui network widgets \ buildtools_build linguisttools_build qmake_build USE_GITHUB= yes GH_ACCOUNT= Faster3ck GH_PROJECT= Converseen post-patch: @${REINPLACE_CMD} -e '/^install(FILES converseen.appdata.xml/s|/usr|$${CMAKE_INSTALL_PREFIX}|' \ ${WRKSRC}/CMakeLists.txt post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/converseen .include diff --git a/graphics/curator/Makefile b/graphics/curator/Makefile index 316511ad1756..ac453de88717 100644 --- a/graphics/curator/Makefile +++ b/graphics/curator/Makefile @@ -1,22 +1,20 @@ # Created by: Stefan Walter PORTNAME= curator PORTVERSION= 2.1 PORTREVISION= 7 CATEGORIES= graphics www python MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Static Image Gallery Generator for web or CD-ROM galleries -USES= python:3.6+ +USES= magick:6,run python:3.6+ USE_PYTHON= distutils autoplist concurrent optsuffix PLIST_FILES= man/man1/curator.1.gz -RUN_DEPENDS= convert:graphics/ImageMagick6 - post-install: ${INSTALL_MAN} ${FILESDIR}/curator.1 ${STAGEDIR}${PREFIX}/man/man1/curator.1 .include diff --git a/graphics/cuttlefish/Makefile b/graphics/cuttlefish/Makefile index e6416d392f5e..975b711ba90b 100644 --- a/graphics/cuttlefish/Makefile +++ b/graphics/cuttlefish/Makefile @@ -1,54 +1,53 @@ # Created by: Matthew Luckie PORTNAME= cuttlefish PORTVERSION= 1.3 PORTREVISION= 4 CATEGORIES= graphics geography MASTER_SITES= http://www.caida.org/tools/visualization/cuttlefish/code/ MAINTAINER= ports@FreeBSD.org COMMENT= Plots diurnal and geographical patterns of supplied data RUN_DEPENDS+= p5-GD>=0:graphics/p5-GD \ - convert:graphics/ImageMagick6 \ gifsicle:graphics/gifsicle -USES= perl5 shebangfix +USES= magick:6,run perl5 shebangfix USE_PERL5= run NO_BUILD= yes SHEBANG_FILES= bin/cuttlefish.pl IMAGES= caida_logo.gif caida_logo_gray.gif \ japan-water-okinawa.jpg japan-water.jpg \ world-day.jpg world-water.jpg EXAMPLES= japan-traces-small.config japan-traces.config \ nyxem-hosts-both.config \ witty-combined-small.config witty-combined.config OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} -e "s|../lib|../lib/cuttlefish|" \ ${WRKSRC}/bin/cuttlefish.pl .for f in ${EXAMPLES} @${REINPLACE_CMD} -e "s|images|${PREFIX}/share/cuttlefish|" \ ${WRKSRC}/configs/${f} .endfor do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/cuttlefish.pl ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/cuttlefish @${MKDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in Canvas.pm Control.pm Histogram.pm Image.pm Legend.pm Map.pm Util.pm ${INSTALL_DATA} ${WRKSRC}/lib/${f} ${STAGEDIR}${PREFIX}/lib/cuttlefish/${f} .endfor .for f in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/configs/${f} ${STAGEDIR}${EXAMPLESDIR}/${f} .endfor .for f in ${IMAGES} ${INSTALL_DATA} ${WRKSRC}/images/${f} ${STAGEDIR}${DATADIR}/${f} .endfor .include diff --git a/graphics/dcraw-m/Makefile b/graphics/dcraw-m/Makefile index 9eb5ed09fe44..216d9da706fe 100644 --- a/graphics/dcraw-m/Makefile +++ b/graphics/dcraw-m/Makefile @@ -1,40 +1,39 @@ # Created by: "Waitman Gobble" PORTNAME= dcraw-m PORTVERSION= 9.22 PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= waitman@waitman.net COMMENT= Modified Decoder for RAW files from digital cameras LICENSE= GPLv2 LIB_DEPENDS= libjasper.so:graphics/jasper \ - liblcms2.so:graphics/lcms2 \ - libMagickWand-6.so:graphics/ImageMagick6 + liblcms2.so:graphics/lcms2 USE_GITHUB= yes GH_ACCOUNT= waitman GH_TAGNAME= 1392579 -USES= jpeg pkgconfig +USES= jpeg magick:6 pkgconfig CFLAGS+= -Wall -I${LOCALBASE}/include \ `MagickWand-config --cflags --cppflags` \ -DMAGICKCORE_HDRI_ENABLE=0 \ -DMAGICKCORE_QUANTUM_DEPTH=16 LDFLAGS+= `MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg \ -ljasper LIBS+= -L${LOCALBASE}/lib PLIST_FILES= bin/dcraw-m do-build: ( cd ${WRKSRC} ; \ ${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile index 26f63a21d1b9..ecc365909cf4 100644 --- a/graphics/digikam/Makefile +++ b/graphics/digikam/Makefile @@ -1,111 +1,110 @@ PORTNAME= digikam DISTVERSION= 7.3.0 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/digikam/${PORTVERSION} PATCH_SITES= https://invent.kde.org/graphics/digikam/-/commit/ PATCHFILES= 95a8ece964681fc6823e968541da2da2da06b3dd.patch:-p1 MAINTAINER= kde@FreeBSD.org COMMENT= KDE digital photo management application LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libKF5Sane.so:graphics/libksane \ libboost_graph.so:devel/boost-libs \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ - libMagickCore-6.so:graphics/ImageMagick6 \ libgphoto2.so:graphics/libgphoto2 \ libicalss.so:devel/libical \ libjasper.so:graphics/jasper \ liblcms2.so:graphics/lcms2 \ liblensfun.so:graphics/lensfun \ liblqr-1.so:graphics/liblqr-1 \ libopencv_core.so:graphics/opencv \ libpgf.so:graphics/libpgf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libx265.so:multimedia/x265 USES= bison cmake compiler:c++11-lib desktop-file-utils eigen:3 gl \ - gnome jpeg kde:5 pkgconfig qt:5 shebangfix tar:xz xorg + gnome jpeg kde:5 magick:6 pkgconfig qt:5 shebangfix tar:xz xorg USE_GL= gl glu USE_GNOME= glib20 libxml2 libxslt USE_KDE= archive auth bookmarks calendarcore codecs completion config \ configwidgets coreaddons crash doctools ecm filemetadata \ guiaddons i18n iconthemes itemmodels itemviews jobwidgets kdelibs4support \ kio marble libkipi notifications notifyconfig parts service \ solid sonnet textwidgets threadweaver unitconversion \ widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus declarative gui location network opengl \ printsupport sql webchannel widgets x11extras xml xmlpatterns \ sql-sqlite3_run \ buildtools_build qmake_build USE_XORG= ice sm x11 xext USE_LDCONFIG= yes SHEBANG_FILES= core/data/scripts/digitaglinktree/digitaglinktree # Disable kipiplugins, as they are built in their own port: graphics/kipiplugins. # Remember to keep that port in sync with this one. CMAKE_ON= DIGIKAMSC_COMPILE_DIGIKAM OPTIONS_DEFINE= DOCS DOXYGEN KDEPIM KVKONTAKTE MEDIAPLAYER MYSQL NLS WEBENGINE OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NWEBENGINE} OPTIONS_SUB= yes DOCS_DESC= Digikam documentation DOCS_CMAKE_BOOL= DIGIKAMSC_COMPILE_DOC DOCS_USES= gettext DOCS_USE= KDE=doctools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS KDEPIM_DESC= KDEPim Addressbook support KDEPIM_USE= KDE=akonadi,akonadicontacts,contacts KDEPIM_CMAKE_BOOL= ENABLE_AKONADICONTACTSUPPORT KDEPIM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5AkonadiContact MEDIAPLAYER_DESC= Enable mediaplayer MEDIAPLAYER_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libQtAV.so:multimedia/QtAV MEDIAPLAYER_CMAKE_BOOL= ENABLE_MEDIAPLAYER MEDIAPLAYER_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_FFmpeg \ CMAKE_DISABLE_FIND_PACKAGE_QtAV MYSQL_USES= mysql:server MYSQL_USE= QT=sql-mysql_run MYSQL_CMAKE_BOOL= ENABLE_INTERNALMYSQL \ ENABLE_MYSQLSUPPORT MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \ -DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin MYSQL_BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${_MYSQL_SERVER} KVKONTAKTE_DESC= vk.com Plugin KVKONTAKTE_LIB_DEPENDS= libKF5Vkontakte.so:net/libkvkontakte KVKONTAKTE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KF5Vkontakte NLS_DESC= Digikam i18n translations NLS_CMAKE_BOOL= DIGIKAMSC_COMPILE_PO NLS_USES= gettext NLS_USE= KDE=i18n WEBENGINE_DESC= Use Qt WebEngine instead of WebKit WEBENGINE_USE= QT=webengine WEBENGINE_USE_OFF= QT=webkit WEBENGINE_CMAKE_BOOL= ENABLE_QWEBENGINE PLIST_SUB= SHLIB_VER=${DISTVERSION} .include .if ${PORT_OPTIONS:MWEBENGINE} DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine EXPIRATION_DATE=2021-06-23 .endif .include diff --git a/graphics/dmtx-utils/Makefile b/graphics/dmtx-utils/Makefile index e5d410d0e4d0..e112c1cc602e 100644 --- a/graphics/dmtx-utils/Makefile +++ b/graphics/dmtx-utils/Makefile @@ -1,27 +1,26 @@ # Created by: johans PORTNAME= dmtx-utils DISTVERSIONPREFIX= v DISTVERSION= 0.7.6 PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= hrs@FreeBSD.org COMMENT= Software for reading and writing Data Matrix barcodes LICENSE= LGPL21+ -LIB_DEPENDS= libdmtx.so:graphics/libdmtx \ - libMagickWand-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +LIB_DEPENDS= libdmtx.so:graphics/libdmtx -USES= autoreconf libtool localbase tar:bzip2 pkgconfig +USES= autoreconf libtool localbase magick tar:bzip2 pkgconfig USE_GITHUB= yes GH_ACCOUNT= dmtx GNU_CONFIGURE= yes PLIST_FILES= bin/dmtxread bin/dmtxwrite bin/dmtxquery \ man/man1/dmtxread.1.gz man/man1/dmtxwrite.1.gz \ man/man1/dmtxquery.1.gz .include diff --git a/graphics/fpc-imagemagick/Makefile b/graphics/fpc-imagemagick/Makefile index 2e0ea1b537b1..cbb9349ca7bc 100644 --- a/graphics/fpc-imagemagick/Makefile +++ b/graphics/fpc-imagemagick/Makefile @@ -1,18 +1,18 @@ CATEGORIES= graphics lang PKGNAMESUFFIX= -imagemagick COMMENT= Free Pascal interface to ImageMagick USES= fpc MASTERDIR= ${.CURDIR}/../../lang/fpc WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//} EXTRACTUNITDIR= ${WRKUNITDIR} OPTIONS_DEFINE= IMAGEMAGICK IMAGEMAGICK_DESC= Install ImageMagick image proccesing tool OPTIONS_DEFAULT= IMAGEMAGICK -IMAGEMAGICK_LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6 .include "${MASTERDIR}/Makefile" diff --git a/graphics/freetype-gl/Makefile b/graphics/freetype-gl/Makefile index edee62f51539..26c711dd059e 100644 --- a/graphics/freetype-gl/Makefile +++ b/graphics/freetype-gl/Makefile @@ -1,57 +1,56 @@ PORTNAME= freetype-gl DISTVERSION= g20210208 PORTREVISION= 3 CATEGORIES= graphics PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= a38359cdcd97bfcf5d02dd65c66f516eac8208ad.patch:-p1 # https://github.com/rougier/freetype-gl/pull/233: Remove the STATIC requirement from the library PATCHFILES+= 00a13d4c9e31f9c4e68e8ab30e2f7ec5b0e4bf60.patch:-p1 # https://github.com/rougier/freetype-gl/pull/235: Fix Fontconfig dependency name in demos MAINTAINER= yuri@FreeBSD.org COMMENT= C OpenGL Freetype engine library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 -TEST_DEPENDS= ImageMagick${IMAGEMAGICK_DEFAULT}-nox11>0:graphics/ImageMagick${IMAGEMAGICK_DEFAULT}-nox11 -USES= cmake:noninja gl +USES= cmake:noninja gl magick:test,nox11 USE_GL= glew USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= rougier GH_TAGNAME= 647b062 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= freetype-gl_BUILD_APIDOC freetype-gl_BUILD_TESTS LDFLAGS+= -L${LOCALBASE}/lib -lGLEW -lfreetype # https://github.com/rougier/freetype-gl/issues/236 OPTIONS_DEFINE= DEMOS OPTIONS_SUB= yes DEMOS_DESC= Build and install demo programs DEMOS_USE= GL=gl,glu DEMOS_CMAKE_BOOL= freetype-gl_BUILD_DEMOS DEMOS_LIB_DEPENDS= libAntTweakBar.so:graphics/anttweakbar \ libfontconfig.so:x11-fonts/fontconfig \ libglfw.so:graphics/glfw post-patch-DEMOS-on: @${REINPLACE_CMD} -i '' 's|"data/|"${DATADIR}/data/|g ; s|"fonts/|"${DATADIR}/fonts/|g ; s|"shaders/|"${DATADIR}/shaders/|g' ${WRKSRC}/demos/*.c do-test: # build breaks: https://github.com/rougier/freetype-gl/issues/234 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -Dfreetype-gl_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test do-install-DEMOS-on: .for e in ansi atb-agg benchmark cartoon console cube distance-field distance-field-2 distance-field-3 embedded-font font gamma glyph lcd markup outline subpixel texture ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/demos/${e} ${STAGEDIR}${PREFIX}/bin/ftgl-demo-${e} .endfor cd ${BUILD_WRKSRC}/demos && ${COPYTREE_SHARE} "data fonts shaders" ${STAGEDIR}${DATADIR} .include diff --git a/graphics/gimp-gmic-plugin/Makefile b/graphics/gimp-gmic-plugin/Makefile index fdc85bb1dbfc..1bcfc3d48eda 100644 --- a/graphics/gimp-gmic-plugin/Makefile +++ b/graphics/gimp-gmic-plugin/Makefile @@ -1,73 +1,72 @@ PORTNAME= gmic PORTVERSION= 1.6.9 PORTREVISION= 34 CATEGORIES= graphics MASTER_SITES= http://gmic.eu/files/source/ PKGNAMEPREFIX= gimp- PKGNAMESUFFIX= -plugin DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= rm@FreeBSD.org COMMENT= GREYC's Magic Image Converter BROKEN= OpenCV4 no longer ships OpencCV-1.0 headers LIB_DEPENDS= libGraphicsMagick++.so:graphics/GraphicsMagick \ libOpenEXR.so:graphics/openexr \ libopencv_video.so:graphics/opencv \ - libMagick++-6.so:graphics/ImageMagick6 \ libavcodec.so:multimedia/ffmpeg \ libfftw3.so:math/fftw3 \ libgimp-2.0.so:graphics/gimp-app \ libcurl.so:ftp/curl OPTIONS_DEFINE= BASH EXAMPLES OPTIONS_SUB= yes BASH_RUN_DEPENDS= bash:shells/bash WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src -USES= dos2unix gmake gnome localbase pkgconfig xorg +USES= dos2unix gmake gnome localbase magick:6 pkgconfig xorg USE_GCC= yes USE_GNOME= gtk20 USE_XORG= x11 xext xrandr DOS2UNIX_FILES= Makefile PLUGIN_DIR?= libexec/gimp/2.2/plug-ins PLIST_SUB+= PLUGIN_DIR=${PLUGIN_DIR} CFLAGS:= ${CFLAGS:N-O*:N-pipe} CXXFLAGS:= ${CXXFLAGS:N-O*:N-pipe} DOTLESS_VER= ${PORTVERSION:S/.//g} PLIST_FILES= bin/gmic \ man/man1/gmic.1.gz \ %%BASH%%etc/bash_completion.d/gmic \ %%PLUGIN_DIR%%/gmic_gimp \ %%PLUGIN_DIR%%/cli_update${DOTLESS_VER}.gmic \ %%PLUGIN_DIR%%/gimp_update${DOTLESS_VER}.gmic EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} PORTEXAMPLES= gmic_in_script.scm gmic_use_lib.cpp post-patch: @${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ -e 's#/usr/local#${LOCALBASE}#g' \ ${WRKSRC}/Makefile do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} ${INSTALL_DATA} ${WRKSRC}/../resources/cli_update${DOTLESS_VER}.gmic \ ${WRKSRC}/../resources/gimp_update${DOTLESS_VER}.gmic \ ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} do-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/gmic .include diff --git a/graphics/gscan2pdf/Makefile b/graphics/gscan2pdf/Makefile index b8988f7cbc64..4cb686ca6c48 100644 --- a/graphics/gscan2pdf/Makefile +++ b/graphics/gscan2pdf/Makefile @@ -1,81 +1,79 @@ # Created by: Andrew Pantyukhin PORTNAME= gscan2pdf PORTVERSION= 2.12.4 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= cmt@FreeBSD.org COMMENT= Produce PDF from scanned documents LICENSE= GPLv3 BUILD_DEPENDS= p5-Config-General>=2.40:devel/p5-Config-General \ p5-Glib>=1.210:devel/p5-Glib \ p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \ p5-Log-Log4perl>0:devel/p5-Log-Log4perl \ p5-Readonly>0:devel/p5-Readonly \ - ImageMagick6>0:graphics/ImageMagick6 \ p5-Image-Sane>=0.14:graphics/p5-Image-Sane \ p5-Set-IntSpan>=1.10:math/p5-Set-IntSpan \ p5-List-MoreUtils>0:lang/p5-List-MoreUtils \ p5-Try-Tiny>0:lang/p5-Try-Tiny \ bash:shells/bash \ p5-PDF-Builder>0:textproc/p5-PDF-Builder \ p5-Gtk3>=0.028:x11-toolkits/p5-Gtk3 \ p5-Gtk3-ImageView>0:x11-toolkits/p5-Gtk3-ImageView \ p5-Gtk3-SimpleList>=0.17:x11-toolkits/p5-Gtk3-SimpleList \ p5-Goo-Canvas2>=0.06:devel/p5-Goo-Canvas2 RUN_DEPENDS:= p5-Proc-ProcessTable>0:devel/p5-Proc-ProcessTable \ xdg-open:devel/xdg-utils \ cjb2:graphics/djvulibre \ scanimage:graphics/sane-backends \ unpaper:graphics/unpaper \ - ImageMagick6>0:graphics/ImageMagick6 \ p5-HTML-Parser>0:www/p5-HTML-Parser \ p5-Filesys-Df>0.92:sysutils/p5-Filesys-Df \ p5-Data-UUID>=1.220:devel/p5-Data-UUID \ p5-Date-Calc>=6.4:devel/p5-Date-Calc \ p5-Config-General>=2.40:devel/p5-Config-General \ p5-Glib>=1.210:devel/p5-Glib \ p5-Locale-Codes>0:misc/p5-Locale-Codes \ p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \ p5-Log-Log4perl>0:devel/p5-Log-Log4perl \ p5-Readonly>0:devel/p5-Readonly \ p5-Graphics-TIFF>0:graphics/p5-Graphics-TIFF \ p5-Image-PNG-Libpng>0:graphics/p5-Image-PNG-Libpng \ p5-Image-Sane>=0.14:graphics/p5-Image-Sane \ p5-Set-IntSpan>=1.10:math/p5-Set-IntSpan \ p5-List-MoreUtils>0:lang/p5-List-MoreUtils \ p5-Try-Tiny>0:lang/p5-Try-Tiny \ p5-PDF-Builder>0:textproc/p5-PDF-Builder \ p5-Gtk3>=0.028:x11-toolkits/p5-Gtk3 \ p5-Gtk3-ImageView>0:x11-toolkits/p5-Gtk3-ImageView \ p5-Gtk3-SimpleList>=0.17:x11-toolkits/p5-Gtk3-SimpleList \ p5-Goo-Canvas2>=0.06:devel/p5-Goo-Canvas2 \ p5-Gtk2-Ex-PodViewer>0:x11-toolkits/p5-Gtk2-Ex-PodViewer NO_ARCH= yes -USES= desktop-file-utils gettext gmake gnome perl5 tar:xz +USES= desktop-file-utils gettext gmake gnome magick:6,build,run perl5 tar:xz USE_GNOME= gtk30 librsvg2 USE_PERL5= configure OPTIONS_MULTI= OCR OPTIONS_MULTI_OCR= GOCR TESSERACT OPTIONS_DEFAULT= GOCR GOCR_DESC= OCR program developed under GPL GOCR_RUN_DEPENDS= gocr:graphics/gocr OCR_DESC= Optical Character Recognition TESSERACT_DESC= OCR engine developed at Google TESSERACT_RUN_DEPENDS= tesseract:graphics/tesseract post-patch: @${REINPLACE_CMD} -e \ 's|$$sharedir/man|$$prefixdir/man| ; \ s|1p|1|' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e \ 's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/bin/${PORTNAME} .include diff --git a/graphics/hdr_tools/Makefile b/graphics/hdr_tools/Makefile index 9c184e681ee2..3696c59d9b11 100644 --- a/graphics/hdr_tools/Makefile +++ b/graphics/hdr_tools/Makefile @@ -1,46 +1,45 @@ # Created by: Alexey Dokuchaev PORTNAME= hdr_tools PORTVERSION= 0.0.2010.11.23 # unspecified by the author, so use the date PORTREVISION= 18 CATEGORIES= graphics MASTER_SITES= http://ttic.uchicago.edu/~cotter/projects/hdr_tools/archives/ \ http://freebsd.nsu.ru/distfiles/ DISTNAME= hdr_src MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line tools for creating and manipulating HDR images LICENSE= GPLv3 LIB_DEPENDS= libpopt.so:devel/popt \ libtiff.so:graphics/tiff \ libOpenEXR.so:graphics/openexr \ - libMagick++-6.so:graphics/ImageMagick6 -USES= compiler:c++11-lang gmake pkgconfig tar:tgz +USES= compiler:c++11-lang gmake magick:6 pkgconfig tar:tgz NO_WRKSUBDIR= yes PROGRAMS= hdr_adjust hdr_convert hdr_create hdr_denoise hdr_fix_ca \ hdr_squish PLIST_FILES= ${PROGRAMS:S,^,bin/,} .include .if ${MACHINE_CPU:Msse2} CXXFLAGS+= -msse2 -mfpmath=sse .endif .if ${COMPILER_FEATURES:Mopenmp} CXXFLAGS+= -fopenmp .endif post-patch: @${REINPLACE_CMD} -e 's,RGBColorspace,s&,' ${WRKSRC}/image.cc do-install: ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} \ ${STAGEDIR}/${PREFIX}/bin .include diff --git a/graphics/imageindex/Makefile b/graphics/imageindex/Makefile index 9eaaa8ffc532..195fb53c5f6f 100644 --- a/graphics/imageindex/Makefile +++ b/graphics/imageindex/Makefile @@ -1,33 +1,32 @@ # Created by: John Reynolds PORTNAME= imageindex PORTVERSION= 2.0 PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.edwinh.org/imageindex/release/ \ http://www.reynoldsnet.org/imageindex/release/ MAINTAINER= johnjen@reynoldsnet.org COMMENT= Digital photo gallery tool -RUN_DEPENDS= convert:graphics/ImageMagick6 \ - mplayer:multimedia/mplayer \ +RUN_DEPENDS= mplayer:multimedia/mplayer \ p5-Image-Info>=0:graphics/p5-Image-Info -USES= jpeg perl5 +USES= jpeg magick:6,run perl5 USE_PERL5= run MAKE_ARGS+= PERLPATH=${PERL} PREFIX=${STAGEDIR}${PREFIX} PLIST_FILES= bin/imageindex bin/autocaption \ man/man1/imageindex.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/Makefile post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index ceecb66ab1cc..9451ba0284ce 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,116 +1,116 @@ # Created by: Alexander Nedotsukov PORTNAME= inkscape DISTVERSION= 1.1 PORTREVISION= 6 CATEGORIES= graphics gnome MASTER_SITES= https://inkscape.org/gallery/item/26932/ MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor 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= ${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs LIB_DEPENDS= libpopt.so:devel/popt \ libgc.so:devel/boehm-gc \ libgdl-3.so:x11-toolkits/gdl \ libgsl.so:math/gsl \ libgtkspell3-3.so:textproc/gtkspell3 \ liblcms2.so:graphics/lcms2 \ libfribidi.so:converters/fribidi \ libaspell.so:textproc/aspell \ 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 \ libenchant-2.so:textproc/enchant2 \ libyaml.so:textproc/libyaml \ libdouble-conversion.so:devel/double-conversion \ lib2geom.so:math/lib2geom RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} \ ps2pdf:print/ghostscript9-agpl-base \ fig2dev:print/fig2dev USES= compiler:c++11-lib cmake cpe desktop-file-utils gnome \ iconv:wchar_t jpeg pathfix pkgconfig python:3.6+ \ shebangfix tar:xz xorg USE_GNOME= gtkmm30 libxml2 libxslt USE_XORG= sm ice x11 xext USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}_2021-05-24_c4e8f9ed74 SHEBANG_FILES= share/extensions/*.py share/extensions/genpofiles.sh \ share/templates/*.py man/fix-roff-punct OPTIONS_DEFINE= OPENMP POPPLER SCRIBUS VISIO CDR DBUS WPG GVFS NLS OPTIONS_DEFAULT= POPPLER VISIO CDR WPG GM OPTIONS_DEFAULT_amd64= 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 DBUS_CMAKE_BOOL= WITH_DBUS DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus 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_LIB_DEPENDS= libMagick++-6.so:graphics/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 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/instant-meshes/Makefile b/graphics/instant-meshes/Makefile index ff2df235f08e..570b6818a674 100644 --- a/graphics/instant-meshes/Makefile +++ b/graphics/instant-meshes/Makefile @@ -1,51 +1,50 @@ PORTNAME= instant-meshes DISTVERSION= 0.0-42 DISTVERSIONSUFFIX= -g4a083f4 PORTREVISION= 12 CATEGORIES= graphics MAINTAINER= greg@unrelenting.technology COMMENT= Interactive field-aligned mesh generator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= convert:graphics/ImageMagick6 LIB_DEPENDS= libglfw.so:graphics/glfw RUN_DEPENDS= zenity:x11/zenity USES= cmake compiler:c++14-lang eigen:3 gl localbase:ldflags \ - pkgconfig xorg + magick:6,build pkgconfig xorg USE_GITHUB= yes GH_ACCOUNT= wjakob GH_TUPLE= wjakob:nanogui:2a61f03:nanogui/ext/nanogui \ wjakob:nanovg:ac15b84:nanovg/ext/nanogui/ext/nanovg \ wjakob:dset:7967ef0:dset/ext/dset \ wjakob:tbb:141b0e3:tbb/ext/tbb \ wjakob:pcg32:0ef13e6:pcg32/ext/pcg32 \ wjakob:pss:a91da33:pss/ext/pss # x11-toolkits/nanogui should be a port dependency, but current versions aren't compatible USE_GL= gl USE_XORG= x11 xcursor xi xinerama xrandr xxf86vm CMAKE_ON= NANOGUI_BUILD_PYTHON post-build: @convert -verbose -resize 500x500 -gravity center -background none -extent 512x512 \ ${WRKSRC}/resources/icon.png ${WRKDIR}/icon_512x512.png .for size in 128x128 192x192 256x256 @convert -verbose -resize ${size} ${WRKDIR}/icon_512x512.png ${WRKDIR}/icon_${size}.png .endfor .for size in 16x16 24x24 32x32 48x48 64x64 96x96 @convert -verbose -resize ${size} ${WRKDIR}/icon_512x512.png -unsharp 0x6 ${WRKDIR}/icon_${size}.png .endfor post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include ${STAGEDIR}${PREFIX}/lib .for size in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 192x192 256x256 512x512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps ${INSTALL_DATA} ${WRKDIR}/icon_${size}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}/apps/${PORTNAME}.png .endfor ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/"Instant Meshes" ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ .include diff --git a/graphics/kxstitch/Makefile b/graphics/kxstitch/Makefile index 9e06fd4ecf13..16d317c3bdda 100644 --- a/graphics/kxstitch/Makefile +++ b/graphics/kxstitch/Makefile @@ -1,24 +1,21 @@ PORTNAME= kxstitch DISTVERSION= 2.2.0 PORTREVISION= 2 MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} CATEGORIES= graphics kde MAINTAINER= kde@FreeBSD.org COMMENT= Cross stitch pattern editor -LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6 \ - libMagickCore-6.so:graphics/ImageMagick6 - -USES= cmake compiler:c++11-lang desktop-file-utils kde:5 qt:5 tar:xz \ +USES= cmake compiler:c++11-lang desktop-file-utils magick:6 kde:5 qt:5 tar:xz \ xorg USE_KDE= auth bookmarks codecs completion config configwidgets coreaddons \ i18n itemviews jobwidgets kio service solid sonnet textwidgets \ widgetsaddons xmlgui \ doctools_build USE_QT= concurrent core dbus gui network printsupport widgets x11extras \ xml \ buildtools_build qmake_build USE_XORG= ice sm x11 xext .include diff --git a/graphics/l2p/Makefile b/graphics/l2p/Makefile index 309d30a97f90..b4ee3df5ac59 100644 --- a/graphics/l2p/Makefile +++ b/graphics/l2p/Makefile @@ -1,31 +1,29 @@ PORTNAME= l2p PORTVERSION= 1.1.1 PORTREVISION= 4 CATEGORIES= graphics print perl5 MASTER_SITES= http://static.redsymbol.net/software/l2p/dist/ \ http://nivit.altervista.org/FreeBSD/ports/distfiles/ MAINTAINER= nivit@FreeBSD.org COMMENT= Create PNG images from LaTeX math expressions -RUN_DEPENDS= convert:graphics/ImageMagick6 - NO_BUILD= yes OPTIONS_DEFINE= DOCS PLIST_FILES= bin/l2p PORTDOCS= l2p.txt l2p.html SHEBANG_FILES= ${WRKSRC}/${PORTNAME} USE_PERL5= run USE_TEX= latex dvipsk -USES= perl5 shebangfix zip +USES= magick:6,run perl5 shebangfix zip do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/libboard/Makefile b/graphics/libboard/Makefile index b78b549a125b..3caf850d5873 100644 --- a/graphics/libboard/Makefile +++ b/graphics/libboard/Makefile @@ -1,43 +1,41 @@ # Created by: thierry@pompo.net PORTNAME= libboard DISTVERSION= 0.9.4 PORTREVISION= 9 CATEGORIES= graphics MAINTAINER= thierry@FreeBSD.org COMMENT= Vector graphics C++ library LICENSE= LGPL3 -LIB_DEPENDS= libMagick++-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} - -USES= cmake compiler:c++11-lang localbase +USES= cmake compiler:c++11-lang localbase magick USE_GITHUB= yes GH_ACCOUNT= c-koi GH_TAGNAME= 5b38274 USE_CXXSTD= c++11 CMAKE_ARGS= -DMYPROJ_RAN_ONCE:BOOL=YES \ -DEXECUTABLE_OUTPUT_PATH:PATH="${STAGEDIR}${EXAMPLESDIR}" USE_LDCONFIG= yes PORTDOCS= * OPTIONS_DEFINE= DOXYGEN EXAMPLES DOCS DOXYGEN_IMPLIES= DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen post-install: ${MV} ${STAGEDIR}${PREFIX}/lib/libboard.so ${STAGEDIR}${PREFIX}/lib/libboard.so.0 ${LN} -sf libboard.so.0 ${STAGEDIR}${PREFIX}/lib/libboard.so do-test: (cd ${WRKDIR} && ${WRKSRC}/bin/arithmetic bec) .for ex in 1 2 3 (cd ${WRKDIR} && ${WRKSRC}/bin/example${ex}) .endfor ${LS} -l ${WRKDIR}/arithm* ${WRKDIR}/example* .include diff --git a/graphics/meh/Makefile b/graphics/meh/Makefile index 7057c086a61b..96572333721c 100644 --- a/graphics/meh/Makefile +++ b/graphics/meh/Makefile @@ -1,37 +1,36 @@ # Created by: Mateusz Piotrowski <0mp@FreeBSD.org> PORTNAME= meh DISTVERSIONPREFIX= v DISTVERSION= 0.3-27 DISTVERSIONSUFFIX= -g69f653a CATEGORIES= graphics MAINTAINER= 0mp@FreeBSD.org COMMENT= Simple image viewer using raw XLib convert from ImageMagick LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png -RUN_DEPENDS= convert:graphics/ImageMagick7 -USES= gmake jpeg localbase xorg +USES= gmake jpeg localbase magick:7,run xorg USE_GITHUB= yes GH_ACCOUNT= jhawthorn USE_XORG= x11 xext ALL_TARGET= ${PORTNAME} LIBS+= -lgif -ljpeg -lpng -lX11 -lXext PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/share/man/man1 .include diff --git a/graphics/npretty/Makefile b/graphics/npretty/Makefile index 12cde71be02c..ea1407141dfe 100644 --- a/graphics/npretty/Makefile +++ b/graphics/npretty/Makefile @@ -1,42 +1,41 @@ # Created by: Peter Ankerstal PORTNAME= npretty DISTVERSIONPREFIX= n DISTVERSION= 0.9.3-1 PORTREVISION= 3 CATEGORIES= graphics MAINTAINER= peter@pean.org COMMENT= Simple web-gallery generator written in perl LICENSE= GPLv2 RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool \ p5-forks>=0:devel/p5-forks -LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick6 USE_GITHUB= yes GH_ACCOUNT= gammy NO_BUILD= yes -USES= perl5 shebangfix +USES= magick:6 perl5 shebangfix USE_PERL5= run SHEBANG_FILES= npretty.pl OPTIONS_DEFINE= DOCS post-patch: @ ${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" ${WRKSRC}/npretty.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/npretty.pl ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/etc/npretty ${INSTALL_DATA} ${WRKSRC}/novideo.gif ${STAGEDIR}${PREFIX}/etc/npretty ${INSTALL_DATA} ${WRKSRC}/npretty_template.tpl ${STAGEDIR}${PREFIX}/etc/npretty ${INSTALL_DATA} ${WRKSRC}/npretty.conf ${STAGEDIR}${PREFIX}/etc/npretty @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in BUGS README ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile index be09eb304439..db04c9ddcbf9 100644 --- a/graphics/opendx/Makefile +++ b/graphics/opendx/Makefile @@ -1,107 +1,106 @@ # Created by: Thomas Gellekum PORTNAME= opendx PORTVERSION= 4.4.4 PORTREVISION= 33 CATEGORIES= graphics math java MASTER_SITES= http://www.sfr-fresh.com/unix/misc/ DISTNAME= dx-${PORTVERSION} MAINTAINER= stephen@FreeBSD.org COMMENT= IBM's Open Visualization Data Explorer LICENSE= IBM-OVDX-v1 LICENSE_NAME= IBM PUBLIC LICENSE - Open Visualization Data Explorer VERSION 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ - libtiff.so:graphics/tiff \ +LIB_DEPENDS= libtiff.so:graphics/tiff \ libcdf.so:science/cdf MAKE_JOBS_UNSAFE= yes -USES= bison compiler:c++17-lang gl gmake libtool motif xorg +USES= bison compiler:c++17-lang gl gmake libtool magick:6 motif xorg USE_XORG= x11 xt xinerama xext xpm xmu sm ice USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared USE_LDCONFIG= yes CONFIGURE_ENV= ARCH=freebsd CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib NO_MTREE= yes PLIST_SUB= ARCH=freebsd PKGMESSAGE= ${WRKDIR}/pkg-message .if defined(WITH_HDF) && !defined(WITHOUT_NETCDF) IGNORE= HDF and NETCDF are conflicting .endif .if defined(WITH_HDF) LIB_DEPENDS+= libmfhdf.so:science/hdf .else CONFIGURE_ARGS+= --without-hdf .endif .if !defined(WITHOUT_NETCDF) LIB_DEPENDS+= libnetcdf.so:science/netcdf .else CONFIGURE_ARGS+= --without-netcdf .endif .if defined(WITH_JAVA) ONLY_FOR_ARCHS= i386 USE_JAVA= yes BUILD_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer RUN_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:graphics/cosmoplayer CONFIGURE_ARGS+= --with-cosmojar-path=${JAVALIBDIR}/npcosmop211.jar \ --with-java40jar-path=${JAVALIBDIR}/java40.jar \ --with-jni-path=${JAVA_HOME}/include:${JAVA_HOME}/include/freebsd PLIST_SUB+= JAVA="" DIR2PRUNE= dx/java/user dx/java/server/nets .else CONFIGURE_ARGS+= --without-javadx PLIST_SUB+= JAVA="@comment " .endif PLIST_SUB+= UNAMEP=${ARCH} .include post-patch: @${RM} ${WRKSRC}/include/stamp-h.in .for dir in doc help html man @${FIND} ${WRKSRC}/${dir} -type f | ${XARGS} \ ${REINPLACE_CMD} -e "s;/usr/lpp;${PREFIX};g" .endfor @${REINPLACE_CMD} -e "s;/usr/X11R6;${LOCALBASE};g" \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|startserver.bat||" \ ${WRKSRC}/src/uipp/java/server/Makefile.in @${REINPLACE_CMD} -e 's|$$(ARCH)|@ARCH@|' \ ${WRKSRC}/src/misc/Makefile.* @${REINPLACE_CMD} -e 's/void exit (int);/[[noreturn]] void exit (int);/' \ ${WRKSRC}/configure for f in `find ${WRKSRC} -name "*.bm"`; do \ if [ $${f%/*} != "${WRKSRC}/src/uipp/widgets" ]; then \ ${REINPLACE_CMD} -E 's/0x(..)/static_cast(0x\1)/g' $$f; \ ${REINPLACE_CMD} -E 's/static unsigned char/static char/g' $$f; \ fi; \ done post-install: @${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} .if defined(WITH_JAVA) ${CHMOD} 0775 ${STAGEDIR}${PREFIX}/dx/java/server/nets ${TOUCH} ${DIR2PRUNE:S|^|${STAGEDIR}${PREFIX}/|:S|$|/.keepme|} @${ECHO} "---------------------------------------------------------" \ >> ${PKGMESSAGE} @${ECHO} "Before starting ${PREFIX}/dx/java/server/bin/startserver" \ >> ${PKGMESSAGE} @${ECHO} "you must install the port graphics/opendx-samples." \ >> ${PKGMESSAGE} .endif @${ECHO} "---------------------------------------------------------" \ >> ${PKGMESSAGE} .include diff --git a/graphics/openfx-arena/Makefile b/graphics/openfx-arena/Makefile index e5418f8d59db..3d1f023e93af 100644 --- a/graphics/openfx-arena/Makefile +++ b/graphics/openfx-arena/Makefile @@ -1,65 +1,64 @@ PORTNAME= openfx-arena PORTVERSION= 2.3.14 DISTVERSIONPREFIX= Natron- PORTREVISION= 46 CATEGORIES= graphics MAINTAINER= olivier@FreeBSD.org COMMENT= Extra OpenFX plugins for Natron LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le BUILD_DEPENDS= opencl>=0:devel/opencl LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libfontconfig.so:x11-fonts/fontconfig \ libcdr-0.1.so:graphics/libcdr01 \ librevenge-0.0.so:textproc/librevenge \ libpoppler-glib.so:graphics/poppler-glib \ liblcms2.so:graphics/lcms2 \ - libMagick++-6.so:graphics/ImageMagick6 \ libzip.so:archivers/libzip \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libpcre.so:devel/pcre \ libffi.so:devel/libffi \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libharfbuzz.so:print/harfbuzz \ libgraphite2.so:graphics/graphite2 \ libicui18n.so:devel/icu \ liblqr-1.so:graphics/liblqr-1 \ libfftw3.so:math/fftw3 \ libltdl.so:devel/libltdl \ libpoppler.so:graphics/poppler -USES= gl gmake gnome iconv xorg +USES= gl gmake gnome iconv magick:6 xorg USE_GITHUB= yes GH_ACCOUNT= NatronGitHub GH_TUPLE= NatronGitHub:openfx-supportext:e600cae:openfx_supportext/SupportExt \ NatronGitHub:openfx:a85dc34:openfx/OpenFX \ NatronGitHub:openfx-io:Natron-2.3.12:OpenFX_IO/OpenFX-IO \ NatronGitHub:SequenceParsing:9e8b77a:SequenceParsing/OpenFX-IO/IOSupport/SequenceParsing \ NatronGitHub:tinydir:3aae922:tinydir/OpenFX-IO/IOSupport/SequenceParsing/tinydir MAKE_ENV+= CONFIG=release USE_GL= gl USE_GNOME= libxml2 pango cairo librsvg2 USE_XORG+= x11 xcb xau xdamage xfixes xxf86vm xrender xext xdmcp pixman sm ice xt MAKE_ENV+= CONFIG=release post-extract: @${RMDIR} ${WRKSRC}/OpenFX-IO/openfx ${LN} -s ../OpenFX ${WRKSRC}/OpenFX-IO/openfx post-patch: @${REINPLACE_CMD} -e 's|/usr/OFX/Plugins|${PREFIX}/OFX/Plugins|g' \ ${WRKSRC}/OpenFX/Examples/Makefile.master \ ${WRKSRC}/OpenFX/Support/Plugins/Makefile.master \ ${WRKSRC}/OpenFX/HostSupport/src/ofxhPluginCache.cpp @${REINPLACE_CMD} -e 's|/Contents/$$(ARCH)|/Contents/FreeBSD-x86-64/|g' \ ${WRKSRC}/OpenFX/Support/Plugins/Makefile.master post-install: ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/OFX/Plugins/Arena.ofx.bundle/Contents/FreeBSD-x86-64/Arena.ofx .include diff --git a/graphics/optar/Makefile b/graphics/optar/Makefile index 9f05bde159b1..2e47e3b7b978 100644 --- a/graphics/optar/Makefile +++ b/graphics/optar/Makefile @@ -1,40 +1,39 @@ # Created by: antonakis@gmail.com PORTNAME= optar PORTVERSION= 2015.02.09 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://ronja.twibright.com/ DISTNAME= ${PORTNAME} DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tool for encoding data on paper LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png -RUN_DEPENDS= convert:graphics/ImageMagick6 WRKSRC= ${WRKDIR}/optar_dist -USES= gmake tar:tgz +USES= gmake magick:6,run tar:tgz PLIST_FILES= bin/optar bin/unoptar bin/pgm2ps post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS|#CFLAGS| ; \ s|gcc |$$(CC) | ; \ s|-I/usr/local/include/libpng|$$$$(libpng-config --I_opts)| ; \ s|-L/usr/local/lib|$$$$(libpng-config --L_opts)|' \ ${WRKSRC}/Makefile do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} optar unoptar \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC} && ${INSTALL_SCRIPT} pgm2ps \ ${STAGEDIR}${PREFIX}/bin) .include diff --git a/graphics/p5-CAD-Drawing/Makefile b/graphics/p5-CAD-Drawing/Makefile index 25e0684aa6d2..1d0389dade6d 100644 --- a/graphics/p5-CAD-Drawing/Makefile +++ b/graphics/p5-CAD-Drawing/Makefile @@ -1,27 +1,26 @@ # Created by: Aaron Dalton PORTNAME= CAD-Drawing PORTVERSION= 0.26 PORTREVISION= 10 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Methods to create, load, and save vector graphics LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-CAD-Calc>=0:math/p5-CAD-Calc \ p5-Math-Geometry-Planar>=0:math/p5-Math-Geometry-Planar \ p5-Math-MatrixReal>=0:math/p5-Math-MatrixReal \ p5-Math-Vec>=0:math/p5-Math-Vec \ - p5-Stream>=0:devel/p5-Stream \ - convert:graphics/ImageMagick6 + p5-Stream>=0:devel/p5-Stream -USES= perl5 +USES= magick:6,run perl5 USE_PERL5= modbuild .include diff --git a/graphics/p5-Image-Heatmap/Makefile b/graphics/p5-Image-Heatmap/Makefile index 65d515ece604..aeb95bda30fa 100644 --- a/graphics/p5-Image-Heatmap/Makefile +++ b/graphics/p5-Image-Heatmap/Makefile @@ -1,22 +1,20 @@ # Created by: Steven Kreuzer PORTNAME= Image-Heatmap PORTVERSION= 0.565 PORTREVISION= 3 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Convert geographic coordinates into a graphical heatmap LICENSE= ART20 GPLv1 LICENSE_COMB= dual -RUN_DEPENDS= convert:graphics/ImageMagick6 - WRKSRC= ${WRKDIR}/${PORTNAME} -USES= perl5 +USES= magick:6,run perl5 USE_PERL5= configure .include diff --git a/graphics/p5-Image-Magick-Iterator/Makefile b/graphics/p5-Image-Magick-Iterator/Makefile index 4d181d79871a..5242e953e043 100644 --- a/graphics/p5-Image-Magick-Iterator/Makefile +++ b/graphics/p5-Image-Magick-Iterator/Makefile @@ -1,22 +1,21 @@ # Created by: Gea-Suan Lin PORTNAME= Image-Magick-Iterator PORTVERSION= 0.01 PORTREVISION= 9 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Sequentially read Image::Magick object from a filehandle BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= ImageMagick6>=0:graphics/ImageMagick6 \ - p5-Image-PBMlib>=1.05:graphics/p5-Image-PBMlib +RUN_DEPENDS= p5-Image-PBMlib>=1.05:graphics/p5-Image-PBMlib -USES= perl5 +USES= magick:6,build,run perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/graphics/p5-Image-OCR-Tesseract/Makefile b/graphics/p5-Image-OCR-Tesseract/Makefile index df2f7fe82066..60e594cb3fe8 100644 --- a/graphics/p5-Image-OCR-Tesseract/Makefile +++ b/graphics/p5-Image-OCR-Tesseract/Makefile @@ -1,23 +1,22 @@ PORTNAME= Image-OCR-Tesseract PORTVERSION= 1.26 CATEGORIES= graphics perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:LEOCHARRE PKGNAMEPREFIX= p5- MAINTAINER= dvl@FreeBSD.org COMMENT= Read an image with Resseract OCR and get output LICENSE= GPLv3 -MY_DEPENDS= tesseract>0:graphics/tesseract \ - ImageMagick6-nox11>0:graphics/ImageMagick6-nox11 +MY_DEPENDS= tesseract>0:graphics/tesseract BUILD_DEPENDS= ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS} -USES= perl5 +USES= magick:6,build,run,nox11 perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/graphics/pecl-imagick-im7/Makefile b/graphics/pecl-imagick-im7/Makefile index 9074c1e8a397..749ee78fde62 100644 --- a/graphics/pecl-imagick-im7/Makefile +++ b/graphics/pecl-imagick-im7/Makefile @@ -1,18 +1,18 @@ # Created by: Martin Matuska PORTREVISION= 1 PKGNAMESUFFIX= -im7 MAINTAINER= 000.fbsd@quip.cz COMMENT= PHP wrapper to the ImageMagick/GraphicsMagick library version 7 LICENSE= PHP301 MASTERDIR= ${.CURDIR}/../pecl-imagick CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME} -X11_LIB_DEPENDS?= libMagickWand-7.so:graphics/ImageMagick7 -X11_LIB_DEPENDS_OFF?= libMagickWand-7.so:graphics/ImageMagick7-nox11 +X11_USES?= magick:7 +X11_USES_OFF?= magick:7,nox11 .include "${MASTERDIR}/Makefile" diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile index 6a5ec4e4783a..681483fbfee7 100644 --- a/graphics/pecl-imagick/Makefile +++ b/graphics/pecl-imagick/Makefile @@ -1,25 +1,25 @@ # Created by: Andrey Slusar PORTNAME= imagick PORTVERSION= 3.5.1 CATEGORIES= graphics MAINTAINER= 000.fbsd@quip.cz COMMENT?= PHP wrapper to the ImageMagick/GraphicsMagick library version 6 LICENSE= PHP301 USES= cpe php:pecl localbase CPE_VENDOR= php CONFLICTS_INSTALL?= ${PKGNAMEPREFIX}${PORTNAME}-im7 OPTIONS_DEFINE= X11 -X11_LIB_DEPENDS?= libMagickWand-6.so:graphics/ImageMagick6 -X11_LIB_DEPENDS_OFF?= libMagickWand-6.so:graphics/ImageMagick6-nox11 +X11_USES?= magick:6 +X11_USES_OFF?= magick:6,nox11 CONFIGURE_ARGS= --with-imagick=${LOCALBASE} .include diff --git a/graphics/pfstools/Makefile b/graphics/pfstools/Makefile index b3b29a9530ed..eaa83e4debf1 100644 --- a/graphics/pfstools/Makefile +++ b/graphics/pfstools/Makefile @@ -1,112 +1,112 @@ # Created by: Daniel O'Connor PORTNAME= pfstools DISTVERSION= 2.1.0 PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= fbsd@any.com.ru COMMENT= Tools for manipulating HDR images and video frames LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash CONFLICTS= pfstmo-1.* pfscalibration-1.* CFLAGS+= -I${LOCALBASE}/include/Imath LDFLAGS+= -lthr USES= cmake cpe tar:tgz dos2unix jpeg perl5 USE_PERL5= run USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ -DWITH_MATLAB=OFF \ -DBASH_EXECUTABLE:STRING=${LOCALBASE}/bin/bash \ -DPERL_EXECUTABLE:STRING=${PERL} DOS2UNIX_GLOB= *.txt *.cmake \ *.h *.c *.cpp \ *.1 MANCOMPRESSED= yes OPTIONS_DEFINE= TIFF OPENEXR IMAGEMAGICK NETPBM \ OCTAVE FFTW GSL \ ALIGN GLVIEW VIEW \ OPENMP OPTIONS_DEFAULT= TIFF FFTW GSL NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OCTAVE_DESC= Compile octave interface functions GSL_DESC= Use Gnu Scientific Libarary required for some TMOs ALIGN_DESC= Compile pfsalign, requires OpenCV w/NONFREE and libexif VIEW_DESC= Compile pfsview, requires QT5 GLVIEW_DESC= Compile pfsglview, requires GLUT TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff OPENEXR_CMAKE_BOOL= WITH_OpenEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath IMAGEMAGICK_CMAKE_BOOL= WITH_ImageMagick -IMAGEMAGICK_LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6 NETPBM_CMAKE_BOOL= WITH_NetPBM NETPBM_LIB_DEPENDS= libnetpbm.so:graphics/netpbm NETPBM_IMPLIES= TIFF OCTAVE_CMAKE_BOOL= WITH_Octave OCTAVE_PATCH_DEPENDS= octave-config:math/octave OCTAVE_BUILD_DEPENDS= mkoctfile:math/octave OCTAVE_RUN_DEPENDS= octave:math/octave OCTAVE_USES= shebangfix OCTAVE_CXXFLAGS= -std=c++11 FFTW_CMAKE_BOOL= WITH_FFTW FFTW_CMAKE_ON= -DFFTW_INCLUDE_DIRS=${LOCALBASE}/include FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float GSL_CMAKE_BOOL= WITH_GSL GSL_LIB_DEPENDS= libgsl.so:math/gsl ALIGN_CMAKE_BOOL= WITH_OpenCV # requires NONFREE=on which isn't a default ALIGN_LIB_DEPENDS= libopencv_nonfree.so:graphics/opencv \ libexif.so:graphics/libexif GLVIEW_CMAKE_BOOL= WITH_pfsglview GLVIEW_CMAKE_ON= -DGLUT_INCLUDE_DIRS=${LOCALBASE}/include GLVIEW_USES= gl GLVIEW_USE= GL=glut GL=gl,glu VIEW_CMAKE_BOOL= WITH_QT VIEW_USES= gl qt:5 VIEW_USE= GL=glut GL=gl,glu QT=core,gui,widgets,buildtools_build,qmake_build .include .if ${PORT_OPTIONS:MIMAGEMAGICK} && !${PORT_OPTIONS:MOPENMP} USES+= compiler:c++11-lib .endif .if ${PORT_OPTIONS:MOCTAVE} OCTAVE_BASE?= ${LOCALBASE} OCTAVE_VERSION!=${OCTAVE_BASE}/bin/octave-config -v 2>&1 || ${ECHO} "0" OCTAVE_SITE_OCT!=${OCTAVE_BASE}/bin/octave-config --oct-site-dir 2>&1 || ${ECHO} "" OCTAVE_SITE_M!= ${OCTAVE_BASE}/bin/octave-config --m-site-dir 2>&1 || ${ECHO} "" PLIST_SUB= OCTAVE_BASE=${OCTAVE_BASE} \ OCTAVE_SITE_M=${OCTAVE_SITE_M:S|^${OCTAVE_BASE}/||} \ OCTAVE_SITE_OCT=${OCTAVE_SITE_OCT:S|^${OCTAVE_BASE}/||} SHEBANG_FILES= src/octave/pfs* SHEBANG_LANG= octave octave_OLD_CMD?=/usr/bin/octave octave_CMD?= ${OCTAVE_BASE}/bin/octave-cli .endif .include diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile index 77f9aa76978d..bbfb754e3df7 100644 --- a/graphics/pqiv/Makefile +++ b/graphics/pqiv/Makefile @@ -1,86 +1,86 @@ # Created by: Martin Tournoij PORTNAME= pqiv PORTVERSION= 2.12 PORTREVISION= 6 CATEGORIES= graphics MAINTAINER= danilo@FreeBSD.org COMMENT= Pretty Quick Image Viewer LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 BUILD_DEPENDS= bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= phillipberndt OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 OPTIONS_GROUP= BACKENDS OPTIONS_GROUP_BACKENDS= LIBARCHIVE LIBAV PIXBUF POPPLER SPECTRE WAND WEBP LIBARCHIVE_DESC= Libarchive formats support LIBAV_DESC= Video support SPECTRE_DESC= PS/EPS support WAND_DESC= ImageMagick image processing support OPTIONS_DEFAULT= GTK2 PIXBUF USES= compiler gettext-runtime gmake gnome pkgconfig xorg USE_XORG= x11 USE_GNOME= cairo gdkpixbuf2 HAS_CONFIGURE= yes LIBARCHIVE_CONFIGURE_WITH= archive archive_cbx LIBARCHIVE_USES= libarchive LIBAV_CONFIGURE_WITH= libav LIBAV_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg PIXBUF_CONFIGURE_WITH= gdkpixbuf POPPLER_CONFIGURE_WITH= poppler POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib SPECTRE_CONFIGURE_WITH= spectre SPECTRE_LIB_DEPENDS= libspectre.so:print/libspectre WAND_CONFIGURE_WITH= wand -WAND_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 +WAND_USES= magick:6 WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp GTK2_CONFIGURE_ON= --gtk-version=2 GTK2_USE= GNOME=gtk20 GTK3_CONFIGURE_ON= --gtk-version=3 GTK3_USE= GNOME=gtk30 MAKEFILE= GNUmakefile PORTDOCS= README.markdown PLIST_FILES= bin/pqiv man/man1/pqiv.1.gz .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \ -e '/PQIV_DISABLE_PEDANTIC/d' \ -e '/PQIV_ENABLE_PEDANTIC/d' \ ${WRKSRC}/pqiv.c .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pqiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile index 188a3f6049d9..1dfaa1dc90a8 100644 --- a/graphics/pstoedit/Makefile +++ b/graphics/pstoedit/Makefile @@ -1,66 +1,66 @@ # Created by: Thomas Gellekum PORTNAME= pstoedit PORTVERSION= 3.70 PORTREVISION= 11 CATEGORIES= graphics print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Convert PostScript to other vector graphic formats LICENSE= GPLv2+ LIB_DEPENDS= libgd.so:graphics/gd \ libzip.so:archivers/libzip USES= ghostscript libtool localbase pathfix pkgconfig GNU_CONFIGURE= yes MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}" USE_LDCONFIG= yes 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 EMF_LIB_DEPENDS= libEMF.so:graphics/libemf EMF_CONFIGURE_ON= --with-libemf-include=${LOCALBASE}/include/libEMF EMF_CONFIGURE_OFF= --without-emf -MAGICK_LIB_DEPENDS= libMagick++-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +MAGICK_USES= magick MAGICK_CONFIGURE_ON= --with-magick MAGICK_CONFIGURE_OFF= --without-magick MING_DESC= Flash support via Ming MING_LIB_DEPENDS= libming.so:graphics/ming MING_CONFIGURE_ON= --with-swf MING_CONFIGURE_OFF= --without-swf PLOTUTILS_DESC= Plotting support via Plotutils 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/py-sorl-thumbnail/Makefile b/graphics/py-sorl-thumbnail/Makefile index 8dd61f6edfd2..3de3a44654de 100644 --- a/graphics/py-sorl-thumbnail/Makefile +++ b/graphics/py-sorl-thumbnail/Makefile @@ -1,53 +1,53 @@ # Created by: Kevin Golding PORTNAME= sorl-thumbnail PORTVERSION= 12.6.3 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= PILLOW OPTIONS_SINGLE= IMAGELIB OPTIONS_GROUP= CACHING OPTIONS_SINGLE_IMAGELIB= GRAPHICSMAGICK IMAGEMAGICK PILLOW WAND OPTIONS_GROUP_CACHING= REDIS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" GRAPHICSMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/gm:graphics/GraphicsMagick -IMAGEMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6,run PILLOW_RUN_DEPENDS= ${PY_PILLOW} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR} WAND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR} GRAPHICSMAGICK_DESC= Use GraphicsMagick for image processing (faster) IMAGEMAGICK_DESC= Use ImageMagick for image processing PILLOW_DESC= Use internal image processing REDIS_DESC= Use REDIS as Key Value Store WAND_DESC= Use Wand with ImageMagick post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include diff --git a/graphics/py-wand/Makefile b/graphics/py-wand/Makefile index 47aabe40bf95..84ae2963cfa4 100644 --- a/graphics/py-wand/Makefile +++ b/graphics/py-wand/Makefile @@ -1,42 +1,42 @@ PORTNAME= Wand PORTVERSION= 0.6.7 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ctypes-based simple MagickWand API binding for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= X11 OPTIONS_SINGLE= IMAGEMAGICK OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7 OPTIONS_DEFAULT=IMAGEMAGICK7 X11 IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6*) IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7*) .include .if ${PORT_OPTIONS:MX11} .if ${PORT_OPTIONS:MIMAGEMAGICK7} -LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7 +USES= magick:7 .else -LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 +USES= magick:6 .endif .else .if ${PORT_OPTIONS:MIMAGEMAGICK7} -LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7-nox11 +USES= magick:7,nox11 .else -LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6-nox11 +USES= magick:6,nox11 .endif .endif .include diff --git a/graphics/raster3d/Makefile b/graphics/raster3d/Makefile index 769b85733dcc..7ec93c25dcf8 100644 --- a/graphics/raster3d/Makefile +++ b/graphics/raster3d/Makefile @@ -1,68 +1,68 @@ # Created by: Shaun Amott PORTNAME= raster3d DISTVERSION= 3.0.7 CATEGORIES= graphics biology MASTER_SITES= http://skuld.bmsc.washington.edu/${PORTNAME}/ DISTNAME= Raster3D_${DISTVERSION:R}-${DISTVERSION:E} MAINTAINER= yuri@FreeBSD.org COMMENT= Set of tools for generating raster images of proteins and molecules LICENSE= ART20 LIB_DEPENDS= libgd.so:graphics/gd \ libtiff.so:graphics/tiff USES= fortran MAKE_ARGS= INCDIRS="-I${LOCALBASE}/include" LIBDIRS="-L${LOCALBASE}/lib" \ CC="${CC}" CFLAGS="${CFLAGS}" FC="${FC}" FFLAGS="${FFLAGS}" \ RM="${RM}" OS="${OPSYS}" MAKE_JOBS_UNSAFE= yes CFLAGS+= -DLINUX -DNETWORKBYTEORDER -Dgfortran FFLAGS+= -std=legacy -fno-range-check -ffixed-line-length-132 PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= IMAGEMAGICK DOCS EXAMPLES OPTIONS_DEFAULT=IMAGEMAGICK OPTIONS_SUB= yes -IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6,run .include .if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10 FFLAGS+= -fallow-invalid-boz .endif pre-build: # generation of Makefile.incl has to be separate from 'make all', otherwise the generated Makefile.incl isn't read by 'make all' @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} linux do-install: .for f in avs2ps balls normal3d rastep render ribbon rings3d rods ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_SCRIPT} ${WRKSRC}/worms ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/*.l ${STAGEDIR}${MANLPREFIX}/man/manl @${MKDIR} ${STAGEDIR}${DATADIR}/materials ${INSTALL_DATA} ${WRKSRC}/materials/* ${STAGEDIR}${DATADIR}/materials do-install-IMAGEMAGICK-on: .for f in label3d stereo3d ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/R3D_manual.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} @${RM} -r ${STAGEDIR}${EXAMPLESDIR}/msms/CVS .include diff --git a/graphics/reallyslick/Makefile b/graphics/reallyslick/Makefile index 875b484b8715..f99bb5d44407 100644 --- a/graphics/reallyslick/Makefile +++ b/graphics/reallyslick/Makefile @@ -1,40 +1,39 @@ # Created by: David Yeske PORTNAME= reallyslick PORTVERSION= 0.9.1 PORTREVISION= 23 CATEGORIES= graphics MASTER_SITES= SF/rss-glx/rss-glx/${PORTVERSION} DISTNAME= rss-glx_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL screensaver collection -LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ - libGLC.so:graphics/quesoglc +LIB_DEPENDS= libGLC.so:graphics/quesoglc -USES= compiler:c++11-lang gl gmake pathfix pkgconfig tar:bzip2 libtool +USES= compiler:c++11-lang gl gmake magick:6 pathfix pkgconfig tar:bzip2 libtool USE_GL= glut GNU_CONFIGURE= yes CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lXext OPTIONS_DEFINE= FREEALUT GLEW FREEALUT_DESC= Enable freealut support FREEALUT_CONFIGURE_ENABLE= sound FREEALUT_USES= openal:alut FREEALUT_LDFLAGS= ${_FREEALUT_LDFLAGS_${ARCH}} _FREEALUT_LDFLAGS_i386= -Wl,-znotext GLEW_DESC= Enable GLEW support GLEW_USE= GL=glew GLEW_CONFIGURE_ENV_OFF= ac_cv_header_GL_glew_h=no post-patch: @${REINPLACE_CMD} '/LINK.*pixelcity/s/LINK/CXXLINK/' ${WRKSRC}/src/Makefile.in .include diff --git a/graphics/recoverjpeg/Makefile b/graphics/recoverjpeg/Makefile index e8c09d240250..f349f156dedb 100644 --- a/graphics/recoverjpeg/Makefile +++ b/graphics/recoverjpeg/Makefile @@ -1,23 +1,22 @@ # Created by: Emanuel Haupt PORTNAME= recoverjpeg PORTVERSION= 2.6.3 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://rfc1149.net/download/${PORTNAME}/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Recoverjpeg tries to recover JFIF (JPEG) pictures from a peripheral LICENSE= GPLv2 -RUN_DEPENDS= exif:graphics/exif \ - identify:graphics/ImageMagick6 +RUN_DEPENDS= exif:graphics/exif -USES= python shebangfix +USES= magick:6,run python shebangfix GNU_CONFIGURE= yes SHEBANG_FILES= scripts/remove-duplicates .include diff --git a/graphics/renrot/Makefile b/graphics/renrot/Makefile index ab78167412ea..761c1a5fbdec 100644 --- a/graphics/renrot/Makefile +++ b/graphics/renrot/Makefile @@ -1,36 +1,36 @@ # Created by: Alexey Dokuchaev PORTNAME= renrot PORTVERSION= 1.2.0 PORTREVISION= 1 CATEGORIES= graphics perl5 MASTER_SITES= ftp://download.gnu.org.ua/pub/release/${PORTNAME}/ MAINTAINER= zeus@gnu.org.ua COMMENT= Program to rename and rotate image files according to EXIF tags LICENSE= ART20 BUILD_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 jpeg:run USE_PERL5= configure PORTDOCS= AUTHORS README README.russian ChangeLog NEWS TODO OPTIONS_DEFINE= IMAGEMAGICK DOCS IMAGEMAGICK_DESC= Image::Magick Perl module support -IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6,run post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} .for conf in colors.conf copyright.tag renrot.conf tags.conf ${INSTALL_DATA} ${WRKSRC}/etc/${conf} \ ${STAGEDIR}${ETCDIR}/${conf}.sample .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/rubygem-mini_magick/Makefile b/graphics/rubygem-mini_magick/Makefile index 375e4d7cbefe..e1ebe0aea091 100644 --- a/graphics/rubygem-mini_magick/Makefile +++ b/graphics/rubygem-mini_magick/Makefile @@ -1,42 +1,42 @@ # Created by: Ryan Steinmetz PORTNAME= mini_magick PORTVERSION= 4.10.1 CATEGORIES= graphics rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Manipulate images with minimal use of memory via ImageMagick LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE OPTIONS_DEFINE= X11 OPTIONS_SINGLE= IMAGEMAGICK OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7 OPTIONS_DEFAULT=IMAGEMAGICK7 X11 IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6*) IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7*) USES= gem USE_RUBY= yes NO_ARCH= yes .include .if ${PORT_OPTIONS:MX11} .if ${PORT_OPTIONS:MIMAGEMAGICK7} -RUN_DEPENDS+= convert:graphics/ImageMagick7 +USES+= magick:7 .else -RUN_DEPENDS+= convert:graphics/ImageMagick6 +USES+= magick:6 .endif .else .if ${PORT_OPTIONS:MIMAGEMAGICK7} -RUN_DEPENDS+= convert:graphics/ImageMagick7-nox11 +USES+= magick:7,nox11 .else -RUN_DEPENDS+= convert:graphics/ImageMagick6-nox11 +USES+= magick:6,nox11 .endif .endif .include diff --git a/graphics/rubygem-rmagick/Makefile b/graphics/rubygem-rmagick/Makefile index cd8391fc61fd..924a7c125c43 100644 --- a/graphics/rubygem-rmagick/Makefile +++ b/graphics/rubygem-rmagick/Makefile @@ -1,22 +1,22 @@ PORTNAME= rmagick PORTVERSION= 2.16.0 PORTREVISION= 6 CATEGORIES= graphics rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby binding for ImageMagick LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gem pkgconfig USE_RUBY= yes OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 -X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 -X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick6-nox11 +X11_USES= magick:6 +X11_USES_OFF= magick:6,nox11 .include diff --git a/graphics/s2tc/Makefile b/graphics/s2tc/Makefile index e8e4bc9e5264..3d3f58b9b06f 100644 --- a/graphics/s2tc/Makefile +++ b/graphics/s2tc/Makefile @@ -1,33 +1,32 @@ # Created by: David Naylor PORTNAME= s2tc PORTVERSION= 1.0+20151228 PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Subset of a well-known texture compression scheme LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libglvnd>=0:graphics/libglvnd -TEST_DEPENDS= convert:graphics/ImageMagick6 \ - nvcompress:graphics/nvidia-texture-tools \ +TEST_DEPENDS= nvcompress:graphics/nvidia-texture-tools \ wget:ftp/wget -USES= autoreconf libtool pathfix +USES= autoreconf libtool magick:6,test pathfix USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= divVerent GH_TAGNAME= f6ec862 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include do-test: (cd ${WRKSRC}/tests; ${SETENV} use_external=false use_nvcompress=true ${SH} test.sh) .include diff --git a/graphics/synfig/Makefile b/graphics/synfig/Makefile index 7c6f144ca011..98938a69cbcf 100644 --- a/graphics/synfig/Makefile +++ b/graphics/synfig/Makefile @@ -1,58 +1,57 @@ # Created by: Yinghong.Liu PORTNAME= synfig PORTVERSION= 1.2.2 DISTVERSIONPREFIX=v PORTREVISION= 17 CATEGORIES= graphics devel multimedia MAINTAINER= portmaster@BSDforge.com COMMENT= Vector based 2D animation package LICENSE= GPLv2+ BUILD_DEPENDS= etl>=1.2.2:devel/etl \ gsed:textproc/gsed LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ - libMagickWand-6.so:graphics/ImageMagick6 \ libavcodec.so:multimedia/ffmpeg \ libboost_program_options.so:devel/boost-libs \ libdv.so:multimedia/libdv \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libltdl.so:devel/libltdl \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libtiff.so:graphics/tiff PORTSCOUT= limitw:1,even USES= autoreconf compiler:c++11-lang gmake gnome iconv jpeg \ - libtool localbase mlt:6 pathfix pkgconfig + libtool localbase magick:6 mlt:6 pathfix pkgconfig USE_CXXSTD= c++11 USE_GITHUB= yes USE_GNOME= cairo glibmm intltool libxml++26 pango GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} CONFIGURE_ENV+= ac_cv_path_SED=${LOCALBASE}/bin/gsed # Other spurious uses of direct sed have popped up BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed INSTALL_TARGET= install-strip USE_LDCONFIG= yes WRKSRC_SUBDIR= synfig-core OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/graphics/synfigstudio/Makefile b/graphics/synfigstudio/Makefile index 8759f78f8d9d..6164356c54c0 100644 --- a/graphics/synfigstudio/Makefile +++ b/graphics/synfigstudio/Makefile @@ -1,57 +1,56 @@ # Created by: Yinghong.Liu PORTNAME= synfigstudio PORTVERSION= 1.2.2 DISTVERSIONPREFIX=v PORTREVISION= 17 CATEGORIES= graphics multimedia MAINTAINER= portmaster@BSDforge.com COMMENT= Vector-based 2D animation software package LICENSE= GPLv2+ BUILD_DEPENDS= etl>=1.2.2:devel/etl \ gsed:textproc/gsed LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ - libMagick++-6.so:graphics/ImageMagick6 \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libsynfig.so:graphics/synfig RUN_DEPENDS= xdg-open:devel/xdg-utils PORTSCOUT= limitw:1,even USES= autoreconf compiler:c++11-lang desktop-file-utils \ - gmake gnome libtool localbase mlt:6 pathfix pkgconfig \ + gmake gnome libtool localbase magick:6 mlt:6 pathfix pkgconfig \ shared-mime-info USE_GITHUB= yes GH_ACCOUNT= synfig GH_PROJECT= synfig WRKSRC_SUBDIR= synfig-studio USE_CXXSTD= c++11 USE_GNOME= gtkmm30 intltool GNU_CONFIGURE= yes BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed CONFIGURE_ARGS= --disable-update-mimedb INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS JACK NLS OPTIONS_SUB= yes JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/graphics/ttygif/Makefile b/graphics/ttygif/Makefile index 2d125fc70826..edd48b28181e 100644 --- a/graphics/ttygif/Makefile +++ b/graphics/ttygif/Makefile @@ -1,27 +1,25 @@ PORTNAME= ttygif PORTVERSION= 1.4.0 PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= olivier@FreeBSD.org COMMENT= Converts a ttyrec file into animated gif LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= convert:graphics/ImageMagick6 - USE_GITHUB= yes GH_ACCOUNT= icholy -USES= gmake +USES= gmake magick:6,run PLIST_FILES= bin/${PORTNAME} post-patch: @${REINPLACE_CMD} 's:gcc:${CC}:' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/graphics/variety/Makefile b/graphics/variety/Makefile index 949fd144b4ac..97425ec3bc84 100644 --- a/graphics/variety/Makefile +++ b/graphics/variety/Makefile @@ -1,56 +1,55 @@ # Created by: Nicola Vitale PORTNAME= variety PORTVERSION= 0.8.5 CATEGORIES= graphics MAINTAINER= nivit@FreeBSD.org COMMENT= Wallpaper changer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-distutils-extra>=2.38:devel/py-python-distutils-extra@${PY_FLAVOR} LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 \ libnotify.so:devel/libnotify RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.3.2:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairo>=1.10.0:graphics/py-cairo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-configobj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=1.1.1_1:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=3.4.1_1:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ bash>=4.3.33:shells/bash \ ca_root_nss>=3.17.4:security/ca_root_nss \ coreutils>=8.23:sysutils/coreutils \ - ImageMagick6>=6.9.0.4,1:graphics/ImageMagick6 \ yelp>=3.14.1:x11/yelp -USES= desktop-file-utils gettext-tools gnome python:3.5+ shebangfix +USES= desktop-file-utils gettext-tools gnome magick:6,run python:3.5+ shebangfix USE_GITHUB= yes GH_ACCOUNT= varietywalls USE_GNOME= gdkpixbuf2 gtk30 intltool pygobject3:run USE_PYTHON= autoplist distutils noflavors SHEBANG_FILES= bin/variety data/scripts/* post-patch: @(cd ${WRKSRC} && ${REINPLACE_CMD} \ -i '' \ -E -e 's,%%LOCALBASE%%,${LOCALBASE},1' \ -e 's,%%PREFIX%%,${PREFIX},1' \ -e 's,/usr(/share/backgrounds),${LOCALBASE}\1,1' \ data/config/variety.conf po/*.po* \ data/ui/PreferencesVarietyDialog.ui \ variety/Options.py variety/ThumbsWindow.py \ variety/__init__.py variety/VarietyWindow.py) .include # PYDISTUTILS_INSTALLNOSINGLE is deprecated so... PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed} .include diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile index 9baf0b3a7971..628508884fde 100644 --- a/graphics/vips/Makefile +++ b/graphics/vips/Makefile @@ -1,104 +1,104 @@ # Created by: Lev Serebryakov PORTNAME= vips PORTVERSION= 8.12.0 CATEGORIES= graphics MASTER_SITES= https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Free image processing system LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= bash:shells/bash USES= compiler:c++11-lang cpe gettext gmake gnome libtool localbase pathfix pkgconfig python shebangfix USE_GNOME= glib20 CONFIGURE_ARGS= --disable-introspection \ --without-doxygen \ --without-imagequant \ --without-nifti \ --without-openslide \ --without-pdfium GNU_CONFIGURE= yes USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION:R} SHEBANG_FILES= tools/vips-${PORTVERSION:R} tools/vipsprofile OPTIONS_DEFINE= CFITSIO DEBUG DOCS FFTW GIF GSF HEIF JPEG LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11 OPTIONS_RADIO= MAGICK OPTIONS_RADIO_MAGICK= IMAGEMAGICK GRAPHMAGICK OPTIONS_DEFAULT=CFITSIO FFTW GIF GSF HEIF IMAGEMAGICK JPEG LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11 GSF_DESC= Structured file formats support ORC_DESC= ORC language support HEIF_DESC= HEIF image format support MATIO_DESC= Matlab MAT format support CFITSIO_CONFIGURE_WITH= cfitsio CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio DEBUG_CONFIGURE_ENABLE= debug DEBUG_INSTALL_TARGET_OFF= install-strip DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc DOCS_CONFIGURE_ENABLE= gtk-doc gtk-doc-html FFTW_CONFIGURE_WITH= fftw FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GIF_CONFIGURE_WITH= giflib GIF_LIB_DEPENDS= libgif.so:graphics/giflib GRAPHMAGICK_CONFIGURE_ON= --with-magickpackage=GraphicsMagick GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick GSF_CONFIGURE_WITH= gsf GSF_USE= GNOME=libgsf HEIF_CONFIGURE_WITH= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif IMAGEMAGICK_CONFIGURE_ON= --with-magickpackage=MagickCore JPEG_CONFIGURE_WITH= jpeg JPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg JPEG_USES= jpeg LCMS2_CONFIGURE_WITH= lcms LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LIBEXIF_CONFIGURE_WITH= libexif LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBRSVG2_CONFIGURE_WITH=rsvg LIBRSVG2_USE= GNOME=cairo,librsvg2 MATIO_CONFIGURE_WITH= matio MATIO_LIB_DEPENDS= libmatio.so:math/matio OPENEXR_CONFIGURE_WITH= OpenEXR OPENEXR_LIB_DEPENDS= libImath.so:math/Imath libOpenEXR.so:graphics/openexr ORC_CONFIGURE_WITH= orc ORC_LIB_DEPENDS= liborc-0.4.so:devel/orc PANGO_CONFIGURE_WITH= pangoft2 PANGO_USE= GNOME=pango PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png POPPLER_CONFIGURE_WITH= poppler POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_USE= GNOME=cairo TIFF_CONFIGURE_WITH= tiff TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff WEBP_CONFIGURE_WITH= libwebp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp X11_CONFIGURE_WITH= x .include .if ${PORT_OPTIONS:MIMAGEMAGICK} .if ${PORT_OPTIONS:MX11} -LIB_DEPENDS+= libMagickCore-7.so:graphics/ImageMagick7 +USES+= magick:7 .else -LIB_DEPENDS+= libMagickCore-7.so:graphics/ImageMagick7-nox11 +USES+= magick:7,nox11 .endif .endif .if !${PORT_OPTIONS:MGRAPHMAGICK} && !${PORT_OPTIONS:MIMAGEMAGICK} CONFIGURE_ARGS+=--without-magick .endif .include diff --git a/graphics/xd3d/Makefile b/graphics/xd3d/Makefile index 091a8e52ed41..502486ae01f6 100644 --- a/graphics/xd3d/Makefile +++ b/graphics/xd3d/Makefile @@ -1,87 +1,87 @@ # Created by: thierry@pompo.net PORTNAME= xd3d PORTVERSION= 8.3.1 PORTREVISION= 19 CATEGORIES= graphics math MASTER_SITES= http://www.cmap.polytechnique.fr/~jouve/xd3d/ MAINTAINER= thierry@FreeBSD.org COMMENT= Simple scientific visualization tool LICENSE= GPLv2 #-------------------------------------------------------------------------- # You may define these options: # # - WITHOUT_IMAGEMAGICK : if you don't need to export bitmap images # in gif or png format; # # - WITHOUT_GIFSICLE : if you don't need to generate animated gifs; # # - MEMORY_XD3D : Max memory for xd3d (MBytes, 64 by default) # # - F77 : don't use the default fortran compiler; # - FFLAGS : fortran compiler's flags (-O by default). #-------------------------------------------------------------------------- OPTIONS_DEFINE= DOCS EXAMPLES .if !defined(WITHOUT_IMAGEMAGICK) -RUN_DEPENDS+= convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +USES+= magick:run .endif .if !defined(WITHOUT_GIFSICLE) RUN_DEPENDS+= gifsicle:graphics/gifsicle .endif MASTER_SITES_BACKUP= http://pompo.net/ports/ REINPLACE_ARGS= -i "" FETCH_ARGS= FETCH_BEFORE_ARGS= -R -o ${DISTDIR}/${DISTFILES} USES= fortran xorg USE_XORG= x11 xpm FFLAGS+= -O -std=legacy MEMORY_XD3D?= 64 .if defined(LANG) && ${LANG:Mfr*} != "" XD3D_LANG= FRANCAIS .else XD3D_LANG= ENGLISH .endif DOCS= BUGS CHANGELOG FAQ FORMATS INSTALL README Manuals/formats.txt \ Manuals/xd3d_doc.pdf Manuals/xgraphic_doc.pdf .include do-fetch: .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) ${FETCH_CMD} ${FETCH_BEFORE_ARGS} \ ${MASTER_SITES}download.php?file=${DISTFILES} \ || ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${MASTER_SITES_BACKUP}${DISTFILES} .endif pre-configure: ${CP} ${WRKSRC}/RULES.freeBSD ${WRKSRC}/RULES ${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" \ -e "s|%%PREFIX%%|${PREFIX}|" \ -e "s|%%X11BASE%%|${LOCALBASE}|" \ -e "s|%%LANG%%|${XD3D_LANG}|" \ -e "s|%%MEMORY_XD3D%%|${MEMORY_XD3D}|" \ -e "s|%%F77%%|${F77}|" \ -e "s|%%FFLAGS%%|${FFLAGS}|" \ -e "s|%%CC%%|${CC}|" \ -e "s|%%CFLAGS%%|${CFLAGS}|" \ ${WRKSRC}/RULES post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} . for FILE in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} . endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -Rp ${WRKSRC}/Examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile index 92d497a828b9..26d402f7ea6b 100644 --- a/graphics/zbar/Makefile +++ b/graphics/zbar/Makefile @@ -1,86 +1,86 @@ # Created by: Oliver Heesakkers PORTNAME= zbar DISTVERSION= 0.23.90 CATEGORIES= graphics MASTER_SITES= https://linuxtv.org/downloads/zbar/ MAINTAINER= dev2@heesakkers.info COMMENT= ZBar barcode reader LICENSE= LGPL21 USES= autoreconf gmake iconv libtool localbase:ldflags pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-java --without-npapi --without-python \ --enable-codes=ean,databar,code128,code93,code39,codabar,i25,qrcode,sqcode,pdf417 INSTALL_TARGET= install-strip OPTIONS_DEFINE= DBUS DOCS GIR JPEG NLS QT5 V4L X11 OPTIONS_DEFAULT= GTK_NONE IMAGEMAGICK JPEG NLS X11 OPTIONS_RADIO= MAGICK OPTIONS_RADIO_MAGICK= GRAPHICSMAGICK IMAGEMAGICK OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 GTK_NONE OPTIONS_SUB= yes GIR_DESC= Build Gobject Introspection GTK_DESC= GTK support GTK_NONE_DESC= Build without GTK support GRAPHICSMAGICK_DESC= GraphicsMagick image processing support MAGICK_DESC= *Magick image processing support V4L_DESC= Build zbarcam video scanner DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_WITH= dbus DOCS_BUILD_DEPENDS= xmlto:textproc/xmlto DOCS_CONFIGURE_ENABLE= doc GIR_USES= gnome GIR_USE= GNOME=introspection:build GIR_CONFIGURE_WITH= gir GTK2_USES= gnome gettext-runtime GTK2_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk20,pango GTK2_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig GTK2_CONFIGURE_ON= --with-gtk=gtk2 GTK3_USES= gnome gettext-runtime GTK3_USE= GNOME=atk,cairo,gdkpixbuf2,glib20,gtk30,pango GTK3_CONFIGURE_ON= --with-gtk=gtk3 GTK_NONE_CONFIGURE_ON= --with-gtk=no GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagickWand.so:graphics/GraphicsMagick GRAPHICSMAGICK_CONFIGURE_WITH= graphicsmagick -IMAGEMAGICK_LIB_DEPENDS= libMagickWand-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_WITH= imagemagick JPEG_USES= jpeg JPEG_CONFIGURE_WITH= jpeg NLS_USES= gettext NLS_LDFLAGS= -lintl NLS_CONFIGURE_ENABLE= nls QT5_USES= qt:5 QT5_USE= QT=core,gui,widgets,x11extras,buildtools_build QT5_CONFIGURE_WITH= qt qt5 QT5_IMPLIES= X11 V4L_BUILD_DEPENDS= v4l_compat>=1.0.20101027:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= video X11_USES= xorg X11_USE= XORG=ice,sm,x11,xau,xcb,xdmcp,xext,xv X11_CONFIGURE_ON= --with-x --with-xv --with-xshm X11_CONFIGURE_OFF= --without-x --without-xshm --without-xv .include diff --git a/japanese/mypaedia-fpw-package/Makefile b/japanese/mypaedia-fpw-package/Makefile index 38c73ff3800f..fa72a3e59494 100644 --- a/japanese/mypaedia-fpw-package/Makefile +++ b/japanese/mypaedia-fpw-package/Makefile @@ -1,32 +1,33 @@ # Created by: Satoshi Taoka PORTNAME= mypaedia-fpw-package PORTVERSION= 1.0.7 PORTREVISION= 10 CATEGORIES= japanese elisp MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/mypaedia/ MAINTAINER= ports@FreeBSD.org COMMENT= Supplement file to use "mypaedia" on lookup RUN_DEPENDS= sox:audio/sox \ timidity:audio/timidity++ \ - xanim:multimedia/xanim \ - display:graphics/ImageMagick6 + xanim:multimedia/xanim + +USES= magick:6,run NO_BUILD= yes PLIST_SUB= PKGNAME=${PKGNAME} PKG_DIR= ${STAGEDIR}${PREFIX}/share/dict/lookup-package OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${PKG_DIR} ${INSTALL_DATA} ${WRKSRC}/mypaedia-fpw.el ${PKG_DIR} ${INSTALL_SCRIPT} ${WRKSRC}/extract-mypaedia.pl ${PKG_DIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog README.TXT \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/japanese/srd-fpw-package/Makefile b/japanese/srd-fpw-package/Makefile index 44833199ca31..db48af3df927 100644 --- a/japanese/srd-fpw-package/Makefile +++ b/japanese/srd-fpw-package/Makefile @@ -1,34 +1,33 @@ # Created by: Satoshi Taoka PORTNAME= srd-fpw-package PORTVERSION= 1.0.8 PORTREVISION= 6 CATEGORIES= japanese elisp MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/srd/ MAINTAINER= ports@FreeBSD.org COMMENT= Supplement file for lookup to use "Random House" -RUN_DEPENDS= display:graphics/ImageMagick6 # Your PC does not have an audio card always. # realplay:multimedia/linux-realplayer NO_BUILD= yes -USES= perl5 +USES= magick:6,run perl5 PKG_DIR= ${STAGEDIR}${PREFIX}/share/dict/lookup-package PLIST_FILES= share/dict/lookup-package/srd-fpw.el \ share/dict/lookup-package/extract-srd.pl PORTDOCS= ChangeLog README.TXT OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${PKG_DIR} ${INSTALL_DATA} ${WRKSRC}/srd-fpw.el ${PKG_DIR} ${INSTALL_SCRIPT} ${WRKSRC}/extract-srd.pl ${PKG_DIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/mail/libpst/Makefile b/mail/libpst/Makefile index d7aad9e0475e..cbec84b56ee2 100644 --- a/mail/libpst/Makefile +++ b/mail/libpst/Makefile @@ -1,42 +1,40 @@ # Created by: Nate Underwood PORTNAME= libpst PORTVERSION= 0.6.76 CATEGORIES= mail converters MASTER_SITES= https://www.five-ten-sg.com/libpst/packages/ \ https://fossies.org/unix/privat/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tool for converting Outlook .pst files to mbox and other formats LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsf-1.so:devel/libgsf USES= gmake iconv libtool pathfix pkgconfig CONFIGURE_ARGS= --disable-python --enable-libpst-shared GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes PORTDOCS= * OPTIONS_DEFINE= DOCS PST2DII OPTIONS_SUB= yes PST2DII_DESC= Allow Summation Document Image Information output -PST2DII_BUILD_DEPENDS= convert:graphics/ImageMagick6 PST2DII_CONFIGURE_ENABLE= dii +PST2DII_USES= localbase magick:6,build,run PST2DII_LIB_DEPENDS= libgd.so:graphics/gd -PST2DII_RUN_DEPENDS= convert:graphics/ImageMagick6 -PST2DII_USES= localbase post-patch: @${GREP} -lr malloc.h ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' @${REINPLACE_CMD} -e 's|doc\/@PACKAGE@-@VERSION@|doc\/@PACKAGE@|g' ${WRKSRC}/Makefile.in ${WRKSRC}/html/Makefile.in @${REINPLACE_CMD} -e '/html_DATA =/ s|COPYING ||' ${WRKSRC}/Makefile.in .include diff --git a/math/glgraph/Makefile b/math/glgraph/Makefile index 78d37f349755..9c76cdc44938 100644 --- a/math/glgraph/Makefile +++ b/math/glgraph/Makefile @@ -1,38 +1,37 @@ # Created by: ijliao PORTNAME= glgraph PORTVERSION= 0.2.6 PORTREVISION= 11 CATEGORIES= math MASTER_SITES= http://glgraph.kaosu.ch/downl/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= OpenGL based function grapher LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= p5-OpenGL>=0:graphics/p5-OpenGL \ - import:graphics/ImageMagick6 +RUN_DEPENDS= p5-OpenGL>=0:graphics/p5-OpenGL -USES= perl5 shebangfix tar:bzip2 +USES= magick:6,run perl5 shebangfix tar:bzip2 USE_PERL5= run SHEBANG_FILES= ${PORTNAME} NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/glgraph PORTDOCS= documentation.html OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/glgraph ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/documentation.html ${STAGEDIR}${DOCSDIR} .include diff --git a/math/gri/Makefile b/math/gri/Makefile index c8a13310bc8e..5c887edc0cf1 100644 --- a/math/gri/Makefile +++ b/math/gri/Makefile @@ -1,74 +1,74 @@ # Created by: M. L. Dodson, PORTNAME= gri PORTVERSION= 2.12.23 PORTREVISION= 10 CATEGORIES= math MASTER_SITES= SF LICENSE= GPLv2 MAINTAINER= ports@FreeBSD.org COMMENT= Extensible plotting language for producing scientific graphs LIB_DEPENDS= libnetcdf.so:science/netcdf USES= cpe gmake readline shebangfix makeinfo SHEBANG_FILES= doc/examples/FEM.pl src/gri_merge src/gri_unpage GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-FreeBSD CPE_VENDOR= gri_project CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INFO= gri USE_TEX= formats:build dvipsk:build PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} -BUILD_DEPENDS+= convert:graphics/ImageMagick6 +USES+= magick:6,build .endif post-patch: @${REINPLACE_CMD} -e \ '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ '/gzip/s|^|#| ; \ /EXAMPLES_DIR/s|^|#|' ${WRKSRC}/doc/Makefile.in post-build: .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} (cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) .else (cd ${WRKSRC}/doc && makeinfo gri.texi) .endif post-install: .if ${PORT_OPTIONS:MDOCS} (cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .else ${INSTALL_MAN} ${WRKSRC}/doc/gri-manpage.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/gri.1 ${INSTALL_MAN} ${WRKSRC}/doc/gri_merge.1-skel \ ${STAGEDIR}${MANPREFIX}/man/man1/gri_merge.1 ${INSTALL_MAN} ${WRKSRC}/doc/gri_unpage.1-skel \ ${STAGEDIR}${MANPREFIX}/man/man1/gri_unpage.1 ${INSTALL_DATA} ${WRKSRC}/doc/gri.info* ${STAGEDIR}${PREFIX}/${INFO_PATH} .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/doc/examples && ${INSTALL_DATA} model* *.dat *.gri e*.ps \ ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC}/doc/examples \ && ${INSTALL_SCRIPT} FEM.pl ${STAGEDIR}${EXAMPLESDIR}) .endif .include diff --git a/math/sage/Makefile b/math/sage/Makefile index cdd81e16205e..4e40552d072c 100644 --- a/math/sage/Makefile +++ b/math/sage/Makefile @@ -1,577 +1,576 @@ # Created by: Stephen Montgomery-Smith PORTNAME= sage PORTVERSION= 9.2 PORTREVISION= 20 CATEGORIES= math MASTER_SITES= https://mirrors.xmission.com/sage/src/ \ http://mirrors.xmission.com/sage/src/ \ https://www-ftp.lip6.fr/pub/math/sagemath/src/ \ https://mirrors.mit.edu/sage/src/ \ https://files.sagemath.org/src/ \ ftp://www-ftp.lip6.fr/pub/math/sagemath/src/ #MASTER_SITES= ftp://www-ftp.lip6.fr/pub/math/sagemath/devel/ PKGNAMESUFFIX= -math MAINTAINER= thierry@FreeBSD.org COMMENT= Open source Mathematics software LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= bash:shells/bash \ dash:shells/dash \ cmake:devel/cmake \ dreadnaut:math/nauty \ ${PYTHON_PKGNAMEPREFIX}alabaster>0:textproc/py-alabaster@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}backcall>0:devel/py-backcall@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}brial>0:math/py-brial@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cvxopt>0:math/py-cvxopt@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cypari2>0:math/py-cypari2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}fpylll>0:math/py-fpylll@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}imagesize>0:graphics/py-imagesize@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipykernel5>0:devel/py-ipykernel5@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Jinja2>0i:devel/py-Jinja2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-core>0:devel/py-jupyter-core@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-client>0:devel/py-jupyter-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}kiwisolver>0:math/py-kiwisolver@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mistune>0:textproc/py-mistune@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}notebook>0:www/py-notebook@${PY_FLAVOR}\ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}parso>0:textproc/py-parso@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}path.py>0:devel/py-path.py@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pickleshare>0:databases/py-pickleshare@${PY_FLAVOR}\ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pplpy>0:math/py-pplpy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>0:devel/py-prompt-toolkit@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pycparser>0:devel/py-pycparser@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyrsistent>0:devel/py-pyrsistent@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}rpy2>0:math/py-rpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}simplegeneric>0:devel/py-simplegeneric@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}snowballstemmer>0:textproc/py-snowballstemmer@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>0:textproc/py-sphinxcontrib-applehelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-devhelp>0:textproc/py-sphinxcontrib-devhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-htmlhelp>0:textproc/py-sphinxcontrib-htmlhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-jsmath>0:textproc/py-sphinxcontrib-jsmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-qthelp>0:textproc/py-sphinxcontrib-qthelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-serializinghtml>0:textproc/py-sphinxcontrib-serializinghtml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-websupport>0:textproc/py-sphinxcontrib-websupport@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}terminado>0:net/py-terminado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}testpath>0:devel/py-testpath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}webencodings>0:converters/py-webencodings@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}widgetsnbextension>0:devel/py-widgetsnbextension@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zipp>0:devel/py-zipp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}\ fflas-ffpack-config:math/fflas-ffpack \ fricas>0:math/fricas \ gfan:math/gfan \ git:devel/git \ gp2c:math/gp2c \ jmol:science/jmol \ libatomic_ops>0:devel/libatomic_ops \ MathJax>0:www/mathjax \ maxima>0:math/maxima \ p5-XML-Writer>0:textproc/p5-XML-Writer \ p5-XML-LibXML>0:textproc/p5-XML-LibXML \ p5-XML-LibXSLT>0:textproc/p5-XML-LibXSLT\ p5-File-Slurp>0:devel/p5-File-Slurp \ p5-JSON>0:converters/p5-JSON \ p5-SVG>0:textproc/p5-SVG \ p5-MongoDB>0:databases/p5-MongoDB \ p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu\ palp>0:math/palp \ pandoc:textproc/hs-pandoc \ pari-elldata>0:math/pari_elldata\ pari-galdata>0:math/pari_galdata\ pari-galpol>0:math/pari_galpol \ pari-nftables>0:math/pari_nftables \ pari-seadata>0:math/pari_seadata\ QuadraticSieve:math/flintqs \ gpatch:devel/patch \ rubiks>0:math/rubiks \ sympow:math/sympow \ tachyon:graphics/tachyon \ three.js>0:www/threejs \ yasm:devel/yasm \ gtar:archivers/gtar \ - convert:graphics/ImageMagick6 \ ffmpeg:multimedia/ffmpeg \ ${LOCALBASE}/lib/libBLT.a:x11-toolkits/blt LIB_DEPENDS= libarb.so:math/arb \ libboost_thread.so:devel/boost-libs \ libbraiding.so:math/libbraiding \ libbrial.so:math/brial \ libCbc.so:math/cbc \ libcdd.so:math/cddlib \ libcliquer.so:math/cliquer \ libcurl.so:ftp/curl \ libeantic.so:math/e-antic \ libec.so:math/eclib \ libecl.so:lang/ecl \ libecm.so:math/gmp-ecm \ libflint.so:math/flint2 \ libfplll.so:math/fplll \ libfreetype.so:print/freetype2 \ libgc.so:devel/boehm-gc \ libgc-threaded.so:devel/boehm-gc-threaded\ libgf2x.so:math/gf2x \ libgivaro.so:math/givaro \ libglpk.so:math/glpk \ libgap.so:math/gap \ libgmp.so:math/gmp \ libgsl.so:math/gsl \ libhomfly.so:math/libhomfly \ libiml.so:math/iml \ libisl.so:devel/isl \ libLfunction.so:math/lcalc \ libffi.so:devel/libffi \ libgd.so:graphics/gd \ libgiac.so:math/giacxcas \ liblinbox.so:math/linbox \ liblrcalc.so:math/lrcalc \ liblrs.so:math/lrslib \ libm4ri.so:math/m4ri \ libm4rie.so:math/m4rie \ libmpc.so:math/mpc \ libmpfi.so:math/mpfi \ libmpfr.so:math/mpfr \ libmpir.so:math/mpir \ libntl.so:math/ntl \ libpari.so:math/pari \ libpcre.so:devel/pcre \ libplanarity.so:math/planarity \ libpng.so:graphics/png \ libppl.so:devel/ppl \ libpynac.so:math/pynac \ libR.so:math/R \ librw.so:math/rankwidth \ libSingular.so:math/singular \ libumfpack.so:math/suitesparse-umfpack \ libsemigroups.so:math/libsemigroups \ libsymmetrica.so:math/symmetrica\ libzmq.so:net/libzmq4 \ libzn_poly-0.9.so:math/zn_poly \ libqd.so:math/qd \ libisl.so:devel/isl \ libblas.so:math/blas \ libicuuc.so:devel/icu \ libtiff.so:graphics/tiff \ liblapack.so:math/lapack \ libedit.so:devel/libedit \ libwebp.so:graphics/webp \ libpcre2-8.so:devel/pcre2 \ libgdbm.so:databases/gdbm \ liblcms2.so:graphics/lcms2 \ libopenjp2.so:graphics/openjpeg RUN_DEPENDS= bash:shells/bash \ dreadnaut:math/nauty \ ${PYTHON_PKGNAMEPREFIX}alabaster>0:textproc/py-alabaster@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}backcall>0:devel/py-backcall@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}brial>0:math/py-brial@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cvxopt>0:math/py-cvxopt@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cycler>0:devel/py-cycler@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cypari2>0:math/py-cypari2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}entrypoints>0:devel/py-entrypoints@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}fpylll>0:math/py-fpylll@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}imagesize>0:graphics/py-imagesize@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipykernel5>0:devel/py-ipykernel5@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-core>0:devel/py-jupyter-core@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}jupyter-client>0:devel/py-jupyter-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}kiwisolver>0:math/py-kiwisolver@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mistune>0:textproc/py-mistune@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbconvert>0:devel/py-nbconvert@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nbformat>0:devel/py-nbformat@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}notebook>0:www/py-notebook@${PY_FLAVOR}\ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}parso>0:textproc/py-parso@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}path.py>0:devel/py-path.py@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pickleshare>0:databases/py-pickleshare@${PY_FLAVOR}\ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>0:devel/py-pkgconfig@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pplpy>0:math/py-pplpy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prometheus-client>0:net-mgmt/py-prometheus-client@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}prompt-toolkit>0:devel/py-prompt-toolkit@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}ptyprocess>0:sysutils/py-ptyprocess@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pycparser>0:devel/py-pycparser@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyrsistent>0:devel/py-pyrsistent@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}rpy2>0:math/py-rpy2@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}simplegeneric>0:devel/py-simplegeneric@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}snowballstemmer>0:textproc/py-snowballstemmer@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-applehelp>0:textproc/py-sphinxcontrib-applehelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-devhelp>0:textproc/py-sphinxcontrib-devhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-htmlhelp>0:textproc/py-sphinxcontrib-htmlhelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-jsmath>0:textproc/py-sphinxcontrib-jsmath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-qthelp>0:textproc/py-sphinxcontrib-qthelp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-serializinghtml>0:textproc/py-sphinxcontrib-serializinghtml@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-websupport>0:textproc/py-sphinxcontrib-websupport@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}terminado>0:net/py-terminado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}testpath>0:devel/py-testpath@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}webencodings>0:converters/py-webencodings@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}widgetsnbextension>0:devel/py-widgetsnbextension@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zipp>0:devel/py-zipp@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}\ fflas-ffpack-config:math/fflas-ffpack \ fricas>0:math/fricas \ gfan:math/gfan \ git:devel/git \ gp2c:math/gp2c \ jmol:science/jmol \ MathJax>0:www/mathjax \ maxima>0:math/maxima \ p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu\ palp>0:math/palp \ pandoc:textproc/hs-pandoc \ pari-elldata>0:math/pari_elldata\ pari-galdata>0:math/pari_galdata\ pari-galpol>0:math/pari_galpol \ pari-nftables>0:math/pari_nftables \ pari-seadata>0:math/pari_seadata\ QuadraticSieve:math/flintqs \ rubiks>0:math/rubiks \ sympow:math/sympow \ tachyon:graphics/tachyon \ three.js>0:www/threejs \ yasm:devel/yasm \ pixz:archivers/pixz USES= autoreconf blaslapack:openblas compiler:c++11-lib fortran \ - gettext gmake gnome iconv jpeg libtool localbase ncurses \ - ninja:build perl5 pkgconfig python:3.7+ readline shebangfix \ + gettext gmake gnome iconv jpeg libtool localbase magick:6,build \ + ncurses ninja:build perl5 pkgconfig python:3.7+ readline shebangfix \ sqlite tk xorg USE_TEX= latex:build pdftex:build tex:build USE_XORG= x11 xext xscrnsaver USE_GNOME= cairo glib20 pango USE_PYTHON= cython USE_JAVA= yes # for science/jmol CONFLICTS= ${PYTHON_PKGNAMEPREFIX}wheel-0.* SHEBANG_FILES= . SHEBANG_LANG+= dash dash_OLD_CMD= /bin/dash dash_CMD= ${LOCALBASE}/bin/dash DISABLE_BINUTILS= yes LIBS= -lomp -pthread .if !defined{WITH_DEBUG} LDFLAGS+= -s .endif BLDDIR= ${WRKDIR}/build GNU_CONFIGURE= yes CONFIGURE_ENV= SAGE_PORT=yes CC=${CC} GCC=${CC} CXX=${CXX} AS=${AS} LD=${LD} \ SAGE_LOCAL=${PREFIX} SAGE_DESTDIR=${BLDDIR}/ \ DESTDIR=${BLDDIR}/${PREFIX} PATCH=${LOCALBASE}/bin/gpatch CONFIGURE_ARGS= --with-system-gcc=force \ --with-system-python3=yes \ --with-python=${PYTHON_CMD} \ --enable-build-as-root \ --disable-download-from-upstream-url \ --localstatedir=/var MAKE_ENV= MAKE=${GMAKE} DESTDIR=${BLDDIR} ALL_TARGET= build REINPLACE_ARGS= -i '' BINARY_ALIAS= patch=${LOCALBASE}/bin/gpatch OPTIONS_SUB= yes PLIST_SUB= VER=${DISTVERSION} SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS PORTDOCS= * .include WSDIR= ${BLDDIR}${PREFIX} SPKG_INST= configure.ac configure build/sage_bootstrap/uninstall.py \ build/make/install src/bin/sage-env PY2FIX= bin lib/${PYTHON_VERSION} DOC2FIX= .pickle .doctree SE2FIX= ^ECLDIR= ^SINGULAR MAXIMA_PREFIX SHR2FIX= GAP_ROOT_DIR PPLPY_DOCS SINGULARPATH STG2FIX= bin/sage-env-config \ share/jupyter/kernels/sagemath/kernel.json BADLN= kernels/sagemath/doc nbextensions/jsmol \ nbextensions/mathjax nbextensions/threejs # External dependencies not yet handled by SageMath # Note: do not use wheel from ports PY_LIBS= alabaster attrs babel backcall bleach certifi cffi cvxopt cycler \ cypari cysignals cython dateutil decorator defusedxml docutils \ entrypoints fpylll gmpy2 html5lib imagesize importlib_metadata ipykernel ipython \ ipython_genutils ipywidgets itsdangerous jedi jinja2 jsonschema jupyter_client \ jupyter_core kiwisolver markupsafe matplotlib mistune mpmath \ nbconvert nbformat networkx nose notebook numpy packaging pandocfilters \ parso pathpy pexpect pickleshare pillow pkgconfig pplpy \ prometheus_client prompt_toolkit psutil ptyprocess pybind11 pycparser pyparsing \ pygments pyrsistent pytz pyzmq requests rpy2 scandir scipy send2trash simplegeneric \ six snowballstemmer sphinx sphinxcontrib_applehelp sphinxcontrib_devhelp sphinxcontrib_htmlhelp sphinxcontrib_jsmath sphinxcontrib_qthelp sphinxcontrib_serializinghtml sphinxcontrib_websupport sympy terminado testpath tornado traitlets \ tzlocal vcversioner wcwidth webencodings widgetsnbextension zipp zope_interface JS_LIBS= jmol mathjax threejs SPKGCM4= e_antic ecl gap libhomfly linbox maxima pynac rubiks singular post-patch: ${CP} ${FILESDIR}/psutil__arch__bsd__freebsd_socks.c.patch \ ${WRKSRC}/build/pkgs/psutil/patches/ .for sp in ${SPKGCM4} ${CP} ${FILESDIR}/${sp}_spkg-configure.m4 \ ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 .endfor .for sp in ${PY_LIBS} ${CP} ${FILESDIR}/py_libs_spkg-configure.m4 \ ${WRKSRC}/build/pkgs/${sp:C/pari2/pari/}/spkg-configure.m4 .endfor #.for sp in ${PY_FILES} # ${SED} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' ${FILESDIR}/${sp}_spkg-configure.m4.in \ # > ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 #.endfor .for sp in ${JS_LIBS} ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${FILESDIR}/${sp}_spkg-configure.m4.in \ > ${WRKSRC}/build/pkgs/${sp}/spkg-configure.m4 .endfor pre-configure: ${REINPLACE_CMD} -e 's|SAGE_LOCAL="$$prefix"|SAGE_LOCAL="${WSDIR}"|' \ -e 's|lib/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/configure.ac ${REINPLACE_CMD} -e 's|SAGE_LOCAL="@prefix@"|SAGE_LOCAL="${WSDIR}"|' \ ${WRKSRC}/src/bin/sage-env-config.in ${REINPLACE_CMD} -e 's|%%CFLAGS%%|${CFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ ${WRKSRC}/build/pkgs/tachyon/patches/Make-arch.patch ${REINPLACE_CMD} -e '/SUITESPARSE_INC_DIR/s|$${SAGE_LOCAL}/include|${LOCALBASE}/include/suitesparse|'\ ${WRKSRC}/build/pkgs/cvxopt/spkg-install.in ${REINPLACE_CMD} -e 's|exec python3|exec ${PYTHON_CMD}|' \ -e 's|exec "$$SAGE_LOCAL"/bin/python3|exec ${PYTHON_CMD}|' \ ${WRKSRC}/src/bin/sage .for f in ${PY_LIBS} ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|;s|py_libs|${f}|' \ ${WRKSRC}/build/pkgs/${f}/spkg-configure.m4 .endfor ${REINPLACE_CMD} -e 's|import attrs|import attr|' \ ${WRKSRC}/build/pkgs/attrs/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import cypari|import cypari2|' \ ${WRKSRC}/build/pkgs/cypari/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import ipython|import IPython|' \ ${WRKSRC}/build/pkgs/ipython/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pathpy|import path|' \ ${WRKSRC}/build/pkgs/pathpy/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pillow|import PIL|' \ ${WRKSRC}/build/pkgs/pillow/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pplpy|import ppl|' \ ${WRKSRC}/build/pkgs/pplpy/spkg-configure.m4 ${REINPLACE_CMD} -e 's|import pyzmq|import zmq|' \ ${WRKSRC}/build/pkgs/pyzmq/spkg-configure.m4 .for f in applehelp devhelp htmlhelp jsmath qthelp serializinghtml websupport ${REINPLACE_CMD} -e 's|import sphinxcontrib_|import sphinxcontrib.|' \ ${WRKSRC}/build/pkgs/sphinxcontrib_${f}/spkg-configure.m4 .endfor ${REINPLACE_CMD} -e 's|import zope_interface|import zope.interface|' \ ${WRKSRC}/build/pkgs/zope_interface/spkg-configure.m4 ${REINPLACE_CMD} -e '/GAP_ROOT=/s|$$SAGE_LOCAL|${LOCALBASE}|' \ ${WRKSRC}/build/pkgs/gap_packages/spkg-install.in ${REINPLACE_CMD} -e "/os.path.join/s|SAGE_LOCAL|'${LOCALBASE}'|"\ ${WRKSRC}/src/sage/libs/gap/util.pyx ${REINPLACE_CMD} -e "/os.path.join(SAGE_LOCAL/s|SAGE_LOCAL|'${LOCALBASE}'|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/^library_dirs/s|SAGE_LOCAL|'${LOCALBASE}'|" \ ${WRKSRC}/src/setup.py .for f in ${SHR2FIX} ${REINPLACE_CMD} -e "/${f}/s|SAGE_SHARE|'${LOCALBASE}/share/'|" \ ${WRKSRC}/src/sage/env.py .endfor ${REINPLACE_CMD} -e "/JMOL_DIR/s|SAGE_SHARE|'${JAVASHAREDIR}'|" \ -e "/JMOL_DIR/s|jmol|classes|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/JSMOL_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ -e "/JSMOL_DIR/s|jsmol|JSmol|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/MATHJAX_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ -e "/MATHJAX_DIR/s|mathjax|MathJax|" \ ${WRKSRC}/src/sage/env.py ${REINPLACE_CMD} -e "/THREEJS_DIR/s|SAGE_SHARE|'${LOCALBASE}/www'|" \ ${WRKSRC}/src/sage/env.py .for f in ${SE2FIX} ${REINPLACE_CMD} -e '/${f}/s|$$SAGE_LOCAL|${LOCALBASE}|' \ ${WRKSRC}/src/bin/sage-env .endfor ${REINPLACE_CMD} -e '/LDFLAGS=/s|-rpath,$$SAGE_LOCAL|-rpath,${LOCALBASE}|' \ ${WRKSRC}/src/bin/sage-env .for f in ${SPKG_INST} ${REINPLACE_CMD} -e 's|/var/lib/sage|/share/libdata/${PORTNAME}|' \ ${WRKSRC}/${f} .endfor # Bug with py-docutils > 0.16 ${RM} -r ${WRKSRC}/src/doc/hu (cd ${WRKSRC} && ./bootstrap) ${MKDIR} ${BLDDIR}${PREFIX}/lib/pkgconfig # Removed thereafter post-build: .if ${PORT_OPTIONS:MDOCS} (cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_CMD} doc) .endif .for d in ${PY2FIX} ${FIND} ${WSDIR}/${d} -type f -exec ${GREP} -I -l "${WSDIR}/bin/python" {} \; |\ ${XARGS} ${SED} -i "" -e 's|${WSDIR}/bin/pytho.*|${PYTHON_CMD}|' .endfor .for d in ${PY2FIX} ${FIND} ${WSDIR}/${d} -type f -exec ${GREP} -I -l "/usr/bin/env python" {} \; |\ ${XARGS} ${SED} -i "" -e 's|/usr/bin/env pytho.*|${PYTHON_CMD}|' .endfor ${FIND} ${BLDDIR}/${PYTHON_LIBDIR} -type d -name __pycache__ | \ ${XARGS} ${RM} -r .for f in ${DOC2FIX} ${FIND} ${BLDDIR}${DOCSDIR} -type f -name "*${f}" | ${XARGS} \ ${SED} -i "" -e 's|${BLDDIR}||g' .endfor .for f in ${STG2FIX} ${SED} -i "" -e 's|${BLDDIR}||g' ${BLDDIR}${PREFIX}/${f} .endfor ${RM} ${BLDDIR}${PYTHON_CMD} ${BADLN:C|^|${BLDDIR}${PREFIX}/share/jupyter/|} ${RM} -r ${BLDDIR}${PREFIX}/var ${RM} ${BLDDIR}${PREFIX}/lib64 ${BLDDIR}${PREFIX}/lib/pkgconfig/blas.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/cblas.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/gsl.pc \ ${BLDDIR}${PREFIX}/lib/pkgconfig/lapack.pc # Cannot use a package system for pip and setuptools ${RM} ${BLDDIR}${PREFIX}/bin/easy_install* ${BLDDIR}${PREFIX}/bin/pip* ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/pip-* ${BLDDIR}${PYTHON_SITELIBDIR}/pip/ ${RM} -r ${BLDDIR}${PYTHON_SITELIBDIR}/setuptools* \ ${BLDDIR}${PYTHON_SITELIBDIR}/easy_install.py \ ${BLDDIR}${PYTHON_SITELIBDIR}/pkg_resources \ ${BLDDIR}${PYTHON_SITELIBDIR}/__pycache__/easy_install* # Remove CONFLICTS with lang/python3 ${RM} ${BLDDIR}${PREFIX}/bin/python ${BLDDIR}${PREFIX}/bin/python3 ${REINPLACE_CMD} -e '/exec/s|python3|${PYTHON_VERSION}|' ${BLDDIR}${PREFIX}/bin/sage # ${TRUE} because compilation of some .py fails: compileall.py -q to see errors (cd ${WSDIR} && (${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} || \ ${TRUE})) ${FIND} ${BLDDIR}${PREFIX} -name "*.bak" -delete # See https://lists.freebsd.org/pipermail/freebsd-python/2020-June/020710.html .if exists(${PYTHON_SITELIBDIR}/path.py-7.1.dist-info/WHEEL) PLIST_SUB+= EGG="@comment " WHEEL="" .else PLIST_SUB+= EGG="" WHEEL="@comment " .endif do-install: cd "${BLDDIR}" && ${FIND} . | ${CPIO} -pduml ${STAGEDIR} # Remove bad links ${LN} -sf ${DOCSDIR} \ ${STAGEDIR}${PREFIX}/share/jupyter/kernels/sagemath/doc ${LN} -sf ${LOCALBASE}/www/JSmol \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/jsmol ${LN} -sf ${LOCALBASE}/www/MathJax \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/mathjax ${LN} -sf ${LOCALBASE}/www/threejs \ ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/threejs post-install: ${RM} ${STAGEDIR}${PREFIX}/lib64 ${STAGEDIR}${PREFIX}/libdata/pkgconfig/blas.pc \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/distutils-precedence.pth \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/cblas.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gsl.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/lapack.pc ${RM} -r ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_distutils_hack .include diff --git a/misc/gkrellshoot2/Makefile b/misc/gkrellshoot2/Makefile index e433951b943f..02613b75d34b 100644 --- a/misc/gkrellshoot2/Makefile +++ b/misc/gkrellshoot2/Makefile @@ -1,32 +1,31 @@ # Created by: Andrew Stuart PORTNAME= gkrellshoot PORTVERSION= 0.4.4 PORTREVISION= 10 CATEGORIES= misc MASTER_SITES= SF/${PORTNAME}/GkrellM2.0%20Port/${PORTVERSION} PKGNAMESUFFIX= 2 MAINTAINER= ports@FreeBSD.org COMMENT= Screen locking and screen capture plugin for GKrellM 2 BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2 -RUN_DEPENDS= gkrellm:sysutils/gkrellm2 \ - import:graphics/ImageMagick6 +RUN_DEPENDS= gkrellm:sysutils/gkrellm2 -USES= pkgconfig +USES= magick:6,run pkgconfig PLIST_FILES= libexec/gkrellm2/plugins/gkrellshoot.so WRKSRC= ${WRKDIR}/gkrellShoot-${PORTVERSION} ALL_TARGET= ${PORTNAME}.so PLUGINDIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins post-patch: @${REINPLACE_CMD} '/^CFLAGS/ s|= |= ${CFLAGS} |' ${WRKSRC}/Makefile do-install: @${MKDIR} ${PLUGINDIR} ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${PLUGINDIR} .include diff --git a/misc/img2xterm/Makefile b/misc/img2xterm/Makefile index fe3e8b3e012f..b6d311810326 100644 --- a/misc/img2xterm/Makefile +++ b/misc/img2xterm/Makefile @@ -1,25 +1,23 @@ PORTNAME= img2xterm PORTVERSION= 1.0.0 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= misc MAINTAINER= ports@FreeBSD.org COMMENT= Display images on 256 color xterms LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 - USE_GITHUB= yes GH_ACCOUNT= kfei -USES= gmake ncurses +USES= gmake magick:6 ncurses PLIST_FILES= bin/img2xterm .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/img2xterm ${STAGEDIR}${PREFIX}/bin .include diff --git a/misc/pyobd/Makefile b/misc/pyobd/Makefile index 73e16be43cd1..c7a1eca86b2e 100644 --- a/misc/pyobd/Makefile +++ b/misc/pyobd/Makefile @@ -1,42 +1,41 @@ PORTNAME= pyobd DISTVERSION= 0.9.3 PORTREVISION= 5 CATEGORIES= misc MASTER_SITES= http://www.obdtester.com/download/ DISTNAME= pyobd_${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= OBD-II compliant car diagnostic tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= convert:graphics/ImageMagick6 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} -USES= dos2unix gnome python shebangfix +USES= dos2unix gnome magick:6,build python shebangfix DOS2UNIX_FILES= ${PORTNAME}.desktop SHEBANG_FILES= ${PORTNAME} USE_WX= 3.0 WX_COMPS= python NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} do-build: @convert ${WRKSRC}/${PORTNAME}.gif ${WRKSRC}/${PORTNAME}.png do-install: ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.py ${WRKSRC}/*.pyc \ ${STAGEDIR}${DATADIR} @${CHMOD} +x ${STAGEDIR}${DATADIR}/${PORTNAME} @${LN} -sf ../share/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/multimedia/dvd-slideshow/Makefile b/multimedia/dvd-slideshow/Makefile index 3d03257b878c..beb0506738bc 100644 --- a/multimedia/dvd-slideshow/Makefile +++ b/multimedia/dvd-slideshow/Makefile @@ -1,76 +1,77 @@ # Created by: Phil Oleson PORTNAME= dvd-slideshow PORTVERSION= 0.8.4 DISTVERSIONSUFFIX= -2 PORTREVISION= 9 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}${DISTVERSIONSUFFIX} \ SF/${PORTNAME}/${PORTNAME}-themes/${THEMEVERSION}-1:themes DISTFILES= ${DISTNAME}${EXTRACT_SUFX} THEMEVERSION= 0.8.4 MAINTAINER= oz@nixil.net COMMENT= Script to create slideshow-style DVD with some simple menus RUN_DEPENDS= bash:shells/bash \ - identify:graphics/ImageMagick6 \ mpeg2enc:multimedia/mjpegtools \ ffmpeg:multimedia/ffmpeg \ sox:audio/sox \ dvdauthor:multimedia/dvdauthor \ jhead:graphics/jhead \ flvtool2:multimedia/rubygem-flvtool2 \ ${LOCALBASE}/share/fonts/urwfonts-ttf/README:x11-fonts/urwfonts-ttf \ cdrecord:sysutils/cdrtools +USES= magick:6,run + NO_BUILD= yes DATADIR= ${PREFIX}/share/apps/${PORTNAME} OPTIONS_DEFINE= DOCS LAME THEMES TOOLAME VORBIS THEMES_DESC= Install optional themes LAME_RUN_DEPENDS= lame:audio/lame VORBIS_RUN_DEPENDS= oggdec:audio/vorbis-tools TOOLAME_RUN_DEPENDS= toolame:audio/toolame .include .if ${PORT_OPTIONS:MTHEMES} DISTFILES+= ${PORTNAME}-themes-${THEMEVERSION}-1${EXTRACT_SUFX}:themes WRKSRC2= ${WRKDIR}/${PORTNAME}-themes-${THEMEVERSION}-1 PLIST_SUB+= NOTHEMES="" .else PLIST_SUB+= NOTHEMES="@comment " .endif post-patch: .for f in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow @${REINPLACE_CMD} -e 's|!/bin/bash|!${PREFIX}/bin/bash|g ; \ s|/usr/share/fonts/|${LOCALBASE}/share/fonts/|g ; \ s|seq |seq2 |g' ${WRKSRC}/${f} . if ${PORT_OPTIONS:MTHEMES} @${REINPLACE_CMD} -e 's|/opt/dvd-slideshow/themes|${DATADIR}/themes|g' \ ${WRKSRC}/${f} . endif .endfor do-install: .for s in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow ${INSTALL_SCRIPT} ${WRKSRC}/${s} ${STAGEDIR}${PREFIX}/bin .endfor .for m in dvd-slideshow dvd-menu dir2slideshow gallery1-to-slideshow jigl2slideshow ${INSTALL_MAN} ${WRKSRC}/man/${m}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/dvd-slideshowrc ${STAGEDIR}${DOCSDIR} .for d in changelog gallery1-to-slideshow dir2slideshow jigl2slideshow dvd-menu dvd-slideshow ${INSTALL_DATA} ${WRKSRC}/doc/${d}.html ${STAGEDIR}${DOCSDIR} .endfor .if ${PORT_OPTIONS:MTHEMES} @${MKDIR} ${STAGEDIR}${DATADIR}/themes cd ${WRKSRC2} && ${FIND} . | ${CPIO} -dpmu -R ${BINOWN}:${BINGRP} \ --quiet ${STAGEDIR}${DATADIR}/themes .endif .include diff --git a/multimedia/dvdauthor/Makefile b/multimedia/dvdauthor/Makefile index c3ef5cb72e2b..1ff51b2e761c 100644 --- a/multimedia/dvdauthor/Makefile +++ b/multimedia/dvdauthor/Makefile @@ -1,71 +1,71 @@ # Created by: pb@FreeBSD.org PORTNAME= dvdauthor PORTVERSION= 0.7.2.20190419 PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= Makes a DVD file structure from one or more MPEG2 streams LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdvdread.so:multimedia/libdvdread \ libfribidi.so:converters/fribidi \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig USE_GITHUB= yes GH_ACCOUNT= ldo GH_TAGNAME= d5bb0b USES= autoreconf:build bison:alias gettext-tools \ gmake gnome iconv localbase pkgconfig USE_GNOME= libxml2 GNU_CONFIGURE= yes SUB_FILES= README.FreeBSD PORTDOCS= * OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_RADIO= IMAGEMAGICK VIDEO-FORMAT OPTIONS_RADIO_IMAGEMAGICK= GRAPHICSMAGICK IMAGEMAGICK6 OPTIONS_RADIO_VIDEO-FORMAT= NTSC PAL OPTIONS_SUB= yes GRAPHICSMAGICK_DESC= GraphicsMagick image processing support IMAGEMAGICK6_DESC= ImageMagick 6.x image processing support NTSC_DESC= Default video format NTSC PAL_DESC= Default video format PAL VIDEO-FORMAT_DESC= Use default video format GRAPHICSMAGICK_CONFIGURE_WITH= graphicsmagick GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick IMAGEMAGICK6_CONFIGURE_WITH= imagemagick -IMAGEMAGICK6_LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick6 +IMAGEMAGICK6_USES= magick:6 MANPAGES_BUILD_DEPENDS= docbook2man:textproc/docbook-utils \ docbook-sgml>0:textproc/docbook-sgml NTSC_CONFIGURE_ON= --enable-default-video-format=NTSC PAL_CONFIGURE_ON= --enable-default-video-format=PAL pre-configure-MANPAGES-off: @(${MV} ${WRKSRC}/doc/Makefile.am ${WRKSRC}/doc/Makefile.am.bak && \ ${GREP} '^dist_pkgdata_DATA' \ ${WRKSRC}/doc/Makefile.am.bak > ${WRKSRC}/doc/Makefile.am) pre-configure: @(cd ${WRKSRC} && ${MKDIR} autotools/ && \ ${CP} ${LOCALBASE}/share/gettext/config.rpath autotools/ && \ ${LOCALBASE}/bin/autoreconf -i) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} \ ${WRKSRC}/AUTHORS ${WRKSRC}/ChangeLog ${WRKSRC}/README \ ${WRKSRC}/TODO ${WRKDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR} .include diff --git a/multimedia/dvdrip/Makefile b/multimedia/dvdrip/Makefile index 8a841c9f2316..4f56023429e4 100644 --- a/multimedia/dvdrip/Makefile +++ b/multimedia/dvdrip/Makefile @@ -1,68 +1,67 @@ # Created by: Michael Nottebrock PORTNAME= dvdrip PORTVERSION= 0.98.11 PORTREVISION= 12 CATEGORIES= multimedia MASTER_SITES= CPAN http://www.exit1.org/dvdrip/dist/ MASTER_SITE_SUBDIR= CPAN:JRED MAINTAINER= se@FreeBSD.org COMMENT= Perl Gtk+ based dvd-ripper LICENSE= ART10 GPLv1 # (ART10 or GPLv1) and CC-BY-SA-2.5 LICENSE_COMB= dual BUILD_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \ p5-AnyEvent>=0:devel/p5-AnyEvent \ p5-Event-ExecFlow>=0:devel/p5-Event-ExecFlow \ p5-Gtk2-Ex-FormFactory>=0:x11-toolkits/p5-Gtk2-Ex-FormFactory \ p5-Event-RPC>=0:devel/p5-Event-RPC \ p5-Locale-libintl>=0:devel/p5-Locale-libintl RUN_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \ p5-AnyEvent>=0:devel/p5-AnyEvent \ p5-Event-ExecFlow>=0:devel/p5-Event-ExecFlow \ p5-Gtk2-Ex-FormFactory>=0:x11-toolkits/p5-Gtk2-Ex-FormFactory \ p5-Event-RPC>=0:devel/p5-Event-RPC \ p5-Locale-libintl>=0:devel/p5-Locale-libintl \ cdrdao:sysutils/cdrdao \ - convert:graphics/ImageMagick6 \ mplayer:multimedia/mplayer \ pstree:sysutils/pstree \ transcode:multimedia/transcode \ vcdimager:multimedia/vcdimager \ ${LOCALBASE}/sbin/fping:net/fping \ cdrecord:sysutils/cdrtools -USES= gettext perl5 shebangfix +USES= gettext magick:6,run perl5 shebangfix USE_PERL5= configure patch SHEBANG_FILES= bin/dvdrip* CONFIGURE_ENV= SKIP_UNPACK_REQUIRED_MODULES=1 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= VORBIS SUBTITLE RAR OPTIONS_DEFAULT= VORBIS SUBTITLE RAR_DESC= Support RAR-compressed vobsub subtitles SUBTITLE_DESC= Enable support for getting subtitles RAR_RUN_DEPENDS= rar:archivers/rar SUBTITLE_RUN_DEPENDS= subtitle2pgm:multimedia/subtitleripper VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools \ ogmmerge:multimedia/ogmtools post-patch: @${PERL} -pi -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#' \ ${WRKSRC}/lib/Video/DVDRip/Cluster/Master.pm \ ${WRKSRC}/lib/Video/DVDRip/Depend.pm @${FIND} ${WRKSRC} -name \*.orig -delete post-install: .for f in dvdrip-progress dvdrip-splitpipe @${CHMOD} u+w ${STAGEDIR}${PREFIX}/bin/${f} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} @${CHMOD} u-w ${STAGEDIR}${PREFIX}/bin/${f} .endfor .include diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile index f01bdaa2d0db..3aa99e91a5c1 100644 --- a/multimedia/emby-server/Makefile +++ b/multimedia/emby-server/Makefile @@ -1,126 +1,128 @@ PORTNAME= emby-server DISTVERSION= 4.6.7.0 CATEGORIES= multimedia MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \ https://mediabrowser.github.io/embytools/ DISTNAME= embyserver-netframework_${PORTVERSION} DISTFILES= ${DISTNAME}.zip \ ffdetect-${FFVERSION}-x64_freebsd13.tar.xz \ ffmpeg-${FFVERSION}.tar.gz \ license.docx DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}.zip \ ffdetect-${FFVERSION}-x64_freebsd13.tar.xz \ ffmpeg-${FFVERSION}.tar.gz MAINTAINER= driesm@FreeBSD.org COMMENT= Media server to organize, play & stream audio/video to various devices LICENSE= UNKNOWN LICENSE_NAME= custom LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/license.docx LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= nasm:devel/nasm LIB_DEPENDS= libass.so:multimedia/libass \ libdav1d.so:multimedia/dav1d \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgnutls.so:security/gnutls \ libmfx.so:multimedia/intel-media-sdk \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libpng.so:graphics/png \ libraw.so:graphics/libraw \ libtheora.so:multimedia/libtheora \ libva.so:multimedia/libva \ libvorbis.so:audio/libvorbis \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp \ libx264.so:multimedia/libx264 \ libx265.so:multimedia/x265 \ libzvbi.so:devel/libzvbi RUN_DEPENDS= mono6.8>0:lang/mono6.8 USES= compiler:c11 gmake iconv localbase:ldflags pkgconfig sqlite USE_RC_SUBR= ${PORTNAME} HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" \ --disable-alsa \ --disable-doc \ --disable-ffplay \ --disable-libxcb \ --disable-outdev=xv \ --disable-sdl2 \ --disable-shared \ --disable-sndio \ --disable-v4l2-m2m \ --disable-vdpau \ --disable-xlib \ --enable-fontconfig \ --enable-gnutls \ --enable-gpl \ --enable-iconv \ --enable-libass \ --enable-libdav1d \ --enable-libdrm \ --enable-libfreetype \ --enable-libfribidi \ --enable-libmfx \ --enable-libopus \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libwebp \ --enable-libx264 \ --enable-libx265 \ --enable-libzvbi \ --enable-optimizations \ --enable-static \ --enable-vaapi \ --enable-version3 MAKE_ENV= V=1 NOPRECIOUSMAKEVARS= yes SUB_FILES= ImageMagickSharp.dll.config \ SQLitePCLRaw.provider.sqlite3.dll.config SUB_LIST= GROUP=${GROUPS} \ PORTNAME=${PORTNAME} \ RC_NAME=emby_server \ USER=${USERS} WRKSRC= ${WRKDIR}/ffmpeg-${FFVERSION}_public USERS= emby GROUPS= emby OPTIONS_DEFINE= LAME X11 OPTIONS_DEFAULT= LAME X11 LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame -X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 -X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick6-nox11 -X11_USES= xorg +SMB_USES= samba:lib +SMB_CONFIGURE_ENABLE= libsmbclient + +X11_USES= xorg magick:6 +X11_USES_OFF= magick:6,nox11 X11_USE= xorg=x11 FFVERSION= 2021_02_27 do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/system (${INSTALL_DATA} ${WRKDIR}/ImageMagickSharp.dll.config ${STAGEDIR}${PREFIX}/lib/emby-server/system) (${INSTALL_DATA} ${WRKDIR}/SQLitePCLRaw.provider.sqlite3.dll.config ${STAGEDIR}${PREFIX}/lib/emby-server/system) (cd ${WRKDIR}/system && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/emby-server/system) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/emby-server/bin (${INSTALL_PROGRAM} ${WRKDIR}/bin/ffdetect ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffmpeg ${STAGEDIR}${PREFIX}/lib/emby-server/bin) (${INSTALL_PROGRAM} ${WRKSRC}/ffprobe ${STAGEDIR}${PREFIX}/lib/emby-server/bin) .include diff --git a/multimedia/libopenshot/Makefile b/multimedia/libopenshot/Makefile index c76c6793575f..2d9846bd34d2 100644 --- a/multimedia/libopenshot/Makefile +++ b/multimedia/libopenshot/Makefile @@ -1,67 +1,67 @@ PORTNAME= libopenshot DISTVERSIONPREFIX= v DISTVERSION= 0.2.7 PORTREVISION= 1 CATEGORIES= multimedia PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= OpenShot Video Library LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= swig:devel/swig \ ${LOCALBASE}/include/zmq.hpp:net/cppzmq LIB_DEPENDS= libopenshot-audio.so:audio/libopenshot-audio \ libjsoncpp.so:devel/jsoncpp \ libavformat.so:multimedia/ffmpeg \ libzmq.so:net/libzmq4 USES= cmake pkgconfig python:3.6+ qt:5 USE_GITHUB= yes GH_ACCOUNT= OpenShot USE_LDCONFIG= yes USE_PYTHON= flavors USE_QT= core gui network multimedia widgets qmake_build buildtools_build CMAKE_ON= USE_SYSTEM_JSONCPP DISABLE_BUNDLED_JSONCPP\ USE_HW_ACCEL ENABLE_PYTHON\ CMAKE_DISABLE_FIND_PACKAGE_Catch2\ CMAKE_DISABLE_FIND_PACKAGE_Resvg\ CMAKE_DISABLE_FIND_PACKAGE_Ruby CMAKE_OFF= ENABLE_COVERAGE BUILD_TESTING ENABLE_TESTS\ ENABLE_RUBY OPTIONS_DEFINE= DOCS IMAGEMAGICK OPENCV OPTIONS_DEFAULT= IMAGEMAGICK OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CMAKE_BOOL= ENABLE_DOCS DOCS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:PATH=${DOCSDIR_REL:Q} DOCS_PORTDOCS= * -IMAGEMAGICK_LIB_DEPENDS= libMagick++-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +IMAGEMAGICK_USES= magick IMAGEMAGICK_CMAKE_BOOL= ENABLE_MAGICK IMAGEMAGICK_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ImageMagick OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv \ libprotobuf.so:devel/protobuf OPENCV_CMAKE_BOOL= ENABLE_OPENCV OPENCV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenCV\ CMAKE_DISABLE_FIND_PACKAGE_Protobuf OPENCV_CMAKE_ON= -DOpenCV_DIR:STRING=${LOCALBASE:Q}/cmake/opencv4 .include .if ${ARCH} == powerpc USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang .endif do-build-DOCS-on: @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} doc; then \ (${ECHO_CMD} "===> ${.TARGET} failed unexpectedly.") | ${FMT_80} ; \ ${FALSE}; \ fi) .include diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 8a9a1b87a64f..1e2e561232d3 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -1,186 +1,186 @@ # Created by: alex PORTNAME= xine DISTVERSION= 1.2.11 PORTREVISION= 7 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION} PKGNAMEPREFIX= lib DISTNAME= ${PORTNAME}-lib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Libraries for xine multimedia player LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ liba52.so:audio/liba52 \ libvorbis.so:audio/libvorbis \ libspeex.so:audio/speex \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libdvdread.so:multimedia/libdvdread \ libfreetype.so:print/freetype2 \ libfame.so:multimedia/libfame \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ libmodplug.so:audio/libmodplug \ libvcdinfo.so:multimedia/vcdimager \ libtheora.so:multimedia/libtheora \ libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libavcodec.so:multimedia/ffmpeg \ libfaad.so:audio/faad \ libvdpau.so:multimedia/libvdpau \ libvpx.so:multimedia/libvpx \ libiso9660.so:sysutils/libcdio \ libogg.so:audio/libogg \ libdvdnav.so:multimedia/libdvdnav USES= compiler cpe gl gmake gnome iconv libtool:keepla jpeg \ localbase pathfix perl5 pkgconfig tar:xz xorg LLD_UNSAFE= yes CPE_PRODUCT= xine-lib CPE_VENDOR= xine GNU_CONFIGURE= yes USE_XORG= x11 xcb xv xinerama xext sm ice USE_GL= gl glu USE_PERL5= build USE_LDCONFIG= yes CONFIGURE_ARGS= --with-libflac \ --enable-musepack \ --enable-real-codecs \ --without-esound MAKE_ENV= V=1 MAKE_ARGS= pkgdatadir="${DATADIR}" \ datadir="${DATADIR}" \ libdir="${PREFIX}/lib" CFLAGS_i386= -fomit-frame-pointer DOCSDIR= ${PREFIX}/share/doc/xine-lib # Please sync with XINE_PLUGINSDIR in multimedia/xine # and multimedia/vdr-plugin-xineliboutput PLUGINSDIR= lib/xine/plugins/2.9 PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" OPTIONS_DEFINE= AALIB ALSA AOM CACA DAV1D DOCS DMX_IMAGE DVB \ IMAGEMAGICK IPV6 JACK LIBBLURAY NFS NLS PIXBUF PULSEAUDIO \ SDL SFTP SMB SNDIO V4L VAAPI WAVPACK WAYLAND XVMC OPTIONS_DEFAULT= DVB OPENSSL PIXBUF VAAPI OPTIONS_DEFINE_i386= W32DLL OPTIONS_DEFAULT_i386= W32DLL OPTIONS_GROUP= TLS OPTIONS_GROUP_TLS= GNUTLS OPENSSL OPTIONS_SUB= yes AOM_DESC= Enable libaom AV1 decoder support DAV1D_DESC= Enable dav1d AV1 decoder support DMX_IMAGE_DESC= DMX image plugin DVB_DESC= DVB plugin NFS_DESC= Enable NFS support using libnfs SDL_DESC= Enable support for SDL 1 video output SFTP_DESC= Enable SFTP support using libssh2 TLS_DESC= Enable TLS support for https and ftps W32DLL_DESC= Win32 codec support WAYLAND_DESC= Enable Wayland support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_ENABLE= aalib ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_WITH= libaom CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_WITH= caca DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_WITH= dav1d DVB_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat DVB_CONFIGURE_ENABLE= dvb GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ON= --enable-tls -IMAGEMAGICK_LIB_DEPENDS= libMagickWand-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_WITH= imagemagick IMAGEMAGICK_IMPLIES= DMX_IMAGE IPV6_CONFIGURE_ENABLE= ipv6 JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_WITH= jack LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CONFIGURE_ENABLE= nfs OPENSSL_CONFIGURE_ON= --enable-tls OPENSSL_CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_USES= ssl PIXBUF_CONFIGURE_ENABLE= gdkpixbuf PIXBUF_IMPLIES= DMX_IMAGE PIXBUF_USE= GNOME=gdkpixbuf2,glib20 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio SDL_CONFIGURE_WITH= sdl SDL_USES= sdl SDL_USE= SDL=sdl SFTP_LIB_DEPENDS= libssh2.so:security/libssh2 SFTP_CONFIGURE_ENABLE= sftp SMB_USES= samba:lib SMB_CONFIGURE_ENV= LIBSMBCLIENT_LIBS="-L${SAMBALIBS} -lsmbclient" \ LIBSMBCLIENT_CFLAGS="-I${SAMBAINCLUDES}" SMB_CONFIGURE_ENABLE= samba SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio VAAPI_LIB_DEPENDS= libva.so:multimedia/libva \ libva-glx.so:multimedia/libva-glx VAAPI_CONFIGURE_ENABLE= vaapi V4L_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l v4l v4l2 W32DLL_CONFIGURE_ENABLE= w32dll W32DLL_PLIST_FILES= ${PLUGINSDIR}/xineplug_decode_w32dll.so WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_WITH= wavpack WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland .if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1) XVMC_CONFIGURE_WITH= xvmc-lib=XvMCNVIDIA XVMC_LIB_DEPENDS= libXvMCNVIDIA.so:x11/nvidia-driver-304 .else XVMC_CONFIGURE_WITH= xvmc-lib=XvMCW XVMC_LIB_DEPENDS= libXvMC.so:x11/libXvMC .endif XVMC_CONFIGURE_ENABLE= xvmc .include .if ${ARCH} == aarch64 BUILD_DEPENDS+= as:devel/binutils .elif ${ARCH} == powerpc BUILD_DEPENDS+= as:devel/binutils CFLAGS+= -fno-integrated-as .endif .if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --disable-tls .endif pre-configure-GNUTLS-off: @${REINPLACE_CMD} -e 's|have_gnutls=yes|have_gnutls=no|' \ ${WRKSRC}/configure post-patch: .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-fno-rename-registers||' \ ${WRKSRC}/src/libw32dll/Makefile.in .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/post/*.so .include diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile index 430d07ed5adc..769d36ceb4b7 100644 --- a/multimedia/lives/Makefile +++ b/multimedia/lives/Makefile @@ -1,167 +1,166 @@ # Created by: Andrew Pantyukhin PORTNAME= lives DISTVERSION= 3.2.0 PORTREVISION= 8 CATEGORIES= multimedia MASTER_SITES= http://lives-video.com/releases/ DISTNAME= LiVES-${PORTVERSION} MAINTAINER= vvd@unislabs.com COMMENT= Video editing system LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPL 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 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 \ SCHROEDINGER 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 SCHROEDINGER \ 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_RUN_DEPENDS= convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \ - composite:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +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 SCHROEDINGER_CONFIGURE_OFF= --disable-dirac SCHROEDINGER_LIB_DEPENDS= libschroedinger-1.0.so:multimedia/schroedinger 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/multimedia/py-moviepy/Makefile b/multimedia/py-moviepy/Makefile index 89719fa520d1..3b375090ca28 100644 --- a/multimedia/py-moviepy/Makefile +++ b/multimedia/py-moviepy/Makefile @@ -1,36 +1,36 @@ PORTNAME= moviepy PORTVERSION= 1.0.3 PORTREVISION= 1 CATEGORIES= multimedia python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Video editing with Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE.txt RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ ${PYTHON_PKGNAMEPREFIX}decorator4>=4.0.2<5.0:devel/py-decorator4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}imageio>=2.5<3.0:graphics/py-imageio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0.2.0:graphics/py-imageio-ffmpeg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}proglog<=1.0.0:devel/py-proglog@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.8.1<3.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.11.2<5.0:misc/py-tqdm@${PY_FLAVOR} \ USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_SINGLE= IMAGEMAGICK OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7 OPTIONS_DEFAULT=IMAGEMAGICK7 IMAGEMAGICK6_DESC= Use ImageMagick 6.x as backend IMAGEMAGICK7_DESC= Use ImageMagick 7.x as backend -IMAGEMAGICK6_RUN_DEPENDS= convert:graphics/ImageMagick6 -IMAGEMAGICK7_RUN_DEPENDS= convert:graphics/ImageMagick7 +IMAGEMAGICK6_USES= magick:6,run +IMAGEMAGICK7_USES= magick:7,run .include diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile index 238befda0cf5..8aff1232bd93 100644 --- a/multimedia/transcode/Makefile +++ b/multimedia/transcode/Makefile @@ -1,160 +1,160 @@ # Created by: Hendrik Scholz PORTNAME= transcode PORTVERSION= 1.1.7 PORTREVISION= 48 CATEGORIES= multimedia MASTER_SITES= https://bitbucket.org/france/transcode-tcforge/downloads/ MAINTAINER= se@FreeBSD.org COMMENT= Text-console utility for video stream processing LICENSE= GPLv2 LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg USE_LDCONFIG= yes USES= gmake libtool pkgconfig tar:bzip2 gettext-runtime GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-oss CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS X11 MPEG2 BKTR POSTPROC FREETYPE LAME \ XVID X264 OGG VORBIS THEORA DVDREAD DV QUICKTIME LZO A52 \ FAAC LIBXML2 MJPEGTOOLS SDL IMAGEMAGICK JPEG ICONV V4L OPTIONS_DEFAULT= LAME DVDREAD JPEG ICONV BKTR_DESC= Bktr capture card support POSTPROC_DESC= Libpostproc support DVDREAD_DESC= Libdvdread support X11_USES= xorg X11_USE= xorg=xv,xaw,xpm,sm,ice,xext,x11,xt X11_CONFIGURE_WITH= x MPEG2_LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 MPEG2_CONFIGURE_ENABLE= libmpeg2 libmpeg2convert BKTR_CONFIGURE_ENABLE= bktr POSTPROC_CONFIGURE_ENABLE= libpostproc FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype2 LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= lame LAME_CONFIGURE_ON= --with-lame-prefix=${LOCALBASE} XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= xvid XVID_CONFIGURE_ON= --with-xvid-prefix=${LOCALBASE} X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= x264 OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_ENABLE= ogg VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= vorbis THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= theora DVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread DVDREAD_CONFIGURE_ENABLE= libdvdread DVDREAD_CONFIGURE_ON= --with-libdvdread-prefix=${LOCALBASE} DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_CONFIGURE_ENABLE= libdv QUICKTIME_LIB_DEPENDS= libquicktime.so:multimedia/libquicktime QUICKTIME_CONFIGURE_ENABLE= libquicktime LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 LZO_CONFIGURE_ENABLE= lzo LZO_CONFIGURE_ON= --with-lzo-prefix=${LOCALBASE} --with-lzo-includes=${LOCALBASE} A52_LIB_DEPENDS= liba52.so:audio/liba52 A52_CONFIGURE_ENABLE= a52 A52_CONFIGURE_ON= --with-a52-prefix=${LOCALBASE} FAAC_LIB_DEPENDS= libfaac.so:audio/faac FAAC_CONFIGURE_ENABLE= faac FAAC_CONFIGURE_ON= --with-faac-prefix=${LOCALBASE} LIBXML2_USES= gnome LIBXML2_USE= GNOME=libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 MJPEGTOOLS_LIB_DEPENDS= liblavjpeg.so:multimedia/mjpegtools MJPEGTOOLS_CONFIGURE_ENABLE= mjpegtools SDL_USES= sdl SDL_USE= SDL=sdl SDL_CONFIGURE_ENABLE= sdl -IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6 IMAGEMAGICK_CONFIGURE_ENABLE= imagemagick IMAGEMAGICK_CONFIGURE_ON= --with-imagemagick-prefix=${LOCALBASE} JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= libjpeg JPEG_CONFIGURE_ON= --with-libjpeg-prefix=${LOCALBASE} ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv ICONV_CONFIGURE_ON= --with-iconv-prefix=${ICONV_PREFIX} V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CONFIGURE_ENABLE= v4l .include LDFLAGS_i386+= -Wl,-z,notext .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \ ac_cv_lib_iconv_libiconv_open=no .endif post-extract: @${RM} ${WRKSRC}/import/v4l/videodev* post-patch: @${REINPLACE_CMD} -E -e 's|loff_t|uint64_t|' ${WRKSRC}/avilib/avidump.c @${REINPLACE_CMD} -E -e 's|> ${TMPPLIST}) .include diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile index 3fd170b53e90..73b4e0fd45a0 100644 --- a/multimedia/vapoursynth/Makefile +++ b/multimedia/vapoursynth/Makefile @@ -1,130 +1,129 @@ PORTNAME= vapoursynth DISTVERSION= R54 PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org COMMENT= Video processing framework with simplicity in mind LICENSE= LGPL21+ USE_GITHUB= yes USES= autoreconf gmake libtool localbase pathfix pkgconfig GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes DATADIR= ${PREFIX}/lib/vapoursynth OPTIONS_DEFINE= DEBUG DOCS FRAME_GUARD OPTIONS_DEFAULT=${OPTIONS_GROUP_COMPS} ${OPTIONS_GROUP_PLUGINS} OPTIONS_SUB= yes OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_GROUP= COMPS PLUGINS COMPS_DESC= Components OPTIONS_GROUP_COMPS= CORE PYTHON VSPIPE VSSCRIPT PLUGINS_DESC= Plugins OPTIONS_GROUP_PLUGINS= ASS EEDI3 IMAGEMAGICK MISCFILTERS MORPHO TESSERACT \ REMOVEGRAIN VINVERSE VIVTC # General options DEBUG_CONFIGURE_ENABLE= debug DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_USES= makeinfo DOCS_INFO= VapourSynth DOCS_PORTDOCS= * FRAME_GUARD_DESC= Check integrity after each filter FRAME_GUARD_CONFIGURE_ENABLE= guard-pattern # VSSCRIPT or REMOVEGRAIN SIMD_BUILD_DEPENDS= nasm:devel/nasm SIMD_CONFIGURE_ENABLE= x86-asm # COMPS group CORE_DESC= Core library CORE_BUILD_DEPENDS= sekrit-twc-zimg>=2.9.3:graphics/sekrit-twc-zimg CORE_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg CORE_USES= compiler:c++11-lib CORE_CONFIGURE_ENABLE= core PYTHON_USES= python:3.3+ PYTHON_USE= python=cython PYTHON_VARS= BINARY_ALIAS=cython=cython-${PYTHON_VER} PYTHON_CONFIGURE_ENABLE= python-module PYTHON_IMPLIES= CORE VSPIPE_DESC= Command line interface VSPIPE_USES= compiler:c++11-lib VSPIPE_CONFIGURE_ENABLE= vspipe VSPIPE_IMPLIES= VSSCRIPT VSSCRIPT_DESC= Scripting library VSSCRIPT_USES= compiler:c++11-lib python:3.3+ VSSCRIPT_CONFIGURE_ENABLE= vsscript # PLUGINS group ASS_DESC= Subtitles rendering via libass ASS_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libass.so:multimedia/libass ASS_USES= iconv ASS_CONFIGURE_ENABLE= subtext EEDI3_DESC= Very slow edge directed interpolation EEDI3_CONFIGURE_ENABLE= eedi3 -IMAGEMAGICK_LIB_DEPENDS= libMagick++-7.so:graphics/ImageMagick7 -IMAGEMAGICK_USES= compiler:c++11-lib +IMAGEMAGICK_USES= compiler:c++11-lib magick:7 IMAGEMAGICK_CONFIGURE_ENABLE= imwri TESSERACT_DESC= Optical Character Recognition via Tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CONFIGURE_ENABLE= ocr MISCFILTERS_DESC= Miscellaneous filters MISCFILTERS_CONFIGURE_ENABLE= miscfilters MORPHO_DESC= Morphological filter MORPHO_CONFIGURE_ENABLE= morpho REMOVEGRAIN_DESC= 3x3 median and convolution denoising REMOVEGRAIN_CONFIGURE_ENABLE= removegrain VINVERSE_DESC= Remove residual combing VINVERSE_CONFIGURE_ENABLE= vinverse VIVTC_DESC= Field matching, inverse telecine and decimation VIVTC_CONFIGURE_ENABLE= vivtc post-patch: @${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \ -e '/AC_SEARCH.*libiconv/d' \ -e '/test/s/[^ ]*libiconv.*-a //' \ ${WRKSRC}/configure.ac post-build-DOCS-on: @${DO_MAKE_BUILD} html texinfo -C${WRKSRC}/doc @${DO_MAKE_BUILD} info -C${WRKSRC}/doc/_build/texinfo @if [ -n "${PORT_OPTIONS:MVSPIPE}" ]; then \ ${DO_MAKE_BUILD} man -C${WRKSRC}/doc; \ fi post-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/doc/_build/texinfo/VapourSynth.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH} (cd ${WRKSRC}/doc/_build/html && ${COPYTREE_SHARE} \ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) @if [ -n "${PORT_OPTIONS:MVSPIPE}" ]; then \ ${INSTALL_MAN} -v ${WRKSRC}/doc/_build/man/vspipe.1 \ ${STAGEDIR}${PREFIX}/share/man/man1; \ fi .include diff --git a/net-im/pidgin-latex/Makefile b/net-im/pidgin-latex/Makefile index 161fe0f0bef3..ec1438e3e132 100644 --- a/net-im/pidgin-latex/Makefile +++ b/net-im/pidgin-latex/Makefile @@ -1,31 +1,30 @@ # Created by: Geoffrey Mainland PORTNAME= latex PORTVERSION= 1.0 PORTREVISION= 10 CATEGORIES= net-im MASTER_SITES= SF/pidgin-${PORTNAME}/pidgin-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= pidgin- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= mainland@apeiron.net COMMENT= Display LaTeX output in your IMs BUILD_DEPENDS= ${LOCALBASE}/include/pidgin/pidgin.h:net-im/pidgin -RUN_DEPENDS= pidgin:net-im/pidgin \ - convert:graphics/ImageMagick6 +RUN_DEPENDS= pidgin:net-im/pidgin WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME} -USES= gmake gnome pkgconfig tar:bzip2 +USES= gmake gnome magick:6,run pkgconfig tar:bzip2 USE_TEX= latex USE_GNOME= gtk20 MAKE_ARGS= CC="${CC}" PLIST_FILES= lib/pidgin/LaTeX.so do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pidgin ${INSTALL_LIB} ${WRKSRC}/LaTeX.so ${STAGEDIR}${PREFIX}/lib/pidgin .include diff --git a/net-im/purple-discord/Makefile b/net-im/purple-discord/Makefile index f0b66eb23f8e..6268f9b968d4 100644 --- a/net-im/purple-discord/Makefile +++ b/net-im/purple-discord/Makefile @@ -1,24 +1,23 @@ PORTNAME= purple-discord PORTVERSION= g20210729 CATEGORIES= net-im MAINTAINER= swills@FreeBSD.org COMMENT= Discord plugin for libpurple LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= convert:graphics/ImageMagick6 LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libpurple.so:net-im/libpurple -USES= dos2unix gettext gmake gnome pkgconfig +USES= dos2unix gettext gmake gnome magick:6,build pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= EionRobb GH_TAGNAME= 6c5a778 DOS2UNIX_FILES= Makefile .include diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile index bb269408592e..37283690fcba 100644 --- a/net-mgmt/librenms/Makefile +++ b/net-mgmt/librenms/Makefile @@ -1,201 +1,201 @@ PORTNAME= librenms PORTVERSION= 21.5.1 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= LOCAL/dvl:vendor DISTFILES= ${PORTNAME}-vendor-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}:vendor MAINTAINER= dvl@FreeBSD.org COMMENT= Autodiscovering PHP/MySQL/SNMP based network monitoring LICENSE= GPLv3 # perhaps we also need python-memcache python-mysqldb RUN_DEPENDS+= ${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6@${PHP_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>0:www/py-python-dotenv@${PY_FLAVOR} \ bash:shells/bash \ dot:graphics/graphviz \ rrdtool:databases/rrdtool \ snmpget:net-mgmt/net-snmp \ sudo:security/sudo USES= cpe php python shebangfix USE_GITHUB= yes USE_PHP= ctype curl dom fileinfo filter gd hash json ldap mbstring \ mysqli openssl pdo pdo_mysql phar posix session simplexml \ snmp sockets tokenizer xml xmlwriter zip USE_RC_SUBR= librenms SHEBANG_FILES= ../${PORTNAME}-vendor-${PORTVERSION}/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \ ../${PORTNAME}-vendor-${PORTVERSION}/tecnickcom/tcpdf/tools/tcpdf_addfont.php \ poller-wrapper.py poller.php scripts/auth_test.php \ scripts/check_requirements.py scripts/github-remove \ scripts/Migration/Standard_Conversion/convert_no_xml.sh \ scripts/Migration/Standard_Conversion/destwork_no_xml.sh \ scripts/Migration/Standard_Conversion/mkdir.sh \ scripts/Migration/XML_Conversion/convert.sh \ scripts/Migration/XML_Conversion/destwork.sh \ scripts/Migration/XML_Conversion/mkdir.sh \ scripts/removespikes.php scripts/removespikes.pl \ scripts/watchmaillog/watchmaillog.pl NO_ARCH= yes NO_BUILD= yes SUB_FILES+= pkg-message SUB_LIST+= GROUP="${WWWGRP}" \ PHP="${PHPBASE}/bin/php" \ PYTHON=${PYTHON_CMD} \ USER="${WWWOWN}" \ WWWDIR="${WWWDIR}" USERS= www PORTDOCS= * PORTEXAMPLES= snmpd.conf.example OPTIONS_DEFINE= DOCS EXAMPLES FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS \ NMAP WMIC X11 OPTIONS_DEFAULT= FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER WMIC FPING_DESC= Enable fping support ping monitoring IPMITOOL_DESC= Enable support for monitoring hardware IPMI MYSQLD_DESC= Use local MySQL server WMIC_DESC= Enable support for WMI polling FPING_RUN_DEPENDS= fping:net/fping IPMITOOL_RUN_DEPENDS= ipmitool:sysutils/ipmitool LIBVIRT_RUN_DEPENDS= virsh:devel/libvirt MYSQLD_USES= mysql:server MYSQLD_USES_OFF= mysql:client NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins NMAP_RUN_DEPENDS= nmap:security/nmap WMIC_RUN_DEPENDS= wmic:net-mgmt/wmi-client -X11_RUN_DEPENDS= Magick-config:graphics/ImageMagick6 \ - mtr:net/mtr -X11_RUN_DEPENDS_OFF= Magick-config:graphics/ImageMagick6-nox11 \ - mtr:net/mtr-nox11 +X11_RUN_DEPENDS= mtr:net/mtr +X11_RUN_DEPENDS_OFF= mtr:net/mtr-nox11 +X11_USES= magick:6 +X11_USES_OFF= magick:6,nox11 _ROOT_FILES= addhost.php adduser.php alerts.php artisan \ billing-calculate.php check-services.php composer.json \ composer.lock config.php.default config_to_json.php \ cronic daily.php delhost.php discovery-wrapper.py \ discovery.php dist-pollers.php irc.php \ librenms-service.py mkdocs.yml pbin.sh phpunit.xml \ ping.php poll-billing.php poller.php poller-wrapper.py \ renamehost.php snmp-scan.py snmptrap.php syslog.php \ validate.php _SCRIPT_FILES= daily.sh lnms # _RELEASE_TIMESTAMP is used for a patch inside the vendor code # it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01 # It sits here so you remember to update it with each release _RELEASE_TIMESTAMP= 1621427246 _ROOT_DIRS= LibreNMS app bootstrap config contrib database doc html \ includes licenses mibs misc resources routes scripts \ sql-schema storage tests _DOCS= AUTHORS.md CHANGELOG.md CONTRIBUTING.md LICENSE.txt \ README.md # these are directories which require a generic @DIR entry in pkg-plist _OTHER_DIRS= html/js/lang resources/views/overview/custom \ storage/app/public storage/debugbar \ storage/framework/cache/data storage/framework/testing \ storage/logs tests/Browser/console \ tests/Browser/screenshots \ vendor/librenms/laravel-vue-i18n-generator/tests/output \ vendor/ramsey/collection/bin \ vendor/symfony/string/Resources/bin post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/LibreNMS/Util/Version.php ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/LibreNMS/Validations/Php.php ${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/includes/common.php ${REINPLACE_CMD} 's|%%RELEASE_TIMESTAMP%%|${_RELEASE_TIMESTAMP}|g' ${WRKSRC}/includes/common.php ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/includes/html/output/capture.inc.php ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/config.php.default ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/poller-wrapper.py ${RM} ${WRKSRC}/LibreNMS/Validations/Updates.php ${RM} -rf ${WRKSRC}/logs do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} .for dir in ${_ROOT_DIRS} ${MKDIR} ${STAGEDIR}/${WWWDIR}/${dir} (cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/${dir}) .endfor .for f in ${_ROOT_FILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR} .endfor .for f in ${_SCRIPT_FILES} ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR} .endfor ${MKDIR} ${STAGEDIR}/${WWWDIR}/vendor (cd ${WRKDIR}/${PORTNAME}-vendor-${PORTVERSION} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/vendor) # As of 1.66_1, the package installs bootstrap/cache # This was previously left to the code to populate. # That causese problems when the code doesn't do that update. ${MV} ${STAGEDIR}/${WWWDIR}/vendor/bootstrap-cache/* ${STAGEDIR}/${WWWDIR}/bootstrap/cache/ ${RM} -rf ${STAGEDIR}/${WWWDIR}/vendor/bootstrap-cache # similarly with html/js/lang ${MV} ${STAGEDIR}/${WWWDIR}/vendor/html-js-lang/* ${STAGEDIR}/${WWWDIR}/html/js/lang/ ${RM} -rf ${STAGEDIR}/${WWWDIR}/vendor/html-js-lang # Make daily.sh executable # ${CHMOD} 0755 ${STAGEDIR}/${WWWDIR}/daily.sh # lnms does not fall into any other +x category # ${CHMOD} 0755 ${STAGEDIR}/${WWWDIR}/lnms # Files in scripts dir should be executable ${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \; # Ensure PHP and Python scripts are executable ${FIND} ${STAGEDIR}/${WWWDIR} -type f -name '*.py' -or -type f -name \ '*.php' -exec ${CHMOD} +x {} \; # these values should be outside the www tree now ${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} ${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} ${MKDIR} ${STAGEDIR}/var/run/${PORTNAME} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} .for f in ${_DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR} .endfor cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${EXAMPLESDIR} .endfor post-install: ${FIND} -s ${STAGEDIR}${WWWDIR} -type f '(' -name '*.orig' -or -name '*.bak' -or -name '.gitignore' ')' -delete ${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} # we do this file separately because it needs a different chmod/chown # it will eventually contains secrets ${INSTALL_DATA} ${WRKSRC}/.env.example ${STAGEDIR}/${WWWDIR} ${ECHO_CMD} "@(root,www,0750) ${WWWDIR}/.env.example" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/bootstrap/cache" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/storage" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/storage/framework/cache" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/storage/framework/sessions" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/storage/framework/views" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) /var/log/${PORTNAME}" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) /var/db/${PORTNAME}" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) /var/run/${PORTNAME}" >> ${TMPPLIST} .for f in ${_OTHER_DIRS} ${ECHO_CMD} "@dir(root,www,0775) ${WWWDIR}/${f}" >> ${TMPPLIST} .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/newsyslog.conf.sample ${STAGEDIR}/${WWWDIR}/contrib/newsyslog.conf.sample ${ECHO_CMD} "@dir etc/newsyslog.conf.d" >> ${TMPPLIST} ${ECHO_CMD} "@sample ${WWWDIR}/contrib/newsyslog.conf.sample etc/newsyslog.conf.d/librenms.conf" >> ${TMPPLIST} .include diff --git a/net/scapy/Makefile b/net/scapy/Makefile index 98af99fecd8e..1f1595d0640d 100644 --- a/net/scapy/Makefile +++ b/net/scapy/Makefile @@ -1,58 +1,58 @@ # Created by: vanhu PORTNAME= scapy PORTVERSION= 2.4.5 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Powerful interactive packet manipulation program in python LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libdnet>0:net/py-libdnet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pypcap>0:net/py-pypcap@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} USES= cpe python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= GRAPH IPYTHON P0F_BASE MANUF MATPLOT NMAP PYCRYPTO PYX QUESO_BASE SOX GRAPH_DESC= graph generation and visualization IPYTHON_DESC= Use IPython (enhanced interactive shell) MANUF_DESC= wireshark's MANUF MAC database MATPLOT_DESC= Install python matplotlibs NMAP_DESC= nmap OS signatures database P0F_BASE_DESC= p0f OS signatures database PYCRYPTO_DESC= Use py-crypto for WEP decoding PYX_DESC= PostScript and PDF graphs drawing QUESO_BASE_DESC=queso OS signatures database SOX_DESC= Support for VoIP -GRAPH_RUN_DEPENDS= ${LOCALBASE}/bin/MagickCore-config:graphics/ImageMagick6 \ - ${LOCALBASE}/bin/dot:graphics/graphviz +GRAPH_USES= magick:6,run +GRAPH_RUN_DEPENDS= ${LOCALBASE}/bin/dot:graphics/graphviz IPYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} NMAP_RUN_DEPENDS= ${LOCALBASE}/share/nmap/nmap-os-db:security/nmap MANUF_RUN_DEPENDS= ${LOCALBASE}/share/wireshark/manuf:net/wireshark MATPLOT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} P0F_BASE_RUN_DEPENDS= ${LOCALBASE}/etc/p0f.fp:net-mgmt/p0f PYCRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} PYX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyx>0:graphics/py-pyx@${PY_FLAVOR} QUESO_BASE_RUN_DEPENDS= ${LOCALBASE}/etc/queso.conf.sample:net/queso SOX_RUN_DEPENDS= ${LOCALBASE}/bin/sox:audio/sox post-patch: @${REINPLACE_CMD} "s,share/man/man1,man/man1," ${WRKSRC}/setup.py @${REINPLACE_CMD} "s,pdflatex,pdftex," ${WRKSRC}/scapy/extlib.py @${REINPLACE_CMD} "s,/usr/share/,${LOCALBASE}/share/," \ ${WRKSRC}/scapy/modules/nmap.py @${REINPLACE_CMD} "s,/etc/,${LOCALBASE}/etc/," \ ${WRKSRC}/scapy/modules/p0f.py @${REINPLACE_CMD} 's|"use" in line|"use" in line or "nhop" in line|' \ ${WRKSRC}/scapy/arch/unix.py .include diff --git a/net/tigervnc-viewer/Makefile b/net/tigervnc-viewer/Makefile index aa85245c5574..a0a8e19c2d22 100644 --- a/net/tigervnc-viewer/Makefile +++ b/net/tigervnc-viewer/Makefile @@ -1,37 +1,36 @@ PKGNAMESUFFIX= -viewer CATEGORIES= net COMMENT= TigerVNC Viewer -USES+= gnome iconv jpeg xorg +USES+= gnome iconv jpeg magick:7,build xorg USE_XORG+= ice pixman sm x11 xcursor xext xfixes xft xi xinerama xrender xrandr -BUILD_DEPENDS+= convert:graphics/ImageMagick7 # to generate icons during build LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png \ libfltk.so:x11-toolkits/fltk OPTIONS_DEFINE= DOCS GNUTLS NLS OPTIONS_DEFAULT= GNUTLS OPTIONS_SUB= yes NLS_CMAKE_BOOL= ENABLE_NLS NLS_USES= gettext GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS GNUTLS_LIB_DEPENDS= libtasn1.so:security/libtasn1 \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libgnutls.so:security/gnutls DESKTOP_ENTRIES= "TigerVNC viewer" "Connect to VNC server and display remote desktop" \ "${PORTNAME}" "vncviewer" "Network;" false DESCR= ${.CURDIR}/pkg-descr post-patch: # do not build server components and tests @${REINPLACE_CMD} \ -e 's|add_subdirectory(unix)||' \ -e 's|add_subdirectory(tests)||' \ ${WRKSRC}/CMakeLists.txt MASTERDIR= ${.CURDIR}/../tigervnc-server .include "${MASTERDIR}/Makefile.common.mk" diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index b680a662265c..97cbbb0b593b 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -1,146 +1,146 @@ PORTNAME= cups-filters PORTVERSION= 1.28.10 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= https://www.openprinting.org/download/cups-filters/ MAINTAINER= tijl@FreeBSD.org COMMENT= Additional backends, filters and other software for CUPS 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= cups-pstoraster foomatic-filters 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= convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \ - pdftotext:graphics/poppler-utils \ +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= imagefilters IMAGES_CONFIGURE_WITH= jpeg png tiff IMAGES_DESC= Accept JPEG, PNG, and TIFF files as input IMAGES_LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png 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_USE= OPENLDAP=yes # 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) 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/html2ps/Makefile b/print/html2ps/Makefile index ade49fadc83e..d03fe002ecfa 100644 --- a/print/html2ps/Makefile +++ b/print/html2ps/Makefile @@ -1,50 +1,49 @@ # Created by: Andreas Klemm PORTNAME= html2ps DISTVERSION= 1.0b7 PORTREVISION= 5 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= mogrify:graphics/ImageMagick6 \ - p5-libwww>=0:www/p5-libwww \ +RUN_DEPENDS= p5-libwww>=0:www/p5-libwww \ weblint++:www/weblint++ \ paperconf:print/libpaper NO_BUILD= yes -USES= ghostscript:run perl5 +USES= ghostscript:run magick:6,run perl5 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/latex2rtf/Makefile b/print/latex2rtf/Makefile index 6c0b64c77885..d1a151303efe 100644 --- a/print/latex2rtf/Makefile +++ b/print/latex2rtf/Makefile @@ -1,27 +1,27 @@ # Created by: Joerg Wunsch PORTNAME= latex2rtf DISTVERSION= 2.3.17 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/${PORTVERSION} \ TEX_CTAN MAINTAINER= ports@FreeBSD.org COMMENT= Translator from LaTeX to RTF USES= cpe shebangfix makeinfo SHEBANG_FILES= ${WRKSRC}/scripts/latex2png CPE_VENDOR= latex2rtf_project OPTIONS_DEFINE= LATEX2PNG LATEX2PNG_DESC= Install latex2png utility OPTIONS_SUB= yes +LATEX2PNG_USES= magick:6,run LATEX2PNG_USE= TEX=dvipsk,latex,xetex -LATEX2PNG_RUN_DEPENDS= convert:graphics/ImageMagick6 MAKE_ARGS+= MANDIR=${PREFIX}/man/man1 CFGDIR=${DATADIR}/cfg \ BINDIR=${PREFIX}/bin .include diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile index ea4400ce8749..fd4e13c0ba4c 100644 --- a/print/lilypond-devel/Makefile +++ b/print/lilypond-devel/Makefile @@ -1,94 +1,93 @@ # Created by: patrick, trevor PORTNAME= lilypond DISTVERSION= 2.23.4 CATEGORIES= print audio MASTER_SITES= http://lilypond.org/download/source/v${DISTVERSION:R}/ PKGNAMESUFFIX= -devel MAINTAINER= m.ne@gmx.net COMMENT= GNU music typesetter LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ - convert:graphics/ImageMagick7 \ 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 \ libgmp.so:math/gmp \ libharfbuzz.so:print/harfbuzz \ libltdl.so:devel/libltdl 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 perl5 \ +USES= bison:build compiler:c++11-lib cpe ghostscript gmake gnome magick:7,build perl5 \ pkgconfig python:3.5+ USE_CXXSTD= c++11 USE_GNOME= pango USE_PERL5= build USE_TEX= latex texmf GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-texgyre-dir=${LOCALBASE}/${TEXMFDISTDIR}/fonts/opentype/public/tex-gyre CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} \ HOME=${WRKDIR} \ YACC=${YACC} MAKEFILE= GNUmakefile ALL_TARGET= all 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= GUILE2 NLS URW OPTIONS_SUB= yes GUILE2_DESC= Use guile2 (will incur some performance penalty) URW_DESC= Use bundled URW fonts GUILE2_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \ libguile-2.2.so:lang/guile2 GUILE2_LIB_DEPENDS_OFF= libguile.so:lang/guile1 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: @${REINPLACE_CMD} -e 's||"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh @${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 4e67611c670c..8c32aa5f7a38 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -1,95 +1,94 @@ # Created by: patrick, trevor PORTNAME= lilypond DISTVERSION= 2.22.1 PORTREVISION= 1 CATEGORIES= print audio MASTER_SITES= http://lilypond.org/download/source/v${DISTVERSION:R}/ MAINTAINER= m.ne@gmx.net COMMENT= GNU music typesetter LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ - convert:graphics/ImageMagick7 \ 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 \ libgmp.so:math/gmp \ libltdl.so:devel/libltdl 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 \ - perl5 pkgconfig python:3.5+ + magick:7,build perl5 pkgconfig python:3.5+ USE_CXXSTD= c++11 USE_GNOME= pango USE_PERL5= build USE_TEX= latex texmf GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-texgyre-dir=${LOCALBASE}/${TEXMFDISTDIR}/fonts/opentype/public/tex-gyre CONFIGURE_ENV+= ac_cv_prog_MAKEINFO="${LOCALBASE}/bin/makeinfo" \ FLEX=${FLEX} \ HOME=${WRKDIR} \ YACC=${YACC} MAKEFILE= GNUmakefile ALL_TARGET= all 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= GUILE2 NLS URW OPTIONS_SUB= yes GUILE2_DESC= guile2 instead guile (incurs performance penalty) URW_DESC= Use bundled URW fonts GUILE2_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded \ libguile-2.2.so:lang/guile2 GUILE2_LIB_DEPENDS_OFF= libguile.so:lang/guile1 NLS_USES= gettext NLS_USES_OFF= gettext-tools 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: @${REINPLACE_CMD} -e 's||"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh @${REINPLACE_CMD} -e 's|$save_CXXFLAGS -Werror=suggest-override|$save_CXXFLAGS|' \ ${WRKSRC}/configure @${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/muttprint/Makefile b/print/muttprint/Makefile index d4dcc5171d31..6e63e0aca984 100644 --- a/print/muttprint/Makefile +++ b/print/muttprint/Makefile @@ -1,74 +1,74 @@ # Created by: Oliver Braun PORTNAME= muttprint PORTVERSION= 0.73 PORTREVISION= 4 CATEGORIES= print mail MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION} MAINTAINER= guru@unixarea.de COMMENT= Utility to print mail for most any mail client LICENSE= GPLv2 BUILD_DEPENDS= docbook2pdf:textproc/docbook-utils \ docbook-sgml>0:textproc/docbook-sgml RUN_DEPENDS= psnup:print/psutils \ p5-TimeDate>=0:devel/p5-TimeDate \ p5-Text-Iconv>=0:converters/p5-Text-Iconv GNU_CONFIGURE= yes USES= autoreconf gmake perl5 USE_TEX= latex dvipsk NO_BUILD= yes REINPLACE_ARGS= -i "" OPTIONS_DEFINE= CUPS X11 DOCS XFACE OPTIONS_DEFAULT= X11 X11_DESC= graphics/ImageMagick[-nox11] dependency XFACE_DESC= mail/faces dependency (requires gtk12) CUPS_RUN_DEPENDS= lpr-cups:print/cups XFACE_RUN_DEPENDS= uncompface:mail/faces .if !defined(PAPERSIZE) PAPERSIZE= letter .endif .include .if ${PORT_OPTIONS:MCUPS} PRINT_COMMAND=CUPS .else PRINT_COMMAND=lpr -P$$PRINTER .endif .if ${PORT_OPTIONS:MX11} -RUN_DEPENDS+= convert:graphics/ImageMagick6 +USES+= magick:6,run .else -RUN_DEPENDS+= convert:graphics/ImageMagick6-nox11 +USES+= magick:6,run,nox11 .endif pre-everything:: @${ECHO} @${ECHO} Set PAPERSIZE=a4 if you need that paper size. @${ECHO} post-patch: @${RM} ${WRKSRC}/pics/*.orig .if ${PAPERSIZE}==a4 @${REINPLACE_CMD} 's|%%PAPERSIZE%%|${PAPERSIZE:tu}|' \ ${WRKSRC}/muttprint .else @${REINPLACE_CMD} 's|%%PAPERSIZE%%|${PAPERSIZE}|' \ ${WRKSRC}/muttprint .endif @${REINPLACE_CMD} 's|%%PRINT_COMMAND%%|${PRINT_COMMAND}| ; \ s|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/muttprint .if ${PORT_OPTIONS:MCUPS} @${REINPLACE_CMD} 's|lpr $$CUPS_OPTIONS|${PREFIX}/bin/lpr $$CUPS_OPTIONS|' ${WRKSRC}/muttprint .endif .include diff --git a/print/pdf-redact-tools/Makefile b/print/pdf-redact-tools/Makefile index cbfdfe9f914f..8d1611745205 100644 --- a/print/pdf-redact-tools/Makefile +++ b/print/pdf-redact-tools/Makefile @@ -1,27 +1,26 @@ # Created by: Emanuel Haupt PORTNAME= pdf-redact-tools PORTVERSION= 0.1.2 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= print PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Securely redact and strip metadata from PDF files LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool \ - convert:graphics/ImageMagick6 +RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool -USES= python:3.6+ +USES= magick:6,run python:3.6+ USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes GH_ACCOUNT= firstlookmedia .include diff --git a/print/pdf-tools/Makefile b/print/pdf-tools/Makefile index 76e9d57ff593..5ee16d5c0ef7 100644 --- a/print/pdf-tools/Makefile +++ b/print/pdf-tools/Makefile @@ -1,47 +1,46 @@ PORTNAME= pdf-tools DISTVERSIONPREFIX= v DISTVERSION= 0.90-90 DISTVERSIONSUFFIX= -ga8847b7 CATEGORIES= print elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} MAINTAINER= jrm@FreeBSD.org COMMENT= Emacs support library for PDF files LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: cannot find necessary poppler-private header (see README.org) BUILD_DEPENDS= cask${EMACS_PKGNAMESUFFIX}>0:devel/cask@${EMACS_FLAVOR} \ tablist${EMACS_PKGNAMESUFFIX}>=0.70.4:devel/tablist@${EMACS_FLAVOR} -LIB_DEPENDS= libMagickCore-7.so:graphics/ImageMagick7 \ - libpng.so:graphics/png \ +LIB_DEPENDS= libpng.so:graphics/png \ libpoppler-glib.so:graphics/poppler-glib \ libpoppler.so:graphics/poppler RUN_DEPENDS= tablist${EMACS_PKGNAMESUFFIX}>=0.70:devel/tablist@${EMACS_FLAVOR} -USES= autoreconf:build emacs gettext-runtime gmake gnome +USES= autoreconf:build emacs gettext-runtime gmake gnome magick:7 USE_GITHUB= yes GH_ACCOUNT= vedang USE_GNOME= cairo glib20 EMACS_FLAVORS_EXCLUDE= devel_nox nox do-build: cd ${WRKSRC}/server && ./autogen.sh && ./configure -q && make ${EMACS_CMD} -q --batch -L ${WRKSRC}/lisp -f batch-byte-compile \ ${WRKSRC}/lisp/*.el ${EMACS_CMD} -q --batch \ --eval "(setq generated-autoload-file \ \"${WRKSRC}/lisp/${PORTNAME}-loaddefs.el\" \ backup-inhibited t)" \ -f batch-update-autoloads ${WRKSRC}/lisp do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/server/epdfinfo ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/lisp/* ${FILESDIR}/${PORTNAME}-init.el \ ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME} .include diff --git a/print/texvc/Makefile b/print/texvc/Makefile index 6c9c3228970e..f9a506ee804b 100644 --- a/print/texvc/Makefile +++ b/print/texvc/Makefile @@ -1,31 +1,30 @@ PORTNAME= texvc PORTVERSION= 20050202 PORTREVISION= 6 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 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 +RASTER_USES= ghostscript:run magick:6,run RASTER_USE= TEX=latex,dvipsk -RASTER_RUN_DEPENDS= convert:graphics/ImageMagick6 MAKE_JOBS_UNSAFE= yes do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${STAGEDIR}${PREFIX}/bin .include diff --git a/science/xcrysden/Makefile b/science/xcrysden/Makefile index 56348489f833..e8459172cb27 100644 --- a/science/xcrysden/Makefile +++ b/science/xcrysden/Makefile @@ -1,54 +1,53 @@ PORTNAME= xcrysden PORTVERSION= 1.6.2 PORTREVISION= 2 CATEGORIES= science MASTER_SITES= http://www.xcrysden.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Crystalline and molecular structure visualisation program LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfftw3.so:math/fftw3 \ libgl2ps.so:print/gl2ps \ libTogl2.0.so:graphics/togl RUN_DEPENDS= bwidget>0:x11-toolkits/bwidget \ obabel:science/openbabel \ - convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \ ppmtompeg:graphics/netpbm \ xwd:x11/xwd -USES= fortran gl gmake localbase:ldflags tcl tk xorg +USES= fortran gl gmake localbase:ldflags magick:run tcl tk xorg USE_GL= gl glu USE_XORG= x11 xmu CONFLICTS_INSTALL= cgnslib-4.1.2,1 # bin/unitconv MAKE_ARGS= prefix=${STAGEDIR}${PREFIX} CFLAGS+= -fcommon # notified xcrysden ML on Sep 20, 2020 BINARY_ALIAS= make=gmake gcc=cc gfortran=gfortran${GCC_DEFAULT} OPTIONS_DEFINE= EXAMPLES PORTEXAMPLES= * post-patch: @${CP} ${FILESDIR}/Make.sys ${WRKSRC} @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Make.sys @${RM} -r ${WRKSRC}/external/src post-install: # stagedir shouldn't be in executables @${REINPLACE_CMD} -i '' -e 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/bin/* # remove bad symlinks @${RM} \ ${STAGEDIR}${PREFIX}/share/doc/xcrysden/examples/examples \ ${STAGEDIR}${PREFIX}/share/xcrysden/examples @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xcrysden/* # move examples from the docs dir @${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/libfprint/Makefile b/security/libfprint/Makefile index e0197500c32c..c7b5ee71c677 100644 --- a/security/libfprint/Makefile +++ b/security/libfprint/Makefile @@ -1,29 +1,28 @@ # Created by: barner PORTNAME= libfprint PORTVERSION= 0.7.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://people.freedesktop.org/~anarsoul/ MAINTAINER= lichray@gmail.com COMMENT= Library for fingerprint reader devices LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick6 \ - libnss3.so:security/nss \ +LIB_DEPENDS= libnss3.so:security/nss \ libnspr4.so:devel/nspr GNU_CONFIGURE= yes -USES= gnome libtool pathfix pkgconfig tar:xz xorg +USES= gnome libtool magick:6 pathfix pkgconfig tar:xz xorg USE_LDCONFIG= yes USE_GNOME= glib20 USE_XORG= pixman INSTALL_TARGET= install-strip CPPFLAGS+= -DHAVE_MEMMEM MAKE_JOBS_UNSAFE=yes .include diff --git a/security/p5-GD-SecurityImage/Makefile b/security/p5-GD-SecurityImage/Makefile index 9dedb1f1c3d1..6fab41e478df 100644 --- a/security/p5-GD-SecurityImage/Makefile +++ b/security/p5-GD-SecurityImage/Makefile @@ -1,44 +1,42 @@ # Created by: ports@rbt.ca PORTNAME= GD-SecurityImage PORTVERSION= 1.75 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 module for creating CAPTCHA security images LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-GD>=2.45:graphics/p5-GD OPTIONS_DEFINE= IMAGEMAGICK X11 OPTIONS_DEFAULT=X11 IMAGEMAGICK_DESC= Build ImageMagick module PORTSCOUT= skipv:1.581 USES= perl5 USE_PERL5= configure NO_ARCH= yes .include .if ${PORT_OPTIONS:MIMAGEMAGICK} .if ${PORT_OPTIONS:MX11} -BUILD_DEPENDS+= convert:graphics/ImageMagick6 -RUN_DEPENDS+= convert:graphics/ImageMagick6 +USES+= magick:6,build,run .else -BUILD_DEPENDS+= convert:graphics/ImageMagick6-nox11 -RUN_DEPENDS+= convert:graphics/ImageMagick6-nox11 +USES+= magick:6,build,run,nox11 .endif .endif .include diff --git a/sysutils/xvidcap/Makefile b/sysutils/xvidcap/Makefile index e6cefaa3b5fa..ccef2be8ad16 100644 --- a/sysutils/xvidcap/Makefile +++ b/sysutils/xvidcap/Makefile @@ -1,59 +1,58 @@ # Created by: thierry@pompo.net PORTNAME= xvidcap PORTVERSION= 1.1.7 PORTREVISION= 12 PORTEPOCH= 1 CATEGORIES= sysutils multimedia MASTER_SITES= SF MAINTAINER= thierry@FreeBSD.org COMMENT= Capture your X display to individual frames or MPEG video LICENSE= GPLv3 BUILD_DEPENDS= scrollkeeper-config:textproc/rarian LIB_DEPENDS= libdbus-1.so:devel/dbus \ libfreetype.so:print/freetype2 \ libswscale.so:multimedia/ffmpeg \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libmp3lame.so:audio/lame -RUN_DEPENDS= animate:graphics/ImageMagick6 \ - gimp:graphics/gimp-app +RUN_DEPENDS= gimp:graphics/gimp-app -USES= gettext gmake gnome localbase pkgconfig xorg +USES= gettext gmake gnome localbase magick:6,run pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 glib20 libglade2 intltool USE_XORG= x11 xext xmu ice xfixes xdamage INSTALLS_OMF= yes MANLANG= "" de es it GNU_CONFIGURE= yes # --export-dynamic fixes libglade problems LDFLAGS+= -Wl,--export-dynamic -lz .if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == "" CFLAGS+= -O2 -fno-strict-aliasing .endif PORTDOCS= AUTHORS ChangeLog README NULLDOCS= COPYING OPTIONS_DEFINE= DOCS pre-configure: ${REINPLACE_CMD} -e 's|/bin/bash | /bin/sh|' ${WRKSRC}/ppm2mpeg.sh ${REINPLACE_CMD} '/^xvidcap_LDADD =/s/$$/ -lXext -lX11/' \ ${WRKSRC}/src/Makefile.in ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} pre-configure-DOCS-on: ${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|' \ ${WRKSRC}/Makefile.in post-install-DOCS-on: ${RM} ${NULLDOCS:S|^|${STAGEDIR}${DOCSDIR}/|} .include diff --git a/textproc/docbook2odf/Makefile b/textproc/docbook2odf/Makefile index 8e12021a76ce..639071d7d89e 100644 --- a/textproc/docbook2odf/Makefile +++ b/textproc/docbook2odf/Makefile @@ -1,46 +1,45 @@ # Created by: Rusmir Dusko PORTNAME= docbook2odf PORTVERSION= 0.244 PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= http://open.comsultia.com/docbook2odf/dwn/ MAINTAINER= ports@FreeBSD.org COMMENT= Convert docbook document to Oasis Open Document LICENSE= GPLv2 LIB_DEPENDS= libsablot.so:textproc/sablotron \ libxslt.so:textproc/libxslt -RUN_DEPENDS= convert:graphics/ImageMagick6 \ - zip:archivers/zip \ +RUN_DEPENDS= zip:archivers/zip \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip -USES= desktop-file-utils perl5 shebangfix +USES= desktop-file-utils magick:6,run perl5 shebangfix SHEBANG_FILES= utils/maketests utils/${PORTNAME} USE_PERL5= run NO_BUILD= yes PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|#!/usr/bin/perl|#!${PERL}|' \ ${WRKSRC}/tests/tests/docbook-43.001.xml @${FIND} ${WRKSRC} -name "*.bak" -delete -or -name "*.cvsignore" -delete do-install: ${LN} -sf ${DATADIR}/utils/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "tests utils xsl" \ ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKSRC}/bindings/desktop/${PORTNAME}.desktop \ ${STAGEDIR}${DESKTOPDIR} ${LN} -sf ${EXAMPLESDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/textproc/eqe/Makefile b/textproc/eqe/Makefile index c9c49a6b6e60..09fbcdd4c749 100644 --- a/textproc/eqe/Makefile +++ b/textproc/eqe/Makefile @@ -1,47 +1,46 @@ # Created by: chinsan PORTNAME= eqe PORTVERSION= 1.3.0 PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://rlehy.free.fr/ MAINTAINER= ports@FreeBSD.org COMMENT= LaTeX equation editor LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/GPL.txt BUILD_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \ p5-File-Slurp>=0:devel/p5-File-Slurp \ - p5-Template-Toolkit>=0:www/p5-Template-Toolkit \ - Magick++-config:graphics/ImageMagick6 + p5-Template-Toolkit>=0:www/p5-Template-Toolkit -USES= perl5 shebangfix tar:bzip2 +USES= magick:6,build perl5 shebangfix tar:bzip2 SHEBANG_FILES= src/eqe src/eqedit USE_TEX= tex NO_ARCH= yes OPTIONS_DEFINE= DOCS MAKE_ARGS= PREFIX=${PREFIX} PORTDOCS= TODO changelog README FAQ copyright post-patch: @${REINPLACE_CMD} -e 's,^\(install:\) install-doc,\1,' \ ${WRKSRC}/Makefile post-install: @pod2man ${WRKSRC}/doc/eqe.pod ${WRKSRC}/doc/eqe.1 @pod2man ${WRKSRC}/doc/eqedit.pod ${WRKSRC}/doc/eqedit.1 ${INSTALL_MAN} ${WRKSRC}/doc/eqe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/eqedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/textproc/pdfsandwich/Makefile b/textproc/pdfsandwich/Makefile index 1119e0294214..64df3824e550 100644 --- a/textproc/pdfsandwich/Makefile +++ b/textproc/pdfsandwich/Makefile @@ -1,25 +1,24 @@ PORTNAME= pdfsandwich DISTVERSION= 0.1.7 PORTREVISION= 25 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/pdfsandwich%20${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Command line tool generating "sandwich" OCR pdf files LICENSE= GPLv2 BUILD_DEPENDS= gawk:lang/gawk \ ocamlopt:lang/ocaml -RUN_DEPENDS= convert:graphics/ImageMagick6 \ - pdfunite:graphics/poppler-utils \ +RUN_DEPENDS= pdfunite:graphics/poppler-utils \ tesseract:graphics/tesseract \ unpaper:graphics/unpaper -USES= gmake ghostscript:run tar:bz2 +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/qr/Makefile b/textproc/qr/Makefile index 90f10314f1e2..552dcb628dad 100644 --- a/textproc/qr/Makefile +++ b/textproc/qr/Makefile @@ -1,31 +1,30 @@ PORTNAME= qr DISTVERSION= g20200216 CATEGORIES= textproc graphics MAINTAINER= lcook@FreeBSD.org COMMENT= Generate textual QR codes using terminal LICENSE= UNLICENSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libqrencode.so:graphics/libqrencode TEST_DEPENDS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf \ autom4te:devel/autoconf \ - convert:graphics/ImageMagick6 \ zbarimg:graphics/zbar -USES= gmake +USES= gmake magick:6,test USE_CSTD= c99 USE_GITHUB= yes GH_ACCOUNT= Y2Z GH_TAGNAME= 20713de MAKE_ARGS= LIBS="-I${LOCALBASE}/include -L${LOCALBASE}/lib -lqrencode -lm" TEST_TARGET= test PLIST_FILES= bin/${PORTNAME} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/www/coppermine/Makefile b/www/coppermine/Makefile index 7e2c4f458dce..f1f0da242936 100644 --- a/www/coppermine/Makefile +++ b/www/coppermine/Makefile @@ -1,45 +1,45 @@ PORTNAME= coppermine PORTVERSION= 1.6.12 DISTVERSIONPREFIX= v CATEGORIES= www MAINTAINER= ports@FreeBSD.org COMMENT= Web picture gallery script LICENSE= GPLv3 USES= php OPTIONS_DEFINE= DOCS IMAGEMAGICK IMAGEMAGICK_DESC= Use ImageMagick instead of PHP GD extension -IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6,run IMAGEMAGICK_USE_OFF= PHP=gd USE_PHP= ctype hash json mysqli pcre xml USE_GITHUB= yes GH_ACCOUNT= coppermine-gallery GH_PROJECT= cpg1.6.x NO_BUILD= yes NO_ARCH= yes PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt SUB_FILES= pkg-message pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "By default, coppermine depends on PHP with GD support." @${ECHO_MSG} "You may select IMAGEMAGICK to depend on ImageMagick instead of GD." @${ECHO_MSG} "" pre-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install: cd ${WRKSRC}/ && ${RM} ${PORTDOCS} cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include diff --git a/www/fgallery/Makefile b/www/fgallery/Makefile index 9bbc174e6690..eed6ffa04aea 100644 --- a/www/fgallery/Makefile +++ b/www/fgallery/Makefile @@ -1,50 +1,50 @@ # Created by: Emanuel Haupt PORTNAME= fgallery PORTVERSION= 1.8.2 PORTREVISION= 4 CATEGORIES= www graphics MAINTAINER= ehaupt@FreeBSD.org COMMENT= Modern, static javascript photo gallery generator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.txt RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool \ exiftran:graphics/exiftran \ - p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS \ - convert:graphics/ImageMagick6 + p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS LIB_DEPENDS= liblcms2.so:graphics/lcms2 +USES= magick:6,run USE_GITHUB= yes NO_BUILD= yes NO_ARCH= yes GH_ACCOUNT= wavexx GH_TAGNAME= 45a8629 OPTIONS_DEFINE= 7ZIP FACEDETECT JPEGOPTIM PNGCRUSH OPTIONS_DEFAULT=7ZIP FACEDETECT JPEGOPTIM PNGCRUSH 7ZIP_DESC= Use 7-Zip for better zip compression FACEDETECT_DESC=Face detection for improved thumbnail centering JPEGOPTIM_DESC= Use jpegoptim for JPEG size optimization PNGCRUSH_DESC= Use pngcrush for PNG size optimization 7ZIP_RUN_DEPENDS= 7z:archivers/p7zip 7ZIP_RUN_DEPENDS_OFF= zip:archivers/zip FACEDETECT_RUN_DEPENDS= facedetect:graphics/facedetect JPEGOPTIM_RUN_DEPENDS= jpegoptim:graphics/jpegoptim PNGCRUSH_RUN_DEPENDS= pngcrush:graphics/pngcrush do-install: .for d in album view (cd ${WRKSRC} && \ ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR} ${LN} -s ${DATADIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} .include diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile index 59f9e905a79d..2f7fd3da3686 100644 --- a/www/gallery2/Makefile +++ b/www/gallery2/Makefile @@ -1,47 +1,47 @@ # Created by: Alex Varju PORTNAME= gallery2 PORTVERSION= 2.3.2 PORTREVISION= 10 CATEGORIES= www MASTER_SITES= SF/gallery/gallery2/${PORTVERSION} DISTNAME= gallery-${PORTVERSION}-full DIST_SUBDIR= gallery2 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Web based photo album organizer written in PHP LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:web USE_PHP= pcre session NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/gallery2 OPTIONS_DEFINE= DCRAW FFMPEG GD GRAPHMAGICK IMAGEMAGICK JHEAD NETPBM NLS OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= MYSQL PGSQL OPTIONS_DEFAULT=IMAGEMAGICK JHEAD MYSQL DCRAW_RUN_DEPENDS= dcraw:graphics/dcraw FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg GD_RUN_DEPENDS= pngtogd:graphics/gd GD_USE= PHP=gd GRAPHMAGICK_RUN_DEPENDS=gm:graphics/GraphicsMagick -IMAGEMAGICK_RUN_DEPENDS=convert:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6,run JHEAD_RUN_DEPENDS= jhead:graphics/jhead MYSQL_USE= PHP=mysqli NETPBM_RUN_DEPENDS= giftopnm:graphics/netpbm NLS_USE= PHP=gettext NLS_USES= gettext PGSQL_USE= PHP=pgsql do-install: cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ .include diff --git a/www/gpx2map/Makefile b/www/gpx2map/Makefile index 85d9ade9ff5b..22f9c733685c 100644 --- a/www/gpx2map/Makefile +++ b/www/gpx2map/Makefile @@ -1,47 +1,47 @@ PORTNAME= gpx2map PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= www MAINTAINER= koue@chaosophia.net COMMENT= Put GPX track on Google Map or OpenStreetMap LICENSE= GPLv3 RUN_DEPENDS= p5-XML-Twig>=0:textproc/p5-XML-Twig \ p5-Template-Toolkit>=0:www/p5-Template-Toolkit \ p5-Geo-Distance>=0:math/p5-Geo-Distance USE_GITHUB= yes GH_ACCOUNT= sd2k9 USES= shebangfix perl5 SHEBANG_FILES= gpx2map NO_ARCH= yes NO_BUILD= yes DATADIR= ${PREFIX}/share/${PORTNAME} PLIST_FILES= bin/gpx2map \ share/gpx2map/gpx2map.google.template \ share/gpx2map/gpx2map.osm.template OPTIONS_DEFINE= GNUPLOT GNUPLOT_DESC= Enable draw track profiles -GNUPLOT_RUN_DEPENDS= p5-Chart-Gnuplot>=0:graphics/p5-Chart-Gnuplot \ - convert:graphics/ImageMagick6 +GNUPLOT_USES= magick:6,run +GNUPLOT_RUN_DEPENDS= p5-Chart-Gnuplot>=0:graphics/p5-Chart-Gnuplot post-patch: @${REINPLACE_CMD} -e "s|gpx2map.google.template|${DATADIR}/gpx2map.google.template|" \ -e "s|gpx2map.osm.template|${DATADIR}/gpx2map.osm.template|" \ -e "s|.FindBin::RealBin/.opts{'map_template_google'}|${DATADIR}/gpx2map.google.template|" \ -e "s|.FindBin::RealBin/.opts{'map_template_osm'}|${DATADIR}/gpx2map.osm.template|" \ ${WRKSRC}/gpx2map do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gpx2map ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/gpx2map.google.template ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/gpx2map.osm.template ${STAGEDIR}${DATADIR} .include diff --git a/www/igal2/Makefile b/www/igal2/Makefile index 224bc807e3e0..a0934854ac31 100644 --- a/www/igal2/Makefile +++ b/www/igal2/Makefile @@ -1,42 +1,42 @@ # Created by: gahr PORTNAME= igal2 PORTVERSION= 2.2 PORTREVISION= 3 CATEGORIES= www graphics MASTER_SITES= http://igal.trexler.at/ MAINTAINER= ports@bsdserwis.com COMMENT= Simple CLI image gallery generator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= igal-1.* USES= perl5 NO_BUILD= yes NO_ARCH= yes MAKE_ENV+= DESTDIR=${STAGEDIR} OPTIONS_DEFINE= EXIF EXIF_DESC= Support EXIF data (-e option) OPTIONS_RADIO= IMAGICK OPTIONS_RADIO_IMAGICK=IMAGICK_NOX11 IMAGICK_X11 OPTIONS_DEFAULT=IMAGICK_NOX11 IMAGICK_DESC= ${IMAGEMAGICK_DESC} IMAGICK_NOX11_DESC=Without X11 support IMAGICK_X11_DESC=With X11 support EXIF_RUN_DEPENDS= p5-Image-ExifTool>=7.0:graphics/p5-Image-ExifTool -IMAGICK_X11_RUN_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6 -IMAGICK_NOX11_RUN_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11 +IMAGICK_X11_USES= magick:6,run +IMAGICK_NOX11_USES= magick:6,run,nox11 post-patch: ${REINPLACE_CMD} -e 's|%%LIBDIR%%|${PREFIX}/lib/igal2|' ${WRKSRC}/igal2 post-install: ${LN} -sf igal2 ${STAGEDIR}${PREFIX}/bin/igal .include diff --git a/www/ilias/Makefile b/www/ilias/Makefile index b8b575f8f776..d18bdd98fbd0 100644 --- a/www/ilias/Makefile +++ b/www/ilias/Makefile @@ -1,90 +1,89 @@ # Created by: Bartlomiej Rutkowski PORTNAME= ilias PORTVERSION= 5.4.21 DISTVERSIONPREFIX= v CATEGORIES= www education MAINTAINER= wen@FreeBSD.org COMMENT= Powerful, dynamic, PHP and MySQL based e-learning platform LICENSE= GPLv2 CONFLICTS= ilias6 PORTSCOUT= limit:^5\. -RUN_DEPENDS= convert:graphics/ImageMagick6 \ - zip:archivers/zip \ +RUN_DEPENDS= zip:archivers/zip \ ${UNZIP_CMD}:archivers/unzip \ ${LOCALBASE}/share/pear/PEAR.php:devel/pear@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/Auth/Auth.php:security/pear-Auth@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR} LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= ILIAS-eLearning GH_PROJECT= ILIAS -USES= cpe jpeg php +USES= cpe jpeg magick:6,run php NO_BUILD= yes PLIST= ${WRKDIR}/plist USE_PHP= pdo_mysql session zlib gd pdf dom xsl pcre simplexml ILIASDIR= www/ilias ILIASDATADIR= www/iliasdata PLIST_SUB= ILIASDATADIR=${ILIASDATADIR} SUB_FILES= pkg-message SUB_LIST= ILIASDATADIR=${ILIASDATADIR} OPTIONS_DEFINE= SCORM2004 CHECKER MAIL SCORM2004_USE= php=json CHECKER_RUN_DEPENDS= ${LOCALBASE}/share/pear/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR} MAIL_RUN_DEPENDS= ${LOCALBASE}/share/pear/Mail.php:mail/pear-Mail@${PHP_FLAVOR} EXTRA_FILES= %%WWWDIR%%/libs/composer/vendor/bin/generate_vcards \ %%WWWDIR%%/libs/composer/vendor/bin/naturalselection \ %%WWWDIR%%/libs/composer/vendor/bin/sabredav \ %%WWWDIR%%/libs/composer/vendor/bin/vobject \ %%WWWDIR%%/libs/composer/vendor/simplesamlphp/simplesamlphp/locales/no \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/_mocha \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/esparse \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/esvalidate \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/flat \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/he \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/js-yaml \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mime \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mkdirp \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mocha \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/semver \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/uuid \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/which \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/js-yaml/node_modules/.bin/esparse \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/js-yaml/node_modules/.bin/esvalidate \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/he \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/js-yaml \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/mkdirp \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/which \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/node-environment-flags/node_modules/.bin/semver \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/send/node_modules/.bin/mime \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/superagent/node_modules/.bin/mime \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/yargs-unparser/node_modules/.bin/flat pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ILIASDIR}?g" >> ${PLIST} .for i in ${EXTRA_FILES} @${ECHO_CMD} ${i} >> ${PLIST} .endfor @${ECHO} @dir ${ILIASDIR} >> ${PLIST} @${ECHO} @dir ${ILIASDATADIR} >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${ILIASDATADIR} .include diff --git a/www/ilias6/Makefile b/www/ilias6/Makefile index e8304a80a985..3c34fd22d233 100644 --- a/www/ilias6/Makefile +++ b/www/ilias6/Makefile @@ -1,68 +1,67 @@ # Created by: Bartlomiej Rutkowski PORTNAME= ilias PORTVERSION= 6.11 DISTVERSIONPREFIX= v CATEGORIES= www education PKGNAMESUFFIX= 6${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Powerful, dynamic, PHP and MySQL based e-learning platform LICENSE= GPLv2 CONFLICTS= ilias-5.4.[0-9]* RUN_DEPENDS= composer:devel/php-composer \ - convert:graphics/ImageMagick6 \ zip:archivers/zip \ ${UNZIP_CMD}:archivers/unzip \ ${LOCALBASE}/share/pear/PEAR.php:devel/pear@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/Auth/Auth.php:security/pear-Auth@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \ ${LOCALBASE}/share/pear/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR} LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= ILIAS-eLearning GH_PROJECT= ILIAS -USES= cpe jpeg php +USES= cpe jpeg magick:6,run php NO_BUILD= yes PLIST= ${WRKDIR}/plist USE_PHP= curl ldap pdo_mysql gd pdf dom pcre session simplexml \ soap xmlrpc xmlwriter xsl zlib ILIASDIR= www/ilias ILIASDATADIR= www/iliasdata PLIST_SUB= ILIASDATADIR=${ILIASDATADIR} SUB_FILES= pkg-message SUB_LIST= ILIASDATADIR=${ILIASDATADIR} OPTIONS_DEFINE= SCORM2004 CHECKER MAIL SCORM2004_USE= php=json CHECKER_RUN_DEPENDS= ${LOCALBASE}/share/pear/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR} MAIL_RUN_DEPENDS= ${LOCALBASE}/share/pear/Mail.php:mail/pear-Mail@${PHP_FLAVOR} EXTRA_FILES= %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mime \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/uuid \ %%WWWDIR%%/Modules/Chatroom/chat/node_modules/send/node_modules/.bin/mime pre-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ILIASDIR}?g" >> ${PLIST} .for i in ${EXTRA_FILES} @${ECHO_CMD} ${i} >> ${PLIST} .endfor @${ECHO} @dir ${ILIASDIR} >> ${PLIST} @${ECHO} @dir ${ILIASDATADIR} >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} "@group" >> ${PLIST} @${ECHO_CMD} "@owner" >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${INSTALL} -d ${STAGEDIR}${PREFIX}/${ILIASDATADIR} .include diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod index 368297fc8371..95995623743c 100644 --- a/www/nginx-devel/Makefile.extmod +++ b/www/nginx-devel/Makefile.extmod @@ -1,324 +1,324 @@ ### External modules OPTIONS_GROUP+= THIRDPARTYGRP # External modules (arrayvar MUST appear after devel_kit for build-dep) OPTIONS_GROUP_THIRDPARTYGRP= AJP AWS_AUTH BROTLI CACHE_PURGE CLOJURE COOKIE_FLAG CT \ DEVEL_KIT ARRAYVAR DRIZZLE DYNAMIC_HC DYNAMIC_UPSTREAM ECHO ENCRYPTSESSION \ FORMINPUT GRIDFS HEADERS_MORE HTTP_ACCEPT_LANGUAGE HTTP_AUTH_DIGEST \ HTTP_AUTH_KRB5 HTTP_AUTH_LDAP HTTP_AUTH_PAM HTTP_DAV_EXT HTTP_EVAL \ HTTP_FANCYINDEX HTTP_FOOTER HTTP_GEOIP2 HTTP_IP2LOCATION HTTP_IP2PROXY \ HTTP_JSON_STATUS HTTP_MOGILEFS HTTP_MP4_H264 HTTP_NOTICE HTTP_PUSH \ HTTP_PUSH_STREAM HTTP_REDIS HTTP_RESPONSE HTTP_SLICE_AHEAD \ HTTP_SUBS_FILTER HTTP_TARANTOOL HTTP_UPLOAD HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_CHECK HTTP_UPSTREAM_FAIR HTTP_UPSTREAM_STICKY \ HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP ICONV LET LINK LUA MEMC \ MODSECURITY3 NAXSI OPENTRACING PASSENGER POSTGRES RDS_CSV RDS_JSON \ REDIS2 RTMP SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE SMALL_LIGHT SRCACHE \ VOD VTS XSS WEBSOCKIFY AJP_GH_TUPLE= msva:nginx_ajp_module:fcbb2cc:ajp AJP_VARS= DSO_EXTMODS+=ajp ARRAYVAR_IMPLIES= DEVEL_KIT ARRAYVAR_GH_TUPLE= openresty:array-var-nginx-module:v0.05:arrayvar ARRAYVAR_VARS= DSO_EXTMODS+=arrayvar AWS_AUTH_GH_TUPLE= anomalizer:ngx_aws_auth:21931b2:aws_auth AWS_AUTH_VARS= DSO_EXTMODS+=aws_auth BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli BROTLI_GH_TUPLE= google:ngx_brotli:9aec15e:brotli BROTLI_VARS= DSO_EXTMODS+=brotli CACHE_PURGE_GH_TUPLE= torden:ngx_cache_purge:2b977cf:cache_purge CACHE_PURGE_VARS= DSO_EXTMODS+=cache_purge CLOJURE_CATEGORIES+= java CLOJURE_USE= JAVA=yes JAVA_OS=native JAVA_VERSION=1.8 \ JAVA_VENDOR=openjdk JAVA_BUILD=yes JAVA_RUN=yes CLOJURE_GH_TUPLE= nginx-clojure:nginx-clojure:4b1e964:clojure CLOJURE_CONFIGURE_ENV= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CLOJURE_VARS= DSO_EXTMODS+=clojure CLOJURE_SUBDIR=/src/c COOKIE_FLAG_GH_TUPLE= AirisX:nginx_cookie_flag_module:c4ff449:cookie_flag COOKIE_FLAG_VARS= DSO_EXTMODS+=cookie_flag CT_IMPLIES= HTTP_SSL CT_GH_TUPLE= grahamedgecombe:nginx-ct:93e9884:ct CT_VARS= DSO_EXTMODS+=ct CT_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-ct-LibreSSL ECHO_GH_TUPLE= openresty:echo-nginx-module:5a402aa:echo ECHO_VARS= DSO_EXTMODS+=echo DRIZZLE_LIB_DEPENDS= libdrizzle.so:databases/libdrizzle DRIZZLE_CONFIGURE_ENV= LIBDRIZZLE_INC=${LOCALBASE}/include \ LIBDRIZZLE_LIB=${LOCALBASE}/lib DRIZZLE_GH_TUPLE= openresty:drizzle-nginx-module:92162d0:drizzle DRIZZLE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config DRIZZLE_VARS= DSO_EXTMODS+=drizzle DYNAMIC_UPSTREAM_GH_TUPLE= ZigzagAK:ngx_dynamic_upstream:960eef2:dynamic_upstream DYNAMIC_UPSTREAM_VARS= DSO_EXTMODS+=dynamic_upstream DYNAMIC_HC_GH_TUPLE= ZigzagAK:ngx_dynamic_healthcheck:61acf02:dynamic_hc DYNAMIC_HC_VARS= DSO_EXTMODS+=dynamic_hc DYNAMIC_HC_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_dynamic_healthcheck-config DYNAMIC_HC_IMPLIES= DYNAMIC_UPSTREAM DEVEL_KIT_GH_TUPLE= simpl:ngx_devel_kit:v0.3.1:devel_kit DEVEL_KIT_VARS= FIRST_DSO_EXTMODS+=devel_kit ENCRYPTSESSION_IMPLIES= DEVEL_KIT ENCRYPTSESSION_GH_TUPLE= openresty:encrypted-session-nginx-module:v0.08:encryptsession ENCRYPTSESSION_VARS= DSO_EXTMODS+=encryptsession FORMINPUT_IMPLIES= DEVEL_KIT FORMINPUT_GH_TUPLE= calio:form-input-nginx-module:v0.12:forminput FORMINPUT_VARS= DSO_EXTMODS+=forminput GRIDFS_GH_TUPLE= technowledgy:nginx_http_gridfs_module:7970bab:gridfs \ 10gen-archive:mongo-c-driver-legacy:f06669b:mongo_c GRIDFS_VARS= DSO_EXTMODS+=gridfs HEADERS_MORE_GH_TUPLE= openresty:headers-more-nginx-module:55fbdab:headers_more HEADERS_MORE_VARS= DSO_EXTMODS+=headers_more HTTP_ACCEPT_LANGUAGE_GH_TUPLE= dvershinin:nginx_accept_language_module:5683967:accept_language HTTP_ACCEPT_LANGUAGE_VARS= DSO_EXTMODS+=accept_language HTTP_AUTH_DIGEST_GH_TUPLE= atomx:nginx-http-auth-digest:274490c:auth_digest HTTP_AUTH_DIGEST_VARS= DSO_EXTMODS+=auth_digest HTTP_AUTH_KRB5_GH_TUPLE= stnoonan:spnego-http-auth-nginx-module:a06f9ef:auth_krb5 HTTP_AUTH_KRB5_VARS= DSO_EXTMODS+=auth_krb5 HTTP_AUTH_KRB5_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config HTTP_AUTH_LDAP_GH_TUPLE= kvspb:nginx-auth-ldap:83c059b:http_auth_ldap HTTP_AUTH_LDAP_VARS= DSO_EXTMODS+=http_auth_ldap HTTP_AUTH_LDAP_USE= openldap=yes HTTP_AUTH_PAM_GH_TUPLE= sto:ngx_http_auth_pam_module:v1.5.1:auth_pam HTTP_AUTH_PAM_VARS= DSO_EXTMODS+=auth_pam HTTP_DAV_EXT_IMPLIES= HTTP_DAV HTTP_DAV_EXT_USE= GNOME=libxml2,libxslt HTTP_DAV_EXT_GH_TUPLE= arut:nginx-dav-ext-module:v3.0.0:dav_ext HTTP_DAV_EXT_VARS= DSO_EXTMODS+=dav_ext HTTP_DAV_EXT_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_dav_ext_module.c HTTP_EVAL_GH_TUPLE= openresty:nginx-eval-module:582bd25:eval HTTP_EVAL_VARS= DSO_EXTMODS+=eval HTTP_FANCYINDEX_GH_TUPLE= aperezdc:ngx-fancyindex:v0.5.1:fancyindex HTTP_FANCYINDEX_VARS= DSO_EXTMODS+=fancyindex HTTP_FOOTER_GH_TUPLE= alibaba:nginx-http-footer-filter:1.2.2:footer HTTP_FOOTER_VARS= DSO_EXTMODS+=footer HTTP_FOOTER_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-http-footer-filter-config HTTP_GEOIP2_GH_TUPLE= leev:ngx_http_geoip2_module:3.3:geoip2 HTTP_GEOIP2_CFLAGS= -I${LOCALBASE}/include HTTP_GEOIP2_VARS= DSO_EXTMODS+=geoip2 HTTP_GEOIP2_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb HTTP_IP2LOCATION_GH_TUPLE= ip2location:ip2location-nginx:7aa49ce:ip2location HTTP_IP2LOCATION_LIB_DEPENDS= libIP2Location.so:net/ip2location HTTP_IP2LOCATION_VARS= DSO_EXTMODS+=ip2location HTTP_IP2PROXY_GH_TUPLE= ip2location:ip2proxy-nginx:668288a:ip2proxy HTTP_IP2PROXY_LIB_DEPENDS= libIP2Proxy.so:net/ip2proxy HTTP_IP2PROXY_VARS= DSO_EXTMODS+=ip2proxy HTTP_JSON_STATUS_GH_TUPLE= nginx-modules:ngx_http_json_status_module:1d2f303:json_status HTTP_JSON_STATUS_VARS= DSO_EXTMODS+=json_status HTTP_JSON_STATUS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_json_status_module-config HTTP_MOGILEFS_MASTER_SITES= http://www.grid.net.ru/nginx/download/:mogilefs HTTP_MOGILEFS_DISTFILES= nginx_mogilefs_module-1.0.4.tar.gz:mogilefs HTTP_MOGILEFS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c \ ${PATCHDIR}/extra-patch-nginx_mogilefs_module-config HTTP_MOGILEFS_VARS= DSO_EXTDIRS+=nginx_mogilefs_module-1.0.4 HTTP_MP4_H264_MASTER_SITES= http://h264.code-shop.com/download/:mp4streaming HTTP_MP4_H264_CONFIGURE_ON= --with-cc-opt="-DLARGEFILE_SOURCE -DBUILDING_NGINX" HTTP_MP4_H264_DISTFILES= nginx_mod_h264_streaming-2.2.7.tar.gz:mp4streaming HTTP_MP4_H264_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c \ ${PATCHDIR}/extra-patch-nginx_mod_h264_streaming-config HTTP_MP4_H264_VARS= DSO_EXTDIRS+=nginx_mod_h264_streaming-2.2.7 HTTP_NOTICE_GH_TUPLE= kr:nginx-notice:3c95966:notice HTTP_NOTICE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c \ ${PATCHDIR}/extra-patch-nginx-notice-config HTTP_NOTICE_VARS= DSO_EXTMODS+=notice HTTP_PUSH_GH_TUPLE= slact:nchan:v1.2.12:push HTTP_PUSH_VARS= DSO_EXTMODS+=push HTTP_PUSH_STREAM_GH_TUPLE= wandenberg:nginx-push-stream-module:0.5.4:pushstream HTTP_PUSH_STREAM_VARS= DSO_EXTMODS+=pushstream HTTP_REDIS_MASTER_SITES= LOCAL/osa:redis HTTP_REDIS_DISTFILES= ngx_http_redis-0.3.9.tar.gz:redis HTTP_REDIS_VARS= DSO_EXTDIRS+=ngx_http_redis-0.3.9 HTTP_RESPONSE_MASTER_SITES= http://catap.ru/downloads/nginx/:response HTTP_RESPONSE_DISTFILES= ngx_http_response-0.3.tar.gz:response HTTP_RESPONSE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_response-config HTTP_RESPONSE_VARS= DSO_EXTDIRS+=ngx_http_response-0.3 HTTP_SLICE_AHEAD_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_http_modules_ngx_http_slice_read_ahead.c HTTP_SUBS_FILTER_GH_TUPLE= yaoweibin:ngx_http_substitutions_filter_module:b8a71ea:subs_filter HTTP_SUBS_FILTER_VARS= DSO_EXTMODS+=subs_filter HTTP_TARANTOOL_LIB_DEPENDS= libmsgpuck.so:devel/msgpuck \ libyajl.so:devel/yajl HTTP_TARANTOOL_GH_TUPLE= tarantool:nginx_upstream_module:daccb2a:nginx_tarantool HTTP_TARANTOOL_VARS= DSO_EXTMODS+=nginx_tarantool HTTP_TARANTOOL_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config HTTP_UPLOAD_GH_TUPLE= fdintino:nginx-upload-module:aa42509:upload HTTP_UPLOAD_VARS= DSO_EXTMODS+=upload HTTP_UPLOAD_PROGRESS_GH_TUPLE= masterzen:nginx-upload-progress-module:afb2d31:uploadprogress HTTP_UPLOAD_PROGRESS_VARS= DSO_EXTMODS+=uploadprogress HTTP_UPSTREAM_CHECK_GH_TUPLE= yaoweibin:nginx_upstream_check_module:9aecf15:upstreamcheck HTTP_UPSTREAM_CHECK_CONFIGURE_ON= --add-module=${WRKSRC_upstreamcheck} HTTP_UPSTREAM_CHECK_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_ip_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_least_conn_module.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.h HTTP_UPSTREAM_FAIR_GH_TUPLE= jaygooby:nginx-upstream-fair:10ecdcf:upstreamfair HTTP_UPSTREAM_FAIR_VARS= DSO_EXTMODS+=upstreamfair HTTP_UPSTREAM_STICKY_IMPLIES= HTTP_SSL HTTP_UPSTREAM_STICKY_GH_TUPLE= ayty-adrianomartins:nginx-sticky-module-ng:c407e0d:upstreamsticky HTTP_UPSTREAM_STICKY_VARS= DSO_EXTMODS+=upstreamsticky HTTP_VIDEO_THUMBEXTRACTOR_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg HTTP_VIDEO_THUMBEXTRACTOR_USES= jpeg HTTP_VIDEO_THUMBEXTRACTOR_GH_TUPLE= Novetta:nginx-video-thumbextractor-module:f5b5bae:vte HTTP_VIDEO_THUMBEXTRACTOR_VARS= DSO_EXTMODS+=vte HTTP_ZIP_GH_TUPLE= rtm-ctrlz:mod_zip:cfd0be4:mod_zip HTTP_ZIP_VARS= DSO_EXTMODS+=mod_zip ICONV_IMPLIES= DEVEL_KIT ICONV_USES= iconv ICONV_GH_TUPLE= calio:iconv-nginx-module:v0.14:iconv ICONV_VARS= DSO_EXTMODS+=iconv ICONV_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config LET_GH_TUPLE= baysao:nginx-let-module:c1f23aa:let LET_VARS= DSO_EXTMODS+=let LUA_IMPLIES= DEVEL_KIT LUA_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty LUA_RUN_DEPENDS= lua-resty-core>0:www/lua-resty-core LUA_CONFIGURE_ENV= LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \ LUAJIT_LIB=${LOCALBASE}/lib LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.20:lua LUA_VARS= DSO_EXTMODS+=lua LINK_GH_TUPLE= Taymindis:nginx-link-function:3.2.4:link LINK_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-link-function-config \ ${PATCHDIR}/extra-patch-ngx_link_func_module.c LINK_VARS= DSO_EXTMODS+=link MEMC_GH_TUPLE= openresty:memc-nginx-module:v0.19:memc MEMC_VARS= DSO_EXTMODS+=memc MODSECURITY3_IMPLIES= HTTP_ADDITION HTTP_IMAGE_FILTER HTTP_GUNZIP_FILTER HTTP_XSLT MODSECURITY3_LIB_DEPENDS= libmodsecurity.so:security/modsecurity3 MODSECURITY3_GH_TUPLE= SpiderLabs:ModSecurity-nginx:v1.0.2:modsecurity3 MODSECURITY3_VARS= DSO_EXTMODS+=modsecurity3 NAXSI_NGINX_VER= 1.3 NAXSI_GH_TUPLE= nbs-system:naxsi:${NAXSI_NGINX_VER}:naxsi NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src NJS_GH_TUPLE= nginx:njs:0.7.0:njs NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx NJS_USES= libedit OPENTRACING_GH_TUPLE= opentracing-contrib:nginx-opentracing:842d21f:opentracing OPENTRACING_LIB_DEPENDS= libopentracing.so:devel/libopentracing OPENTRACING_VARS= DSO_EXTMODS+=opentracing OPENTRACING_SUBDIR=/opentracing OPENTRACING_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-opentracing-opentracing-config PASSENGER_NGINX_VER= 6.0.12 PASSENGER_CATEGORIES= ruby PASSENGER_USE= ruby=yes PASSENGER_BUILD_DEPENDS=${LOCALBASE}/bin/rake:devel/rubygem-rake PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake PASSENGER_MASTER_SITES= https://s3.amazonaws.com/phusion-passenger/releases/:passenger PASSENGER_DISTFILES= passenger-${PASSENGER_NGINX_VER}.tar.gz:passenger PASSENGER_VARS= WRKSRC_passenger=${WRKDIR}/passenger-${PASSENGER_NGINX_VER} \ DSO_EXTDIRS+=passenger-${PASSENGER_NGINX_VER}/src/nginx_module PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ ${PATCHDIR}/extra-patch-passenger-disable-telemetry POSTGRES_USES= pgsql POSTGRES_GH_TUPLE= konstruxi:ngx_postgres:8aa7359:postgres POSTGRES_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_postgres-config POSTGRES_VARS= DSO_EXTMODS+=postgres RDS_CSV_GH_TUPLE= openresty:rds-csv-nginx-module:v0.09:rdscsv RDS_CSV_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-rds-csv-nginx-module-config RDS_CSV_VARS= DSO_EXTMODS+=rdscsv RDS_JSON_GH_TUPLE= openresty:rds-json-nginx-module:v0.15:rdsjson RDS_JSON_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-rds-json-nginx-module-config RDS_JSON_VARS= DSO_EXTMODS+=rdsjson REDIS2_GH_TUPLE= openresty:redis2-nginx-module:v0.15:redis2 REDIS2_VARS= DSO_EXTMODS+=redis2 RTMP_GH_TUPLE= arut:nginx-rtmp-module:v1.2.2:rtmp RTMP_VARS= DSO_EXTMODS+=rtmp SET_MISC_IMPLIES= DEVEL_KIT SET_MISC_GH_TUPLE= openresty:set-misc-nginx-module:3937e7b:setmisc SET_MISC_VARS= DSO_EXTMODS+=setmisc SFLOW_GH_TUPLE= sflow:nginx-sflow-module:543c72a:sflow SFLOW_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h \ ${PATCHDIR}/extra-patch-ngx_http_sflow_module.c SHIBBOLETH_GH_TUPLE= nginx-shib:nginx-http-shibboleth:2e99740:shibboleth SHIBBOLETH_VARS= DSO_EXTMODS+=shibboleth SLOWFS_CACHE_GH_TUPLE= baysao:ngx_slowfs_cache:d011a18:slowfs_cache SLOWFS_CACHE_VARS= DSO_EXTMODS+=slowfs_cache -SMALL_LIGHT_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ - libpcre.so:devel/pcre +SMALL_LIGHT_USES= magick:6 +SMALL_LIGHT_LIB_DEPENDS= libpcre.so:devel/pcre SMALL_LIGHT_GH_TUPLE= kawakibi:ngx_small_light:2f5e1d0:small_light SMALL_LIGHT_VARS= DSO_EXTMODS+=small_light SRCACHE_GH_TUPLE= openresty:srcache-nginx-module:v0.32:srcache SRCACHE_VARS= DSO_EXTMODS+=srcache VOD_GH_TUPLE= kaltura:nginx-vod-module:1.27:vod VOD_USE= GNOME=libxml2 VOD_USES= iconv VOD_VARS= DSO_EXTMODS+=vod VOD_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-vod-module-config VTS_GH_TUPLE= vozlt:nginx-module-vts:v0.1.18:vts VTS_VARS= DSO_EXTMODS+=vts XSS_GH_TUPLE= openresty:xss-nginx-module:v0.06:xss XSS_VARS= DSO_EXTMODS+=xss XSS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-xss-nginx-module-config WEBSOCKIFY_GH_TUPLE= tg123:websockify-nginx-module:c11bc9a:websockify WEBSOCKIFY_VARS= DSO_EXTMODS+=websockify diff --git a/www/nginx/Makefile.extmod b/www/nginx/Makefile.extmod index 1d62ca609ae7..223f1c7745db 100644 --- a/www/nginx/Makefile.extmod +++ b/www/nginx/Makefile.extmod @@ -1,316 +1,316 @@ ### External modules AJP_GH_TUPLE= yaoweibin:nginx_ajp_module:fcbb2cc:ajp AJP_CONFIGURE_ON= --add-module=${WRKSRC_ajp} ARRAYVAR_IMPLIES= DEVEL_KIT ARRAYVAR_GH_TUPLE= openresty:array-var-nginx-module:v0.05:arrayvar ARRAYVAR_VARS= DSO_EXTMODS+=arrayvar AWS_AUTH_GH_TUPLE= anomalizer:ngx_aws_auth:21931b2:aws_auth AWS_AUTH_VARS= DSO_EXTMODS+=aws_auth BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli BROTLI_GH_TUPLE= google:ngx_brotli:9aec15e:brotli BROTLI_VARS= DSO_EXTMODS+=brotli CACHE_PURGE_GH_TUPLE= nginx-modules:ngx_cache_purge:4746629:cache_purge CACHE_PURGE_CONFIGURE_ON= --add-module=${WRKDIR}/ngx_cache_purge-4746629 CLOJURE_CATEGORIES+= java CLOJURE_USE= JAVA=yes JAVA_OS=native JAVA_VERSION=1.8 \ JAVA_VENDOR=openjdk JAVA_BUILD=yes JAVA_RUN=yes CLOJURE_GH_TUPLE= nginx-clojure:nginx-clojure:v0.5.2:clojure CLOJURE_CONFIGURE_ENV= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CLOJURE_VARS= DSO_EXTMODS+=clojure CLOJURE_SUBDIR=/src/c CT_IMPLIES= HTTP_SSL CT_GH_TUPLE= grahamedgecombe:nginx-ct:v1.3.2:ct CT_VARS= DSO_EXTMODS+=ct CT_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-ct-LibreSSL DRIZZLE_LIB_DEPENDS= libdrizzle.so:databases/libdrizzle DRIZZLE_CONFIGURE_ENV= LIBDRIZZLE_INC=${LOCALBASE}/include \ LIBDRIZZLE_LIB=${LOCALBASE}/lib DRIZZLE_GH_TUPLE= openresty:drizzle-nginx-module:v0.1.11:drizzle DRIZZLE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config DRIZZLE_VARS= DSO_EXTMODS+=drizzle DYNAMIC_TLS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-dynamic-tls DYNAMIC_UPSTREAM_GH_TUPLE= ZigzagAK:ngx_dynamic_upstream:960eef2:dynamic_upstream DYNAMIC_UPSTREAM_VARS= DSO_EXTMODS+=dynamic_upstream DYNAMIC_HC_GH_TUPLE= ZigzagAK:ngx_dynamic_healthcheck:61acf02:dynamic_hc DYNAMIC_HC_VARS= DSO_EXTMODS+=dynamic_hc DYNAMIC_HC_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_dynamic_healthcheck-config DYNAMIC_HC_IMPLIES= DYNAMIC_UPSTREAM DEVEL_KIT_GH_TUPLE= simpl:ngx_devel_kit:v0.3.1:devel_kit DEVEL_KIT_VARS= FIRST_DSO_EXTMODS+=devel_kit ECHO_GH_TUPLE= openresty:echo-nginx-module:5a402aa:echo ECHO_VARS= DSO_EXTMODS+=echo ENCRYPTSESSION_IMPLIES= DEVEL_KIT ENCRYPTSESSION_GH_TUPLE= openresty:encrypted-session-nginx-module:v0.08:encryptsession ENCRYPTSESSION_VARS= DSO_EXTMODS+=encryptsession FORMINPUT_IMPLIES= DEVEL_KIT FORMINPUT_GH_TUPLE= calio:form-input-nginx-module:v0.12:forminput FORMINPUT_VARS= DSO_EXTMODS+=forminput GRIDFS_GH_TUPLE= technowledgy:nginx_http_gridfs_module:7970bab:gridfs \ 10gen-archive:mongo-c-driver-legacy:f06669b:mongo_c GRIDFS_VARS= DSO_EXTMODS+=gridfs HEADERS_MORE_GH_TUPLE= openresty:headers-more-nginx-module:d6d7eba:headers_more HEADERS_MORE_VARS= DSO_EXTMODS+=headers_more HTTP_ACCEPT_LANGUAGE_GH_TUPLE= dvershinin:nginx_accept_language_module:5683967:accept_language HTTP_ACCEPT_LANGUAGE_VARS= DSO_EXTMODS+=accept_language HTTP_AUTH_DIGEST_GH_TUPLE= atomx:nginx-http-auth-digest:cd86418:auth_digest HTTP_AUTH_DIGEST_VARS= DSO_EXTMODS+=auth_digest HTTP_AUTH_JWT_GH_TUPLE= TeslaGov:ngx-http-auth-jwt-module:80d89d9:http_auth_jwt HTTP_AUTH_JWT_VARS= DSO_EXTMODS+=http_auth_jwt HTTP_AUTH_JWT_LIB_DEPENDS= libjwt.so:www/libjwt libjansson.so:devel/jansson HTTP_AUTH_KRB5_GH_TUPLE= stnoonan:spnego-http-auth-nginx-module:72c8ee0:auth_krb5 HTTP_AUTH_KRB5_VARS= DSO_EXTMODS+=auth_krb5 HTTP_AUTH_KRB5_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config HTTP_AUTH_LDAP_GH_TUPLE= kvspb:nginx-auth-ldap:42d195d:http_auth_ldap HTTP_AUTH_LDAP_VARS= DSO_EXTMODS+=http_auth_ldap HTTP_AUTH_LDAP_USE= openldap=yes HTTP_AUTH_PAM_GH_TUPLE= sto:ngx_http_auth_pam_module:v1.5.1:auth_pam HTTP_AUTH_PAM_VARS= DSO_EXTMODS+=auth_pam HTTP_DAV_EXT_IMPLIES= HTTP_DAV HTTP_DAV_EXT_LIB_DEPENDS= libexpat.so:textproc/expat2 HTTP_DAV_EXT_GH_TUPLE= arut:nginx-dav-ext-module:v3.0.0:dav_ext HTTP_DAV_EXT_VARS= DSO_EXTMODS+=dav_ext HTTP_DAV_EXT_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_dav_ext_module.c HTTP_EVAL_GH_TUPLE= openresty:nginx-eval-module:582bd25:eval HTTP_EVAL_VARS= DSO_EXTMODS+=eval HTTP_FANCYINDEX_GH_TUPLE= aperezdc:ngx-fancyindex:v0.5.1:fancyindex HTTP_FANCYINDEX_VARS= DSO_EXTMODS+=fancyindex HTTP_FOOTER_GH_TUPLE= alibaba:nginx-http-footer-filter:1.2.2:footer HTTP_FOOTER_VARS= DSO_EXTMODS+=footer HTTP_FOOTER_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-http-footer-filter-config HTTP_GEOIP2_GH_TUPLE= leev:ngx_http_geoip2_module:3.3:geoip2 HTTP_GEOIP2_CFLAGS= -I${LOCALBASE}/include HTTP_GEOIP2_VARS= DSO_EXTMODS+=geoip2 HTTP_GEOIP2_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb HTTP_IP2LOCATION_GH_TUPLE= ip2location:ip2location-nginx:7aa49ce:ip2location HTTP_IP2LOCATION_LIB_DEPENDS= libIP2Location.so:net/ip2location HTTP_IP2LOCATION_VARS= DSO_EXTMODS+=ip2location HTTP_IP2PROXY_GH_TUPLE= ip2location:ip2proxy-nginx:f9815e3:ip2proxy HTTP_IP2PROXY_LIB_DEPENDS= libIP2Proxy.so:net/ip2proxy HTTP_IP2PROXY_VARS= DSO_EXTMODS+=ip2proxy HTTP_IP2PROXY_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ip2proxy HTTP_JSON_STATUS_GH_TUPLE= nginx-modules:ngx_http_json_status_module:1d2f303:json_status HTTP_JSON_STATUS_VARS= DSO_EXTMODS+=json_status HTTP_JSON_STATUS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_json_status_module-config HTTP_MOGILEFS_MASTER_SITES= http://www.grid.net.ru/nginx/download/:mogilefs HTTP_MOGILEFS_DISTFILES= nginx_mogilefs_module-1.0.4.tar.gz:mogilefs HTTP_MOGILEFS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c \ ${PATCHDIR}/extra-patch-nginx_mogilefs_module-config HTTP_MOGILEFS_VARS= DSO_EXTDIRS+=nginx_mogilefs_module-1.0.4 HTTP_MP4_H264_MASTER_SITES= http://h264.code-shop.com/download/:mp4streaming HTTP_MP4_H264_CONFIGURE_ON= --with-cc-opt="-DLARGEFILE_SOURCE -DBUILDING_NGINX" HTTP_MP4_H264_DISTFILES= nginx_mod_h264_streaming-2.2.7.tar.gz:mp4streaming HTTP_MP4_H264_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c \ ${PATCHDIR}/extra-patch-nginx_mod_h264_streaming-config HTTP_MP4_H264_VARS= DSO_EXTDIRS+=nginx_mod_h264_streaming-2.2.7 HTTP_NOTICE_GH_TUPLE= kr:nginx-notice:3c95966:notice HTTP_NOTICE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c \ ${PATCHDIR}/extra-patch-nginx-notice-config HTTP_NOTICE_VARS= DSO_EXTMODS+=notice HTTP_PUSH_GH_TUPLE= slact:nchan:v1.2.12:push HTTP_PUSH_VARS= DSO_EXTMODS+=push HTTP_PUSH_STREAM_GH_TUPLE= wandenberg:nginx-push-stream-module:0.5.4:pushstream HTTP_PUSH_STREAM_VARS= DSO_EXTMODS+=pushstream HTTP_REDIS_MASTER_SITES= LOCAL/osa:redis HTTP_REDIS_DISTFILES= ngx_http_redis-0.3.9.tar.gz:redis HTTP_REDIS_VARS= DSO_EXTDIRS+=ngx_http_redis-0.3.9 HTTP_RESPONSE_MASTER_SITES= http://catap.ru/downloads/nginx/:response HTTP_RESPONSE_DISTFILES= ngx_http_response-0.3.tar.gz:response HTTP_RESPONSE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_response-config HTTP_RESPONSE_VARS= DSO_EXTDIRS+=ngx_http_response-0.3 HTTP_SLICE_AHEAD_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_http_modules_ngx__http__slice_read_ahead.c HTTP_SUBS_FILTER_GH_TUPLE= yaoweibin:ngx_http_substitutions_filter_module:b8a71ea:subs_filter HTTP_SUBS_FILTER_VARS= DSO_EXTMODS+=subs_filter HTTP_TARANTOOL_LIB_DEPENDS= libmsgpuck.so:devel/msgpuck \ libyajl.so:devel/yajl HTTP_TARANTOOL_GH_TUPLE= tarantool:nginx_upstream_module:1278ee5:nginx_tarantool HTTP_TARANTOOL_VARS= DSO_EXTMODS+=nginx_tarantool HTTP_TARANTOOL_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config \ ${PATCHDIR}/extra-patch-ngx_http_tarantool-src-tp_transcode.c HTTP_UPLOAD_GH_TUPLE= fdintino:nginx-upload-module:aa42509:upload HTTP_UPLOAD_VARS= DSO_EXTMODS+=upload HTTP_UPLOAD_PROGRESS_GH_TUPLE= masterzen:nginx-upload-progress-module:afb2d31:uploadprogress HTTP_UPLOAD_PROGRESS_VARS= DSO_EXTMODS+=uploadprogress HTTP_UPSTREAM_CHECK_GH_TUPLE= yaoweibin:nginx_upstream_check_module:9aecf15:upstreamcheck HTTP_UPSTREAM_CHECK_CONFIGURE_ON= --add-module=${WRKSRC_upstreamcheck} HTTP_UPSTREAM_CHECK_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_ip_hash_module.c \ ${PATCHDIR}/extra-patch-src-http-modules-ngx_http_upstream_least_conn_module.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.c \ ${PATCHDIR}/extra-patch-src-http-ngx_http_upstream_round_robin.h HTTP_UPSTREAM_FAIR_GH_TUPLE= jaygooby:nginx-upstream-fair:10ecdcf:upstreamfair HTTP_UPSTREAM_FAIR_VARS= DSO_EXTMODS+=upstreamfair HTTP_UPSTREAM_STICKY_IMPLIES= HTTP_SSL HTTP_UPSTREAM_STICKY_GH_TUPLE= ayty-adrianomartins:nginx-sticky-module-ng:c407e0d:upstreamsticky HTTP_UPSTREAM_STICKY_VARS= DSO_EXTMODS+=upstreamsticky HTTP_VIDEO_THUMBEXTRACTOR_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg HTTP_VIDEO_THUMBEXTRACTOR_USES= jpeg HTTP_VIDEO_THUMBEXTRACTOR_GH_TUPLE= Novetta:nginx-video-thumbextractor-module:f5b5bae:vte HTTP_VIDEO_THUMBEXTRACTOR_VARS= DSO_EXTMODS+=vte HTTP_ZIP_GH_TUPLE= rtm-ctrlz:mod_zip:cfd0be4:mod_zip HTTP_ZIP_VARS= DSO_EXTMODS+=mod_zip HTTPV2_AUTOTUNE_IMPLIES=HTTPV2 HTTPV2_AUTOTUNE_CONFIGURE_ON= --with-http_v2_autotune_upload HTTPV2_AUTOTUNE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-h2-autotune ICONV_IMPLIES= DEVEL_KIT ICONV_USES= iconv ICONV_GH_TUPLE= calio:iconv-nginx-module:v0.14:iconv ICONV_VARS= DSO_EXTMODS+=iconv ICONV_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config LET_GH_TUPLE= baysao:nginx-let-module:c1f23aa:let LET_VARS= DSO_EXTMODS+=let LINK_GH_TUPLE= Taymindis:nginx-link-function:3.2.4:link LINK_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-link-function-config \ ${PATCHDIR}/extra-patch-ngx_link_func_module.c LINK_VARS= DSO_EXTMODS+=link LUA_IMPLIES= DEVEL_KIT LUA_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty LUA_RUN_DEPENDS= lua-resty-core>0:www/lua-resty-core LUA_CONFIGURE_ENV= LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \ LUAJIT_LIB=${LOCALBASE}/lib LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.19:lua LUA_VARS= DSO_EXTMODS+=lua MEMC_GH_TUPLE= openresty:memc-nginx-module:v0.19:memc MEMC_VARS= DSO_EXTMODS+=memc MODSECURITY3_IMPLIES= HTTP_ADDITION HTTP_IMAGE_FILTER HTTP_GUNZIP_FILTER HTTP_XSLT MODSECURITY3_LIB_DEPENDS= libmodsecurity.so:security/modsecurity3 MODSECURITY3_GH_TUPLE= SpiderLabs:ModSecurity-nginx:v1.0.2:modsec MODSECURITY3_VARS= DSO_EXTMODS+=modsec NAXSI_NGINX_VER= 1.3 NAXSI_GH_TUPLE= nbs-system:naxsi:${NAXSI_NGINX_VER}:naxsi NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src NJS_GH_TUPLE= nginx:njs:0.7.0:njs NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx NJS_USES= libedit OPENTRACING_GH_TUPLE= opentracing-contrib:nginx-opentracing:2d81c29:opentracing OPENTRACING_LIB_DEPENDS= libopentracing.so:devel/libopentracing OPENTRACING_VARS= DSO_EXTMODS+=opentracing OPENTRACING_SUBDIR=/opentracing OPENTRACING_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-opentracing-opentracing-config PASSENGER_NGINX_VER= 6.0.8 PASSENGER_CATEGORIES= ruby PASSENGER_USE= ruby=yes PASSENGER_BUILD_DEPENDS=${LOCALBASE}/bin/rake:devel/rubygem-rake PASSENGER_RAKE_BIN= ${LOCALBASE}/bin/rake PASSENGER_MASTER_SITES= http://s3.amazonaws.com/phusion-passenger/releases/:passenger PASSENGER_DISTFILES= passenger-${PASSENGER_NGINX_VER}.tar.gz:passenger PASSENGER_VARS= WRKSRC_passenger=${WRKDIR}/passenger-${PASSENGER_NGINX_VER} \ DSO_EXTDIRS+=passenger-${PASSENGER_NGINX_VER}/src/nginx_module PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ ${PATCHDIR}/extra-patch-passenger-disable-telemetry POSTGRES_USES= pgsql POSTGRES_GH_TUPLE= konstruxi:ngx_postgres:8aa7359:postgres POSTGRES_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_postgres-config POSTGRES_VARS= DSO_EXTMODS+=postgres RDS_CSV_GH_TUPLE= openresty:rds-csv-nginx-module:v0.09:rdscsv RDS_CSV_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-rds-csv-nginx-module-config RDS_CSV_VARS= DSO_EXTMODS+=rdscsv RDS_JSON_GH_TUPLE= openresty:rds-json-nginx-module:v0.15:rdsjson RDS_JSON_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-rds-json-nginx-module-config RDS_JSON_VARS= DSO_EXTMODS+=rdsjson REDIS2_GH_TUPLE= openresty:redis2-nginx-module:v0.15:redis2 REDIS2_VARS= DSO_EXTMODS+=redis2 RTMP_GH_TUPLE= sergey-dryabzhinsky:nginx-rtmp-module:8e344d7:rtmp RTMP_VARS= DSO_EXTMODS+=rtmp SET_MISC_IMPLIES= DEVEL_KIT SET_MISC_GH_TUPLE= openresty:set-misc-nginx-module:4667684:setmisc SET_MISC_VARS= DSO_EXTMODS+=setmisc SFLOW_GH_TUPLE= sflow:nginx-sflow-module:543c72a:sflow SFLOW_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h \ ${PATCHDIR}/extra-patch-ngx_http_sflow_module.c SHIBBOLETH_GH_TUPLE= nginx-shib:nginx-http-shibboleth:a386c18:shibboleth SHIBBOLETH_VARS= DSO_EXTMODS+=shibboleth SLOWFS_CACHE_GH_TUPLE= baysao:ngx_slowfs_cache:d011a18:slowfs_cache SLOWFS_CACHE_VARS= DSO_EXTMODS+=slowfs_cache -SMALL_LIGHT_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \ - libpcre.so:devel/pcre +SMALL_LIGHT_USES= magick:6 +SMALL_LIGHT_LIB_DEPENDS= libpcre.so:devel/pcre SMALL_LIGHT_GH_TUPLE= cubicdaiya:ngx_small_light:v0.9.2:small_light SMALL_LIGHT_VARS= DSO_EXTMODS+=small_light SRCACHE_GH_TUPLE= openresty:srcache-nginx-module:v0.32:srcache SRCACHE_VARS= DSO_EXTMODS+=srcache VOD_GH_TUPLE= kaltura:nginx-vod-module:1.27:vod VOD_USE= GNOME=libxml2 VOD_USES= iconv VOD_VARS= DSO_EXTMODS+=vod VOD_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-vod-module-config VTS_GH_TUPLE= vozlt:nginx-module-vts:v0.1.18:vts VTS_CONFIGURE_ON= --add-module=${WRKSRC_vts} XSS_GH_TUPLE= openresty:xss-nginx-module:v0.06:xss XSS_VARS= DSO_EXTMODS+=xss XSS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-xss-nginx-module-config WEBSOCKIFY_GH_TUPLE= tg123:websockify-nginx-module:e82d254:websockify WEBSOCKIFY_CONFIGURE_ON= --add-module=${WRKSRC_websockify} diff --git a/www/p5-jQuery-File-Upload/Makefile b/www/p5-jQuery-File-Upload/Makefile index db462ff54819..f440884ab992 100644 --- a/www/p5-jQuery-File-Upload/Makefile +++ b/www/p5-jQuery-File-Upload/Makefile @@ -1,24 +1,23 @@ PORTNAME= jQuery-File-Upload PORTVERSION= 0.30 PORTREVISION= 2 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for jQuery File Upload plugin RUN_DEPENDS= \ - convert:graphics/ImageMagick6 \ p5-Data-GUID>0:devel/p5-Data-GUID \ p5-JSON>0:converters/p5-JSON \ p5-JSON-XS>0:converters/p5-JSON-XS \ p5-Net-SSH2>0:net/p5-Net-SSH2 \ p5-URI>0:net/p5-URI BUILD_DEPENDS= ${RUN_DEPENDS} -USES= perl5 +USES= magick:6,run perl5 USE_PERL5= configure NO_ARCH= YES .include diff --git a/www/serendipity/Makefile b/www/serendipity/Makefile index 059cb4adcc0d..f69719c3e0bd 100644 --- a/www/serendipity/Makefile +++ b/www/serendipity/Makefile @@ -1,42 +1,42 @@ # Created by: babak@farrokhi.net PORTNAME= serendipity PORTVERSION= 2.3.5 CATEGORIES= www MAINTAINER= joneum@FreeBSD.org COMMENT= PHP based weblog software LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php shebangfix tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= s9y GH_PROJECT= Serendipity NO_BUILD= YES SERENDIPITY?= www/${PORTNAME} PLIST_SUB+= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" USE_PHP= session pcre gd openssl mbstring iconv zlib xml SUB_FILES= pkg-message CPE_VENDOR= s9y SHEBANG_FILES= lang/*.sh \ lang/UTF-8/*.sh OPTIONS_DEFINE= MYSQL PGSQL SQLITE MAGICK OPTIONS_DEFAULT= MYSQL MAGICK MYSQL_USE= PHP=mysqli PGSQL_USE= PHP=pgsql SQLITE_USE= PHP=sqlite3 -MAGICK_RUN_DEPENDS+= convert:graphics/ImageMagick7 +MAGICK_USES= magick:7,run do-install: @-${MKDIR} ${STAGEDIR}${PREFIX}/${SERENDIPITY} @${CHMOD} 755 ${STAGEDIR}${PREFIX}/${SERENDIPITY} @(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${SERENDIPITY}/ ) .include diff --git a/www/trafficserver/Makefile b/www/trafficserver/Makefile index 8771f1c8ecc9..96a3ea79f641 100644 --- a/www/trafficserver/Makefile +++ b/www/trafficserver/Makefile @@ -1,91 +1,91 @@ # Created by: Jui-Nan Lin PORTNAME= trafficserver PORTVERSION= 9.0.1 CATEGORIES= www MASTER_SITES= APACHE/${PORTNAME} MAINTAINER= gaod@hychen.org COMMENT= Fast, scalable and extensible HTTP proxy server LICENSE= APACHE20 ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le LIB_DEPENDS= libcurl.so:ftp/curl \ libhwloc.so:devel/hwloc2 \ libpcre.so:devel/pcre \ libxml2.so:textproc/libxml2 \ libbrotlienc.so:archivers/brotli \ ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_amd64= libluajit-5.1.so:lang/luajit LIB_DEPENDS_powerpc64= libluajit-5.1.so:lang/luajit-openresty LIB_DEPENDS_powerpc64le= libluajit-5.1.so:lang/luajit-openresty USES= compiler:c++17-lang cpe gmake libtool localbase ncurses \ pathfix perl5 pkgconfig sqlite ssl tar:bzip2 tcl CPE_VENDOR= apache CPE_PRODUCT= traffic_server USE_PERL5= build run USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USERS= ${WWWOWN} GROUPS= ${WWWGRP} PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" PORTVERSION="${PORTVERSION}" CONFIGURE_ARGS= --with-pcre=${LOCALBASE} \ --with-openssl=${OPENSSLBASE} \ --with-tcl=${TCL_LIBDIR} \ --localstatedir=/var \ --with-user=${USERS} \ --with-group=${GROUPS} \ --disable-maintainer-mode \ --disable-dependency-tracking \ --enable-mime-sanity-check \ --enable-experimental-plugins OPTIONS_DEFINE= DOCS WCCP MEMCACHED IMAGEMAGICK X11 OPTIONS_SUB= yes PLIST_SUB+= ARCH="${ARCH:C/powerpc64.*/powerpc/}" WCCP_DESC= Enable WCCPv2 protocol WCCP_CONFIGURE_ENABLE= wccp WCCP_USE= GCC=yes MEMCACHED_DESC= Enable memcache & memcached_remap plugin MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached IMAGEMAGICK_DESC= Enable ats-magick & webp convert plugin .include .if ${PORT_OPTIONS:MIMAGEMAGICK} .if ${PORT_OPTIONS:MX11} -RUN_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick6 +USES+= magick:6 .else -RUN_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11 +USES+= magick:6,nox11 .endif .endif post-patch: @${REINPLACE_CMD} \ -e '/cachedir:/s,$${localstatedir}+,$${localstatedir}/cache+,' \ -e '/runtimedir:/s,$${localstatedir}+,$${localstatedir}/run+,' \ ${WRKSRC}/config.layout @${REINPLACE_CMD} -e 's/#ifdef HAVE_EVENTFD/#if defined(HAVE_EVENTFD) \&\& TS_USE_EPOLL == 1/' \ ${WRKSRC}/src/tscore/EventNotify.cc \ ${WRKSRC}/include/tscore/EventNotify.h post-install: ${RMDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${ETCDIR}/snapshots (cd ${STAGEDIR}${ETCDIR} && for f in *.config *.yaml; do ${MV} $$f $$f.sample; done) ${SED} -i '' -e 's|^${STAGEDIR}||g' \ ${STAGEDIR}${PREFIX}/lib/perl5/${ARCH:C/powerpc64.*/powerpc/}-freebsd-thread-multi/auto/Apache/TS/.packlist .include diff --git a/www/twiki-MathModePlugin/Makefile b/www/twiki-MathModePlugin/Makefile index 33b81c5d3c1b..b904daf7b55c 100644 --- a/www/twiki-MathModePlugin/Makefile +++ b/www/twiki-MathModePlugin/Makefile @@ -1,20 +1,20 @@ # Created by: Sergey Skvortsov PORTNAME= MathModePlugin SVNREV= 15934 PORTREVISION= 1 MASTER_SITES= http://protey.ru/freebsd/distfiles/ \ LOCAL/skv COMMENT= Include LaTeX formatted math in your TWiki pages -RUN_DEPENDS= convert:graphics/ImageMagick6 +USES= magick:6,run USE_TEX= base latex post-patch: ${REINPLACE_CMD} -i '' -e 's!=/usr/bin!=${LOCALBASE}/bin!g; s!=/bin!=/usr/bin!g;' \ ${WRKSRC}/pub/TWiki/MathModePlugin/latex2img .include "${.CURDIR}/../twiki/bsd.twiki.mk" .include diff --git a/www/typo3-10/Makefile b/www/typo3-10/Makefile index 5cf58c1d7c8f..c320d6037aeb 100644 --- a/www/typo3-10/Makefile +++ b/www/typo3-10/Makefile @@ -1,96 +1,96 @@ # Created by: Helmut Ritter PORTNAME= typo3 PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} CATEGORIES= www MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/ PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} MAINTAINER= freebsd-ports@charlieroot.de COMMENT= Typo3 content management system LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cpe php:web,flavors shebangfix USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \ spl tokenizer xml zip WRKSRC= ${WRKDIR}/${TYPO3SRC} NO_BUILD= yes NO_ARCH= yes SHEBANG_GLOB= *.sh *.php PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. PORT_V_MAJOR= 10 PORT_V_MINOR= 4 PORT_V_PATCH= 21 TYPO3WWW= www TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} TYPO3DIR= ${PORTNAME}-${PORT_V_MAJOR} USERS= ${WWWOWN} GROUPS= ${WWWGRP} SUB_FILES= pkg-message SUB_LIST+= PREFIX=${PREFIX} \ TYPO3WWW=${TYPO3WWW} \ TYPO3DIR=${TYPO3DIR} DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB OPTIONS_DEFAULT=MYSQL GD_DESC= GDlib/freetype support IMAGICK_DESC= ${IMAGEMAGICK_DESC} MBSTRING_DESC= ${MULTIBYTE_DESC} MYSQL_DESC= Use MySQL as DBMS POSTGRES_DESC= Use PostgreSQL as DBMS SQLITE_DESC= Use SQLiet as DBMS SQLSRV_DESC= Use MSSQL as DBMS CURL_USE= PHP=curl GD_USE= PHP=gd GMP_USE= PHP=gmp MBSTRING_USE= PHP=mbstring MYSQL_USE= PHP=mysqli POSTGRES_USE= PHP=postgresql SQLSRV_USE= PHP=sqlsrv SQLITE_USE= PHP=sqlite ZLIB_USE= PHP=zlib .include .if ${PORT_OPTIONS:MIMAGICK} .if ${PORT_OPTIONS:MX11} -RUN_DEPENDS+= convert:graphics/ImageMagick6 +USES+= magick:6,run .else -RUN_DEPENDS+= convert:graphics/ImageMagick6-nox11 +USES+= magick:6,run,nox11 .endif .endif do-install: # workaround fix for: # "Checking for items in STAGEDIR missing from pkg-plist" # "Error: Orphaned: @dir %%WWWDIR%%_src-10.4.16/vendor/symfony/string/Resources/bin" ${RMDIR} ${WRKSRC}/vendor/symfony/string/Resources/bin # remove source empty directory ${MKDIR} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR} ${CP} -R ${WRKDIR}/${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/ ${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src ${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php ${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 post-install: @cd ${STAGEDIR}${PREFIX}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ ${SORT} >> ${TMPPLIST}; \ ${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \ ${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX}; \ ${ECHO} "@owner" >> ${TMPPLIST}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ ${SORT} >> ${TMPPLIST} .include diff --git a/www/typo3-11/Makefile b/www/typo3-11/Makefile index a0474ff06563..11077a71ab7f 100644 --- a/www/typo3-11/Makefile +++ b/www/typo3-11/Makefile @@ -1,96 +1,96 @@ # Created by: Helmut Ritter PORTNAME= typo3 PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} CATEGORIES= www MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/ PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} MAINTAINER= freebsd-ports@charlieroot.de COMMENT= Typo3 content management system LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cpe php:web,flavors shebangfix USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \ spl tokenizer xml zip WRKSRC= ${WRKDIR}/${TYPO3SRC} SHEBANG_GLOB= *.sh *.php NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. SUB_FILES= pkg-message SUB_LIST+= PREFIX=${PREFIX} \ TYPO3WWW=${TYPO3WWW} \ TYPO3DIR=${TYPO3DIR} PORT_V_MAJOR= 11 PORT_V_MINOR= 5 PORT_V_PATCH= 2 TYPO3WWW= www TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} TYPO3DIR= ${PORTNAME}-${PORT_V_MAJOR} USERS= ${WWWOWN} GROUPS= ${WWWGRP} OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB OPTIONS_DEFAULT=MYSQL GD_DESC= GDlib/freetype support IMAGICK_DESC= ${IMAGEMAGICK_DESC} MBSTRING_DESC= ${MULTIBYTE_DESC} MYSQL_DESC= Use MySQL as DBMS POSTGRES_DESC= Use PostgreSQL as DBMS SQLITE_DESC= Use SQLite as DBMS SQLSRV_DESC= Use MSSQL as DBMS CURL_USE= PHP=curl GD_USE= PHP=gd GMP_USE= PHP=gmp MBSTRING_USE= PHP=mbstring MYSQL_USE= PHP=mysqli POSTGRES_USE= PHP=postgresql SQLSRV_USE= PHP=sqlsrv SQLITE_USE= PHP=sqlite ZLIB_USE= PHP=zlib .include .if ${PORT_OPTIONS:MIMAGICK} .if ${PORT_OPTIONS:MX11} -RUN_DEPENDS+= convert:graphics/ImageMagick7 +USES+= magick:7,run .else -RUN_DEPENDS+= convert:graphics/ImageMagick7-nox11 +USES+= magick:7,run,nox11 .endif .endif do-install: # workaround fix for: # "Checking for items in STAGEDIR missing from pkg-plist" # "Error: Orphaned: @dir %%WWWDIR%%_src-10.4.16/vendor/symfony/string/Resources/bin" ${RMDIR} ${WRKSRC}/vendor/symfony/string/Resources/bin # remove source empty directory ${MKDIR} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR} ${CP} -R ${WRKDIR}/${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/ ${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src ${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php ${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 post-install: @cd ${STAGEDIR}${PREFIX}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ ${SORT} >> ${TMPPLIST}; \ ${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \ ${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX}; \ ${ECHO} "@owner" >> ${TMPPLIST}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ ${SORT} >> ${TMPPLIST} .include diff --git a/www/typo3-9/Makefile b/www/typo3-9/Makefile index b1b261269493..8bf1eda4b007 100644 --- a/www/typo3-9/Makefile +++ b/www/typo3-9/Makefile @@ -1,94 +1,94 @@ # Created by: Helmut Ritter PORTNAME= typo3 PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} CATEGORIES= www MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/ PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} MAINTAINER= freebsd-ports@charlieroot.de COMMENT= Typo3 content management system LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Mainstream support ended 2021-09-30 EXPIRATION_DATE=2024-09-30 USES= cpe php:web,flavors shebangfix USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \ spl tokenizer xml zip WRKSRC= ${WRKDIR}/${TYPO3SRC} NO_BUILD= yes NO_ARCH= yes SHEBANG_GLOB= *.sh *.php PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. PORT_V_MAJOR= 9 PORT_V_MINOR= 5 PORT_V_PATCH= 31 TYPO3WWW= www TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} TYPO3DIR= ${PORTNAME}-${PORT_V_MAJOR} USERS= ${WWWOWN} GROUPS= ${WWWGRP} SUB_FILES= pkg-message SUB_LIST+= PREFIX=${PREFIX} \ TYPO3WWW=${TYPO3WWW} \ TYPO3DIR=${TYPO3DIR} DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB OPTIONS_DEFAULT=MYSQL GD_DESC= GDlib/freetype support IMAGICK_DESC= ${IMAGEMAGICK_DESC} MBSTRING_DESC= ${MULTIBYTE_DESC} MYSQL_DESC= Use MySQL as DBMS POSTGRES_DESC= Use PostgreSQL as DBMS SQLITE_DESC= Use SQLiet as DBMS SQLSRV_DESC= Use MSSQL as DBMS CURL_USE= PHP=curl GD_USE= PHP=gd GMP_USE= PHP=gmp MBSTRING_USE= PHP=mbstring MYSQL_USE= PHP=mysqli POSTGRES_USE= PHP=postgresql SQLSRV_USE= PHP=sqlsrv SQLITE_USE= PHP=sqlite ZLIB_USE= PHP=zlib .include .if ${PORT_OPTIONS:MIMAGICK} .if ${PORT_OPTIONS:MX11} -RUN_DEPENDS+= convert:graphics/ImageMagick6 -.else -RUN_DEPENDS+= convert:graphics/ImageMagick6-nox11 +USES+= magick:6,run +else +USES+= magick:6,run,nox11 .endif .endif do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR} ${CP} -R ${WRKDIR}/${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/ ${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src ${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php ${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 post-install: @cd ${STAGEDIR}${PREFIX}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ ${SORT} >> ${TMPPLIST}; \ ${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \ ${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX}; \ ${ECHO} "@owner" >> ${TMPPLIST}; \ ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ ${SORT} >> ${TMPPLIST} .include diff --git a/x11-fonts/fontpreview/Makefile b/x11-fonts/fontpreview/Makefile index fb98b0fb36f9..eed37649245b 100644 --- a/x11-fonts/fontpreview/Makefile +++ b/x11-fonts/fontpreview/Makefile @@ -1,41 +1,40 @@ PORTNAME= fontpreview DISTVERSION= 1.0.6 PORTREVISION= 1 CATEGORIES= x11-fonts graphics MAINTAINER= 0mp@FreeBSD.org COMMENT= Very customizable and minimal font previewer written in Bash LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= bash:shells/bash \ - convert:graphics/ImageMagick7 \ fzf:textproc/fzf \ getopt>0:misc/getopt \ sxiv:graphics/sxiv \ xdotool:x11/xdotool -USES= shebangfix +USES= magick:7,run shebangfix USE_GITHUB= yes GH_ACCOUNT= sdushantha SHEBANG_FILES= ${PORTNAME} NO_ARCH= yes NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md extra/ OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} 's|%%GETOPT%%|${LOCALBASE}/bin/getopt|' \ ${WRKSRC}/${PORTNAME} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/extra ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/extra/* ${STAGEDIR}${DOCSDIR}/extra .include diff --git a/x11-themes/cursor-crystal-theme/Makefile b/x11-themes/cursor-crystal-theme/Makefile index dd382b274a00..2ab2f840d9f0 100644 --- a/x11-themes/cursor-crystal-theme/Makefile +++ b/x11-themes/cursor-crystal-theme/Makefile @@ -1,43 +1,42 @@ # Created by: David Naylor PORTNAME= cursor-crystal-theme DISTVERSION= 1.1.1 PORTREVISION= 6 CATEGORIES= x11-themes MASTER_SITES= http://www.notmart.org/files/ \ http://pinguin.stttelkom.ac.id/gentoo/distfiles/ DISTNAME= Crystalcursors MAINTAINER= ports@FreeBSD.org COMMENT= KDE Crystal style X cursor theme LICENSE= LGPL21 -BUILD_DEPENDS= convert:graphics/ImageMagick6 \ - xcursorgen:x11/xcursorgen +BUILD_DEPENDS= xcursorgen:x11/xcursorgen -USES= gmake tar:bzip2 +USES= gmake magick:6,build tar:bzip2 post-patch: @${REINPLACE_CMD} -e 's|function ||' \ ${WRKSRC}/colorize.sh \ ${WRKSRC}/left-handed_templates/flopalltheme.sh \ ${WRKSRC}/left-handed_templates/floptheme.sh @${REINPLACE_CMD} -e 's|make|$${MAKE}|g' \ ${WRKSRC}/blue_src/Makefile \ ${WRKSRC}/gray_src/Makefile \ ${WRKSRC}/green_src/Makefile \ ${WRKSRC}/left-handed_templates/Makefile \ ${WRKSRC}/white_src/Makefile pre-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} clean ${MAKE_ARGS}) pre-install: @${REINPLACE_CMD} \ -e 's|$$(HOME)/.icons/|${STAGEDIR}${PREFIX}/share/icons|' \ -e 's|$$(MAKE) .*install|$$(MAKE) PREFIX=${STAGEDIR}${PREFIX}/share/icons install|g' \ -e 's|theme.default .*/default/index.theme|theme.default ${STAGEDIR}${PREFIX}/share/icons/default/index.theme|' \ ${WRKSRC}/Makefile .include diff --git a/x11-themes/icons-tango-extras/Makefile b/x11-themes/icons-tango-extras/Makefile index 9d4d6f88f93f..2105ffea5c21 100644 --- a/x11-themes/icons-tango-extras/Makefile +++ b/x11-themes/icons-tango-extras/Makefile @@ -1,21 +1,20 @@ PORTNAME= icons-tango-extras PORTVERSION= 0.1.0 PORTREVISION= 5 CATEGORIES= x11-themes MASTER_SITES= http://tango.freedesktop.org/releases/ \ GENTOO DISTNAME= tango-icon-theme-extras-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Extra set of icons from the Tango project BUILD_DEPENDS= ${LOCALBASE}/libexec/icon-name-mapping:x11-themes/icon-naming-utils \ - ${LOCALBASE}/share/icons/Tango/16x16/actions/add.png:x11-themes/icons-tango \ - convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} + ${LOCALBASE}/share/icons/Tango/16x16/actions/add.png:x11-themes/icons-tango RUN_DEPENDS= ${LOCALBASE}/share/icons/Tango/16x16/actions/add.png:x11-themes/icons-tango GNU_CONFIGURE= yes -USES= gmake gnome pkgconfig +USES= gmake gnome magick:build pkgconfig USE_GNOME= intlhack .include diff --git a/x11-themes/icons-tango/Makefile b/x11-themes/icons-tango/Makefile index a923f57b828f..2e8e60cab8e5 100644 --- a/x11-themes/icons-tango/Makefile +++ b/x11-themes/icons-tango/Makefile @@ -1,20 +1,19 @@ # Created by: Phillip Neumann PORTNAME= icons-tango PORTVERSION= 0.8.90 PORTREVISION= 2 CATEGORIES= x11-themes MASTER_SITES= GENTOO DISTNAME= tango-icon-theme-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Basic set of icons for the most common usage -BUILD_DEPENDS= ${LOCALBASE}/libexec/icon-name-mapping:x11-themes/icon-naming-utils \ - convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +BUILD_DEPENDS= ${LOCALBASE}/libexec/icon-name-mapping:x11-themes/icon-naming-utils GNU_CONFIGURE= yes USE_GNOME= intlhack -USES+= gettext-tools gmake gnome pathfix pkgconfig +USES+= gettext-tools gmake gnome magick:build pathfix pkgconfig .include diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile index 49647e21f247..1edfdc9038b9 100644 --- a/x11-wm/awesome/Makefile +++ b/x11-wm/awesome/Makefile @@ -1,67 +1,66 @@ # Created by: Nikos Ntarmos PORTNAME= awesome PORTVERSION= 4.3 PORTREVISION= 1 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= x11-wm MAINTAINER= dbaio@FreeBSD.org COMMENT= Highly configurable, next generation framework window manager LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= convert:graphics/ImageMagick6 \ - ${LUA_REFMODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi@${LUA_FLAVOR} +BUILD_DEPENDS= ${LUA_REFMODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi@${LUA_FLAVOR} RUN_DEPENDS= ${LUA_REFMODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi@${LUA_FLAVOR} \ bash:shells/bash LIB_DEPENDS= libcairo.so:graphics/cairo \ libstartup-notification-1.so:x11/startup-notification \ libxdg-basedir.so:x11/libxdg-basedir \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-util.so:x11/xcb-util \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-xrm.so:x11/xcb-util-xrm \ libxkbcommon.so:x11/libxkbcommon CONFLICTS_INSTALL= awesome3 -USES= cmake compiler:c11 gettext gnome iconv pkgconfig lua \ +USES= cmake compiler:c11 gettext gnome iconv magick:6,build pkgconfig lua \ shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= awesomewm SHEBANG_FILES= utils/awesome-client CMAKE_ARGS= -DSYSCONFDIR=${PREFIX}/etc \ -DAWESOME_MAN_PATH=${MANPREFIX}/man \ -DGENERATE_DOC=OFF \ -DLUA_INCLUDE_DIR=${LUA_INCDIR} USE_GNOME= glib20 pango gdkpixbuf2 USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \ xorgproto OPTIONS_DEFINE= DBUS DOCS MANPAGES OPTIONS_DEFAULT=DBUS MANPAGES OPTIONS_SUB= yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_OFF= -DWITH_DBUS:BOOL=OFF MANPAGES_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor MANPAGES_CMAKE_OFF= -DGENERATE_MANPAGES:BOOL=OFF .include .if (exists(${LOCALBASE}/libdata/pkgconfig/cairo.pc) && \ !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xcb.pc)) IGNORE= cannot find dependency: The cairo exists but not with XCB support. Please reinstall graphics/cairo with XCB support .endif post-patch: # Ref https://github.com/awesomeWM/awesome/issues/1377 @${REINPLACE_CMD} -e "/COMMAND lua/ s,lua,${LUA_CMD}," \ ${WRKSRC}/awesomeConfig.cmake .include diff --git a/x11-wm/epplets/Makefile b/x11-wm/epplets/Makefile index 84754d6f980d..054cf927e87e 100644 --- a/x11-wm/epplets/Makefile +++ b/x11-wm/epplets/Makefile @@ -1,33 +1,32 @@ # Created by: Yukihiro Nakai PORTNAME= epplets PORTVERSION= 0.14 PORTREVISION= 9 CATEGORIES= x11-wm MASTER_SITES= SF/enlightenment/${PORTNAME}/${PORTVERSION} MAINTAINER= enlightenment@FreeBSD.org COMMENT= Collection of Enlightenment dock applications BUILD_DEPENDS= e16:x11-wm/e16 LIB_DEPENDS= libcdaudio.so:audio/libcdaudio -RUN_DEPENDS= e16:x11-wm/e16 \ - import:graphics/ImageMagick6 +RUN_DEPENDS= e16:x11-wm/e16 -USES= gl gmake libtool pkgconfig xorg +USES= gl gmake libtool magick:6,run pkgconfig xorg USE_XORG= xext USE_GL= glut USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-auto-respawn \ --disable-esound post-patch: @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/epplets/Emix.c @${REINPLACE_CMD} -e 's|||g' \ ${WRKSRC}/epplets/mbox.c .include diff --git a/x11-wm/libwraster/Makefile b/x11-wm/libwraster/Makefile index fd50308e2e8a..146e7a4730f2 100644 --- a/x11-wm/libwraster/Makefile +++ b/x11-wm/libwraster/Makefile @@ -1,54 +1,54 @@ PORTNAME= libwraster PORTVERSION= 0.95.9 PORTREVISION= 1 CATEGORIES= x11-wm windowmaker MASTER_SITES= http://windowmaker.org/pub/source/release/ DISTNAME= WindowMaker-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Window Maker raster graphics library LICENSE= LGPL21 LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libjbig.so:graphics/jbigkit \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= jpeg libtool localbase pathfix pkgconfig xorg USE_LDCONFIG= yes USE_XORG= x11 xext xft xinerama xmu xpm BUILD_WRKSRC= ${WRKSRC}/wrlib INSTALL_WRKSRC= ${WRKSRC}/wrlib GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \ --with-localedir=${PREFIX}/share/locale \ --with-libs-from="-L${LOCALBASE}/lib" \ --with-incs-from="-I${LOCALBASE}/include" \ --with-gnustepdir="${PREFIX}/GNUstep" \ --enable-modelock \ --enable-xinerama \ --enable-usermenu \ --enable-wmreplace \ --with-x INSTALL_TARGET= install-strip OPTIONS_DEFINE= IMAGEMAGICK OPTIONS_DEFAULT= IMAGEMAGICK -IMAGEMAGICK_LIB_DEPENDS= libMagickWand-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_OFF= --disable-magick .include post-patch-IMAGEMAGICK-on: .if ${IMAGEMAGICK_DEFAULT} == 6 @${REINPLACE_CMD} -e '/MagickWand\.h/s,MagickWand/,wand/,' \ ${WRKSRC}/configure ${WRKSRC}/wrlib/load_magick.c .endif pre-build: cd ${WRKSRC} && ${MAKE_CMD} config-paths.h .include diff --git a/x11-wm/nscde/Makefile b/x11-wm/nscde/Makefile index 3258915c7afa..ccf3085ae193 100644 --- a/x11-wm/nscde/Makefile +++ b/x11-wm/nscde/Makefile @@ -1,336 +1,335 @@ PORTNAME= nscde DISTVERSION= 1.4 CATEGORIES= x11-wm MAINTAINER= freebsd@ny-central.org COMMENT= Modern CDE clone based on fvwm LICENSE= GPLv3 PATCH_DEPENDS= gsed:textproc/gsed \ ksh93:shells/ast-ksh BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ xsltproc:textproc/libxslt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=5.7.0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \ - convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} \ dunst:sysutils/dunst \ font-bh-lucidatypewriter-100dpi>0:x11-fonts/font-bh-lucidatypewriter-100dpi \ fvwm2:x11-wm/fvwm2 \ gsed:textproc/gsed \ ksh93:shells/ast-ksh \ pyuic5:devel/py-qt5@${PY_FLAVOR} \ qt5-style-plugins>=5.0.0:x11-themes/qt5-style-plugins \ roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf \ stalonetray:x11/stalonetray \ xdotool:x11/xdotool \ xdpyinfo:x11/xdpyinfo \ xrdb:x11/xrdb \ xrefresh:x11/xrefresh \ xscreensaver:x11/xscreensaver \ xsettingsd:x11/xsettingsd \ xterm:x11/xterm -USES= gettext pkgconfig:build python:3.7+ shebangfix xorg +USES= gettext magick:run pkgconfig:build python:3.7+ shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= nscde USE_XORG= x11 xext xpm xrandr SHEBANG_FILES= Installer.ksh NsCDE/bin/confget.py NsCDE/bin/confset.py \ NsCDE/bin/nscde_usleep NsCDE/bin/sysinfo.py \ NsCDE/lib/python/Globals.py NsCDE/lib/python/MiscFun.py \ NsCDE/lib/python/MotifColors.py NsCDE/lib/python/Opts.py \ NsCDE/lib/python/SpritesGtk2.py NsCDE/lib/python/Theme.py \ NsCDE/lib/python/ThemeGtk.py NsCDE/libexec/colorconv.py \ NsCDE/libexec/geticon.py NsCDE/libexec/getla1.py \ NsCDE/libexec/nscde_palette_colorgen.py \ NsCDE/libexec/themegen.py \ NsCDE/share/config_templates/integration/gtk2_gtk3_qt/gtk-2.0/img/SpritesGtk2.py \ NsCDE/share/config_templates/integration/gtk2_gtk3_qt/gtk-2.0/img/src/SpritesGtk2.py DOCSDIR= ${PREFIX}/share/doc/nscde OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFAULT= DOCS EXAMPLES SUDO KSH2020 OPTIONS_SINGLE= ROOTAUTH IMGMAG KSHOPT OPTIONS_SINGLE_KSHOPT= ASTKSH KSH2020 OPTIONS_SINGLE_ROOTAUTH= SUDO DOAS ASTKSH_DESC= AT&T KSH93 DOAS_DESC= Use doas to elevate privileges KSH2020_DESC= Updated AT&T KSH93 (arm64 compatible) KSHOPT_DESC= KSH version ROOTAUTH_DESC= Root authorization SUDO_DESC= Use sudo to elevate privileges ASTKSH_RUN_DEPENDS= ksh93:shells/ast-ksh93 DOAS_RUN_DEPENDS= doas:security/doas KSH2020_RUN_DEPENDS= ksh93:shells/ksh2020 SUDO_RUN_DEPENDS= sudo:security/sudo _NSCDE_HELPERS= GWM.sh Notifier.sh Splash.sh appfinder backdropmgr colorconv.py \ colormgr fontmgr fp_manage_subpanel fpexec fpseticon \ generate_app_menus generate_subpanels geticon.py getla1.py \ keymenu nscde-acpi nscde_get_logical_screens \ nscde_palette_colorgen.py nscde_setup strip_icon_path \ style_managers.shlib subpanel_menuitem_props themegen.py \ xrandr_backer _PREFIX_FILES= NsCDE/bin/get_fvwm_infostore \ NsCDE/bin/getfont NsCDE/bin/mkpagemenu NsCDE/bin/nscde \ NsCDE/bin/nscde_colorpicker NsCDE/bin/xdowrapper \ NsCDE/config/NsCDE-Main.conf.sample NsCDE/libexec/Splash.sh \ NsCDE/libexec/fp_manage_subpanel \ NsCDE/libexec/fvwm-modules/FvwmScript NsCDE/libexec/nscde_setup \ NsCDE/libexec/themegen.py \ NsCDE/share/doc/examples/lxsession-integration/desktop.conf \ NsCDE/share/doc/examples/mate-session-integration/nscde.desktop \ NsCDE/share/doc/examples/sudo/006_PowerManager \ NsCDE/share/doc/examples/xsession-integration/nscde.desktop \ docbook/NsCDE.xml docbook/NsCDE.xsl _SHAREDOC= NsCDE/config/FrontPanel.actions \ NsCDE/config/NsCDE-Keybindings.conf \ NsCDE/config/NsCDE-Menus.conf NsCDE/config/NsCDE-Subpanels.conf \ NsCDE/config/Subpanels.actions NsCDE/lib/scripts/BackdropMgr \ NsCDE/lib/scripts/BeepMgr NsCDE/lib/scripts/CheckMailApplet \ NsCDE/lib/scripts/ColorMgr NsCDE/lib/scripts/ExecDialog \ NsCDE/lib/scripts/FontMgr NsCDE/lib/scripts/FpLite \ NsCDE/lib/scripts/GeometryMgr NsCDE/libexec/GWM.sh \ NsCDE/lib/scripts/GWMOptions NsCDE/lib/scripts/KeyboardMgr \ NsCDE/lib/scripts/ModifyColor NsCDE/lib/scripts/MonthDayApplet \ NsCDE/lib/scripts/NColorsDialog NsCDE/lib/scripts/NProcMgr \ NsCDE/lib/scripts/Occupy NsCDE/lib/scripts/PaletteDialog \ NsCDE/lib/scripts/PointerMgr NsCDE/lib/scripts/PowerSaveMgr \ NsCDE/lib/scripts/StyleMgr NsCDE/lib/scripts/SubpanelMgr \ NsCDE/lib/scripts/SysActionDialog \ NsCDE/lib/scripts/SubpanelSettings NsCDE/lib/scripts/Sysinfo \ NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \ NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \ NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WindowMgr \ NsCDE/lib/scripts/WsPgMgr _CURLYICONS= NsCDE/config/NsCDE-Functions.conf NsCDE/libexec/colormgr \ NsCDE/libexec/subpanel_menuitem_props _SHARESLASH= NsCDE/config/NsCDE-Backdrops.conf \ NsCDE/config/NsCDE-Functions.conf NsCDE/config/NsCDE-Main.conf \ NsCDE/share/doc/NsCDE.txt \ NsCDE/share/doc/html/NsCDE-Localization.html _BSHARESLASH= NsCDE/config/NsCDE-Functions.conf NsCDE/lib/scripts/BackdropMgr \ NsCDE/lib/scripts/BeepMgr NsCDE/lib/scripts/ColorMgr \ NsCDE/lib/scripts/ExecDialog NsCDE/lib/scripts/FilePicker \ NsCDE/lib/scripts/FontMgr NsCDE/lib/scripts/GeometryMgr \ NsCDE/libexec/GWM.sh NsCDE/lib/scripts/GWMOptions \ NsCDE/lib/scripts/InputForm NsCDE/lib/scripts/KeyboardMgr \ NsCDE/lib/scripts/ModifyColor NsCDE/lib/scripts/NColorsDialog \ NsCDE/lib/scripts/NProcMgr NsCDE/lib/scripts/Occupy \ NsCDE/lib/scripts/PaletteDialog NsCDE/lib/scripts/PointerMgr \ NsCDE/lib/scripts/PowerSaveMgr NsCDE/lib/scripts/StyleMgr \ NsCDE/lib/scripts/SubpanelMgr NsCDE/lib/scripts/SysActionDialog \ NsCDE/lib/scripts/SubpanelSettings NsCDE/lib/scripts/Sysinfo \ NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \ NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \ NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WindowMgr \ NsCDE/lib/scripts/WsPgMgr NsCDE/libexec/Notifier.sh \ NsCDE/libexec/appfinder NsCDE/libexec/fontmgr \ NsCDE/libexec/strip_icon_path \ NsCDE/libexec/subpanel_menuitem_props \ NsCDE/share/config_templates/colormgr.local \ NsCDE/share/doc/NsCDE.txt README.localization \ NsCDE/bin/fpclock _CSHARESLASH= NsCDE/libexec/colormgr NsCDE/libexec/fontmgr \ NsCDE/libexec/style_managers.shlib \ NsCDE/libexec/subpanel_menuitem_props \ NsCDE/bin/fpclock NsCDE/share/config_templates/colormgr.local _SHARENSLASH= NsCDE/config/NsCDE-Main.conf _LIBEXEC_SCRIPTS= NsCDE/config/NsCDE-Functions.conf \ NsCDE/config/NsCDE-Main.conf \ NsCDE/config/NsCDE-Menus.conf \ NsCDE/lib/scripts/ColorMgr \ NsCDE/lib/scripts/ModifyColor \ NsCDE/bin/fpclock _BLIBEXEC_SCRIPTS= NsCDE/lib/scripts/BackdropMgr \ NsCDE/lib/scripts/ColorMgr NsCDE/lib/scripts/FontMgr \ NsCDE/lib/scripts/FpLite NsCDE/lib/scripts/GeometryMgr \ NsCDE/lib/scripts/ModifyColor \ NsCDE/lib/scripts/PaletteDialog \ NsCDE/lib/scripts/SubpanelMgr \ NsCDE/lib/scripts/SysActionDialog \ NsCDE/lib/scripts/SubpanelSettings \ NsCDE/libexec/colormgr \ NsCDE/libexec/subpanel_menuitem_props \ NsCDE/share/config_templates/colormgr.local \ NsCDE/share/doc/NsCDE.txt \ NsCDE/bin/fpclock _CLIBEXEC_SCRIPTS= NsCDE/libexec/backdropmgr NsCDE/libexec/colormgr _CLIBS= NsCDE/libexec/colormgr _LIBS= NsCDE/config/NsCDE-Main.conf _BBINS= NsCDE/config/FrontPanel.actions \ NsCDE/config/NsCDE-Main.conf.sample \ NsCDE/config/NsCDE-Functions.conf.sample \ NsCDE/lib/scripts/ActionForm NsCDE/lib/scripts/BackdropMgr \ NsCDE/lib/scripts/BeepMgr NsCDE/lib/scripts/ChoiceForm \ NsCDE/lib/scripts/ColorMgr NsCDE/lib/scripts/ExecDialog \ NsCDE/lib/scripts/FilePicker NsCDE/lib/scripts/FontMgr \ NsCDE/lib/scripts/GeometryMgr NsCDE/lib/scripts/InputForm \ NsCDE/lib/scripts/KeyboardMgr NsCDE/lib/scripts/ModifyColor \ NsCDE/lib/scripts/MonthDayApplet \ NsCDE/lib/scripts/NColorsDialog NsCDE/lib/scripts/NProcMgr \ NsCDE/lib/scripts/Occupy NsCDE/lib/scripts/PaletteDialog \ NsCDE/lib/scripts/PointerMgr NsCDE/lib/scripts/PowerSaveMgr \ NsCDE/lib/scripts/StyleMgr NsCDE/lib/scripts/SubpanelMgr \ NsCDE/lib/scripts/SysActionDialog \ NsCDE/lib/scripts/SubpanelSettings NsCDE/lib/scripts/Sysinfo \ NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \ NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \ NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WaitNotice \ NsCDE/lib/scripts/WindowMgr NsCDE/lib/scripts/WsPgMgr \ NsCDE/libexec/Notifier.sh NsCDE/libexec/backdropmgr \ NsCDE/libexec/colormgr NsCDE/libexec/fontmgr \ NsCDE/libexec/fp_manage_subpanel NsCDE/libexec/strip_icon_path \ NsCDE/libexec/subpanel_menuitem_props \ NsCDE/libexec/GWM.sh \ NsCDE/share/applications/NsCDE-Exec.desktop \ NsCDE/share/applications/NsCDE-FvwmConsole.desktop \ NsCDE/share/applications/NsCDE-NProcMgr.desktop \ NsCDE/share/applications/NsCDE-StyleMgr.desktop \ NsCDE/share/applications/NsCDE-Sysinfo.desktop \ NsCDE/share/applications/NsCDE-WsPgMgr.desktop \ NsCDE/share/applications/WatchErrors.desktop \ NsCDE/share/doc/NsCDE.txt NsCDE/lib/scripts/GWMOptions \ NsCDE/share/applications/NsCDE-GWM.desktop _SBINS= NsCDE/config/NsCDE-FrontPanel.conf \ NsCDE/config/NsCDE-Functions.conf NsCDE/config/NsCDE-Main.conf \ NsCDE/lib/scripts/WSM NsCDE/lib/scripts/WSM-2 \ NsCDE/lib/scripts/WSM-4 NsCDE/lib/scripts/WSM-6 \ NsCDE/lib/scripts/WSM-8 NsCDE/lib/scripts/WsPgMgr _CONFREF= NsCDE/config/NsCDE-Main.conf _CCONFIGS= NsCDE/libexec/colormgr _CONFIGS= NsCDE/lib/scripts/SubpanelMgr \ NsCDE/lib/scripts/SubpanelSettings \ NsCDE/lib/scripts/WindowMgr NsCDE/lib/scripts/WsPgMgr \ NsCDE/libexec/fp_manage_subpanel NsCDE/libexec/fpexec \ NsCDE/libexec/fpseticon NsCDE/libexec/generate_app_menus \ NsCDE/libexec/generate_subpanels NsCDE/libexec/keymenu \ NsCDE/libexec/subpanel_menuitem_props NsCDE/share/doc/NsCDE.txt \ README.md _KSHFIX= NsCDE/bin/fpclock NsCDE/bin/get_fvwm_infostore NsCDE/bin/getdpi \ NsCDE/bin/getfont NsCDE/bin/ised NsCDE/bin/mkpagemenu \ NsCDE/bin/nscde NsCDE/bin/nscde_colorpicker \ NsCDE/bin/nscde_fvwmclnt NsCDE/bin/nscde_var_append \ NsCDE/bin/xdowrapper NsCDE/libexec/Notifier.sh \ NsCDE/libexec/GWM.sh \ NsCDE/libexec/Splash.sh NsCDE/libexec/appfinder \ NsCDE/libexec/backdropmgr NsCDE/libexec/colormgr \ NsCDE/libexec/fontmgr NsCDE/libexec/fp_manage_subpanel \ NsCDE/libexec/fpexec NsCDE/libexec/fpseticon \ NsCDE/libexec/fvwm-modules/FvwmScript \ NsCDE/libexec/generate_app_menus \ NsCDE/libexec/generate_subpanels NsCDE/libexec/keymenu \ NsCDE/libexec/nscde-acpi \ NsCDE/libexec/nscde_get_logical_screens \ NsCDE/libexec/strip_icon_path \ NsCDE/libexec/subpanel_menuitem_props \ NsCDE/share/config_templates/colormgr.local \ NsCDE/share/config_templates/fontmgr.local generate_subpanels post-extract: ${MV} ${WRKDIR}/NsCDE-${DISTVERSION} ${WRKDIR}/${PORTNAME}-${DISTVERSION} post-patch: ${CP} ${WRKSRC}/NsCDE/libexec/generate_subpanels ${WRKSRC}/generate_subpanels ${REINPLACE_CMD} -e 's@config/@etc/nscde/@g' ${WRKSRC}/generate_subpanels ( for SDOC in ${_SHAREDOC}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/share/doc/@'${PREFIX}'/share/doc/nscde/@g' ${WRKSRC}/$${SDOC}; done ) ${REINPLACE_CMD} -e 's@\\/@/@g' ${WRKSRC}/NsCDE/libexec/GWM.sh ( for SDOC in ${_SHARESLASH}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/share/@'${DATADIR}'/@g' ${WRKSRC}/$${SDOC}; done ) ( for SDOC in ${_SHARENSLASH}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/share@'${DATADIR}'@g' ${WRKSRC}/$${SDOC}; done ) ( for SCR in ${_LIBEXEC_SCRIPTS}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/libexec/@'${PREFIX}'/libexec/nscde/@g' ${WRKSRC}/$${SCR}; done ) ( for SLIB in ${_LIBS}; do ${REINPLACE_CMD} -e "s@$$\[NSCDE_ROOT\]/lib/@${PREFIX}/lib/nscde/@g" ${WRKSRC}/$${SLIB}; done ) ( for SB in ${_SBINS}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/bin/@'${PREFIX}'/sbin/@g' ${WRKSRC}/$${SB}; done ) ( for CR in ${_CONFREF}; do ${REINPLACE_CMD} -e 's@$$\[NSCDE_ROOT\]/config/@'${ETCDIR}'/@g' ${WRKSRC}/$${CR}; done ) ( for IDOC in ${_CURLYICONS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/share/icons/@'${PREFIX}'/share/icons/@g' ${WRKSRC}/$${IDOC}; done ) ( for SDOC in ${_CSHARESLASH}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/share/@'${DATADIR}'/@g' ${WRKSRC}/$${SDOC}; done ) ( for SDOC in ${_BSHARESLASH}; do ${REINPLACE_CMD} -e 's@$$NSCDE_ROOT/share/@'${DATADIR}'/@g' ${WRKSRC}/$${SDOC}; done ) ${FIND} ${WRKSRC}/NsCDE/config -type f -name '*.conf' -exec ${MV} {} {}.sample \; ${FIND} ${WRKSRC}/NsCDE/config -type f -name '*.menu' -exec ${MV} {} {}.sample \; ( for BBIN in ${_BBINS}; do ${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT\/bin@'${PREFIX}'/sbin@g' ${WRKSRC}/$${BBIN}; done ) ( for CFG in ${_CONFIGS}; do ${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT\/config@'${ETCDIR}'@g' ${WRKSRC}/$${CFG}; done ) ( for SCR in ${_BLIBEXEC_SCRIPTS}; do ${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT\/libexec@'${PREFIX}'/libexec/nscde@g' ${WRKSRC}/$${SCR}; done ) ( for CFG in ${_CCONFIGS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/config/@'${ETCDIR}'/@g' ${WRKSRC}/$${CFG}; done ) ( for SLIB in ${_CLIBEXEC_SCRIPTS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/libexec/@'${PREFIX}'/libexec/nscde/@g' ${WRKSRC}/$${SLIB}; done ) ( for CLIB in ${_CLIBS}; do ${REINPLACE_CMD} -e 's@$${NSCDE_ROOT}/lib/@'${PREFIX}'/lib/nscde/@g' ${WRKSRC}/$${CLIB}; done ) ${WRKSRC}/NsCDE/bin/ised -c 's/\*FrontPanel: \(.*x.*\), Id NsCDE-Subpanel\(.*\), Frame 1, PressColorset 27, \\/\*FrontPanel: \1, Id NsCDE-Subpanel\2, Frame 1, PressColorset 27, \\\n Icon NsCDE\/FPSubArrowUp.xpm, PressIcon NsCDE\/FPSubArrowDown.xpm, \\/g' -f "${WRKSRC}/NsCDE/config/NsCDE-FrontPanel.conf.sample" ( for KSHB in ${_KSHFIX}; do ${REINPLACE_CMD} -e 's@^#!/usr/bin/env ksh93@#!'${PREFIX}'/bin/ksh93@' ${WRKSRC}/$${KSHB}; done ) ${FIND} ${WRKSRC}/NsCDE -type f -name '*.bak' -delete ( for HLP in ${_PREFIX_FILES}; do ${REINPLACE_CMD} -e 's@$${PREFIX}@'${PREFIX}'@g' ${WRKSRC}/$${HLP}; done ) ${REINPLACE_CMD} -e 's@$$NSCDE\_ROOT@${PREFIX}@g' ${WRKSRC}/NsCDE/bin/fpclock ${REINPLACE_CMD} -e 's@-$${NSCDE_OS}\_$${MARCH}@@g' ${WRKSRC}/NsCDE/bin/fpclock ${FIND} ${WRKSRC}/NsCDE -type f -name '*.bak' -delete ${MV} ${WRKSRC}/NsCDE/share/config_templates/colormgr.local ${WRKSRC}/NsCDE/share/doc/examples/colormgr.local.sample ${REINPLACE_CMD} -e 's@export NSCDE\_VERSION=\"1.3\"@export NSCDE_VERSION=\"'${DISTVERSION}'\"@g' ${WRKSRC}/NsCDE/bin/nscde post-patch-DOAS-on: ${REINPLACE_CMD} -e 's@sudo@doas@g' ${WRKSRC}/NsCDE/lib/scripts/SysActionDialog ${REINPLACE_CMD} -e 's@sudo@doas@g' ${WRKSRC}/NsCDE/config/NsCDE-Functions.conf.sample ${REINPLACE_CMD} -e 's@$${PREFIX}@'${PREFIX}'@g' ${WRKSRC}/NsCDE/share/doc/examples/doas.conf ${FIND} ${WRKSRC}/NsCDE -type f -name '*.bak' -delete do-build: ${RM} ${WRKSRC}/NsCDE/share/doc/html/* (cd ${WRKSRC}/docbook && ${PREFIX}/bin/xsltproc -o ${WRKSRC}/NsCDE/share/doc/html/NsCDE.html NsCDE.xsl NsCDE.xml) ${CP} ${WRKSRC}/docbook/NsCDE.css ${WRKSRC}/NsCDE/share/doc/html/NsCDE.css make -C ${WRKSRC}/src/XOverrideFontCursor make -C ${WRKSRC}/src/pclock-0.13.1/src make -C ${WRKSRC}/src/colorpicker ${STRIP_CMD} ${WRKSRC}/src/colorpicker/colorpicker ${STRIP_CMD} ${WRKSRC}/src/pclock-0.13.1/src/pclock ${STRIP_CMD} ${WRKSRC}/src/XOverrideFontCursor/XOverrideFontCursor.so do-install: ${FIND} ${WRKSRC} -type f -name '*.orig' -delete ${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/nscde/fvwm-modules ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/nscde ${MKDIR} ${STAGEDIR}/${ETCDIR}/xdg/menus ${MKDIR} ${STAGEDIR}/${PREFIX}/share/icons/NsCDE ${MKDIR} ${STAGEDIR}/${PREFIX}/share/nscde ${INSTALL_DATA} ${WRKSRC}/NsCDE/config/*.sample ${STAGEDIR}/${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/NsCDE/config/*.actions ${STAGEDIR}/${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/NsCDE/config/xdg/menus/* ${STAGEDIR}/${ETCDIR}/xdg/menus ${INSTALL_DATA} ${WRKSRC}/src/XOverrideFontCursor/XOverrideFontCursor.so ${STAGEDIR}/${PREFIX}/lib/nscde ${INSTALL_PROGRAM} ${WRKSRC}/src/pclock-0.13.1/src/pclock ${STAGEDIR}/${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/src/colorpicker/colorpicker ${STAGEDIR}/${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/NsCDE/bin/* ${STAGEDIR}/${PREFIX}/sbin ( for HLP in ${_NSCDE_HELPERS}; do ${INSTALL_SCRIPT} ${WRKSRC}/NsCDE/libexec/$${HLP} ${STAGEDIR}/${PREFIX}/libexec/nscde/$${HLP}; done ) ${INSTALL_SCRIPT} ${WRKSRC}/NsCDE/libexec/fvwm-modules/FvwmScript ${STAGEDIR}/${PREFIX}/libexec/nscde/fvwm-modules (cd ${WRKSRC}/NsCDE/share/icons && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/share/icons) ${INSTALL_DATA} ${WRKSRC}/NsCDE/share/applications/* ${STAGEDIR}/${PREFIX}/share/applications (cd ${WRKSRC}/NsCDE/share && ${COPYTREE_SHARE} "palettes photos config_templates backdrops defaults desktop-directories locale \ fontsets fallback" ${STAGEDIR}/${DATADIR}) (cd ${WRKSRC}/NsCDE/lib && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/lib/nscde) NSCDE_ROOT="${STAGEDIR}/${PREFIX}" HAS_WINDOWNAME=1 SYSMODE=1 ${WRKSRC}/generate_subpanels > ${STAGEDIR}/${ETCDIR}/NsCDE-Subpanels.conf.sample ${FIND} ${STAGEDIR}/${ETCDIR} -type f -name '*.actions' -exec ${MV} {} {}.sample \; do-install-DOCS-on: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/doc/nscde ${MKDIR} ${STAGEDIR}/${PREFIX}/share/examples/nscde (cd ${WRKSRC}/NsCDE/share/doc/examples && ${COPYTREE_SHARE} . ${STAGEDIR}/${PREFIX}/share/examples/nscde) (cd ${WRKSRC}/NsCDE/share/doc && ${COPYTREE_SHARE} html ${STAGEDIR}/${PREFIX}/share/doc/nscde) (cd ${WRKSRC}/NsCDE/share/doc && ${COPYTREE_SHARE} help ${STAGEDIR}/${PREFIX}/share/doc/nscde) ${INSTALL_DATA} ${WRKSRC}/NsCDE/share/doc/NsCDE.* ${STAGEDIR}/${PREFIX}/share/doc/nscde .include diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile index ae375d214d90..8a3f7cfdbc88 100644 --- a/x11-wm/windowmaker/Makefile +++ b/x11-wm/windowmaker/Makefile @@ -1,81 +1,81 @@ # Created by: Brian Handy PORTNAME= windowmaker PORTVERSION= 0.95.9 PORTREVISION= 1 CATEGORIES= x11-wm windowmaker MASTER_SITES= http://windowmaker.org/pub/source/release/ DISTNAME= WindowMaker-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= GNUstep-compliant NeXTstep window manager clone LICENSE= GPLv2 LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libjbig.so:graphics/jbigkit \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp \ libwraster.so:x11-wm/libwraster \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libexif.so:graphics/libexif RUN_DEPENDS= ${LOCALBASE}/share/WindowMaker/Themes/LeetWM.themed/style:graphics/wmicons USES= cpe gnome jpeg libtool shebangfix pathfix perl5 pkgconfig xorg USE_CSTD= c99 USE_GNOME= pango USE_LDCONFIG= yes USE_XORG= x11 xext xft xinerama xmu xpm SHEBANG_FILES= util/wkdemenu.pl GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no \ wm_cv_func_secure_getenv=no CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \ --localedir=${PREFIX}/share/locale \ --with-libs-from="-L${LOCALBASE}/lib" \ --with-incs-from="-I${LOCALBASE}/include" \ --with-gnustepdir="${PREFIX}/GNUstep" \ --enable-modelock \ --enable-pango \ --enable-xinerama \ --enable-usermenu \ --enable-wmreplace \ --with-x CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip PORTDOCS= AUTHORS BUGFORM BUGS ChangeLog FAQ INSTALL \ INSTALL-WMAKER NEWS README README.definable-cursor \ README.i18n TODO The-perfect-Window-Maker-patch.txt OPTIONS_DEFINE= IMAGEMAGICK DOCS NLS OPTIONS_DEFAULT= IMAGEMAGICK OPTIONS_SUB= yes -IMAGEMAGICK_LIB_DEPENDS= libMagickWand-${IMAGEMAGICK_DEFAULT}.so:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} +IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_OFF= --disable-magick NLS_USES= gettext NLS_CONFIGURE_ENV= LINGUAS="*" NLS_CONFIGURE_ENABLE= locale .include post-patch-IMAGEMAGICK-on: .if ${IMAGEMAGICK_DEFAULT} == 6 @${REINPLACE_CMD} -e '/MagickWand\.h/s,MagickWand/,wand/,' \ ${WRKSRC}/configure ${WRKSRC}/wrlib/load_magick.c .endif post-install: @${MKDIR} \ ${STAGEDIR}${PREFIX}/GNUstep/Applications/WPrefs.app/xpm \ ${STAGEDIR}${PREFIX}/share/WindowMaker/Sounds post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/x11/py-pyscreenshot/Makefile b/x11/py-pyscreenshot/Makefile index 778655964b40..25ca744d8991 100644 --- a/x11/py-pyscreenshot/Makefile +++ b/x11/py-pyscreenshot/Makefile @@ -1,24 +1,23 @@ PORTNAME= pyscreenshot PORTVERSION= 0.5.1 PORTREVISION= 2 CATEGORIES= x11 python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} #DISTNAME= PyVirtualDisplay-${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= Python module for taking screenshots LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \ - ${PY_PILLOW} \ - import:graphics/ImageMagick6 + ${PY_PILLOW} -USES= python:3.6+ +USES= magick:6,run python:3.6+ NO_ARCH= yes USE_PYTHON= autoplist distutils .include diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile index dc69e57501c8..00da2b720df4 100644 --- a/x11/xlockmore/Makefile +++ b/x11/xlockmore/Makefile @@ -1,113 +1,113 @@ # Created by: Scott Mace PORTNAME= xlockmore PORTVERSION= 5.67 CATEGORIES= x11 MASTER_SITES= http://www.sillycycle.com/xlock/ \ SF/bsdsrc/${.CURDIR:T} MAINTAINER= jgh@FreeBSD.org COMMENT= Like XLock session locker/screen saver, but just more LICENSE= BSD2CLAUSE LIB_DEPENDS= libfreetype.so:print/freetype2 USES= cpe tar:xz xorg USE_XORG= ice sm x11 xaw xext xpm xorgproto CPE_VENDOR= sillycycle CONFIGURE_ARGS= --without-motif --without-editres \ --without-dtsaver --without-rplay --without-nas \ --without-gtk --without-esound --disable-setuid \ --disable-kerberos4 GNU_CONFIGURE= yes PORTDOCS= README ${PORTNAME}.README OPTIONS_DEFINE= MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \ KERBEROS5 BAD_PAM GTK2 TIME_BOMB CUSTOMIZATION MAGICK JP \ XINERAMA DOCS FREETYPE OPTIONS_RADIO= ONE OPTIONS_RADIO_ONE= PAM XLOCK_GROUP OPTIONS_DEFAULT= MB XINERAMA OPTIONS_SUB= yes MESAGL_DESC= Mesa 3D (for GL modes) MB_DESC= Xmb function series SYSLOG_DESC= Syslog logging DISABLE_ALLOW_ROOT_DESC= Allows users to turn off allowroot NICE_ONLY_DESC= Only low cpu modes BLANK_ONLY_DESC= Blank mode only (boring) BAD_PAM_DESC= Xlock will ask PAM with root rights GTK2_DESC= Build Gtk2 graphical shell XLOCK_GROUP_DESC= Allow xlock group to logout TIME_BOMB_DESC= Allow autologout CUSTOMIZATION_DESC= Allow tune through resource file JP_DESC= Japanese Language Support NO_OPTIONS_SORT= yes MAKE_ARGS+= bindir=${PREFIX}/bin \ mandir=${PREFIX}/man/man1 \ datarootdir=${PREFIX}/share \ xapploaddir=${PREFIX}/lib/X11/app-defaults KERBEROS5_CFLAGS= ${GSSAPICPPFLAGS} KERBEROS5_CONFIGURE_ENV= XLOCKLIBS="${GSSAPILDFLAGS} ${GSSAPILIBS} -lcom_err" KERBEROS5_CONFIGURE_ENABLE= kerberos5 KERBEROS5_USES= gssapi:mit MESAGL_CFLAGS= -I${LOCALBASE}/include/FTGL -I${LOCALBASE}/include/freetype2 MESAGL_CONFIGURE_ENV= XLOCKLIBS+="-lpthread" MESAGL_CONFIGURE_WITH= mesa opengl ftgl MESAGL_LIB_DEPENDS= libftgl.so:graphics/ftgl MESAGL_USES= gl MESAGL_USE= gl=gl,glu BAD_PAM_CONFIGURE_ENABLE= bad-pam PAM_CONFIGURE_ENABLE= pam NICE_ONLY_CONFIGURE_ENABLE= nice-only BLANK_ONLY_CONFIGURE_ENABLE= blank-only MB_CONFIGURE_ENABLE= mb SYSLOG_CONFIGURE_ENABLE= syslog XINERAMA_CONFIGURE_WITH= xinerama XINERAMA_USE= xorg=xinerama DISABLE_ALLOW_ROOT_CONFIGURE_ON= --disable-allow-root XLOCK_GROUP_CONFIGURE_ENABLE= xlock-group TIME_BOMB_CONFIGURE_ENABLE= bomb CUSTOMIZATION_CONFIGURE_ENABLE= customization JP_IMPLIES= MB JP_CATEGORIES= japanese JP_VARS= XLOCKMORE_LANG=ja MAGICK_CONFIGURE_WITH= magick -MAGICK_LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick6 \ - libpng.so:graphics/png +MAGICK_USES= magick:6 +MAGICK_LIB_DEPENDS= libpng.so:graphics/png GTK2_CONFIGURE_WITH= gtk2 GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libpng.so:graphics/png GTK2_USE= gnome=cairo,gdkpixbuf2,gtk20 GTK2_USES= gnome pkgconfig FREETYPE_CONFIGURE_WITH= ttf FREETYPE_LIB_DEPENDS= libgltt.so:graphics/gltt FREETYPE_CFLAGS= -I${LOCALBASE}/include/gltt .include .if defined(XLOCKMORE_LANG) CONFIGURE_ARGS+= --with-lang=${XLOCKMORE_LANG} .endif .if ${PORT_OPTIONS:MPAM} && empty(PORT_OPTIONS:MBAD_PAM) pre-extract: @${ECHO} @${ECHO} "You have enabled PAM support. If you want to authenticate against" @${ECHO} "root only accessible PAM modules then define WITH_BAD_PAM=yes also." @${ECHO} "For example, pam_unix requires root rights to access shadow passwords." @${ECHO} .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/Revisions ${STAGEDIR}${DOCSDIR}/${PORTNAME}.README ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include