Index: head/CHANGES =================================================================== --- head/CHANGES (revision 451900) +++ head/CHANGES (revision 451901) @@ -1,3371 +1,3377 @@ 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. +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 if 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-2012 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. $FreeBSD$ Index: head/Mk/Uses/gnome.mk =================================================================== --- head/Mk/Uses/gnome.mk (revision 451900) +++ head/Mk/Uses/gnome.mk (revision 451901) @@ -1,713 +1,640 @@ #-*- tab-width: 4; -*- # ex:ts=4 # # $FreeBSD$ # $NetBSD: $ # # Please view me with 4 column tabs! # ======================= USERS ================================= # # There are no significant user-definable settings in here. # This file is a framework to make it easier to create GNOME ports. # # ======================= /USERS ================================ # Please make sure all changes to this file are passed through the maintainer. # Do not commit them yourself (unless of course you're the Port's Wraith ;). # This section defines possible names of GNOME components and all information # necessary for ports to use those components. # Ports can use this as follows: # # USE_GNOME= glib20 introspection:build # # .include # # As a result proper LIB_DEPENDS/RUN_DEPENDS will be added and CONFIGURE_ENV # and MAKE_ENV defined. # # # GCONF_SCHEMAS - Set the following to list of all the gconf schema files # that your port installs. These schema files and # %gconf.xml files will be automatically added to # the ${PLIST}. For example, if your port has # "etc/gconf/schemas/(foo.schemas and bar.schemas)", # add the following to your Makefile: # "GCONF_SCHEMAS=foo.schemas bar.schemas". # # GLIB_SCHEMAS - Set the following to list of all gsettings schema files # (*.gschema.xml) that your ports installs. The # schema files will be automatically added to # the ${PLIST}. For example, if your port has # "share/glib-2.0/schemas/(foo.gschema.xml and bar.gschema.xml)", # add the following to your Makefile: # "GLIB_SCHEMAS=foo.gschema.xml bar.gschema.xml". # # INSTALLS_OMF - If set, bsd.gnome.mk will automatically scan pkg-plist # file and add apropriate @exec/@unexec directives for # each .omf file found to track OMF registration database. # # INSTALLS_ICONS - If a GTK+ port installs Freedesktop-style icons to # ${LOCALBASE}/share/icons, then you should use this # macro. Using this macro ensures that icons are cached # and will display correctly. This macro isn't needed # for QT based applications, which use a different method. # # MAINTAINER: gnome@FreeBSD.org .if !defined(_INCLUDE_USES_GNOME_MK) _INCLUDE_USES_GNOME_MK= yes _USES_POST+= gnome .if !empty(gnome_ARGS) IGNORE= USES=gnome takes no arguments .endif # non-version specific components _USE_GNOME_ALL= esound intlhack intltool introspection \ referencehack gnomemimedata \ gnomeprefix # GNOME 1 components _USE_GNOME_ALL+= gdkpixbuf glib12 gtk12 # GNOME 2 components _USE_GNOME_ALL+= atk cairo \ gdkpixbuf2 gconf2 glib20 \ gnomedocutils gnomesharp20 \ gnomevfs2 gtk-update-icon-cache gtk20 gtkhtml3 \ gtksharp20 gtksourceview gtksourceview2 gvfs libartlgpl2 libbonobo \ libbonoboui libglade2 libgnome \ libgnomecanvas libgnomekbd libgnomeprint libgnomeprintui \ libgnomeui libgsf libgtkhtml libidl librsvg2 libwnck \ libxml2 libxslt \ orbit2 pango pangox-compat pygnome2 pygobject pygtk2 \ pygtksourceview vte # GNOME 3 components _USE_GNOME_ALL+=dconf evolutiondataserver3 gnomecontrolcenter3 gnomedesktop3 \ gnomemenus3 gsound gtk30 gtkhtml4 gtksourceview3 libgda5 \ libgda5-ui libwnck3 metacity nautilus3 py3gobject3 \ pygobject3 vte3 # C++ bindings _USE_GNOME_ALL+=atkmm cairomm gconfmm26 glibmm gtkmm20 gtkmm24 \ gtkmm30 gtksourceviewmm3 libgdamm5 \ libgtksourceviewmm libxml++26 libsigc++12 libsigc++20 \ pangomm GNOME_MAKEFILEIN?= Makefile.in SCROLLKEEPER_DIR= /var/db/rarian referencehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e \ "s|test \"\$$\$$installfiles\" = '\$$(srcdir)/html/\*'|:|" GNOME_HTML_DIR?= ${PREFIX}/share/doc GCONF_CONFIG_OPTIONS?= merged GCONF_CONFIG_DIRECTORY?=etc/gconf/gconf.xml.defaults GCONF_CONFIG_SOURCE?=xml:${GCONF_CONFIG_OPTIONS}:${PREFIX}/${GCONF_CONFIG_DIRECTORY} GNOME_LOCALSTATEDIR?= ${PREFIX}/share gnomeprefix_CONFIGURE_ENV=GTKDOC="false" gnomeprefix_CONFIGURE_ARGS=--localstatedir=${GNOME_LOCALSTATEDIR} \ --with-html-dir=${GNOME_HTML_DIR} \ --disable-gtk-doc \ --with-gconf-source=${GCONF_CONFIG_SOURCE} atkmm_DETECT= ${LOCALBASE}/libdata/pkgconfig/atkmm-1.6.pc atkmm_LIB_DEPENDS= libatkmm-1.6.so:accessibility/atkmm atkmm_USE_GNOME_IMPL= glibmm atk libxml++26_DETECT= ${LOCALBASE}/libdata/pkgconfig/libxml++-2.6.pc libxml++26_LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26 libxml++26_USE_GNOME_IMPL= glibmm libxml2 cairo_DETECT= ${LOCALBASE}/libdata/pkgconfig/cairo.pc cairo_LIB_DEPENDS= libcairo.so:graphics/cairo cairomm_DETECT= ${LOCALBASE}/libdata/pkgconfig/cairomm-1.0.pc cairomm_LIB_DEPENDS= libcairomm-1.0.so:graphics/cairomm cairomm_USE_GNOME_IMPL= cairo libxml++26 gconfmm26_DETECT= ${LOCALBASE}/libdata/pkgconfig/gconfmm-2.6.pc gconfmm26_LIB_DEPENDS= libgconfmm-2.6.so:devel/gconfmm26 gconfmm26_USE_GNOME_IMPL= glibmm gconf2 glibmm_DETECT= ${LOCALBASE}/libdata/pkgconfig/glibmm-2.4.pc glibmm_LIB_DEPENDS= libglibmm-2.4.so:devel/glibmm glibmm_USE_GNOME_IMPL= libsigc++20 glib20 gsound_DETECT= ${LOCALBASE}/libdata/pkgconfig/gsound.pc gsound_BUILD_DEPENDS= gsound-play:audio/gsound gsound_LIB_DEPENDS= libgsound.so:audio/gsound gsound_RUN_DEPENDS= gsound-play:audio/gsound gsound_USE_GNOME_IMPL= glib20 gtkmm20_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtkmm-2.0.pc gtkmm20_LIB_DEPENDS= libgtkmm-2.0.so:x11-toolkits/gtkmm20 gtkmm20_USE_GNOME_IMPL= libsigc++12 gtk20 gtkmm24_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtkmm-2.4.pc gtkmm24_LIB_DEPENDS= libgtkmm-2.4.so:x11-toolkits/gtkmm24 gtkmm24_USE_GNOME_IMPL= glibmm cairomm atkmm pangomm gtk20 gtkmm30_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtkmm-3.0.pc gtkmm30_LIB_DEPENDS= libgtkmm-3.0.so:x11-toolkits/gtkmm30 gtkmm30_USE_GNOME_IMPL= glibmm cairomm atkmm pangomm gtk30 gtksourceviewmm3_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtksourceviewmm-3.0.pc gtksourceviewmm3_LIB_DEPENDS= libgtksourceviewmm-3.0.so:x11-toolkits/gtksourceviewmm3 gtksourceviewmm3_USE_GNOME_IMPL= gtkmm30 gtksourceview3 libgdamm5_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgdamm-5.0.pc libgdamm5_LIB_DEPENDS= libgdamm-5.0.so:databases/libgdamm5 libgdamm5_USE_GNOME_IMPL= libgda5 glibmm libgtksourceviewmm_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtksourceviewmm-2.0.pc libgtksourceviewmm_LIB_DEPENDS= libgtksourceviewmm-2.0.so:x11-toolkits/libgtksourceviewmm libgtksourceviewmm_USE_GNOME_IMPL= gtksourceview2 gtkmm24 libsigc++12_DETECT= ${LOCALBASE}/libdata/pkgconfig/sigc++-1.2.pc libsigc++12_LIB_DEPENDS= libsigc-1.2.so:devel/libsigc++12 libsigc++20_DETECT= ${LOCALBASE}/libdata/pkgconfig/sigc++-2.0.pc libsigc++20_LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 pangomm_DETECT= ${LOCALBASE}/libdata/pkgconfig/pangomm-1.4.pc pangomm_LIB_DEPENDS= libpangomm-1.4.so:x11-toolkits/pangomm pangomm_USE_GNOME_IMPL= pango glibmm cairomm ESD_CONFIG?= ${LOCALBASE}/bin/esd-config esound_LIB_DEPENDS= libesd.so:audio/esound esound_CONFIGURE_ENV= ESD_CONFIG="${ESD_CONFIG}" esound_MAKE_ENV= ESD_CONFIG="${ESD_CONFIG}" esound_DETECT= ${ESD_CONFIG} GLIB_CONFIG?= ${LOCALBASE}/bin/glib-config glib12_LIB_DEPENDS= libglib.so:devel/glib12 glib12_CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" glib12_MAKE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" glib12_DETECT= ${GLIB_CONFIG} GTK_CONFIG?= ${LOCALBASE}/bin/gtk-config gtk12_LIB_DEPENDS= libgtk.so:x11-toolkits/gtk12 gtk12_CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" gtk12_MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" gtk12_DETECT= ${GTK_CONFIG} gtk12_USE_GNOME_IMPL= glib12 GDK_PIXBUF_CONFIG?= ${LOCALBASE}/bin/gdk-pixbuf-config gdkpixbuf_LIB_DEPENDS= libgdk_pixbuf.so:graphics/gdk-pixbuf gdkpixbuf_CONFIGURE_ENV=GDK_PIXBUF_CONFIG="${GDK_PIXBUF_CONFIG}" gdkpixbuf_MAKE_ENV= GDK_PIXBUF_CONFIG="${GDK_PIXBUF_CONFIG}" gdkpixbuf_DETECT= ${GDK_PIXBUF_CONFIG} gdkpixbuf_USE_GNOME_IMPL=gtk12 gnomemimedata_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc gnomemimedata_BUILD_DEPENDS=${gnomemimedata_DETECT}:misc/gnome-mime-data gnomemimedata_RUN_DEPENDS=${gnomemimedata_DETECT}:misc/gnome-mime-data glib20_LIB_DEPENDS= libglib-2.0.so:devel/glib20 \ libintl.so:devel/gettext-runtime glib20_DETECT= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc atk_LIB_DEPENDS= libatk-1.0.so:accessibility/atk atk_DETECT= ${LOCALBASE}/libdata/pkgconfig/atk.pc atk_USE_GNOME_IMPL= glib20 dconf_BUILD_DEPENDS= dconf:devel/dconf dconf_LIB_DEPENDS= libdconf.so:devel/dconf dconf_RUN_DEPENDS= dconf:devel/dconf dconf_DETECT= ${LOCALBASE}/libdata/pkgconfig/dconf.pc dconf_USE_GNOME_IMPL= glib20 pango_LIB_DEPENDS= libpango-1.0.so:x11-toolkits/pango pango_DETECT= ${LOCALBASE}/libdata/pkgconfig/pango.pc pango_USE_GNOME_IMPL= glib20 pangox-compat_LIB_DEPENDS= libpangox-1.0.so:x11-toolkits/pangox-compat pangox-compat_DETECT= ${LOCALBASE}/libdata/pkgconfig/pangox.pc pangox-compat_USE_GNOME_IMPL= glib20 pango gdkpixbuf2_LIB_DEPENDS= libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 gdkpixbuf2_DETECT= ${LOCALBASE}/libdata/pkgconfig/gdk-pixbuf-2.0.pc gdkpixbuf2_USE_GNOME_IMPL=glib20 gtk-update-icon-cache_BUILD_DEPENDS= gtk-update-icon-cache:graphics/gtk-update-icon-cache gtk-update-icon-cache_RUN_DEPENDS= gtk-update-icon-cache:graphics/gtk-update-icon-cache gtk-update-icon-cache_DETECT= ${LOCALBASE}/bin/gtk-update-icon-cache gtk-update-icon-cache_USE_GNOME_IMPL= atk pango gdkpixbuf2 gtk20_LIB_DEPENDS= libgtk-x11-2.0.so:x11-toolkits/gtk20 gtk20_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtk+-x11-2.0.pc gtk20_USE_GNOME_IMPL= atk pango GTK2_VERSION= 2.10.0 gtk30_LIB_DEPENDS= libgtk-3.so:x11-toolkits/gtk30 gtk30_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtk+-3.0.pc gtk30_USE_GNOME_IMPL= atk pango GTK3_VERSION= 3.0.0 libidl_LIB_DEPENDS= libIDL-2.so:devel/libIDL libidl_DETECT= ${LOCALBASE}/libdata/pkgconfig/libIDL-2.0.pc libidl_USE_GNOME_IMPL= glib20 orbit2_LIB_DEPENDS= libORBit-2.so:devel/ORBit2 orbit2_DETECT= ${LOCALBASE}/libdata/pkgconfig/ORBit-2.0.pc orbit2_USE_GNOME_IMPL= libidl libglade2_LIB_DEPENDS= libglade-2.0.so:devel/libglade2 libglade2_DETECT= ${LOCALBASE}/libdata/pkgconfig/libglade-2.0.pc libglade2_USE_GNOME_IMPL=libxml2 gtk20 libxml2_BUILD_DEPENDS= xml2-config:textproc/libxml2 libxml2_LIB_DEPENDS= libxml2.so:textproc/libxml2 libxml2_RUN_DEPENDS= xml2-config:textproc/libxml2 libxml2_DETECT= ${LOCALBASE}/libdata/pkgconfig/libxml-2.0.pc libxslt_BUILD_DEPENDS= xsltproc:textproc/libxslt libxslt_LIB_DEPENDS= libxslt.so:textproc/libxslt libxslt_RUN_DEPENDS= ${libxslt_BUILD_DEPENDS} libxslt_DETECT= ${LOCALBASE}/libdata/pkgconfig/libxslt.pc libxslt_USE_GNOME_IMPL= libxml2 libbonobo_LIB_DEPENDS= libbonobo-2.so:devel/libbonobo libbonobo_DETECT= ${LOCALBASE}/libdata/pkgconfig/libbonobo-2.0.pc libbonobo_USE_GNOME_IMPL=libxml2 orbit2 introspection_DETECT= ${LOCALBASE}/libdata/pkgconfig/gobject-introspection-1.0.pc introspection_BUILD_DEPENDS= g-ir-scanner:devel/gobject-introspection introspection_LIB_DEPENDS= libgirepository-1.0.so:devel/gobject-introspection introspection_RUN_DEPENDS= g-ir-scanner:devel/gobject-introspection introspection_USE_GNOME_IMPL= glib20 introspection_MAKE_ENV= GI_SCANNER_DISABLE_CACHE=1 XDG_CACHE_HOME=${WRKDIR} gconf2_LIB_DEPENDS= libgconf-2.so:devel/gconf2 gconf2_DETECT= ${LOCALBASE}/libdata/pkgconfig/gconf-2.0.pc gconf2_USE_GNOME_IMPL= orbit2 libxml2 gtk20 gnomevfs2_LIB_DEPENDS= libgnomevfs-2.so:devel/gnome-vfs gnomevfs2_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-vfs-2.0.pc gnomevfs2_USE_GNOME_IMPL=gconf2 gnomemimedata libgnomecanvas_LIB_DEPENDS= libgnomecanvas-2.so:graphics/libgnomecanvas libgnomecanvas_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgnomecanvas-2.0.pc libgnomecanvas_USE_GNOME_IMPL= libglade2 libartlgpl2 libartlgpl2_LIB_DEPENDS= libart_lgpl_2.so:graphics/libart_lgpl libartlgpl2_DETECT= ${LOCALBASE}/libdata/pkgconfig/libart-2.0.pc libgnomeprint_LIB_DEPENDS= libgnomeprint-2-2.so:print/libgnomeprint libgnomeprint_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgnomeprint-2.2.pc libgnomeprint_USE_GNOME_IMPL= libbonobo libartlgpl2 gtk20 libgnomeprintui_LIB_DEPENDS= libgnomeprintui-2-2.so:x11-toolkits/libgnomeprintui libgnomeprintui_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgnomeprintui-2.2.pc libgnomeprintui_USE_GNOME_IMPL= libgnomeprint libgnomecanvas libgnome_LIB_DEPENDS= libgnome-2.so:x11/libgnome libgnome_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgnome-2.0.pc libgnome_USE_GNOME_IMPL=gnomevfs2 esound libbonobo libbonoboui_LIB_DEPENDS= libbonoboui-2.so:x11-toolkits/libbonoboui libbonoboui_DETECT= ${LOCALBASE}/libdata/pkgconfig/libbonoboui-2.0.pc libbonoboui_USE_GNOME_IMPL= libgnomecanvas libgnome libgnomeui_LIB_DEPENDS= libgnomeui-2.so:x11-toolkits/libgnomeui libgnomeui_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgnomeui-2.0.pc libgnomeui_USE_GNOME_IMPL= libbonoboui libgtkhtml_LIB_DEPENDS= libgtkhtml-2.so:www/libgtkhtml libgtkhtml_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgtkhtml-2.0.pc libgtkhtml_USE_GNOME_IMPL=libxslt gnomevfs2 gnomedesktop3_LIB_DEPENDS= libgnome-desktop-3.so:x11/gnome-desktop gnomedesktop3_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-desktop-3.0.pc gnomedesktop3_USE_GNOME_IMPL= gtk30 libwnck_LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck libwnck_DETECT= ${LOCALBASE}/libdata/pkgconfig/libwnck-1.0.pc libwnck_USE_GNOME_IMPL= gtk20 libwnck3_LIB_DEPENDS= libwnck-3.so:x11-toolkits/libwnck3 libwnck3_DETECT= ${LOCALBASE}/libdata/pkgconfig/libwnck-3.0.pc libwnck3_USE_GNOME_IMPL=gtk30 vte_LIB_DEPENDS= libvte.so:x11-toolkits/vte vte_DETECT= ${LOCALBASE}/libdata/pkgconfig/vte.pc vte_USE_GNOME_IMPL= gtk20 vte3_LIB_DEPENDS= libvte-2.91.so:x11-toolkits/vte3 vte3_DETECT= ${LOCALBASE}/libdata/pkgconfig/vte-2.91.pc vte3_USE_GNOME_IMPL= gtk30 librsvg2_LIB_DEPENDS= librsvg-2.so:graphics/librsvg2 librsvg2_DETECT= ${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc librsvg2_USE_GNOME_IMPL=libgsf gdkpixbuf2 pango nautilus3_LIB_DEPENDS= libnautilus-extension.so:x11-fm/nautilus nautilus3_DETECT= ${LOCALBASE}/share/gir-1.0/Nautilus-3.0.gir nautilus3_USE_GNOME_IMPL=gnomedesktop3 gvfs libxml2 metacity_LIB_DEPENDS= libmetacity-private.so:x11-wm/metacity metacity_DETECT= ${LOCALBASE}/libdata/pkgconfig/libmetacity-private.pc gnomecontrolcenter3_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-keybindings.pc gnomecontrolcenter3_BUILD_DEPENDS= ${gnomecontrolcenter3_DETECT}:sysutils/gnome-control-center gnomecontrolcenter3_RUN_DEPENDS= ${gnomecontrolcenter3_DETECT}:sysutils/gnome-control-center gnomecontrolcenter3_USE_GNOME_IMPL= gnomedesktop3 libgda5_LIB_DEPENDS= libgda-5.0.so:databases/libgda5 libgda5_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgda-5.0.pc libgda5_USE_GNOME_IMPL= glib20 libxslt libgda5-ui_LIB_DEPENDS= libgda-ui-5.0.so:databases/libgda5-ui libgda5-ui_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgda-ui-5.0.pc libgda5-ui_USE_GNOME_IMPL=glib20 libxslt libgda5 gtksourceview_LIB_DEPENDS= libgtksourceview-1.0.so:x11-toolkits/gtksourceview gtksourceview_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtksourceview-1.0.pc gtksourceview_USE_GNOME_IMPL=libgnome libgnomeprintui gtksourceview2_LIB_DEPENDS= libgtksourceview-2.0.so:x11-toolkits/gtksourceview2 gtksourceview2_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtksourceview-2.0.pc gtksourceview2_USE_GNOME_IMPL=gtk20 libxml2 gtksourceview3_LIB_DEPENDS= libgtksourceview-3.0.so:x11-toolkits/gtksourceview3 gtksourceview3_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtksoureview-3.0.pc gtksourceview3_USE_GNOME_IMPL=gtk30 libxml2 libgsf_LIB_DEPENDS= libgsf-1.so:devel/libgsf libgsf_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgsf-1.pc libgsf_USE_GNOME_IMPL= glib20 libxml2 pygobject_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc pygobject_BUILD_DEPENDS= pygobject-codegen-2.0:devel/py-gobject pygobject_RUN_DEPENDS= pygobject-codegen-2.0:devel/py-gobject pygobject_USE_GNOME_IMPL= glib20 py3gobject3_DETECT= ${LOCALBASE}/share/py3gobject3/.keep py3gobject3_BUILD_DEPENDS= py3?-gobject3>=0:devel/py3-gobject3 py3gobject3_RUN_DEPENDS= py3?-gobject3>=0:devel/py3-gobject3 py3gobject3_USE_GNOME_IMPL= glib20 pygobject3_DETECT= ${LOCALBASE}/share/pygobject3/.keep pygobject3_BUILD_DEPENDS= py2?-gobject3>=0:devel/py-gobject3 pygobject3_RUN_DEPENDS= py2?-gobject3>=0:devel/py-gobject3 pygobject3_USE_GNOME_IMPL= glib20 pygtk2_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc pygtk2_BUILD_DEPENDS= ${pygtk2_DETECT}:x11-toolkits/py-gtk2 pygtk2_RUN_DEPENDS= ${pygtk2_DETECT}:x11-toolkits/py-gtk2 pygtk2_USE_GNOME_IMPL= libglade2 pygobject pygnome2_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-python-2.0.pc pygnome2_BUILD_DEPENDS= ${pygnome2_DETECT}:x11-toolkits/py-gnome2 pygnome2_RUN_DEPENDS= ${pygnome2_DETECT}:x11-toolkits/py-gnome2 pygnome2_USE_GNOME_IMPL=libgnomeui pygtk2 intltool_DETECT= ${LOCALBASE}/bin/intltool-extract intltool_BUILD_DEPENDS= ${intltool_DETECT}:textproc/intltool intlhack_PRE_PATCH= ${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} \ 's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \ s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";| ; \ s|/usr/bin/iconv|${ICONV_CMD}|g ; \ s|unpack *[(]'"'"'U\*'"'"'|unpack ('"'"'C*'"'"'|' ; \ ${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} \ 's/DATADIRNAME=lib/DATADIRNAME=share/' intlhack_USE_GNOME_IMPL=intltool gtkhtml3_LIB_DEPENDS= libgtkhtml-3.14.so:www/gtkhtml3 gtkhtml3_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgtkhtml-3.14.pc gtkhtml3_USE_GNOME_IMPL=libglade2 gtkhtml4_LIB_DEPENDS= libgtkhtml-4.0.so:www/gtkhtml4 gtkhtml4_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgtkhtml-4.0.pc gtkhtml4_USE_GNOME_IMPL=gtk30 libxml2 evolutiondataserver3_LIB_DEPENDS= libedataserver-1.2.so:databases/evolution-data-server evolutiondataserver3_DETECT= ${LOCALBASE}/libdata/pkgconfig/libedataserverui-3.0.pc evolutiondataserver3_USE_GNOME_IMPL= libxml2 gtk30 gnomemenus3_BUILD_DEPENDS= gnome-menus>=3.2.0:x11/gnome-menus gnomemenus3_RUN_DEPENDS= gnome-menus>=3.2.0:x11/gnome-menus gnomemenus3_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgnome-menu-3.0.pc gnomemenus3_USE_GNOME_IMPL= glib20 gnomedocutils_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-doc-utils.pc gnomedocutils_BUILD_DEPENDS= ${gnomedocutils_DETECT}:textproc/gnome-doc-utils gnomedocutils_RUN_DEPENDS= ${gnomedocutils_DETECT}:textproc/gnome-doc-utils gnomedocutils_USE_GNOME_IMPL= libxslt gtksharp10_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtk-sharp.pc gtksharp10_BUILD_DEPENDS= ${gtksharp10_DETECT}:x11-toolkits/gtk-sharp10 gtksharp10_RUN_DEPENDS= ${gtksharp10_DETECT}:x11-toolkits/gtk-sharp10 gtksharp10_USE_GNOME_IMPL= gtk20 gtksharp20_DETECT= ${LOCALBASE}/libdata/pkgconfig/gtk-sharp-2.0.pc gtksharp20_BUILD_DEPENDS= ${gtksharp20_DETECT}:x11-toolkits/gtk-sharp20 gtksharp20_RUN_DEPENDS= ${gtksharp20_DETECT}:x11-toolkits/gtk-sharp20 gtksharp20_USE_GNOME_IMPL= gtk20 gnomesharp20_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-sharp-2.0.pc gnomesharp20_BUILD_DEPENDS= ${gnomesharp20_DETECT}:x11-toolkits/gnome-sharp20 gnomesharp20_RUN_DEPENDS= ${gnomesharp20_DETECT}:x11-toolkits/gnome-sharp20 gnomesharp20_USE_GNOME_IMPL= gnomevfs2 gtkhtml3 gtksharp20 librsvg2 vte libgnomekbd_DETECT= ${LOCALBASE}/libdata/pkgconfig/libgnomekbd.pc libgnomekbd_LIB_DEPENDS= libgnomekbd.so:x11/libgnomekbd libgnomekbd_USE_GNOME_IMPL= gtk30 libxml2 pygtksourceview_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygtksourceview-2.0.pc pygtksourceview_BUILD_DEPENDS= ${pygtksourceview_DETECT}:x11-toolkits/py-gtksourceview pygtksourceview_RUN_DEPENDS= ${pygtksourceview_DETECT}:x11-toolkits/py-gtksourceview pygtksourceview_USE_GNOME_IMPL= gtksourceview2 pygtk2 gvfs_DETECT= ${LOCALBASE}/lib/gvfs/libgvfscommon.so gvfs_BUILD_DEPENDS= gvfs>=0:devel/gvfs gvfs_RUN_DEPENDS= gvfs>=0:devel/gvfs gvfs_USE_GNOME_IMPL= glib20 .if defined(INSTALLS_ICONS) USE_GNOME+= gtk-update-icon-cache .endif # End component definition section -# This section defines tests for optional software. These work off four -# types of variables: WANT_GNOME, WITH_GNOME, HAVE_GNOME and USE_GNOME. -# The logic of this is that a port can WANT support for a package; a user -# specifies if they want ports compiled WITH certain features; this section -# tests if we HAVE these features; and the port is then free to USE them. - -# The logic of this section is like this: -# -# .if defined(WANT_GNOME) && !defined(WITHOUT_GNOME) -# .for foo in ALL_GNOME_COMPONENTS -# .if defined(WITH_GNOME) -# HAVE_GNOME += foo -# .elif (foo installed) -# HAVE_GNOME += foo -# .else -# Print option message -# .endif -# .endfor -# .endif -# -# Although it appears a little more convoluted in the tests. - -# Ports can make use of this like so: -# -# WANT_GNOME= yes -# -# .include -# -# .if ${HAVE_GNOME:Mfoo}!="" -# ... Do some things ... -# USE_GNOME= foo -# .else -# ... Do some other things ... -# .endif - -# We also check each component to see if it has a desktop requirement. If -# it does, and its requirement disagrees with the user's chosen desktop, -# do not add the component to the HAVE_GNOME list. - -_USE_GNOME_SAVED:=${USE_GNOME} -HAVE_GNOME?= -.if (defined(WANT_GNOME) && !defined(WITHOUT_GNOME)) -. for component in ${_USE_GNOME_ALL} -. if exists(${${component}_DETECT}) -HAVE_GNOME+= ${component} -. elif defined(WITH_GNOME) -. if ${WITH_GNOME}=="yes" || ${WITH_GNOME:M${component}}!="" \ - || ${WITH_GNOME}=="1" -HAVE_GNOME+= ${component} -. endif -. endif -. endfor -.elif defined(WITHOUT_GNOME) -. if ${WITHOUT_GNOME}!="yes" && ${WITHOUT_GNOME}!="1" -. for component in ${_USE_GNOME_ALL} -. if ${WITHOUT_GNOME:M${component}}=="" -. if exists(${${component}_DETECT}) -HAVE_GNOME+= ${component} -. endif -. endif -. endfor -. endif -.endif - .if defined(USE_GNOME) # First of all expand all USE_GNOME_IMPL recursively . for component in ${_USE_GNOME_ALL} . for subcomponent in ${${component}_USE_GNOME_IMPL} ${component}_USE_GNOME_IMPL+=${${subcomponent}_USE_GNOME_IMPL} . endfor . endfor # Then use already expanded USE_GNOME_IMPL to expand USE_GNOME. # Also, check to see if each component has a desktop requirement. If it does, # and if the user's chosen desktop is not of the same version, mark the # port as IGNORE. . for component in ${USE_GNOME:C/^([^:]+).*/\1/} . if ${_USE_GNOME_ALL:M${component}}=="" IGNORE= cannot install: Unknown component ${component} . endif _USE_GNOME+= ${${component}_USE_GNOME_IMPL} ${component} . endfor # Setup the GTK+ API version for pixbuf loaders, input method modules, # and theme engines. PLIST_SUB+= GTK2_VERSION="${GTK2_VERSION}" \ GTK3_VERSION="${GTK3_VERSION}" # Set USE_CSTD for all ports that depend on glib12 .if defined(_USE_GNOME) && !empty(_USE_GNOME:Mglib12) USE_CSTD= gnu89 .endif .if defined(_USE_GNOME) && empty(_USE_GNOME:Mglib20:u) && defined(GLIB_SCHEMAS) IGNORE= GLIB_SCHEMAS is set, but needs USE_GNOME=glib20 to work .endif .if defined(_USE_GNOME) && empty(_USE_GNOME:Mgconf2:u) && defined(GCONF_SCHEMAS) IGNORE= GCONF_SCHEMAS is set, but needs USE_GNOME=gconf2 to work .endif # Then traverse through all components, check which of them # exist in ${_USE_GNOME} and set variables accordingly .ifdef _USE_GNOME . for component in ${_USE_GNOME:O:u} . if defined(${component}_PATCH_DEPENDS) PATCH_DEPENDS+= ${${component}_PATCH_DEPENDS} . endif . if defined(${component}_DETECT) . if ${USE_GNOME:M${component}\:build}!="" BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS} . elif ${USE_GNOME:M${component}\:run}!="" RUN_DEPENDS+= ${${component}_RUN_DEPENDS} . else . if defined(${component}_LIB_DEPENDS) LIB_DEPENDS+= ${${component}_LIB_DEPENDS} . else BUILD_DEPENDS+= ${${component}_BUILD_DEPENDS} RUN_DEPENDS+= ${${component}_RUN_DEPENDS} . endif . endif . endif . if defined(${component}_CONFIGURE_ARGS) CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS} . endif . if defined(${component}_CONFIGURE_ENV) CONFIGURE_ENV+= ${${component}_CONFIGURE_ENV} . endif . if defined(${component}_MAKE_ENV) MAKE_ENV+= ${${component}_MAKE_ENV} . endif . if !defined(CONFIGURE_TARGET) && defined(${component}_CONFIGURE_TARGET) CONFIGURE_TARGET= ${${component}_CONFIGURE_TARGET} . endif . if defined(${component}_PRE_PATCH) GNOME_PRE_PATCH+= ; ${${component}_PRE_PATCH} . endif . endfor .endif . if defined(GCONF_SCHEMAS) MAKE_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 . endif -.endif - -.if defined(WANT_GNOME) -USE_GNOME?= -. if ${_USE_GNOME_SAVED}==${USE_GNOME} -PLIST_SUB+= GNOME:="@comment " NOGNOME:="" -. else -PLIST_SUB+= GNOME:="" NOGNOME:="@comment " -. endif .endif .if defined(USE_GNOME_SUBR) GNOME_SUBR= ${LOCALBASE}/etc/gnome.subr RUN_DEPENDS+= ${GNOME_SUBR}:sysutils/gnome_subr SUB_LIST+= GNOME_SUBR=${GNOME_SUBR} .endif .endif # end of the part .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_GNOME_POST_MK) _INCLUDE_USES_GNOME_POST_MK= yes .if defined(GNOME_PRE_PATCH) _USES_patch+= 290:gnome-pre-patch gnome-pre-patch: @${GNOME_PRE_PATCH:C/^;//1} .endif .if defined(GCONF_SCHEMAS) _USES_install+= 690:gnome-post-gconf-schemas gnome-post-gconf-schemas: @for i in ${GCONF_SCHEMAS}; do \ ${ECHO_CMD} "@postunexec env GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:%D/${GCONF_CONFIG_DIRECTORY} HOME=${WRKDIR} gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/$${i} > /dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ ${ECHO_CMD} "etc/gconf/schemas/$${i}" >> ${TMPPLIST}; \ ${ECHO_CMD} "@postexec env GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:%D/${GCONF_CONFIG_DIRECTORY} HOME=${WRKDIR} gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/$${i} > /dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ done .endif # we put the @unexec behind the plist schema entry, because it compiles files # in the directory. So we should remove the port file first before recompiling. .if defined(GLIB_SCHEMAS) _USES_install+= 690:gnome-post-glib-schemas gnome-post-glib-schemas: @for i in ${GLIB_SCHEMAS}; do \ ${ECHO_CMD} "share/glib-2.0/schemas/$${i}" >> ${TMPPLIST}; \ done @${ECHO_CMD} "@glib-schemas" >> ${TMPPLIST}; .endif .if defined(INSTALLS_OMF) _USES_install+= 690:gnome-post-omf gnome-post-omf: @for i in `${GREP} "\.omf$$" ${TMPPLIST}`; do \ ${ECHO_CMD} "@postexec scrollkeeper-install -q %D/$${i} 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ ${ECHO_CMD} "@postunexec scrollkeeper-uninstall -q %D/$${i} 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ done .endif .if defined(INSTALLS_ICONS) _USES_install+= 690:gnome-post-icons gnome-post-icons: @${RM} ${TMPPLIST}.icons1 @for i in `${GREP} "^share/icons/.*/" ${TMPPLIST} | ${CUT} -d / -f 1-3 | ${SORT} -u`; do \ ${ECHO_CMD} "@rmtry $${i}/icon-theme.cache" \ >> ${TMPPLIST}.icons1; \ ${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ ${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/$${i} 2>/dev/null || /usr/bin/true" \ >> ${TMPPLIST}; \ done @if test -f ${TMPPLIST}.icons1; then \ ${CAT} ${TMPPLIST}.icons1 ${TMPPLIST} > ${TMPPLIST}.icons2; \ ${RM} ${TMPPLIST}.icons1; \ ${MV} -f ${TMPPLIST}.icons2 ${TMPPLIST}; \ fi .endif .endif # End of use part. Index: head/Mk/bsd.sanity.mk =================================================================== --- head/Mk/bsd.sanity.mk (revision 451900) +++ head/Mk/bsd.sanity.mk (revision 451901) @@ -1,259 +1,260 @@ # $FreeBSD$ # # MAINTAINER: portmgr@FreeBSD.org # .if defined(WITHOUT_NLS) WARNING+= "WITHOUT_NLS is deprecated use OPTIONS_UNSET=NLS instead" .endif .if defined(WITH_NEW_XORG) || defined(WITHOUT_NEW_XORG) WARNING+= "WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect" .endif .if defined(WITH_KMS) || defined(WITHOUT_KMS) WARNING+= "WITH_KMS was removed and has no effect" .endif .if exists(${.CURDIR}/../../Mk/bsd.port.mk) .if ${.CURDIR:H:T} != ${PKGCATEGORY} DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" .endif .else DEV_WARNING+= "Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing." .endif #.if defined(WITHOUT_X11) #WARNING+= "WITHOUT_X11 is deprecated use X11 option instead" #.endif .if defined(USE_PERL5) && ${USE_PERL5} == yes DEV_ERROR+= "USE_PERL5=yes is unsupported, please use USES=perl5 instead" .endif .if defined(USE_KDEBASE_VER) DEV_ERROR+= "USE_KDEBASE_VER is unsupported" .endif .if defined(USE_KDELIBS_VER) DEV_ERROR+= "USE_KDELIBS_VER is unsupported" .endif .if defined(USE_QT_VER) DEV_ERROR+= "USE_QT_VER is unsupported" .endif .if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) || defined(USE_GHOSTSCRIPT_RUN) DEV_ERROR+= "USE_GHOSTSCRIPT is unsupported, please use USES=ghostscript instead" .endif .if !empty(LIB_DEPENDS:M*/../*) DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency" .endif .if !empty(RUN_DEPENDS:M*/../*) DEV_ERROR+= "RUN_DEPENDS contains unsupported relative path to dependency" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mpkgconfig} DEV_ERROR+= "USE_GNOME=pkgconfig is unsupported, please use USES=pkgconfig" .endif .if defined(USE_ZOPE) && ${USE_ZOPE} == yes DEV_ERROR+= "USE_ZOPE=yes is unsupported, please use USES=zope instead" .endif .if defined(USE_GITHUB) && defined(GH_COMMIT) DEV_ERROR+= "GH_COMMIT is unsupported, please convert GHL-\>GH in MASTER_SITES and set GH_TAGNAME to tag or commit hash and remove GH_COMMIT" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mgnomehack} DEV_WARNING+= "USE_GNOME=gnomehack is deprecated, please use USES=pathfix" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mdesktopfileutils} DEV_WARNING+= "USE_GNOME=desktopfileutils is deprecated, please use USES=desktop-file-utils" .endif .if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*} DEV_ERROR+= "All LIB_DEPENDS should use the new format and start out with lib. \(libfoo.so vs foo.so\)" .endif .if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \ defined(USE_TK) || defined(USE_TK_BUILD) || defined(USE_TK_RUN) || defined(USE_TK_WRAPPER) DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk" .endif # print warning if no reason given for NO_STAGE .if defined(NO_STAGE) DEV_ERROR+= "NO_STAGE is unsupported, convert port to stage directory:" DEV_ERROR+= "https://wiki.freebsd.org/ports/StageDir" .endif .for a in 1 2 3 4 5 6 7 8 9 L N .if defined(MAN${a}) DEV_WARNING+= "MAN${a} macros are deprecated when using stage directory" .endif .endfor .if defined(MLINKS) DEV_WARNING+= "MLINKS macros are deprecated when using stage directory" .endif .if defined(_PREMKINCLUDED) DEV_ERROR+= "you cannot include bsd.port[.pre].mk twice" .endif .if defined(USE_DOS2UNIX) DEV_ERROR+= "USE_DOS2UNIX is no longer supported, please use USES=dos2unix" .endif .if defined(LICENSE) .if ${LICENSE:MBSD} DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE" .endif .if ${LICENSE:MMPL} DEV_WARNING+= "LICENSE must not contain MPL, instead use MPL[10|11|20]" .endif .else DEV_WARNING+= "Please set LICENSE for this port" .endif .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install" DEV_ERROR+= "USE_PYDISTUTILS=easy_install is no longer supported, please use USE_PYDISTUTILS=yes" .endif .if defined(USE_PYTHON) && (${USE_PYTHON} == "yes" || ${USE_PYTHON:C/[-0-9.+]*//} == "") _PYTHON_VAL := ${USE_PYTHON} .if ${_PYTHON_VAL} != "yes" DEV_ERROR+= "USE_PYTHON=${_PYTHON_VAL} is no longer supported, please use USES=python:${_PYTHON_VAL}" .else DEV_ERROR+= "USE_PYTHON=yes is no longer supported, please use USES=python" .endif .endif .if defined(USE_PYTHON_RUN) .if ${USE_PYTHON_RUN} != "yes" DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:${USE_PYTHON_RUN},run" .else DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:run" .endif .endif .if defined(USE_PYTHON_BUILD) .if ${USE_PYTHON_BUILD} != "yes" DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:${USE_PYTHON_BUILD},build" .else DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:build" .endif .endif .if defined(PYDISTUTILS_INSTALLNOSINGLE) DEV_WARNING+= "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use it anymore" .endif .if defined(INSTALLS_EGGINFO) DEV_ERROR+= "INSTALLS_EGGINFO is no longer supported, please add the entry directly to the plist" .endif .if defined(WANT_SDL) DEV_ERROR+= "WANT_SDL is no longer supported. If you need SDL, use USE_SDL, if you need optional dependency, use options" .endif .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} == YES DEV_ERROR+= "USE_RC_SUBR=yes has not been supported for a long time, remove it." .endif .if defined(USE_RUBYGEMS) && !defined(RUBYGEM_AUTOPLIST) DEV_ERROR+= "USE_RUBYGEMS is no longer supported, please use USES=gem:noautoplist" .endif .if defined(RUBYGEM_AUTOPLIST) DEV_ERROR+= "RUBYGEM_AUTOPLIST is no longer supported, please use USES=gem" .endif SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \ USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \ USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \ USE_GETTEXT USE_GMAKE USE_SCONS USE_DRUPAL NO_INSTALL_MANPAGES \ INSTALLS_SHLIB USE_PYDISTUTILS PYTHON_CONCURRENT_INSTALL \ PYDISTUTILS_AUTOPLIST PYTHON_PY3K_PLIST_HACK PYDISTUTILS_NOEGGINFO \ USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT \ UNIQUENAME LATEST_LINK USE_SQLITE USE_FIREBIRD USE_PHPEXT \ USE_ZENDEXT USE_PHP_BUILD USE_BDB PLIST_DIRSTRY USE_RCORDER \ - USE_OPENSSL + USE_OPENSSL WANT_GNOME SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS \ USE_MYSQL WANT_MYSQL_VER \ USE_PHPIZE WANT_PHP_CLI WANT_PHP_CGI WANT_PHP_MOD \ WANT_PHP_WEB WANT_PHP_EMB SANITY_NOTNEEDED= CMAKE_NINJA WX_UNICODE USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes USE_OPENAL_ALT= USES=openal USE_FAM_ALT= USES=fam USE_MAKESELF_ALT= USES=makeself USE_ZIP_ALT= USES=zip USE_LHA_ALT= USES=lha USE_BZIP2_ALT= USES=tar:bzip2 USE_XZ_ALT= USES=tar:xz USE_CMAKE_ALT= USES=cmake USE_READLINE_ALT= USES=readline USE_ICONV_ALT= USES=iconv USE_GMAKE_ALT= USES=gmake PERL_CONFIGURE_ALT= USES=perl5 along with USE_PERL5=configure PERL_MODBUILD_ALT= USES=perl5 along with USE_PERL5=modbuild USE_PERL5_BUILD_ALT= USES=perl5 along with USE_PERL5=build USE_PERL5_RUN_ALT= USES=perl5 along with USE_PERL5=run USE_DISPLAY_ALT= USES=display USE_FUSE_ALT= USES=fuse USE_GETTEXT_ALT= USES=gettext USE_SCONS_ALT= USES=scons USE_DRUPAL_ALT= USES=drupal USE_PYDISTUTILS_ALT= USE_PYTHON=distutils USE_PGSQL_ALT= USES=pgsql INSTALLS_SHLIB_ALT= USE_LDCONFIG NEED_ROOT_ALT= USES=fakeroot or USES=uidfix PYTHON_CONCURRENT_INSTALL_ALT= USE_PYTHON=concurrent PYDISTUTILS_AUTOPLIST_ALT= USE_PYTHON=autoplist PYTHON_PY3K_PLIST_HACK_ALT= USE_PYTHON=py3kplist PYDISTUTILS_NOEGGINFO_ALT= USE_PYTHON=noegginfo USE_PYTHON_PREFIX_ALT= USE_PYTHON=pythonprefix PYTHON_PKGNAMESUFFIX_ALT= PYTHON_PKGNAMEPREFIX NO_INSTALL_MANPAGES_ALT= USES=imake:noman UNIQUENAME_ALT= PKGBASE LATEST_LINK_ALT= PKGBASE CMAKE_NINJA_REASON= Now the ninja generator is the default WX_UNICODE_REASON= Now no-op as only unicode is supported now PLIST_DIRSTRY_ALT= PLIST_DIRS USE_SQLITE_ALT= USES=sqlite USE_FIREBIRD_ALT= USES=firebird USE_BDB_ALT= USES=bdb:${USE_BDB} USE_MYSQL_ALT= USES=mysql:${USE_MYSQL} WANT_MYSQL_VER_ALT= USES=mysql:${WANT_MYSQL_VER} USE_OPENSSL_ALT= USES=ssl USE_PHPIZE_ALT= USES=php:phpize USE_PHPEXT_ALT= USES=php:ext USE_ZENDEXT_ALT= USES=php:zend USE_PHP_BUILD_ALT= USES=php:build WANT_PHP_CLI_ALT= USES=php:cli WANT_PHP_CGI_ALT= USES=php:cgi WANT_PHP_MOD_ALT= USES=php:mod WANT_PHP_WEB_ALT= USES=php:web WANT_PHP_EMB_ALT= USES=php:embed USE_RCORDER_ALT= USE_RC_SUBR=${USE_RCORDER} +WANT_GNOME_ALT= USES=gnome .for a in ${SANITY_DEPRECATED} .if defined(${a}) DEV_WARNING+= "${a} is deprecated, please use ${${a}_ALT}" .endif .endfor .for a in ${SANITY_NOTNEEDED} .if defined(${a}) DEV_WARNING+= "${a} is not needed: ${${a}_REASON}" .endif .endfor .for a in ${SANITY_UNSUPPORTED} .if defined(${a}) DEV_ERROR+= "${a} is unsupported, please use ${${a}_ALT}" .endif .endfor Index: head/audio/xmixer/Makefile =================================================================== --- head/audio/xmixer/Makefile (revision 451900) +++ head/audio/xmixer/Makefile (revision 451901) @@ -1,51 +1,50 @@ # Created by: trevor # $FreeBSD$ PORTNAME= xmixer PORTVERSION= 0.9.4 PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://mpx.freeshell.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Audio mixer (gtk and Xlib) for X11R6 WRKSRC= ${WRKDIR}/${PORTNAME} -WANT_GNOME= yes GNU_CONFIGURE= yes ALL_TARGET= ${PROGRAMS} PLIST_FILES= bin/xmixer \ man/man1/xmixer.1.gz OPTIONS_DEFINE= GTK1 .include .if ${PORT_OPTIONS:MGTK1} USE_GNOME+= gtk12 PROGRAMS= xmixer xgmixer MLINKS+= xmixer.1 xgmixer.1 PLIST_FILES+= bin/xgmixer .else USE_XORG= x11 xt ice xaw PROGRAMS= xmixer LDFLAGS+= -L${LOCALBASE}/lib -lX11 .endif post-patch: @${GREP} -lR "rxvt -e" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|rxvt -e|xterm -e|g' @${REINPLACE_CMD} -e 's|-O -Wall||g ; \ s|^%\.o:.*$$|.c.o:|g ; \ s|gtk-config|pkg-config gtk+|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/main.c do-install: .for file in ${PROGRAMS} ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin/${file} .endfor ${INSTALL_MAN} ${WRKSRC}/xmixer.man ${STAGEDIR}${MAN1PREFIX}/man/man1/xmixer.1 .include Index: head/audio/xmms-faad/Makefile =================================================================== --- head/audio/xmms-faad/Makefile (revision 451900) +++ head/audio/xmms-faad/Makefile (revision 451901) @@ -1,42 +1,41 @@ # Created by: David Yeske # $FreeBSD$ PORTNAME= faad2 PORTVERSION= 2.7 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= SF/faac/${PORTNAME}-src/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= xmms- MAINTAINER= ports@FreeBSD.org COMMENT= XMMS plugin for MP4/M4A/AAC files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/../../../COPYING LIB_DEPENDS= libxmms.so:multimedia/xmms \ libfaad.so:audio/faad WRKSRC_SUBDIR= plugins/xmms/src USE_GNOME= gtk12 USES= pkgconfig tar:bzip2 -WANT_GNOME= yes EXTRA_CFLAGS= `xmms-config --cflags` EXTRA_LDFLAGS= `xmms-config --libs` PLUGINS_DIR= ${PREFIX}/lib/xmms/Input PLIST_FILES= ${PLUGINS_DIR:S,^${PREFIX}/,,}/libmp4.so do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -shared \ -I${LOCALBASE}/include -DHAVE_STDINT_H \ ${EXTRA_CFLAGS} *.c -o libmp4.so \ -L${LOCALBASE}/lib -lfaad -lmp4ff \ ${EXTRA_LDFLAGS} do-install: @${MKDIR} ${STAGEDIR}${PLUGINS_DIR} ${INSTALL_LIB} ${WRKSRC}/libmp4.so ${STAGEDIR}${PLUGINS_DIR} .include Index: head/audio/xmp/Makefile =================================================================== --- head/audio/xmp/Makefile (revision 451900) +++ head/audio/xmp/Makefile (revision 451901) @@ -1,53 +1,52 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= xmp PORTVERSION= 4.1.0 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= ehaupt@FreeBSD.org COMMENT= Player for many different Amiga and PC module formats LICENSE= GPLv2 LIB_DEPENDS= libxmp.so:audio/libxmp USES= gmake localbase:ldflags pkgconfig -WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc CONFIG_FILES= xmp.conf modules.conf OPTIONS_DEFAULT= OSS OPTIONS_DEFINE= ALSA OSS PULSEAUDIO SNDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_CONFIGURE_ENABLE= alsa OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio post-patch: @${REINPLACE_CMD} -e 's|\ install-conf||' ${WRKSRC}/Makefile.in post-patch-SNDIO-on: @${REINPLACE_CMD} -e 's|openbsd\*)|\*)|' ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} .for f in ${CONFIG_FILES} @test -f ${ETCDIR}/${f} || ${INSTALL_DATA} ${WRKSRC}/src/${f} ${STAGEDIR}${ETCDIR}/${f} ${INSTALL_DATA} ${WRKSRC}/src/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor .include Index: head/comms/cqrlog/Makefile =================================================================== --- head/comms/cqrlog/Makefile (revision 451900) +++ head/comms/cqrlog/Makefile (revision 451901) @@ -1,71 +1,70 @@ # Created by: Stephen Hurd # $FreeBSD$ PORTNAME= cqrlog PORTVERSION= 2.0.4 DISTVERSIONPREFIX= v CATEGORIES= comms hamradio MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio logging application LICENSE= GPLv2 BUILD_DEPENDS= lazbuild:editors/lazarus PATCH_DEPENDS= ${LAZARUS_DIR}/tools/lazres:editors/lazarus LIB_DEPENDS= libhamlib.so:comms/hamlib USE_GITHUB= yes GH_ACCOUNT= ok2cqr USES= shebangfix SHEBANG_FILES= tools/cqrlog-apparmor-fix \ voice_keyer/voice_keyer.sh USE_FPC= cairo fcl-base fcl-db fcl-image fcl-json fcl-net fcl-web \ fcl-registry rtl-extra fcl-xml mysql numlib openssl pasjpeg x11 -WANT_GNOME= yes ALL_TARGET= ${PORTNAME} LAZARUS_VER= 1.6.4 LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER} OPTIONS_SINGLE= LCL OPTIONS_SINGLE_LCL= GTK2 QT4 OPTIONS_DEFAULT= GTK2 GTK2_USE= fpc=gtk2 gnome=gtk20 GTK2_BUILD_DEPENDS= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}/gtk2/interfaces.ppu:editors/lazarus-lcl-gtk2 GTK2_MAKE_ARGS= PLATFORM=gtk2 QT4_LIB_DEPENDS= libQt4Pas.so:x11-toolkits/qt4pas QT4_BUILD_DEPENDS= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}/qt/interfaces.ppu:editors/lazarus-lcl-qt QT4_MAKE_ARGS= PLATFORM=qt post-extract: @${RM} -r ${WRKSRC}/src/lnet/lib/openssl.pas post-patch: @${SED} -e s!%%LOCALBASE%%!${LOCALBASE}!g \ -e s!%%MAKE_CMD%%!${MAKE_CMD}!g \ -e s!%%LAZARUSDIR%%!${LAZARUS_DIR}!g \ ${FILESDIR}/environmentoptions.xml.in \ > ${WRKSRC}/environmentoptions.xml ${REINPLACE_CMD} -e s!%%LOCALBASE%%!${LOCALBASE}!g \ ${WRKSRC}/help/cwd.html ${WRKSRC}/help/h1.html \ ${WRKSRC}/src/cqrlog.lpi ${WRKSRC}/src/dData.pas \ ${WRKSRC}/src/dUtils.pas \ ${WRKSRC}/src/fLoTWExport.pas ${WRKSRC}/src/fLoTWExport.lfm \ ${WRKSRC}/src/fPreferences.pas ${WRKSRC}/src/fRotControl.pas \ ${WRKSRC}/src/fTRXControl.pas ${WRKSRC}/src/fGrayline.pas \ ${WRKSRC}/src/fPreferences.lfm ${WRKSRC}/src/fPreferences.pas ${REINPLACE_CMD} -e s!%%DATADIR%%!${DATADIR}!g \ ${WRKSRC}/src/dData.pas ${WRKSRC}/src/fGrayline.pas ${REINPLACE_CMD} -e s!Linux!FreeBSD!g \ ${WRKSRC}/src/fMain.lfm ${REINPLACE_CMD} -e s!%%LAZARUSDIR%%!${LAZARUS_DIR}!g \ ${WRKSRC}/Makefile ${RM} -r ${WRKSRC}/src/mysql .include Index: head/databases/sqlrelay/Makefile =================================================================== --- head/databases/sqlrelay/Makefile (revision 451900) +++ head/databases/sqlrelay/Makefile (revision 451901) @@ -1,172 +1,171 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ${SQLRELAY_PORTNAME} PORTVERSION= ${SQLRELAY_PORTVERSION} PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= SF MAINTAINER= pi@FreeBSD.org COMMENT= Persistent DB connection pooling/proxying/load balancing system LICENSE= LGPL20 LIB_DEPENDS= librudiments.so:devel/rudiments \ libkrb5.so:security/krb5 \ libcurl.so:ftp/curl -WANT_GNOME= yes USES= gmake libtool pathfix python readline PATHFIX_MAKEFILEIN= Makefile CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \ --disable-tcl \ --disable-java \ --disable-nodejs \ --disable-perl \ --disable-php \ --disable-python \ --disable-python3 \ --disable-ruby \ --disable-erlang MAKE_JOBS_UNSAFE=yes USE_LDCONFIG= yes PORTDOCS= * TOSTRIP= bin/sqlr-start \ bin/sqlr-stop \ bin/sqlr-listener \ bin/sqlr-connection \ bin/sqlr-scaler \ bin/sqlr-cachemanager \ bin/sqlr-fields \ bin/sqlr-query \ bin/sqlr-export \ bin/sqlr-import \ bin/sqlr-pwdenc \ bin/sqlr-status \ bin/sqlrsh \ lib/libsqlrodbc.so.4.0.0 \ lib/libsqlrutil.so.4.0.0 \ lib/libsqlrclient.so.4.0.0 \ lib/libsqlrclientwrapper.so.4.0.0 \ lib/libpqsqlrelay.so.4.0.0 \ lib/libmysql3sqlrelay.so.4.0.0 \ lib/libmysql40sqlrelay.so.4.0.0 \ lib/libmysql41sqlrelay.so.4.0.0 \ lib/libmysql50sqlrelay.so.4.0.0 \ lib/libmysql51sqlrelay.so.4.0.0 \ lib/libsqlrserver.so.4.0.0 \ libexec/sqlrelay/sqlrauth_database.so \ libexec/sqlrelay/sqlrauth_krb_userlist.so \ libexec/sqlrelay/sqlrauth_proxied.so \ libexec/sqlrelay/sqlrauth_sqlrelay.so \ libexec/sqlrelay/sqlrauth_tls_userlist.so \ libexec/sqlrelay/sqlrauth_userlist.so \ libexec/sqlrelay/sqlrconfig_xml.so \ libexec/sqlrelay/sqlrconfig_xmldom.so \ libexec/sqlrelay/sqlrconnection_router.so \ libexec/sqlrelay/sqlrfilter_patterns.so \ libexec/sqlrelay/sqlrfilter_regex.so \ libexec/sqlrelay/sqlrfilter_string.so \ libexec/sqlrelay/sqlrlogger_custom_nw.so \ libexec/sqlrelay/sqlrlogger_custom_sc.so \ libexec/sqlrelay/sqlrlogger_debug.so \ libexec/sqlrelay/sqlrlogger_slowqueries.so \ libexec/sqlrelay/sqlrnotification_events.so \ libexec/sqlrelay/sqlrparser_default.so \ libexec/sqlrelay/sqlrprotocol_sqlrclient.so \ libexec/sqlrelay/sqlrpwdenc_crypt.so \ libexec/sqlrelay/sqlrpwdenc_md5.so \ libexec/sqlrelay/sqlrpwdenc_rot.so \ libexec/sqlrelay/sqlrquery_sqlrcmdcstat.so \ libexec/sqlrelay/sqlrquery_sqlrcmdgstat.so \ libexec/sqlrelay/sqlrresultsettranslation_reformatdatetime.so \ libexec/sqlrelay/sqlrresultsettranslation_test.so \ libexec/sqlrelay/sqlrrouter_clientiplist.so \ libexec/sqlrelay/sqlrrouter_regex.so \ libexec/sqlrelay/sqlrrouter_userlist.so \ libexec/sqlrelay/sqlrschedule_cron_userlist.so \ libexec/sqlrelay/sqlrtranslation_normalize.so .include "${.CURDIR}/Makefile.common" OPTIONS_DEFINE= MYSQL ODBC ORACLE PGSQL SQLITE3 FREETDS FIREBIRD DOCS OPTIONS_SUB= yes ORACLE_CONFIGURE_ENABLE= oracle .include .if ${PORT_OPTIONS:MSQLITE3} LIB_DEPENDS+= libgdbm.so:databases/gdbm \ libsqlite3.so:databases/sqlite3 CONFIGURE_ARGS+= --with-gdbm-prefix="${LOCALBASE}" \ --with-sqlite-prefix="${LOCALBASE}" TOSTRIP+= libexec/sqlrelay/sqlrconnection_sqlite.so .else CONFIGURE_ARGS+= --disable-sqlite .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql-prefix="${LOCALBASE}" TOSTRIP+= libexec/sqlrelay/sqlrconnection_mysql.so .else CONFIGURE_ARGS+= --disable-mysql .endif .if ${PORT_OPTIONS:MFIREBIRD} USES+= firebird CONFIGURE_ARGS+= --with-firebird-prefix="${LOCALBASE}" TOSTRIP+= libexec/sqlrelay/sqlrconnection_firebird.so .else CONFIGURE_ARGS+= --disable-firebird .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}" TOSTRIP+= libexec/sqlrelay/sqlrconnection_postgresql.so .else CONFIGURE_ARGS+= --disable-postgresql .endif .if ${PORT_OPTIONS:MODBC} LIB_DEPENDS+= libodbc.so:databases/unixODBC CONFIGURE_ARGS+= --with-odbc-prefix="${LOCALBASE}" TOSTRIP+= libexec/sqlrelay/sqlrconnection_odbc.so .else CONFIGURE_ARGS+= --disable-odbc .endif .if ${PORT_OPTIONS:MFREETDS} LIB_DEPENDS+= libtdsodbc.so:databases/freetds CONFIGURE_ARGS+= --with-freetds-prefix="${LOCALBASE}" TOSTRIP+= libexec/sqlrelay/sqlrconnection_freetds.so .else CONFIGURE_ARGS+= --disable-freetds .endif post-patch: ${REINPLACE_CMD} -E \ -e 's,\$$\(initroot\),\$$\(initroot\)${PREFIX},g' \ -e 's,/etc/rc.conf,/etc/defaults/rc.conf,g' \ ${WRKSRC}/init/Makefile ${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -E \ -e 's#-release \$$\(SQLR_VERSION\)##g;' post-configure: @${REINPLACE_CMD} 's,-Werror,,' ${WRKSRC}/config.mk post-install: .for f in ${TOSTRIP} -${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f} .endfor ${RM} ${STAGEDIR}${PREFIX}/lib/SQLRClient.dll ${RM} ${STAGEDIR}${PREFIX}/lib/SQLRClient.dll.config .include Index: head/deskutils/planner/Makefile =================================================================== --- head/deskutils/planner/Makefile (revision 451900) +++ head/deskutils/planner/Makefile (revision 451901) @@ -1,33 +1,32 @@ # Created by: Dmitry Sivachenko # $FreeBSD$ # $MCom: ports-stable/deskutils/planner/Makefile,v 1.4 2009/04/16 00:34:24 kwm Exp $ PORTNAME= planner PORTVERSION= 0.14.6 PORTREVISION= 5 CATEGORIES= deskutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Project management application for GNOME 2 USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ shared-mime-info tar:xz USE_GNOME= gnomeprefix intlhack libgnomeui libgnomeprintui \ libgsf -WANT_GNOME= yes INSTALLS_OMF= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-python \ --disable-python-plugin \ --disable-update-mimedb CPPFLAGS+= -I${LOCALBASE}/include -DGLIB_COMPILATION LIBS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= planner.schemas .include Index: head/devel/distcc/Makefile =================================================================== --- head/devel/distcc/Makefile (revision 451900) +++ head/devel/distcc/Makefile (revision 451901) @@ -1,135 +1,134 @@ # Created by: Frerich Raabe # $FreeBSD$ # $MCom: ports/devel/distcc/Makefile,v 1.3 2007/10/21 02:46:13 ahze Exp $ PORTNAME= distcc PORTVERSION= 3.1 PORTREVISION= 6 CATEGORIES= devel MAINTAINER= ports@FreeBSD.org COMMENT= Distribute compilation of C(++) code acrosss machines on a network LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpopt.so:devel/popt GNU_CONFIGURE= yes USES= autoreconf alias gmake libtool pkgconfig USE_GITHUB= yes GH_ACCOUNT= distcc GH_TAGNAME= 9a09372 -WANT_GNOME= yes GROUPS= distcc USERS= distcc CCLINKDIR?= libexec/distcc CONFIGURE_ARGS= --disable-Werror CC=${CC} PTHREAD_CC=${CC} CONFIGURE_ENV= PYTHON="${NONEXISTENT}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message SUB_LIST= DISTCCD_PIDFILE=/var/run/distccd.pid USE_RC_SUBR= distccd BIN_FILES= distcc distccmon-text lsdistcc DOC_FILES= protocol-1.txt status-1.txt \ protocol-2.txt reporting-bugs.txt MAN_FILES= distcc.1 distccd.1 distccmon-text.1 README_FILES= AUTHORS INSTALL NEWS README SBIN_FILES= distccd PLIST_FILES= ${BIN_FILES:S|^|bin/|} PLIST_FILES+= ${DISTCC_COMPILERS:S|^|${CCLINKDIR}/|} PLIST_FILES+= ${MAN_FILES:S|^|man/man1/|:S|$|.gz|} PLIST_FILES+= ${SBIN_FILES:S|^|sbin/|} OPTIONS_DEFINE= AVAHI CLANGLINK DOCS IPV6 LLVMLINK OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= GNOME GTK CLANGLINK_DESC= Create clang compiler links if clang is installed GUI_DESC= Build GUI for distcc monitor GNOME_DESC= Monitor based on GNOME GTK_DESC= Monitor based on GTK LLVMLINK_DESC= Create llvm compiler links if llvm is installed AVAHI_CONFIGURE_WITH= avahi AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app DOCS_PLIST_FILES= ${README_FILES:S|^|${DOCSDIR_REL}/|} DOCS_PLIST_FILES+= ${DOC_FILES:S|^|${DOCSDIR_REL}/|} GNOME_CONFIGURE_WITH= gnome GNOME_USE= GNOME=gtk20,libgnome,libgnomeui,pango GTK_CONFIGURE_WITH= gtk GTK_USE= GNOME=gtk20 IPV6_CONFIGURE_ENABLE= rfc2553 DISTCC_COMPILERS= CC c++ cc .include .if ${PORT_OPTIONS:MCLANGLINK} CLANG_COMPILERS= -devel 31 32 33 34 35 36 37 38 39 DISTCC_COMPILERS+= clang++ clang DISTCC_COMPILERS+= ${CLANG_COMPILERS:S|^|clang++|} DISTCC_COMPILERS+= ${CLANG_COMPILERS:S|^|clang|} .endif GNU_COMPILERS= 34 42 43 44 45 46 47 48 49 5 DISTCC_COMPILERS+= gcc g++ DISTCC_COMPILERS+= ${GNU_COMPILERS:S|^|g++|} DISTCC_COMPILERS+= ${GNU_COMPILERS:S|^|gcc|} .if ${ARCH} == "i386" DISTCC_COMPILERS+= icc icpc .endif .if ${PORT_OPTIONS:MLLVMLINK} DISTCC_COMPILERS+= llvm-c++ llvm-g++ llvm-gcc .endif DISTCC_COMPILERS+= ${EXTRA_COMPILERS} .if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK} .if ${PORT_OPTIONS:MGNOME} PKGNAMESUFFIX= -gnome .else PKGNAMESUFFIX= -gtk .endif BIN_FILES+= distccmon-gnome PLIST_FILES+= ${DESKTOPDIR}/distccmon-gnome.desktop PLIST_FILES+= share/pixmaps/distccmon-gnome-icon.png .endif .if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK} post-patch: ${REINPLACE_CMD} -e 's|PKGDATADIR "|"${PREFIX}/share/pixmaps|' \ ${WRKSRC}/src/mon-gnome.c .endif do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} ${BIN_FILES} \ ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && ${INSTALL_PROGRAM} ${SBIN_FILES} \ ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${PREFIX}/${CCLINKDIR} .for link in ${DISTCC_COMPILERS} ${LN} -sf ${PREFIX}/bin/distcc \ ${STAGEDIR}${PREFIX}/${CCLINKDIR}/${link} .endfor .if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK} cd ${WRKSRC}/gnome && ${INSTALL_DATA} distccmon-gnome.desktop \ ${STAGEDIR}${DESKTOPDIR} cd ${WRKSRC}/gnome && ${INSTALL_DATA} distccmon-gnome-icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps .endif cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN_FILES} \ ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${README_FILES} \ ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOC_FILES} \ ${STAGEDIR}${DOCSDIR} .include Index: head/devel/mono-addins/Makefile =================================================================== --- head/devel/mono-addins/Makefile (revision 451900) +++ head/devel/mono-addins/Makefile (revision 451901) @@ -1,34 +1,33 @@ # $FreeBSD$ PORTNAME= mono-addins PORTVERSION= 1.3 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= devel MAINTAINER= mono@FreeBSD.org COMMENT= Mono framework to create extensible applications LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= mono GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_MCS=${LOCALBASE}/bin/mcs USES= autoreconf gmake mono pkgconfig -WANT_GNOME= yes OPTIONS_DEFINE= GTK2 GTK3 OPTIONS_DEFAULT=GTK2 GTK2_USE= GNOME=gtksharp20 GTK2_CONFIGURE_ENABLE= gui OPTIONS_SUB= yes #GTK3_USE= GNOME=gtksharp30 GTK3_CONFIGURE_ENABLE= gui-gtk3 OPTIONS_SUB= yes PLIST_SUB+= VER=1.0.0 .include Index: head/devel/pwlib/Makefile =================================================================== --- head/devel/pwlib/Makefile (revision 451900) +++ head/devel/pwlib/Makefile (revision 451901) @@ -1,114 +1,113 @@ # Created by: Roger Hardiman # $FreeBSD$ PORTNAME= pwlib PORTVERSION= 1.12.0 PORTREVISION= 13 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= SF/openh323/${PORTNAME}/${PORTVERSION} DISTNAME= ptlib-v${PORTVERSION:S/./_/g}-src DIST_SUBDIR= openh323 MAINTAINER= ports@FreeBSD.org COMMENT= Cross platform C++ library, used by OpenH323 LIB_DEPENDS= libexpat.so:textproc/expat2 BROKEN_aarch64= fails to compile: fatal error: trclib.h: No such file or directory BROKEN_mips64= fails to compile: fatal error: trclib.h: No such file or directory CONFLICTS= ptlib-2.* WRKSRC= ${WRKDIR}/ptlib_v${PORTVERSION:S/./_/g} USES= bison gmake ssl USE_GCC= any USE_AUTOTOOLS= autoconf -WANT_GNOME= yes USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= SDL PLUGINS LDAP ESOUND V4L OPTIONS_DEFAULT= PLUGINS LDAP OPTIONS_SUB= yes LDAP_DESC= OpenLDAP support CFLAGS+= -O1 MAKE_ENV= STDCCFLAGS+="-I${LOCALBASE}" CPPFLAGS+= -O1 -I${WRKSRC}/include -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # The port does not build with C++11 or later (bug 219275), and it also uses # CFLAGS instead of CXXFLAGS in parts of the build system, so we cannot just # use USE_CXXSTD. CFLAGS+= -std=gnu++03 CONFIGURE_ENV+= ATOMICITY_H="" SDL_USE= SDL=sdl SDL_CONFIGURE_ENV= SDLLIBDIR="${LOCALBASE}/lib" SDL_MAKE_ENV= SDLLIBDIR="${LOCALBASE}/lib" SDL_CONFIGURE_ENABLE= sdl PLUGINS_CONFIGURE_ENABLE= plugins LDAP_CONFIGURE_ENABLE= openldap LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ENV= OPENLDAPLIBDIR="${LOCALBASE}/lib" LDAP_MAKE_ENV= OPENLDAPLIBDIR="${LOCALBASE}/lib" ESOUND_USE= GNOME=esound ESOUND_CONFIGURE_ENABLE= esd V4L_CONFIGURE_ENABLE= v4l V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:multimedia/v4l_compat #explicity build OSS CONFIGURE_ARGS+= --enable-oss #disable OBDC support... it doesn't compile and nothing _seems_ to #actually use it. If you do have something that requires this please #send patches! CONFIGURE_ARGS+= --disable-odbc # ONLY FOR THE BRAVE! # If someone owns a firewire(4) video device and wants to use it for # video-conferencing purposes, please download the files: # libraw1394.shar.gz, libavc1394.shar.gz and libdc1394.shar.gz from # ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/ports/ # Extract the files in ${PORTSDIR}/devel and uncomment the following lines. # ##enable libavc1394 #.if defined(WITH_AVC1394) #LIB_DEPENDS+= avc1394.2:devel/libavc1394 \ # dv.4:multimedia/libdv #CONFIGURE_ARGS+= --enable-avc #PLIST_SUB+= AVC1394="" #.else CONFIGURE_ARGS+= --disable-avc PLIST_SUB+= AVC1394="@comment " #.endif # ##enable libdc1394 #.if defined(WITH_DC1394) #LIB_DEPENDS+= dc1394_control.13:devel/libdc1394 #CONFIGURE_ARGS+= --enable-dc #PLIST_SUB+= DC1394="" #.else CONFIGURE_ARGS+= --disable-dc PLIST_SUB+= DC1394="@comment " #.endif .include .if (${ARCH} == "amd64") || (${ARCH} == "powerpc") || (${ARCH} == "sparc64") CFLAGS+= -fPIC .endif .if (${ARCH} == "amd64") || (${ARCH} == "i386") || (${ARCH} == "powerpc") || (${ARCH} == "sparc64") PLIST_SUB+= BSDVIDEO="" .else PLIST_SUB+= BSDVIDEO="@comment " .endif .include Index: head/editors/libreoffice/Makefile =================================================================== --- head/editors/libreoffice/Makefile (revision 451900) +++ head/editors/libreoffice/Makefile (revision 451901) @@ -1,331 +1,330 @@ # $FreeBSD$ .include "${.CURDIR}/Makefile.common" PORTREVISION= 4 MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${PORTVERSION}/ \ http://dev-www.libreoffice.org/src/:src \ http://dev-www.libreoffice.org/extern/:ext DISTFILES= ${PORTNAME}-${LOVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-help-${LOVERSION}${EXTRACT_SUFX} DIST_SUBDIR= libreoffice EXTRACT_ONLY:= ${DISTFILES} COMMENT= Full integrated office productivity suite CONFLICTS_BUILD= mdds0 BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ zip:archivers/zip \ ${LOCALBASE}/include/sqlext.h:databases/unixODBC \ dmake:devel/dmake \ ${LOCALBASE}/bin/gperf:devel/gperf \ ${LOCALBASE}/include/mdds-1.2/mdds/global.hpp:devel/mdds \ gpatch:devel/patch \ ucpp:devel/ucpp \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ vigra-config:graphics/vigra \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libapr-1.so:devel/apr1 \ libboost_date_time.so:devel/boost-libs \ libicutu.so:devel/icu \ liblangtag.so:devel/liblangtag \ liborcus-0.12.so:devel/liborcus \ libcurl.so:ftp/curl \ libcairo.so:graphics/cairo \ libgraphite2.so:graphics/graphite2 \ liblcms2.so:graphics/lcms2 \ libcdr-0.1.so:graphics/libcdr01 \ libetonyek-0.1.so:graphics/libetonyek01 \ libfreehand-0.1.so:graphics/libfreehand \ libgltf-0.0.so:graphics/libgltf \ libwpg-0.3.so:graphics/libwpg03 \ libzmf-0.0.so:graphics/libzmf \ libGeneratedSaxParser.so:graphics/opencollada \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libCoinMP.so:math/coinmp \ liblpsolve55.so:math/lp_solve \ libcmis-0.5.so:net/libcmis \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libmspub-0.1.so:print/libmspub01 \ libpagemaker-0.0.so:print/libpagemaker \ libnss3.so:security/nss \ libclucene-core.so:textproc/clucene \ libexpat.so:textproc/expat2 \ libhunspell-1.6.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libabw-0.1.so:textproc/libabw \ libe-book-0.1.so:textproc/libe-book \ libexttextcat-2.0.so:textproc/libexttextcat \ libmwaw-0.3.so:textproc/libmwaw03 \ libodfgen-0.1.so:textproc/libodfgen01 \ librevenge-0.0.so:textproc/librevenge \ libstaroffice-0.0.so:textproc/libstaroffice \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.4.so:textproc/libwps \ libxml2.so:textproc/libxml2 \ libxslt.so:textproc/libxslt \ libmythes-1.2.so:textproc/mythes \ librdf.so:textproc/redland \ libserf-1.so:www/serf RUN_DEPENDS= xdg-open:devel/xdg-utils \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/emojione-color-font-ttf/EmojiOneColor-SVGinOT.ttf:x11-fonts/emojione-color-font-ttf \ ${LOCALBASE}/share/fonts/GentiumBasic/GenBasI.ttf:x11-fonts/gentium-basic \ ${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \ ${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g DISTFILES+= 4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2:src \ 86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz:src \ cppunit-1.13.2.tar.gz:src .if defined(PRERELEASE) MASTER_SITES+= http://dev-builds.libreoffice.org/pre-releases/src/ .endif CONFLICTS_INSTALL= libreoffice4-4.* INSTALL_TARGET= distro-pack-install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION} GNU_CONFIGURE= yes USE_GL= gl glew glu USE_OPENLDAP= yes USE_PERL5= build USE_QT4= # empty but required USE_XORG= xaw xrandr USES= autoreconf:build bison compiler:c++11-lib cpe gmake jpeg \ perl5 pkgconfig python shared-mime-info tar:xz -WANT_GNOME= yes OPTIONS_DEFINE= CUPS GNOME GTK2 GTK3 JAVA KDE4 MMEDIA PGSQL SDK SYSTRAY \ TEST WEBDAV OPTIONS_DEFAULT= CUPS GTK2 MMEDIA GTK3_DESC= GTK+ 3 GUI toolkit support (experimental) JAVA_DESC= Add Java support (XML filters, macros) MMEDIA_DESC= Enable multimedia backend for impress PGSQL_DESC= Build with PostgreSQL-SDBC driver SDK_DESC= Build with SDK SYSTRAY_DESC= Enable systemtray quickstarter TEST_DESC= Run all regression tests WEBDAV_DESC= Enable webdav protocol CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups GNOME_CONFIGURE_ENABLE= dbus dconf GNOME_IMPLIES= GTK2 GNOME_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib GNOME_USE= GNOME=dconf GTK_USE_GNOME= gtk-update-icon-cache GTK_USES= desktop-file-utils GTK_VARS= POST_PLIST=add-plist-gnome GTK2_CONFIGURE_ENABLE= gtk GTK2_USE= GNOME=gtk20,${GTK_USE_GNOME} GTK2_USES= ${GTK_USES} GTK2_VARS= ${GTK_VARS} GTK3_CONFIGURE_ENABLE= gtk3 GTK3_USE= GNOME=gtk30,${GTK_USE_GNOME} GTK3_USES= ${GTK_USES} GTK3_VARS= ${GTK_VARS} JAVA_BUILD_DEPENDS= ant:devel/apache-ant \ ${JAVAJARDIR}/commons-codec.jar:java/jakarta-commons-codec \ ${JAVAJARDIR}/commons-httpclient.jar:java/jakarta-commons-httpclient \ ${JAVAJARDIR}/commons-lang.jar:java/jakarta-commons-lang \ ${JAVAJARDIR}/commons-logging.jar:java/jakarta-commons-logging \ ${JAVAJARDIR}/junit.jar:java/junit \ ${JAVAJARDIR}/bsh.jar:lang/bsh JAVA_CATEGORIES= java JAVA_CONFIGURE_ON= --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-beanshell-jar=${JAVAJARDIR}/bsh.jar \ --with-commons-codec-jar=${JAVAJARDIR}/commons-codec.jar \ --with-commons-httpclient-jar=${JAVAJARDIR}/commons-httpclient.jar \ --with-commons-lang-jar=${JAVAJARDIR}/commons-lang.jar \ --with-commons-logging-jar=${JAVAJARDIR}/commons-logging.jar \ --with-jdk-home="${JAVA_HOME}" \ --with-junit=${JAVAJARDIR}/junit.jar \ --with-hamcrest=${JAVAJARDIR}/hamcrest.jar \ --without-system-jfreereport JAVA_CONFIGURE_WITH= java # XXX jni.h from GNU classpath causes ABI conflicts. JAVA_CONFLICTS_BUILD= classpath-[0-9]* JAVA_DISTFILES= 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \ 3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip:src \ 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip:src \ 39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip:src \ 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip:src \ 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip:src \ 8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar:ext \ 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \ 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \ a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar:ext \ ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip:src \ ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip:src \ d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip:src \ db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip:src \ eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip:src \ f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip:src JAVA_USE= JAVA=yes JAVA_VARS= JAVA_BUILD=yes KDE4_CONFIGURE_ENABLE= kde4 KDE4_CONFIGURE_ENV= KDE4DIR="${KDE_PREFIX}" \ QT4DIR="${PREFIX}" \ QT4INC="${QT_INCDIR}" \ QT4LIB="${QT_LIBDIR}" KDE4_USES= kde:4 KDE4_USE= KDE=kdelibs QT4=moc_build,qmake_build MMEDIA_CONFIGURE_ENABLE= gstreamer-1-0 MMEDIA_USE= GSTREAMER1=yes PGSQL_CONFIGURE_ENABLE= postgresql-sdbc PGSQL_CONFIGURE_WITH= gssapi krb5 PGSQL_USES= pgsql SDK_BUILD_DEPENDS= doxygen:devel/doxygen SDK_CONFIGURE_ENABLE= odk SDK_CONFIGURE_OFF= --without-doxygen SDK_CONFIGURE_ON= --with-doxygen=${LOCALBASE}/bin/doxygen SDK_DISTFILES= 185d60944ea767075d27247c3162b3bc-unowinreg.dll:ext SYSTRAY_CONFIGURE_ENABLE= systray TEST_ALL_TARGET_OFF= build-nocheck TEST_CONFIGURE_ENABLE= cve-tests WEBDAV_CONFIGURE_ENABLE= neon WEBDAV_LIB_DEPENDS= libneon.so:www/neon ACLOCAL_ARGS= -I "${WRKSRC}/m4" CPPFLAGS+= -isystem ${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib COLLADA_MODS= COLLADABaseUtils COLLADAFramework \ COLLADASaxFrameworkLoader GeneratedSaxParser COLLADA_CFLAGS= ${COLLADA_MODS:S|^|-isystem ${LOCALBASE}/include/opencollada/|} COLLADA_LIBS= -L${LOCALBASE}/lib/opencollada \ ${COLLADA_MODS:S|^COLLADA|OpenCOLLADA|:S|^|-l|} CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-epm \ --disable-fetch-external \ --disable-firebird-sdbc \ --disable-mergelibs \ --disable-online-update \ --enable-cairo-canvas \ --enable-graphite \ --enable-python=system \ --enable-release-build \ --exec-prefix=${PREFIX} \ --with-alloc=system \ --with-boost=${LOCALBASE} \ --with-build-version="FreeBSD ports ${PKGVERSION}" \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-external-tar=${DISTDIR}/${DIST_SUBDIR} \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-os-version=${OSVERSION} \ --with-parallelism=${MAKE_JOBS_NUMBER} \ --with-system-curl \ --with-system-dicts \ --with-system-libs \ --with-system-libxml \ --with-system-opencollada \ --with-system-ucpp \ --with-system-zlib \ --with-vendor="FreeBSD ports" \ --without-fonts \ --without-myspell-dicts \ --without-system-cppunit CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ GNUTAR="${TAR}" \ GPERF=${LOCALBASE}/bin/gperf \ ICU_CFLAGS="`icu-config --cflags`" \ ICU_LIBS="`icu-config --ldflags`" \ OPENCOLLADA_CFLAGS="${COLLADA_CFLAGS}" \ OPENCOLLADA_LIBS="${COLLADA_LIBS}" \ PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \ PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`" MAKE_ARGS+= TMPDIR=${WRKDIR} MAKE_ENV+= CXXFLAGS_WARN="${CXXFLAGS_WARN}" MAKE_ENV+= GNUSED=${LOCALBASE}/bin/gsed MAKE_ENV+= DISPLAY= MAKE_ENV+= verbose=1 _MAKE_JOBS= # .include .if ${OPSYS} == FreeBSD .if ${COMPILER_FEATURES:Mlibstdc++} BROKEN= Build with system libstdc++ is unsupported .endif .if (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200003) || \ (${OSVERSION} >= 1100500 && ${OSVERSION} < 1100501) || \ (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100122) || \ ${OSVERSION} < 1003506 EXTRA_PATCHES= ${PATCHDIR}/extrapatch-vcl_inc_unx_gtk_gtkinst.hxx \ ${PATCHDIR}/extrapatch-vcl_unx_gtk_gtkinst.cxx .endif .endif # FreeBSD .if ${COMPILER_TYPE} == "clang" CXXFLAGS_WARN= -Woverloaded-virtual -Wno-unused-parameter .if ${COMPILER_VERSION} >= 36 CXXFLAGS_WARN+= -Wno-unused-local-typedefs .endif .else CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual .endif post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/shell/source/unix/exec/shellexec.cxx pre-configure: @${TOUCH} ${WRKSRC}/autogen.lastrun post-configure: @${TOUCH} ${WRKSRC}/src.downloaded post-install: @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s lib/libreoffice -type d -empty \ -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s bin lib man -not -type d >> ${TMPPLIST} .for subdir in appdata application-registry applications bash-completion icons mime mime-info mimelnk @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} .endfor post-install-SDK-on: .for subdir in include share share/doc share/idl @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s ${subdir}/libreoffice -not -type d >> ${TMPPLIST} .endfor add-plist-gnome: .for subdir in gnome hicolor locolor @${ECHO_CMD} "@rmtry share/icons/${subdir}/icon-theme.cache" >> ${TMPPLIST} @${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} .endfor .include Index: head/emulators/visualboyadvance-m/Makefile =================================================================== --- head/emulators/visualboyadvance-m/Makefile (revision 451900) +++ head/emulators/visualboyadvance-m/Makefile (revision 451901) @@ -1,103 +1,102 @@ # Created by: Nicole Reid # $FreeBSD$ PORTNAME= visualboyadvance-m PORTVERSION= 2.0.0b2 PORTREVISION= 3 CATEGORIES= emulators MAINTAINER= root@cooltrainer.org COMMENT= Game Boy Advance emulator with GTK frontend LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png BROKEN_aarch64= fails to build: regparm is not valid on this platform BROKEN_armv6= fails to build: regparm is not valid on this platform USE_GITHUB= yes GH_TAGNAME= VBA-M_Beta_2 OPTIONS_DEFINE= NLS FFMPEG LINK LIRC DEBUGGER OPTIONS_MULTI= INTERFACE OPTIONS_MULTI_INTERFACE= GVBAM SDL OPTIONS_DEFINE_i386= ASMCORE ASMSCALERS OPTIONS_DEFAULT= DEBUGGER SDL OPTIONS_SUB= yes GVBAM_DESC= Enable GTK interface SDL_DESC= Enable SDL interface FFMPEG_DESC= Enable FFmpeg A/V recording LINK_DESC= Enable GBA linking functionality LIRC_DESC= Enable LIRC infrared support DEBUGGER_DESC= Enable the debugger ASMCORE_DESC= Enable x86 ASM CPU cores (i386 only) ASMSCALERS_DESC= Enable x86 ASM graphic filters (i386 only) -WANT_GNOME= yes DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) USE_XORG= x11 xext USE_GL= gl glu USE_SDL= sdl USES= cmake dos2unix pkgconfig INSTALLS_ICONS= yes CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ -DSYSCONFDIR:STRING="${PREFIX}/etc" \ -DENABLE_WX:BOOL=no ASMCORE_BUILD_DEPENDS= as:devel/binutils ASMCORE_CMAKE_BOOL= ENABLE_ASM_CORE ASMSCALERS_BUILD_DEPENDS= as:devel/binutils ASMSCALERS_CMAKE_ARGS= ENABLE_ASM_SCALERS GVBAM_USE_GNOME= gtk20 GVBAM_LIB_DEPENDS= libgtkmm-2.4.so:x11-toolkits/gtkmm24 \ libglibmm-2.4.so:devel/glibmm \ libgiomm-2.4.so:devel/glibmm \ libcairomm-1.0.so:graphics/cairomm \ libglademm-2.4.so:devel/libglademm24 \ libgdkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm GVBAM_CMAKE_BOOL= ENABLE_GTK GVBAM_USES= desktop-file-utils SDL_IMPLIES= DEBUGGER SDL_CMAKE_BOOL= ENABLE_SDL DEBUGGER_CMAKE_BOOL= ENABLE_DEBUGGER FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= ENABLE_FFMPEG NLS_USES= gettext NLS_CMAKE_BOOL= ENABLE_NLS LINK_CMAKE_BOOL= ENABLE_LINK LINK_LIB_DEPENDS= libsfml-system.so:devel/sfml LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_RUN_DEPENDS= lircd:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRC post-patch: @${REINPLACE_CMD} -e '/SET.*LIRC_CLIENT_LIBRARY/ s|lirc_client|${LOCALBASE}/lib/lib&.so|; \ s|share/man|man|' ${WRKSRC}/CMakeLists.txt maint-gen-distfile: @if [ -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export -r${SVN_REV} \ https://svn.code.sf.net/p/vbam/code/trunk/ ${DISTNAME} ${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ${RM} -r ${DISTNAME} post-install-SDL-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vbam post-install-GVBAM-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gvbam .include Index: head/java/classpath/Makefile =================================================================== --- head/java/classpath/Makefile (revision 451900) +++ head/java/classpath/Makefile (revision 451901) @@ -1,143 +1,142 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= classpath PORTVERSION= 0.99 PORTREVISION= 4 CATEGORIES= java devel MASTER_SITES= GNU \ SAVANNAH DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= java@FreeBSD.org COMMENT= GNU project to create a free Java class library LICENSE= GPLv2 BROKEN_aarch64= fails to configure: error: The jar tool /usr/local/bin/gjar5 was not found BROKEN_armv6= fails to configure: error: The jar tool /usr/local/bin/gjar5 was not found BROKEN_powerpc64= fails to configure: error: The jar tool /usr/local/bin/gjar5 was not found GNU_CONFIGURE= yes USES= gmake iconv libtool perl5 pkgconfig USE_LDCONFIG= yes USE_PERL5= build USE_XORG= x11 ice xtst xaw xproto xext -WANT_GNOME= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-jni --disable-alsa --disable-dssi --disable-plugin CONFIGURE_ARGS+=--with-jar=${JAR} CONFIGURE_ENV= JAVA="${JAVA}" JAVAC="${JAVAC}" CONFIGURE_ENV+= JAVACFLAGS="${JAVACFLAGS}" MAKE_ENV+= JAVACFLAGS="${JAVACFLAGS}" INFO= cp-hacking cp-tools cp-vmintegration CONFLICTS= sablevm-classpath-1.13 sablevm-classpath-1.13_[1-9] OPTIONS_DEFINE= CAIRO ECJ GCONF GJDOC GMP GTK2 QT4 EXAMPLES OPTIONS_DEFAULT=GMP GJDOC GTK2 CAIRO_DESC= Use Gtk+ Cairo based Graphics2D ECJ_DESC= Embed ECJ as com.sun.tools.javac GJDOC_DESC= Build javadoc replacement GMP_DESC= Enable native java.math.BigInteger GTK2_DESC= Enable Gtk+ AWT peer QT4_DESC= Enable Qt AWT peer .include .if ${PORT_OPTIONS:MECJ} MASTER_SITES+= ECLIPSE/R-${ECJ_VERSION}-${ECJ_DROPDATE}:ecj DISTFILES+= ${ECJ_JAR}:ecj ECJ_VERSION= 3.8.1 ECJ_DROPDATE= 201209141540 ECJ_JAR= ecj-${ECJ_VERSION}.jar CONFIGURE_ARGS+= --with-ecj-jar=${DISTDIR}/${ECJ_JAR} .endif .if ${PORT_OPTIONS:MEXAMPLES} EXAMPLESDIR= ${DATADIR}/examples .else CONFIGURE_ARGS+= --disable-examples .endif .if ${PORT_OPTIONS:MGCONF} USE_GNOME+= gconf2 CONFIGURE_ARGS+= --enable-default-preferences-peer=gconf PLIST_SUB+= GCONF="" .else CONFIGURE_ARGS+= --enable-default-preferences-peer=file \ --disable-gconf-peer PLIST_SUB+= GCONF="@comment " .endif .if ${PORT_OPTIONS:MGJDOC} ANTLR_JAR= antlr-2.7.7.jar MASTER_SITES+= http://www.antlr2.org/download/:antlr DISTFILES+= ${ANTLR_JAR}:antlr CONFIGURE_ARGS+= --with-antlr-jar=${DISTDIR}/${ANTLR_JAR} PLIST_SUB+= GJDOC="" .else CONFIGURE_ARGS+= --disable-gjdoc PLIST_SUB+= GJDOC="@comment " .endif .if ${PORT_OPTIONS:MGMP} LIB_DEPENDS+= libgmp.so:math/gmp CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} PLIST_SUB+= GMP="" .else CONFIGURE_ARGS+= --disable-gmp PLIST_SUB+= GMP="@comment " .endif .if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 PLIST_SUB+= GTK2="" .if ${PORT_OPTIONS:MCAIRO} CONFIGURE_ARGS+= --enable-gtk-cairo .endif .else CONFIGURE_ARGS+= --disable-gtk-peer PLIST_SUB+= GTK2="@comment " .if ${PORT_OPTIONS:MCAIRO} IGNORE=you need to enable the Gtk+ AWT peer in order to use Cairo based Graphics2D. .endif .endif .if ${PORT_OPTIONS:MQT4} CONFIGURE_ARGS+= --enable-qt-peer .if empty(PORT_OPTIONS:MGTK2) CONFIGURE_ARGS+= --enable-default-toolkit=gnu.java.awt.peer.qt.QtToolkit .endif CONFIGURE_ENV+= MOC="${LOCALBASE}/bin/moc-qt4" USE_QT4= moc_build corelib gui PLIST_SUB+= QT4="" .else PLIST_SUB+= QT4="@comment " .endif .if !defined(WITH_GCJ) && (${ARCH} == "amd64" || ${ARCH} == "i386") BUILD_DEPENDS+= ${LOCALBASE}/bootstrap-openjdk/bin/javac:java/bootstrap-openjdk JAR?= ${LOCALBASE}/bootstrap-openjdk/bin/jar JAVA?= ${LOCALBASE}/bootstrap-openjdk/bin/java JAVAC?= ${LOCALBASE}/bootstrap-openjdk/bin/javac .else USE_BINUTILS= yes USE_GCC= yes GCC_SUFX= ${_USE_GCC:S/.//} JAR?= ${LOCALBASE}/bin/gjar${GCC_SUFX} JAVA?= ${LOCALBASE}/bin/gij${GCC_SUFX} JAVAC?= ${LOCALBASE}/bin/gcj${GCC_SUFX} JAVACFLAGS?= -C .endif post-patch: @${REINPLACE_CMD} -e 's|@JAVA@|$${JAVACMD:-java}|g' \ ${WRKSRC}/tools/g*.in .include Index: head/java/icedtea-web/Makefile =================================================================== --- head/java/icedtea-web/Makefile (revision 451900) +++ head/java/icedtea-web/Makefile (revision 451901) @@ -1,110 +1,108 @@ # $FreeBSD$ PORTNAME= icedtea-web PORTVERSION= 1.6.2 PORTREVISION= 3 CATEGORIES= java www MASTER_SITES= http://icedtea.wildebeest.org/download/source/ \ http://icedtea.classpath.org/download/source/ MAINTAINER= java@FreeBSD.org COMMENT= Free Java plug-in and Java Web Start for OpenJDK LICENSE= GPLv2 BUILD_DEPENDS= zip:archivers/zip \ bash:shells/bash \ gsed:textproc/gsed RUN_DEPENDS= bash:shells/bash TEST_DEPENDS= ${HAMCREST_JAR}:java/hamcrest \ ${JUNIT_JAR}:java/junit GNU_CONFIGURE= yes USE_JAVA= yes JAVA_OS= native JAVA_VENDOR= openjdk USE_PERL5= build USE_XORG= x11 USES= desktop-file-utils gmake perl5 pkgconfig shebangfix SHEBANG_FILES= jrunscript.in launcher/launchers.in -WANT_GNOME= yes - CONFIGURE_ARGS= --with-hamcrest="${HAMCREST_JAR}" CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" CONFIGURE_ARGS+= --with-jre-home="${JAVA_HOME}/jre" CONFIGURE_ARGS+= --with-junit="${JUNIT_JAR}" CONFIGURE_ARGS+= --with-rhino="${RHINO_JAR}" CONFIGURE_ARGS+= --with-tagsoup="${TAGSOUP_JAR}" .for opt in asm chrome chromium ecj epiphany firefox jacoco midori opera CONFIGURE_ARGS+= --without-${opt} .endfor CONFIGURE_ENV= BIN_BASH=${bash_CMD} CONFIGURE_SHELL= ${bash_CMD} TEST_TARGET= check OPTIONS_DEFINE= DOCS PLUGIN RHINO TAGSOUP OPTIONS_DEFAULT=PLUGIN OPTIONS_SUB= yes PLUGIN_DESC= Enable the browser plug-in RHINO_DESC= Add support for Proxy Auto Config files TAGSOUP_DESC= Enable cleaning up of malformed JNLP files DOCS_CONFIGURE_ENABLE= docs DOCS_PORTDOCS= netx RHINO_BUILD_DEPENDS= ${JAVASHAREDIR}/rhino/rhino.jar:lang/rhino RHINO_RUN_DEPENDS= ${RHINO_BUILD_DEPENDS} RHINO_VARS= RHINO_JAR="${JAVASHAREDIR}/rhino/rhino.jar" RHINO_VARS_OFF= RHINO_JAR=no TAGSOUP_BUILD_DEPENDS= ${JAVALIBDIR}/tagsoup.jar:textproc/tagsoup TAGSOUP_RUN_DEPENDS= ${TAGSOUP_BUILD_DEPENDS} TAGSOUP_VARS= TAGSOUP_JAR="${JAVALIBDIR}/tagsoup.jar" TAGSOUP_VARS_OFF= TAGSOUP_JAR=no PLUGIN_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libxul.pc:www/libxul PLUGIN_CONFIGURE_ENABLE=plugin PLUGIN_PORTDOCS= plugin PLUGIN_TEST_TARGET= plugin-tests PLUGIN_USE= GNOME=glib20 PLUGIN_USES= webplugin:native PLUGIN_VARS= WEBPLUGIN_DIR=${PREFIX}/lib PLUGIN_VARS+= WEBPLUGIN_FILES=IcedTeaPlugin.so HAMCREST_JAR= ${JAVALIBDIR}/hamcrest.jar JUNIT_JAR= ${JAVALIBDIR}/junit.jar .include .if ${JAVA_PORT_VERSION} == "1.6.0" pre-extract: @${ECHO_MSG} @${ECHO_MSG} "IMPORTANT: To build IcedTea-Web ${PORTVERSION}, you have to turn on 'ICEDTEA' option" @${ECHO_MSG} "for ${JAVA_PORT} (default). Otherwise, it will neither build nor work." @${ECHO_MSG} @sleep 5 .endif post-patch: ${REINPLACE_CMD} -e 's|^sed\([[:space:]]\)|gsed\1|' \ -e 's|\([[:space:]]\)sed\([[:space:]]\)|\1gsed\2|g' \ ${WRKSRC}/Makefile.in ${WRKSRC}/html-gen.sh ${REINPLACE_CMD} -e 's|^Icon=javaws|Icon=itweb-javaws|' \ ${WRKSRC}/*.desktop.in post-install: ${INSTALL_DATA} ${WRKSRC}/*.desktop ${STAGEDIR}${DESKTOPDIR} .for lang in cs de en pl .for man in javaws policyeditor ${MV} ${STAGEDIR}${MANPREFIX}/man/${lang:Nen}/man1/${man}.1 \ ${STAGEDIR}${MANPREFIX}/man/${lang:Nen}/man1/itweb-${man}.1 .endfor .endfor @${ECHO_MSG} @${ECHO_MSG} "Run \"make test\" to execute regression test." @${ECHO_MSG} .include Index: head/misc/magicpoint/Makefile =================================================================== --- head/misc/magicpoint/Makefile (revision 451900) +++ head/misc/magicpoint/Makefile (revision 451901) @@ -1,106 +1,105 @@ # Created by: itojun@itojun.org # $FreeBSD$ PORTNAME= magicpoint PORTVERSION= 1.13a PORTREVISION= 19 CATEGORIES?= misc MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/ MAINTAINER= dinoex@FreeBSD.org COMMENT= X11-based presentation tool LICENSE= BSD3CLAUSE LIB_DEPENDS+= libpng.so:graphics/png \ libmng.so:graphics/libmng RUN_DEPENDS+= pnmscale:graphics/netpbm MAKE_JOBS_UNSAFE= yes USES= imake:env perl5 pkgconfig USE_PERL5= run USE_XORG= x11 xext xmu xt sm ice xi xtst -WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-vflib --enable-locale CONFIGURE_ENV= mgp_cv_path_perl=${PERL} CPPFLAGS+= -I.. LATE_INSTALL_ARGS= install.man PORTDOCS= ${DOCS} sample emacs-lisp scripts DOCS= COPYRIGHT COPYRIGHT.jp FAQ README README.fonts \ README.fonts.jp README.lang RELNOTES SYNTAX TODO.jp \ USAGE USAGE.jp SAMPLES= README README.jp cloud.jpg dad.eps dad.jpg default.mgp \ embed-jp.mgp embed.mgp gradation-jp.mgp \ gradation.mgp mgp-old1.jpg mgp-old2.jpg mgp-old3.jpg \ mgp.mng mgp1.jpg mgp2.jpg mgp3.jpg mgp3.xbm mgprc-sample \ multilingual.mgp sample-fr.mgp sample-jp.mgp sample.mgp \ sendmail6-jp.mgp sendmail6.mgp tutorial-jp.mgp \ tutorial.mgp v6-jp.mgp v6.mgp v6header.eps v6header.jpg EMACS_LISPS= mgp-mode.el EMACS_LISPS_MGP=COPYING README mgp.el mgp.sty sample.tex SAMPLE_SCRIPTS= eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl OPTIONS_DEFINE= FREETYPE XFT GIF DOCS OPTIONS_DEFAULT=XFT GIF NO_OPTIONS_SORT=yes FREETYPE_PREVENTS= XFT FREETYPE_CONFIGURE_ENABLE= freetype FREETYPE_LIB_DEPENDS= libttf.so:print/freetype XFT_PREVENTS= FREETYPE XFT_USES= iconv XFT_USE= XORG=xft XFT_CONFIGURE_ENABLE= xft2 XFT_CONFIGURE_ON= --enable-freetype-charset16 GIF_CONFIGURE_ENABLE= gif GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CPPFLAGS= -I${LOCALBASE}/include post-patch: ${REINPLACE_CMD} -e 's|-lungif|-lgif|' \ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${WRKSRC}/configure post-configure: cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS} cd ${WRKSRC}/contrib/xmindpath && \ ${SH} ${CONFIGURE_SCRIPT} --prefix=${PREFIX} ${REINPLACE_CMD} -e 's|freetype1/freetype|freetype1|g' \ ${WRKSRC}/Makefile ${WRKSRC}/image/Makefile post-build: cd ${WRKSRC}/contrib/xmindpath && \ ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} post-install: ${INSTALL_MAN} ${WRKSRC}/contrib/xmindpath/xmindpath.1 \ ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL} ${WRKSRC}/contrib/xmindpath/xmindpath \ ${STAGEDIR}${PREFIX}/bin/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xmindpath post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR}/sample cd ${WRKSRC}/sample && \ ${INSTALL_DATA} ${SAMPLES} ${STAGEDIR}${DOCSDIR}/sample/ ${MKDIR} ${STAGEDIR}${DOCSDIR}/emacs-lisp cd ${WRKSRC}/contrib && \ ${INSTALL_DATA} ${EMACS_LISPS} \ ${STAGEDIR}${DOCSDIR}/emacs-lisp/ ${MKDIR} ${STAGEDIR}${DOCSDIR}/emacs-lisp/mgp-el cd ${WRKSRC}/contrib/mgp-el && \ ${INSTALL_DATA} ${EMACS_LISPS_MGP} \ ${STAGEDIR}${DOCSDIR}/emacs-lisp/mgp-el/ ${MKDIR} ${STAGEDIR}${DOCSDIR}/scripts cd ${WRKSRC}/contrib && \ ${INSTALL_SCRIPT} ${SAMPLE_SCRIPTS} \ ${STAGEDIR}${DOCSDIR}/scripts/ .include Index: head/multimedia/gpodder/Makefile =================================================================== --- head/multimedia/gpodder/Makefile (revision 451900) +++ head/multimedia/gpodder/Makefile (revision 451901) @@ -1,62 +1,61 @@ # Created by: Chess Griffin # $FreeBSD$ PORTNAME= gpodder PORTVERSION= 3.9.3 CATEGORIES= multimedia python MASTER_SITES= http://gpodder.org/src/ MAINTAINER= rm@FreeBSD.org COMMENT= Media aggregator and podcast client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= intltool-extract:textproc/intltool \ help2man:misc/help2man RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib \ ${PYTHON_PKGNAMEPREFIX}mygpoclient>=1.4:devel/py-mygpoclient \ ${PYTHON_PKGNAMEPREFIX}podcastparser>0:devel/py-podcastparser \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus \ ${PYTHON_PKGNAMEPREFIX}eyed3>=0:audio/py-eyed3 OPTIONS_DEFINE= GTK2 NOTIFY MUTAGEN OGG2MP3 OPTIONS_DEFAULT= GTK2 OPTIONS_SUB= yes MUTAGEN_DESC= Allow metadata manipulation OGG2MP3_DESC= Ogg Vorbis conversion to MP3 support OPTIONS_EXCLUDE= NLS NOTIFY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify>=0:devel/py-notify MUTAGEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=0:audio/py-mutagen OGG2MP3_RUN_DEPENDS= lame:audio/lame \ oggdec:audio/vorbis-tools ALL_TARGET= messages MAKE_ENV= GPODDER_MANPATH_NO_SHARE="yes" MAKEFILE= makefile NO_ARCH= yes USES= gettext gmake python:-2.7 shebangfix SHEBANG_FILES= src/gpodder/*.py share/gpodder/examples/*.py share/gpodder/extensions/*.py -WANT_GNOME= yes INSTALLS_ICONS= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} PORTDOCS= PKG-INFO README GTK2_VARS= MAKE_ENV+=GPODDER_INSTALL_UIS="cli gtk" GTK2_RUN_DEPENDS+= gnome-icon-theme>=0:misc/gnome-icon-theme \ xdg-open:devel/xdg-utils GTK2_USE= GNOME=pygtk2 .if empty(GTK2) MAKE_ENV+= GPODDER_INSTALL_UIS="cli" .endif post-patch: @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/makefile post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/multimedia/mplayer/Makefile.common =================================================================== --- head/multimedia/mplayer/Makefile.common (revision 451900) +++ head/multimedia/mplayer/Makefile.common (revision 451901) @@ -1,77 +1,75 @@ # Contains the build infrastructural definitions for both # mplayer and mencoder....the variables that we need to set # before we include bsd.port.pre.mk # # $FreeBSD$ MPLAYER_PORT_VERSION= 1.3.0 MPLAYER_SNAPSHOT_DATE= 2017-07-22 MASTER_SITES= LOCAL/riggs/mplayer DISTNAME= mplayer-${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g} WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE} LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libfreetype.so:print/freetype2 USES= compiler:c11 gmake iconv ncurses tar:xz NOPRECIOUSMAKEVARS= yes # ARCH HAS_CONFIGURE= yes CONFIGURE_ENV= TMPDIR="${WRKSRC}" CONFIGURE_ARGS= --cc="${CC}" \ --host-cc="${CC}" \ --as="${AS}" \ --mandir="${PREFIX}/man" \ --extra-cflags="-I${PREFIX}/include -I${LOCALBASE}/include" \ --extra-libs="-L${PREFIX}/lib" \ --disable-alsa \ --disable-ass-internal \ --disable-bitmap-font \ --disable-crystalhd \ --disable-esd \ --disable-faad \ --disable-ffmpeg_a \ --disable-ggi \ --disable-ggiwmh \ --disable-liba52 \ --disable-libbs2b \ --disable-libdirac-lavc \ --disable-libilbc \ --disable-libnut \ --disable-libvorbis \ --disable-live \ --disable-joystick \ --disable-mad \ --disable-libmpeg2 \ --disable-nemesi \ --disable-real \ --yasm='' -WANT_GNOME= yes - common-post-patch: @${REINPLACE_CMD} \ -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|; \ s|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ -e 's|/usr/local|${LOCALBASE}|' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|-lbz2|/usr/lib/libbz2.so|' \ -e 's|-lncurses|/usr/lib/libncurses.so|' \ -e 's|-liconv|${ICONV_LIB}|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${FIND} -E ${WRKSRC} -type f \ -iregex ".*(configure|.sh|Makefile)" -print0 | \ ${XARGS} -x -0 -n 10 \ ${REINPLACE_CMD} -E \ -e 's|[[:space:]]gcc[-[:digit:]\.]+| ${CC}|' \ -e 's|[[:space:]]gcc| ${CC}|' \ -e 's|\$$\(CC\)|${CC}|' \ -e 's|/usr/X11R6|${LOCALBASE}|' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' @${FIND} ${WRKSRC}/DOCS/man -name "mplayer.1" | ${XARGS} ${REINPLACE_CMD} -E -e \ 's|/usr/\\:local/\\:etc/\\:mplayer|${DATADIR:S/\//\/\\\:/g}|g ; \ s|/dev/\\:(dvd[[:alnum:]]*[[:>:]])|${DEFAULT_DVD_DEVICE:S/dev\//dev\/\\\:/}|g ; \ s|/dev/\\:(cdrom[[:alnum:]]*[[:>:]])|${DEFAULT_CDROM_DEVICE:S/dev\//dev\/\\\:/}|g' Index: head/multimedia/transcode/Makefile =================================================================== --- head/multimedia/transcode/Makefile (revision 451900) +++ head/multimedia/transcode/Makefile (revision 451901) @@ -1,159 +1,158 @@ # Created by: Hendrik Scholz # $FreeBSD$ PORTNAME= transcode PORTVERSION= 1.1.7 PORTREVISION= 29 CATEGORIES= multimedia MASTER_SITES= https://bitbucket.org/france/transcode-tcforge/downloads/ MAINTAINER= cyberbotx@cyberbotx.com 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 -WANT_GNOME= yes 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 LZO_DESC= LZO compression support X11_USE= xorg=xv,xaw,xpm 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_USE= GNOME=libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 MJPEGTOOLS_LIB_DEPENDS= liblavjpeg.so:multimedia/mjpegtools MJPEGTOOLS_CONFIGURE_ENABLE= mjpegtools SDL_USE= SDL=sdl SDL_CONFIGURE_ENABLE= sdl SDL_CONFIGURE_ENV_ON= SDL_CONFIG="${SDL_CONFIG}" IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick 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 .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 Index: head/net/unison/Makefile =================================================================== --- head/net/unison/Makefile (revision 451900) +++ head/net/unison/Makefile (revision 451901) @@ -1,84 +1,83 @@ # Created by: Dan Pelleg # $FreeBSD$ PORTNAME= unison PORTVERSION= 2.48.4 PORTREVISION?= 1 CATEGORIES= net MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} DIST_SUBDIR= ${DISTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= madpilot@FreeBSD.org COMMENT?= User-level file synchronization tool LICENSE= GPLv3 PLIST_SUB= PORTVERSION=${PORTVERSION} USES= gmake localbase USE_OCAML= yes WRKSRC= ${WRKDIR}/src NO_OCAML_RUNDEPENDS=yes -WANT_GNOME= yes CONFLICTS?= unison-devel-[0-9]* unison-nox11-[0-9]* MAKE_ENV= CLIBS="${LIBS:S/^-/-ccopt -/}" COFLAGS="${CFLAGS:C/ *(-[^ ]*) */ -ccopt \"\1 \"/gW}" MAKE_JOBS_UNSAFE= yes ALL_TARGET= unison all DOCS= BUGS.txt NEWS README EXTRA_DOCS= ${DISTNAME}-manual.html \ ${DISTNAME}-manual.pdf ${DISTNAME}-manual.ps OPTIONS_DEFINE= DOCS FSMONITOR X11 OPTIONS_DEFAULT?= FSMONITOR X11 FSMONITOR_DESC= Compile and install fsmonitor plugin OPTIONS_SUB= YES FSMONITOR_LIB_DEPENDS= libinotify.so:devel/libinotify X11_MAKE_ARGS= UISTYLE=gtk2 X11_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 \ icotool:graphics/icoutils X11_RUN_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 X11_SUB_FILES= ${PORTNAME}.desktop X11_MAKE_ARGS_OFF= UISTYLE=text X11_VARS_OFF= PKGMESSAGE=${PKGDIR}/pkg-message.nox11 post-patch-FSMONITOR-off: @${REINPLACE_CMD} -e 's/-include fsmonitor/#&/' \ ${WRKSRC}/Makefile.OCaml post-patch-X11-off: @${REINPLACE_CMD} -e 's/CFLAGS/COFLAGS/g' \ ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile post-patch-X11-on: @${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \ -e 's/CFLAGS/COFLAGS/g' \ ${WRKSRC}/Makefile.OCaml ${WRKSRC}/fsmonitor/linux/Makefile post-build-X11-on: @${ECHO} Building text-only version @${ECHO} ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} UISTYLE=text NAME=unison-text @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR} do-install-FSMONITOR-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-fsmonitor ${STAGEDIR}${PREFIX}/bin do-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include Index: head/net/unison-devel/Makefile =================================================================== --- head/net/unison-devel/Makefile (revision 451900) +++ head/net/unison-devel/Makefile (revision 451901) @@ -1,82 +1,81 @@ # Created by: Dan Pelleg # $FreeBSD$ PORTNAME= unison PORTVERSION= 2.48.1 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ PKGNAMESUFFIX= -devel DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} DIST_SUBDIR= ${DISTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= madpilot@FreeBSD.org COMMENT= User-level file synchronization tool IGNORE= No devel release available. \ Install net/unison which is the latest stable version. LICENSE= GPLv3 PLIST_SUB= PORTVERSION=${PORTVERSION} USES= gmake USE_OCAML= yes NO_OCAML_RUNDEPENDS=yes -WANT_GNOME= yes MAKE_ARGS= CFLAGS="" CONFLICTS= unison-[0-9]* unison-nox11-[0-9]* DOCS= BUGS.txt NEWS README EXTRA_DOCS= ${DISTNAME}-manual.html \ ${DISTNAME}-manual.pdf ${DISTNAME}-manual.ps OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 MAKE_JOBS_UNSAFE= yes ALL_TARGET= unison all .include .if ${PORT_OPTIONS:MX11} MAKE_ARGS+= UISTYLE=gtk2 PLIST_SUB+= TEXT="" BUILD_DEPENDS+= lablgtk2:x11-toolkits/ocaml-lablgtk2 \ icotool:graphics/icoutils RUN_DEPENDS+= lablgtk2:x11-toolkits/ocaml-lablgtk2 SUB_FILES+= ${PORTNAME}.desktop .else MAKE_ARGS+= UISTYLE=text PLIST_SUB+= TEXT="@comment " PKGMESSAGE= ${PKGDIR}/pkg-message.nox11 .endif .if ${PORT_OPTIONS:MX11} post-patch: @${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \ ${WRKSRC}/Makefile.OCaml post-build: @${ECHO} Building text-only version @${ECHO} ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} CFLAGS="" UISTYLE=text NAME=unison-text @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unison ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${STAGEDIR}${PREFIX}/bin .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR} .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/unison-text ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .endif .include Index: head/net/unison232/Makefile =================================================================== --- head/net/unison232/Makefile (revision 451900) +++ head/net/unison232/Makefile (revision 451901) @@ -1,68 +1,67 @@ # Created by: Dan Pelleg # $FreeBSD$ PORTNAME= unison PORTVERSION= 2.32.52 PORTREVISION= 9 CATEGORIES= net MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ PKGNAMESUFFIX= 232 DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} DIST_SUBDIR= ${DISTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= mandree@FreeBSD.org # Implicit approval for port changes granted to Guido Falsi COMMENT= User-level file synchronization tool LICENSE= GPLv3 PLIST_SUB= PORTVERSION=${PORTVERSION} USES= gmake USE_OCAML= yes NO_OCAML_RUNDEPENDS=yes -WANT_GNOME= yes MAKE_ARGS= CFLAGS="" MAKE_JOBS_UNSAFE= yes DOCS= BUGS.txt NEWS README DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXTRA_DOCS= ${DISTNAME}-manual.html \ ${DISTNAME}-manual.pdf ${DISTNAME}-manual.ps OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 X11_MAKE_ARGS= UISTYLE=gtk2 X11_PLIST_SUB= TEXT="" X11_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 \ icotool:graphics/icoutils X11_RUN_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 X11_SUB_FILES= ${PORTNAME}.desktop X11_MAKE_ARGS_OFF= UISTYLE=text X11_PLIST_SUB_OFF= TEXT="@comment " post-patch-X11-on: @${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \ ${WRKSRC}/Makefile.OCaml post-build-X11-on: @${ECHO} Building text-only version @${ECHO} ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} CFLAGS="" UISTYLE=text NAME=${PORTNAME}-text @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR} do-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}-text ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${PKGNAMESUFFIX}.desktop ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${PKGNAMESUFFIX}.png .include Index: head/net/unison240/Makefile =================================================================== --- head/net/unison240/Makefile (revision 451900) +++ head/net/unison240/Makefile (revision 451901) @@ -1,71 +1,70 @@ # Created by: Dan Pelleg # $FreeBSD$ PORTNAME= unison PORTVERSION= 2.40.128 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/releases/${DISTNAME}/ PKGNAMESUFFIX= 240 DISTFILES= ${EXTRACT_ONLY} ${EXTRA_DOCS} DIST_SUBDIR= ${DISTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= madpilot@FreeBSD.org COMMENT?= User-level file synchronization tool LICENSE= GPLv3 PLIST_SUB= PORTVERSION=${PORTVERSION} USES= gmake USE_OCAML= yes NO_OCAML_RUNDEPENDS=yes -WANT_GNOME= yes MAKE_ARGS= CFLAGS="" MAKE_JOBS_UNSAFE= yes ALL_TARGET= unison all DOCS= BUGS.txt NEWS README DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXTRA_DOCS= ${DISTNAME}-manual.html \ ${DISTNAME}-manual.pdf ${DISTNAME}-manual.ps OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT?= X11 X11_MAKE_ARGS= UISTYLE=gtk2 X11_PLIST_SUB= TEXT="" X11_BUILD_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 \ icotool:graphics/icoutils X11_RUN_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2 X11_SUB_FILES= ${PORTNAME}.desktop X11_MAKE_ARGS_OFF= UISTYLE=text X11_PLIST_SUB_OFF= TEXT="@comment " X11_VARS_OFF= PKGMESSAGE=${PKGDIR}/pkg-message.nox11 post-patch-X11-on: @${REINPLACE_CMD} -Ee 's@(\+|/)(lablgtk2)@\1site-lib/\2@' \ ${WRKSRC}/Makefile.OCaml post-build-X11-on: @${ECHO} Building text-only version @${ECHO} ${WRKSRC} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} CFLAGS="" UISTYLE=text NAME=unison-text @cd ${WRKSRC}/win32rc && ${LOCALBASE}/bin/icotool -x U.ico do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR} do-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-text ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}-text ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/${PORTNAME}${PKGNAMESUFFIX}.desktop ${INSTALL_DATA} ${WRKSRC}/win32rc/U_4_48x48x32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}${PKGNAMESUFFIX}.png .include Index: head/net/yate/Makefile =================================================================== --- head/net/yate/Makefile (revision 451900) +++ head/net/yate/Makefile (revision 451901) @@ -1,99 +1,98 @@ # Created by: Valery Komarov # $FreeBSD$ PORTNAME= yate DISTVERSION= 5.5.0p1 CATEGORIES= net MASTER_SITES= http://yate.null.ro/tarballs/yate5/ DISTNAME= ${PORTNAME}-5.5.0-1 MAINTAINER= koue@chaosophia.net COMMENT= Yet Another Telephony Engine LICENSE= GPLv2 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libspeex.so:audio/speex \ libgsm.so:audio/gsm ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 sparc64 USES= autoreconf bison gmake shebangfix SHEBANG_FILES= share/scripts/banbrutes.php \ share/scripts/leavemail.php \ share/scripts/queue_in.php \ share/scripts/queue_out.php \ share/scripts/route.php \ share/scripts/voicemail.php USE_LDCONFIG= yes -WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-fdsize \ --without-libqt4 \ --with-zlib=/usr LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message USE_RC_SUBR= yate USERS= yate GROUPS= yate OPTIONS_DEFINE= AMRNB DOCS DAHDI H323 ILBC MYSQL PGSQL SCTP SPANDSP SQLITE SSL OPTIONS_DEFAULT=SCTP AMRNB_DESC= Adaptive Multi-Rate Narrowband support DAHDI_DESC= Dahdi support H323_DESC= H323 software channel/protocol support ILBC_DESC= iLBC narrowband speech codec support SCTP_DESC= Stream Control Transmission Protocol support SPANDSP_DESC= Spandsp faxing support OPTIONS_SUB= yes AMRNB_CONFIGURE_WITH= amrnb=${LOCALBASE} AMRNB_LIB_DEPENDS= libamrnb.so:audio/libamrnb DAHDI_CONFIGURE_ENABLE= dahdi DAHDI_BUILD_DEPENDS= libpri>=1.4.10:misc/libpri \ ${LOCALBASE}/include/dahdi/user.h:misc/dahdi DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 H323_CONFIGURE_WITH= openh323=${LOCALBASE} H323_LIB_DEPENDS= libopenh323.so:net/h323plus ILBC_CONFIGURE_ENABLE= ilbc ILBC_LIB_DEPENDS= libilbc.so:net/ilbc MYSQL_CONFIGURE_WITH= mysql MYSQL_USE= mysql=yes SSL_CONFIGURE_WITH= openssl=${OPENSSLBASE} SSL_USES= ssl PGSQL_CONFIGURE_WITH= libpq=${LOCALBASE} PGSQL_USES= pgsql SCTP_CONFIGURE_ENABLE= sctp SPANDSP_CONFIGURE_WITH= spandsp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp SQLITE_CONFIGURE_WITH= sqlite SQLITE_USES= pkgconfig sqlite post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/yate @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libyate*.so.5.5.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/*.yate .for dir in client server jabber sip @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/yate/${dir}/*.yate .endfor .include Index: head/net-im/libpurple/Makefile =================================================================== --- head/net-im/libpurple/Makefile (revision 451900) +++ head/net-im/libpurple/Makefile (revision 451901) @@ -1,319 +1,317 @@ # Created by: Jim Mock # $FreeBSD$ PORTNAME?= libpurple PORTVERSION= 2.12.0 PORTREVISION= 2 CATEGORIES?= net-im MASTER_SITES= SF/pidgin/Pidgin/${PORTVERSION} DISTNAME= pidgin-${PORTVERSION} MAINTAINER?= marcus@FreeBSD.org COMMENT?= Backend library for the Pidgin multi-protocol messaging client USES+= cpe gettext gmake libtool pathfix pkgconfig tar:bzip2 USE_GNOME?= gnomeprefix intltool glib20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS?=--disable-gtkui \ --disable-consoleui \ --with-dynamic-prpls=${PRPL_MODULES:S/,$//} \ --enable-static \ --disable-nm CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .if !defined(PIDGIN_SLAVE) # Pidgin slave ports that require the following functionality, must explicitly # set these macros themselves. USES+= iconv python shebangfix USE_LDCONFIG= yes -WANT_GNOME= yes SHEBANG_FILES= libpurple/purple-remote \ libpurple/purple-url-handler .if defined(PACKAGE_BUILDING) -.undef WITHOUT_GNOME WITH_GNOME= yes .endif .endif PRPL_MODULES= CPE_VENDOR= pidgin OPTIONS_DEFINE= BONJOUR DBUS GNUTLS NSS SASL GSTREAMER VV IDN PERL TCLTK OPTIONS_GROUP= PROTOCOLS OPTIONS_GROUP_PROTOCOLS=GG SAMETIME SILC IRC JABBER \ NOVELL OSCAR QQ SIMPLE ZEPHYR OPTIONS_DEFAULT= BONJOUR DBUS NSS GSTREAMER VV IDN GG IRC JABBER \ NOVELL OSCAR QQ SIMPLE ZEPHYR BONJOUR_DESC= mDNS support GNUTLS_DESC= Use GNUTLS for encryption support NSS_DESC= Use Mozilla NSS for encryption support SASL_DESC= Cyrus SASL support (for jabberd) GSTREAMER_DESC= Use GStreamer for playing sounds VV_DESC= Video and voice support SAMETIME_DESC= The Lotus Sametime chat protocol SILC_DESC= The Secure Internet Live Conferencing protocol GG_DESC= The Gadu-Gadu chat protocol IRC_DESC= The Internet Relay Chat protocol JABBER_DESC= The Jabber/XMPP/Google Talk protocol NOVELL_DESC= The Novell GroupWise chat protocol OSCAR_DESC= The AIM/ICQ/Oscar protocol QQ_DESC= The Tercent QQ chat protocol SIMPLE_DESC= The SIMPLE chat protocol ZEPHYR_DESC= The Zephyr chat protocol .if defined(WITH_GTKUI) OPTIONS_DEFINE+= GTKSPELL CAP OPTIONS_DEFAULT+= GTKSPELL CAP GTKSPELL_DESC= Spell checking support CAP_DESC= Contact Availability Prediction plugin PLIST_SUB+= GTKUI="" .else PLIST_SUB+= GTKUI="@comment not installed: " .endif .if defined(WITH_CONSOLEUI) OPTIONS_DEFINE+=NCURSES NCURSES_DESC= Build with ncurses from ports PLIST_SUB+= CONSOLEUI="" .else PLIST_SUB+= CONSOLEUI="@comment not installed: " .endif CONFIGURE_ARGS+=--disable-doxygen .include .if ${PORT_OPTIONS:MTCLTK} USES+= tk CFLAGS+= -I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR} CONFIGURE_ARGS+= --with-tclconfig=${TCL_LIBDIR} \ --with-tkconfig=${TK_LIBDIR} PLIST_SUB+= TCL:="" .else CONFIGURE_ARGS+= --disable-tcl PLIST_SUB+= TCL:="@comment not installed: " .endif .if ${PORT_OPTIONS:MNCURSES} USES+= ncurses:port CONFIGURE_ARGS+=--with-ncurses-headers=${LOCALBASE}/include/ncurses/ .else USES+= ncurses .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 CONFIGURE_ARGS+= --with-perl-lib=site PLIST_SUB+= PERL:="" .if !defined(PIDGIN_SLAVE) || defined(WITH_GTKUI) PLIST_SUB+= PERLMAN:="" .else PLIST_SUB+= PERLMAN:="@comment not installed: " .endif .else CONFIGURE_ARGS+= --disable-perl PLIST_SUB+= PERL:="@comment not installed: " \ PERLMAN:="@comment not installed: " .endif .if defined(WITH_GTKUI) && !defined(PIDGIN_SLAVE) USE_GNOME+= gconf2 GCONF_SCHEMAS= purple.schemas .endif -#.if defined(WITH_GTKUI) && ${HAVE_GNOME:Mevolutiondataserver}!="" +#.if defined(WITH_GTKUI) #USE_GNOME+= evolutiondataserver #PLIST_SUB+= EVO="" #CONFIGURE_ARGS+= --enable-gevolution #.else CONFIGURE_ARGS+= --disable-gevolution PLIST_SUB+= EVO="@comment not installed: " #.endif .if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER1+=core good .else CONFIGURE_ARGS+=--disable-gstreamer .endif .if ${PORT_OPTIONS:MVV} && ${PORT_OPTIONS:MGSTREAMER} LIB_DEPENDS+= libfarstream-0.2.so:net-im/farstream USE_GSTREAMER1+=v4l2 PLIST_SUB+= VV="" .else CONFIGURE_ARGS+=--disable-vv PLIST_SUB+= VV="@comment " .endif .if ${PORT_OPTIONS:MIDN} LIB_DEPENDS+= libidn.so:dns/libidn .else CONFIGURE_ARGS+=--disable-idn .endif .if ${PORT_OPTIONS:MCAP} LIB_DEPENDS+= libsqlite3.so:databases/sqlite3 CONFIGURE_ARGS+=--enable-cap PLIST_SUB+= CAP="" .else CONFIGURE_ARGS+=--disable-cap PLIST_SUB+= CAP="@comment not installed: " .endif .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libgnutls.so:security/gnutls CONFIGURE_ARGS+= --enable-gnutls=yes PLIST_SUB+= GNUTLS="" .else CONFIGURE_ARGS+= --enable-gnutls=no PLIST_SUB+= GNUTLS="@comment " .endif .if ${PORT_OPTIONS:MNSS} LIB_DEPENDS+= libnss3.so:security/nss CONFIGURE_ARGS+= --enable-nss=yes \ --with-nspr-includes=${LOCALBASE}/include/nspr \ --with-nspr-libs=${LOCALBASE}/lib \ --with-nss-includes=${LOCALBASE}/include/nss/nss \ --with-nss-libs=${LOCALBASE}/lib/nss PLIST_SUB+= NSS="" .else CONFIGURE_ARGS+= --enable-nss=no PLIST_SUB+= NSS="@comment " .endif .if ${PORT_OPTIONS:MSASL} LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 CONFIGURE_ARGS+= --enable-cyrus-sasl .endif .if ${PORT_OPTIONS:MBONJOUR} LIB_DEPENDS+= libavahi-client.so:net/avahi-app PLIST_SUB+= BONJOUR="" PRPL_MODULES:= bonjour,${PRPL_MODULES} .else CONFIGURE_ARGS+=--disable-avahi PLIST_SUB+= BONJOUR="@comment not installed: " .endif .if ${PORT_OPTIONS:MGTKSPELL} LIB_DEPENDS+= libgtkspell.so:textproc/gtkspell .else CONFIGURE_ARGS+= --disable-gtkspell .endif .if ${PORT_OPTIONS:MDBUS} LIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib .if !defined(PIDGIN_SLAVE) RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/__init__.py:devel/py-dbus .endif CONFIGURE_ARGS+= --enable-dbus PLIST_SUB+= DBUS="" .else CONFIGURE_ARGS+= --disable-dbus PLIST_SUB+= DBUS="@comment not installed: " .endif .if ${PORT_OPTIONS:MSAMETIME} LIB_DEPENDS+= libmeanwhile.so:net-im/meanwhile PLIST_SUB+= SAMETIME="" PRPL_MODULES:= sametime,${PRPL_MODULES} .else PLIST_SUB+= SAMETIME="@comment not installed: " CONFIGURE_ARGS+=--disable-meanwhile .endif .if ${PORT_OPTIONS:MSILC} LIB_DEPENDS+= libsilcclient.so:devel/silc-toolkit CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc \ --with-silc-libs=${LOCALBASE}/lib PLIST_SUB+= SILC="" PRPL_MODULES:= silc,${PRPL_MODULES} .else PLIST_SUB+= SILC="@comment not installed: " .endif .if ${PORT_OPTIONS:MGG} PLIST_SUB+= GG="" PRPL_MODULES:= gg,${PRPL_MODULES} .else PLIST_SUB+= GG="@comment not installed: " .endif .if ${PORT_OPTIONS:MIRC} PLIST_SUB+= IRC="" PRPL_MODULES:= irc,${PRPL_MODULES} .else PLIST_SUB+= IRC="@comment not installed: " .endif .if ${PORT_OPTIONS:MJABBER} PLIST_SUB+= JABBER="" PRPL_MODULES:= jabber,${PRPL_MODULES} .else PLIST_SUB+= JABBER="@comment not installed: " .endif .if ${PORT_OPTIONS:MNOVELL} PLIST_SUB+= NOVELL="" PRPL_MODULES:= novell,${PRPL_MODULES} .else PLIST_SUB+= NOVELL="@comment not installed: " .endif .if ${PORT_OPTIONS:MOSCAR} PLIST_SUB+= OSCAR="" PRPL_MODULES:= oscar,${PRPL_MODULES} .else PLIST_SUB+= OSCAR="@comment not installed: " .endif #.if ${PORT_OPTIONS:MQQ} #PLIST_SUB+= QQ="" #PRPL_MODULES:= qq,${PRPL_MODULES} #.else #PLIST_SUB+= QQ="@comment not installed: " #.endif .if ${PORT_OPTIONS:MSIMPLE} PLIST_SUB+= SIMPLE="" PRPL_MODULES:= simple,${PRPL_MODULES} .else PLIST_SUB+= SIMPLE="@comment not installed: " .endif .if ${PORT_OPTIONS:MZEPHYR} PLIST_SUB+= ZEPHYR="" PRPL_MODULES:= zephyr,${PRPL_MODULES} .else PLIST_SUB+= ZEPHYR="@comment not installed: " .endif pre-everything:: .if ! ${PORT_OPTIONS:MGNUTLS} && ! ${PORT_OPTIONS:MNSS} @${ECHO_MSG} "WARNING: In order to use MSN, you must enable the GNUTLS and/or NSS options." .endif post-patch: @${REINPLACE_CMD} \ -e 's|-lpthread $$LIBDL|-lpthread ${ICONV_LIB}|' \ ${WRKSRC}/configure .if defined(PIDGIN_SLAVE) @${FIND} ${BUILD_WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(top_builddir)/libpurple/libpurple.la|-lpurple|' @${REINPLACE_CMD} -e 's|gconftool-2|gconftool-disabled|g' \ ${WRKSRC}/configure .endif .if !defined(PIDGIN_SLAVE) && ${PORT_OPTIONS:MPERL} post-install: @${SED} -i '' -e 's|^${STAGEDIR}||g' \ ${STAGEDIR}${PREFIX}/lib/purple-2/perl/auto/Purple/.packlist .endif .include Index: head/net-im/pidgin/Makefile =================================================================== --- head/net-im/pidgin/Makefile (revision 451900) +++ head/net-im/pidgin/Makefile (revision 451901) @@ -1,40 +1,39 @@ # Created by: Jim Mock # $FreeBSD$ # $MCom: ports/net-im/pidgin/Makefile,v 1.17 2007/09/17 19:53:06 marcus Exp $ PORTNAME= pidgin MAINTAINER= marcus@FreeBSD.org COMMENT= Pidgin multi-protocol messaging client (GTK+ UI) LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libpurple.so:net-im/libpurple MASTERDIR= ${.CURDIR}/../libpurple BUILD_WRKSRC= ${WRKSRC}/pidgin INSTALL_WRKSRC= ${BUILD_WRKSRC} INSTALLS_ICONS= yes DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist PIDGIN_SLAVE= yes WITH_GTKUI= yes USES= python:build USE_LDCONFIG= yes USE_GNOME= gnomeprefix gtk20 intltool USE_XORG= xscrnsaver sm -WANT_GNOME= yes CONFIGURE_ARGS= --disable-consoleui \ --disable-nm \ --enable-screensaver \ --with-dynamic_prpls=${PRPL_MODULES:S/,$//} post-install-PERL-on: @${SED} -i '' -e 's|^${STAGEDIR}||g' \ ${STAGEDIR}${PREFIX}/lib/pidgin/perl/auto/Pidgin/.packlist post-install: ${INSTALL_MAN} ${WRKSRC}/doc/pidgin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include "${MASTERDIR}/Makefile" Index: head/print/ghostscript7-base/Makefile =================================================================== --- head/print/ghostscript7-base/Makefile (revision 451900) +++ head/print/ghostscript7-base/Makefile (revision 451901) @@ -1,129 +1,128 @@ # Created by: Andreas Klemm # $FreeBSD$ PORTNAME= ghostscript PORTVERSION= 7.07 PORTREVISION= 32 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}:gs_srcs \ PORTS_JP:ports_jp,ports_jp_gs PKGNAMESUFFIX= 7-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= Ghostscript 7.x PostScript interpreter LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ ghostscript[789]-[0-9]* \ ghostscript[789]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* USES= autoreconf gmake jpeg shebangfix tar:bzip2 USE_LDCONFIG= yes SHEBANG_FILES= lib/fixmswrd.pl -WANT_GNOME= yes # normazile WRKSRC so things like cups-pstoraster may work WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-dynamic \ --with-ijs \ --without-x MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" CPPFLAGS+= -fPIC -DUPD_SIGNAL=0 -I. \ -I${WRKSRC}/gimp-print \ -I${LOCALBASE}/include XCFLAGS+= -DA4 LDFLAGS+= ${XLDFLAGS} XLDFLAGS= -lpthread \ -L${LOCALBASE}/lib \ -L${WRKSRC}/gimp-print ALL_TARGET= so INSTALL_TARGET= soinstall PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ GS_VERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS NO_OPTIONS_SORT=yes post-extract-all: ${LN} -sf ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME} post-extract: post-extract-all .include "Makefile.drivers" .include .include "files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" .else PLIST_SUB+= GS_${D}="@comment " .endif .endfor .if ${PORT_OPTIONS:MGS_pcl3} ALL_TARGET+= pcl3opts .endif # contributed uniprint profiles CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp post-patch: ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/lib/gs_res.ps pre-build-drivers.mak: @${ECHO_CMD} '# automatically generated' > ${WRKSRC}/src/drivers.mak .for N in ${DEVS_LIST} @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/src/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} .if ${PORT_OPTIONS:MGS_${D}} .if !defined(OPTIONS_UNSET) || !${OPTIONS_UNSET:MGS_${D}} .for X in ${DEVICE_${N}:M${D}.dev} @${ECHO_CMD} 'DEVICE_${N}+= $$(DD)${D}.dev' >> ${WRKSRC}/src/drivers.mak .endfor .endif .endif .endfor .endfor pre-build-contrib_extra.mak: ${CAT} /dev/null ${EXTRADEVMKFILE} > ${WRKSRC}/src/contrib_extra.mak pre-build-all: ${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin pre-build: pre-build-all pre-build-drivers.mak pre-build-contrib_extra.mak pre-install: ${MKDIR} ${STAGEDIR}${DATADIR} post-install: ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs cd ${FILESDIR} && ${INSTALL_DATA} ${CONTRIB_UPP} \ ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib post-install-DOCS-on: post-install-docs .include Index: head/sysutils/cdrdao/Makefile =================================================================== --- head/sysutils/cdrdao/Makefile (revision 451900) +++ head/sysutils/cdrdao/Makefile (revision 451901) @@ -1,183 +1,182 @@ # Created by: futatuki # $FreeBSD$ PORTNAME?= cdrdao PORTVERSION= 1.2.3 PORTREVISION?= 5 CATEGORIES= sysutils audio MASTER_SITES= SF/cdrdao/cdrdao/${PORTVERSION} DISTNAME= cdrdao-${PORTVERSION} MAINTAINER= marius@FreeBSD.org COMMENT?= Record CD-R[W]s in disk-at-once mode LICENSE= GPLv2 BROKEN_mips= fails to compile: cc1plus: error: unrecognized command line option "-std=c++11" BROKEN_mips64= fails to compile: cc1plus: error: unrecognized command line option "-std=c++11" BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line option "-std=c++11" GNU_CONFIGURE= yes USE_CXXSTD= c++11 USES= alias gmake tar:bzip2 MP3OGG_LIB_DEPENDS= libao.so:audio/libao \ libmad.so:audio/libmad \ libvorbis.so:audio/libvorbis .if ${PORTNAME} == "cdrdao" OPTIONS_DEFINE= DOCS TOC2MP3 MP3OGG OPTIONS_DEFAULT= MP3OGG MP3OGG_DESC= Build with MP3/Ogg support (for sysutils/gcdmaster) TOC2MP3_DESC= Build with toc2mp3 (requires audio/lame) .include .endif .if ${PORTNAME} == "gcdmaster" USES+= pkgconfig shared-mime-info -WANT_GNOME= yes GCONF_SCHEMAS= gcdmaster.schemas LIB_DEPENDS+= ${MP3OGG_LIB_DEPENDS} \ libgnomeuimm-2.6.so:x11-toolkits/libgnomeuimm26 RUN_DEPENDS+= ${LOCALBASE}/bin/cdrdao:sysutils/cdrdao \ ${LOCALBASE}/share/mime/packages/freedesktop.org.xml:misc/shared-mime-info CONFIGURE_ARGS+= --with-lame=no .else CONFIGURE_ARGS+= --with-xdao=no .if ${PORT_OPTIONS:MTOC2MP3} LIB_DEPENDS+= libmp3lame.so:audio/lame CONFIGURE_ARGS+= --with-lame-include=${LOCALBASE}/include \ --with-lame-lib=${LOCALBASE}/lib PLIST_SUB+= TOC2MP3="" .else CONFIGURE_ARGS+= --with-lame=no PLIST_SUB+= TOC2MP3="@comment " .endif .if ${PORT_OPTIONS:MMP3OGG} USES+= pkgconfig LIB_DEPENDS+= ${MP3OGG_LIB_DEPENDS} CONFIGURE_ENV+= AO_CFLAGS=-I${LOCALBASE}/include \ AO_LIBS="-L${LOCALBASE}/lib -lao" \ MAD_CFLAGS=-I${LOCALBASE}/include \ MAD_LIBS="-L${LOCALBASE}/lib -lmad" \ VORBISFILE_CFLAGS=-I${LOCALBASE}/include \ VORBISFILE_LIBS="-L${LOCALBASE}/lib -lvorbisfile" .else CONFIGURE_ARGS+= --with-mp3-support=no --with-ogg-support=no .endif .endif .include CONFIGURE_ARGS+= --without-pcctsbin --without-pcctsinc \ --with-posix-threads=no --with-scglib MAKE_ENV= CCOM=cc SCSILIBXARCH!= ${UNAME} -m post-extract: @(cd ${WRKSRC}/scsilib/RULES && ${CP} os-freebsd.id os-dragonfly.id) .if ${SCSILIBXARCH} != "i386" @${LN} -sf ${WRKSRC}/scsilib/RULES/i386-freebsd-cc.rul \ ${WRKSRC}/scsilib/RULES/${SCSILIBXARCH}-${OPSYS:tl}-cc.rul .endif post-patch: .for i in 45libdeflt 45libedc 45libfile 45libhfs_iso 45libparanoia 45libunls \ 45librscg 55cdda2wav 55cdrecord 55cmd 55mkisofs 55mkisofs!@!diag \ 55readcd 55scgcheck 55scgskeleton 55rscsi 85man @${RM} ${WRKSRC}/scsilib/TARGETS/${i} .endfor @${REINPLACE_CMD} -e 's|"$$ac_declaration"|"$$ac_declarationXXX"|g' \ ${WRKSRC}/configure .for i in include/schily.h libscg/scsitransp.c libschily/fexec.c \ libschily/stdio/fgetline.c @${REINPLACE_CMD} -E -e 's|fexecve|js_fexecve|g; \ s|^getline|js_getline|g;s|([^f_])getline|\1js_getline|g' \ ${WRKSRC}/scsilib/${i} .endfor .if ${PORTNAME} == "gcdmaster" @${REINPLACE_CMD} -E -e 's|(sigc\+\+/)object.h|\1trackable.h|g' \ ${WRKSRC}/xdao/CdDevice.h @${REINPLACE_CMD} -E -e 's|(^SUBDIRS.+) utils|\1|' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -E -e 's|(^gladedir.+=).+|\1 ${DATADIR}|' \ ${WRKSRC}/xdao/Makefile.in @${REINPLACE_CMD} -E -e 's|[&]?(pixmap_) == 0|!\1|g' \ ${WRKSRC}/xdao/SampleDisplay.cc @${REINPLACE_CMD} -E -e \ 's|(SET_CDRDAO_PATH.+path=)(cdrdao)|\1${LOCALBASE}\/bin\/\2|g' \ ${WRKSRC}/xdao/Settings.cc @${REINPLACE_CMD} -E -e \ 's|(icon-filename=).+(gcdmaster-doc.png)|\1${LOCALBASE}\/share\/pixmaps\/document-icons\/\2|g' \ ${WRKSRC}/xdao/gcdmaster.keys @${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::ptr_fun|g' \ ${WRKSRC}/xdao/xcdrdao.cc .else .for i in cdrdao.man main.cc @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/dao/${i} .endfor @${REINPLACE_CMD} -E -e 's|(^CDRDAO_DATA_DIR.+=).+|\1 ${DATADIR}|' \ ${WRKSRC}/dao/Makefile.in .for i in toc2cddb.1 toc2cue.1 @${REINPLACE_CMD} -e 's|1\.2\.2|${PORTVERSION}|g' ${WRKSRC}/utils/${i} .endfor .endif .if ${PORTNAME} == "gcdmaster" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xdao/gcdmaster ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xdao/gcdmaster.man \ ${STAGEDIR}${PREFIX}/man/man1/gcdmaster.1 @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/pixmaps/document-icons ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster-doc.png \ ${STAGEDIR}${LOCALBASE}/share/pixmaps/document-icons @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/application-registry ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.applications \ ${STAGEDIR}${LOCALBASE}/share/application-registry ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.desktop \ ${STAGEDIR}${LOCALBASE}/share/applications @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/mime-info ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.keys \ ${STAGEDIR}${LOCALBASE}/share/mime-info ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.mime \ ${STAGEDIR}${LOCALBASE}/share/mime-info ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.png \ ${STAGEDIR}${LOCALBASE}/share/pixmaps @${MKDIR} ${STAGEDIR}${LOCALBASE}/etc/gconf/schemas ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.schemas \ ${STAGEDIR}${LOCALBASE}/etc/gconf/schemas @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.xml \ ${STAGEDIR}${LOCALBASE}/share/mime/packages @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/xdao/glade/Preferences.glade \ ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/xdao/glade/ProjectChooser.glade \ ${STAGEDIR}${DATADIR} .else do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dao/cdrdao ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/dao/cdrdao.man \ ${STAGEDIR}${PREFIX}/man/man1/cdrdao.1 ${INSTALL_PROGRAM} ${WRKSRC}/utils/cue2toc ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/utils/cue2toc.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cddb ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/utils/toc2cddb.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cue ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/utils/toc2cue.1 ${STAGEDIR}${PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/dao/cdrdao.drivers \ ${STAGEDIR}${DATADIR}/drivers do-install-TOC2MP3-on: ${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2mp3 ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in CREDITS ChangeLog README README.PlexDAE ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .endif .include Index: head/sysutils/gkrellm2/Makefile =================================================================== --- head/sysutils/gkrellm2/Makefile (revision 451900) +++ head/sysutils/gkrellm2/Makefile (revision 451901) @@ -1,84 +1,83 @@ # $FreeBSD$ PORTNAME= gkrellm PORTVERSION= 2.3.10 PORTREVISION= 1 CATEGORIES= sysutils ipv6 MASTER_SITES= http://gkrellm.srcbox.net/releases/ \ LOCAL/ume PKGNAMESUFFIX= 2 MAINTAINER= ume@FreeBSD.org COMMENT= GTK based system monitor LICENSE= GPLv3 USES= gmake pkgconfig tar:bzip2 USE_RC_SUBR= gkrellmd -WANT_GNOME= yes OPTIONS_DEFINE= DOCS CLIENT NLS NTLM OPENSSL OPTIONS_DEFAULT= CLIENT NTLM OPENSSL OPTIONS_SUB= yes CLIENT_DESC= GKrellM Client CLIENT_CONFLICTS= gkrellm-[^2].* gkrellm[^2]-[^2].* CLIENT_USE= GNOME=gtk20 XORG=sm,x11 CLIENT_USE_OFF= GNOME=glib20 CLIENT_VARS_OFF= BUILD_WRKSRC=${WRKSRC}/server \ INSTALL_WRKSRC=${WRKSRC}/server NTLM_LIB_DEPENDS= libntlm.so:security/libntlm NTLM_VARS_OFF= MAKE_ENV+=without-ntlm=1 .include .if ${PORT_OPTIONS:MCLIENT} .if ${PORT_OPTIONS:MNLS} USES+= gettext .else MAKE_ENV+= enable_nls=0 .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl MAKE_ENV+= without-gnutls=1 .else MAKE_ENV+= without-gnutls=1 without-ssl=1 .endif .endif PORTDOCS= COPYRIGHT CREDITS README Themes.html ALL_TARGET= freebsd MAKE_ENV+= INSTALLROOT=${PREFIX} INSTALL_PREFIX=${STAGEDIR} \ PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig \ SINSTALLDIR=${PREFIX}/sbin \ MANDIR=${MAN1PREFIX}/man/man1 SMANDIR=${MANPREFIX}/man/man8 \ VERSION=${PORTVERSION} CFLAGS+= -DSYSTEM_THEMES_DIR='\"${LOCALBASE}/share/gkrellm2/themes\"' \ -DSYSTEM_PLUGINS_DIR='\"${LOCALBASE}/libexec/gkrellm2/plugins\"' \ -DGKRELLMD_SYS_ETC='\"${PREFIX}/etc\"' \ -DGKRELLMD_SYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm2/plugins-gkrellmd\"' post-patch: @${REINPLACE_CMD} -e 's/gthread-2.0/gmodule-2.0 gthread-2.0/g' \ ${WRKSRC}/src/Makefile post-install-CLIENT-on: @${MKDIR} ${STAGEDIR}${LOCALBASE}/libexec/gkrellm2/plugins @${MKDIR} ${STAGEDIR}${LOCALBASE}/share/gkrellm2/themes post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins-gkrellmd @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/server/gkrellmd.conf \ ${STAGEDIR}${EXAMPLESDIR}/gkrellmd.conf post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/sysutils/thefish/Makefile =================================================================== --- head/sysutils/thefish/Makefile (revision 451900) +++ head/sysutils/thefish/Makefile (revision 451901) @@ -1,34 +1,33 @@ # Created by: Miguel Mendez # $FreeBSD$ PORTNAME= thefish PORTVERSION= 0.6.7 CATEGORIES= sysutils MASTER_SITES= http://BSDforge.com/projects/source/sysutils/thefish/ MAINTAINER= portmaster@BSDforge.com COMMENT= Gtk+/ncurses rc.conf editor/management tool LICENSE= BSD2CLAUSE USES= pkgconfig tar:xz -WANT_GNOME= yes OPTIONS_SINGLE= X11 OPTIONS_SINGLE_X11= GTK2 OPTIONS_DEFAULT= GTK2 .include #.if ${PORT_OPTIONS:MGTK2} USE_GNOME= gtk20 MAKE_ENV+= WITH_GTK=yes #.endif PLIST_FILES= bin/thefish man/man1/thefish.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/thefish ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/thefish.1 ${STAGEDIR}${PREFIX}/man/man1 .include Index: head/sysutils/xcdroast/Makefile =================================================================== --- head/sysutils/xcdroast/Makefile (revision 451900) +++ head/sysutils/xcdroast/Makefile (revision 451901) @@ -1,74 +1,73 @@ # Created by: Oliver Lehmann # $FreeBSD$ PORTNAME= xcdroast PORTVERSION= 0.98.a.16 PORTREVISION= 7 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.98alpha16 \ http://www.xcdroast.org/download/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a./alpha/} MAINTAINER= oliver@FreeBSD.org COMMENT= Another X11 frontend to mkisofs/cdrecord OPTIONS_DEFINE= GTK2 NONROOT NLS OPTIONS_DEFAULT= GTK2 NONROOT_DESC= Use xcdroast w/o being root RUN_DEPENDS= cdrecord:sysutils/cdrtools BUILD_DEPENDS= cdrecord:sysutils/cdrtools USES= gettext gmake iconv pkgconfig GNU_CONFIGURE= yes -WANT_GNOME= yes CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \ GLIB_CONFIG="${GLIB_CONFIG}" CONFIGURE_ARGS= --with-cdrtools-prefix=${LOCALBASE} \ --with-libintl-prefix=${LOCALBASE} \ ${ICONV_CONFIGURE_ARG} .include .if ${PORT_OPTIONS:MNLS} CONFIGURE_ARGS+=--disable-nls PLIST_SUB= NLS="@comment " .else PLIST_SUB= NLS="" .endif .if ${PORT_OPTIONS:MGTK2} CONFIGURE_ARGS+=--enable-gtk2 USE_GNOME= gtk20 .else CONFIGURE_ARGS+=--disable-gtk2 USE_GNOME= gdkpixbuf .endif .if ${PORT_OPTIONS:MNONROOT} CONFIGURE_ARGS+=--enable-nonrootmode .else CONFIGURE_ARGS+=--disable-nonrootmode .endif post-patch: @${REINPLACE_CMD} -e 's|ver->minor = ver->patch|& = ver->branch|g' \ ${WRKSRC}/src/xtools.c pre-everything:: .if ${PORT_OPTIONS:MNONROOT} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} @${ECHO_MSG} "Are you sure you want this? If not, hit Ctrl+C right now " @${ECHO_MSG} @${ECHO_MSG} " This is a security risk! XCDRost will use an own" @${ECHO_MSG} " wrapping utility which gets a SUID Bit after enabling" @${ECHO_MSG} " the non-root mode inside the application!" @${ECHO_MSG} sleep 5 .endif .include Index: head/textproc/uim/Makefile =================================================================== --- head/textproc/uim/Makefile (revision 451900) +++ head/textproc/uim/Makefile (revision 451901) @@ -1,113 +1,112 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PORTNAME= uim PORTVERSION= 1.8.6 PORTREVISION?= 2 CATEGORIES?= textproc MASTER_SITES= https://github.com/uim/uim/releases/download/${PORTNAME}-${PORTVERSION}/ .if !defined(UIM_SLAVE) && defined(WITHOUT_X11) PKGNAMESUFFIX= -nox11 .endif MAINTAINER= nobutaka@FreeBSD.org COMMENT?= Input method library BROKEN_aarch64= Fails to build: The collector has not been ported to this machine/OS combination USE_LDCONFIG= yes -WANT_GNOME= yes USE_GNOME+= glib20 intltool USES+= gettext gmake iconv libedit libtool pathfix pkgconfig perl5 tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 .include .if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libXft.so:x11-fonts/libXft CONFIGURE_ARGS+= --with-x --with-xft .endif .if !defined(UIM_SLAVE) .if ${PORT_OPTIONS:MX11} USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk2 .endif CONFIGURE_ARGS+= --enable-emacs --with-sj3 --with-canna --with-prime .endif CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include .if !defined(UIM_SLAVE) DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim DOCSDIR_SIGSCHEME= ${PREFIX}/share/doc/uim/sigscheme PLIST_SUB= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}" \ DOCSDIR_SIGSCHEME="${DOCSDIR_SIGSCHEME:S,^${PREFIX}/,,}" .endif .if empty(PORT_OPTIONS:MX11) PLIST_SUB+= X11="@comment " .else PLIST_SUB+= X11="" .endif .include .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" CONFIGURE_ARGS+= --enable-storage=fatty .endif .for _x in x xft gtk2 qt anthy canna m17nlib prime scim dict .if ${CONFIGURE_ARGS:M--with-${_x}} == "" CONFIGURE_ARGS+=--without-${_x} .endif .endfor .for _x in gnome-applet kde-applet emacs pref .if ${CONFIGURE_ARGS:M--enable-${_x}} == "" CONFIGURE_ARGS+=--disable-${_x} .endif .endfor post-patch: ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/scm/skk-custom.scm do-build: .if !defined(UIM_SLAVE) .for d in replace sigscheme uim scm xim po fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} .endfor .if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk2/candwin && ${MAKE_CMD} .endif .endif do-install: .if !defined(UIM_SLAVE) cd ${WRKSRC} && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-data-am .for d in sigscheme uim scm xim po fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} DESTDIR=${STAGEDIR} install .endfor .if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk2/candwin && ${MAKE_CMD} DESTDIR=${STAGEDIR} install .endif .endif .if !defined(UIM_SLAVE) post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/helperdata ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR_JA} ${INSTALL_DATA} ${WRKSRC}/doc/KEY ${STAGEDIR}${DOCSDIR}/KEY ${INSTALL_DATA} ${WRKSRC}/fep/README ${STAGEDIR}${DOCSDIR}/README.fep ${INSTALL_DATA} ${WRKSRC}/fep/README ${STAGEDIR}${DOCSDIR}/README.key ${INSTALL_DATA} ${WRKSRC}/fep/README.ja ${STAGEDIR}${DOCSDIR_JA}/README.fep ${INSTALL_DATA} ${WRKSRC}/xim/README ${STAGEDIR}${DOCSDIR}/README.xim .endif .include Index: head/www/linux-opera/Makefile =================================================================== --- head/www/linux-opera/Makefile (revision 451900) +++ head/www/linux-opera/Makefile (revision 451901) @@ -1,111 +1,110 @@ # $FreeBSD$ PORTNAME= opera PORTVERSION= ${OPERA_VER} PORTREVISION= 3 CATEGORIES= www linux MASTER_SITES= ftp://ftp.opera.com/pub/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.sunet.se/pub/www/clients/Opera/linux/${OPERA_VER:S/.//}/ \ ftp://sunsite.cnlab-switch.ch/mirror/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.tiscali.nl/pub/mirrors/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.ntua.gr/pub/www/Opera/linux/${OPERA_VER:S/.//}/ \ http://mirrors.pmmf.hu/mirror/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.task.gda.pl/pub/opera/linux/${OPERA_VER:S/.//}/ \ ftp://ftp.planetmirror.com/pub/opera/linux/${OPERA_VER:S/.//}/ \ http://gd.tuwien.ac.at/infosys/browsers/opera/linux/${OPERA_VER:S/.//}/ PKGNAMEPREFIX= linux- DISTNAME= ${PORTNAME}-${OPERA_VER}-${OPERA_BUILD}.i386.linux MAINTAINER= acm@FreeBSD.org COMMENT= Blazingly fast, full-featured, standards-compliant browser RUN_DEPENDS= update-mime-database:misc/shared-mime-info USES= desktop-file-utils linux shared-mime-info tar:xz USE_LINUX= gtk2 sqlite3 xorglibs ONLY_FOR_ARCHS= i386 amd64 -WANT_GNOME= yes INSTALLS_ICONS= yes NO_BUILD= yes OPERA_VER?= 12.16 OPERA_BUILD?= 1860 DATADIR= ${PREFIX}/share/${PKGBASE} DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} RENAME= opera lib/opera \ share/applications/opera-browser.desktop \ share/doc/opera share/opera man/man1/opera.1 \ share/mime/packages/opera-extension.xml post-extract: @${GUNZIP_CMD} ${WRKSRC}/share/man/man1/*.gz @${MV} ${WRKSRC}/share/man ${WRKSRC}/man @for _r in ${RENAME}; do \ linux=`${ECHO_CMD} $${_r} | \ ${SED} -e 's|opera|${PKGBASE}|g'`; \ ${MV} ${WRKSRC}/$${_r} ${WRKSRC}/$${linux}; \ done; \ for _f in `find ${WRKSRC}/share/icons -type f | \ ${SED} -e 's|${WRKSRC}/||g'`; do \ linux=`${ECHO_CMD} $${_f} | \ ${SED} -e 's|opera|${PKGBASE}|g'`; \ ${MV} ${WRKSRC}/$${_f} ${WRKSRC}/$${linux}; \ done; \ for _l in `find ${WRKSRC}/share/icons -name opera-widget.png | \ ${SED} -e 's|/opera-widget\.png||g'`; do \ ${RM} $${_l}/opera-widget.png; \ cd $${_l}; \ ${LN} -s ../mimetypes/${PKGBASE}-widget.png \ $${_l}/${PKGBASE}-widget.png; \ done post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%LINUXBASE%%|${LINUXBASE}|g' \ ${WRKSRC}/share/${PKGBASE}/defaults/pluginpath.ini @${REINPLACE_CMD} -e '/man1/s|opera|${PKGBASE}|g ; \ /man1/s|1.gz|1|g ; /man1/s|share/||g ; \ s|bin/opera|bin/${PKGBASE}|g ; \ s|name=$$(uname -s)|name=Linux|g ; \ s|lib/opera|lib/${PKGBASE}|g ; \ s|applications/opera|applications/${PKGBASE}|g ; \ s|doc/opera|doc/${PKGBASE}|g ; \ /hicolor/s|/opera|/${PKGBASE}|g ; \ s|packages/opera|packages/${PKGBASE}|g ; \ s|share/opera|share/${PKGBASE}|g ; \ s|PREFIX=/usr/local|PREFIX=${PREFIX}|g ; \ /OPERA_PERSONALDIR/s|.opera|.${PKGBASE}|g ; \ s|opera)|${PKGBASE})|g ; \ s|opera-widget-manager)|${PKGBASE}-widget-manager)|g ; \ s|^.*rmdir.*mime/packages.*||g ; \ s|^.*GX - bin/uninstall-opera@.*||g ; \ s|[$$]tempdir/damaged|${WRKSRC}/damaged|g ; \ s|PREFIX/bin/uninstall-opera|PREFIX/bin/disabled-opera|g' \ ${WRKSRC}/install @${REINPLACE_CMD} -e '/^Name/s|$$| (Linux version)|g ; \ /Exec/s|opera|${PKGBASE}|g ; \ /Icon/s|opera|${PKGBASE}|g ; \ /StartupWMClass/s|opera|${PKGBASE}|g ; \ s|TryExec=.*||g ; /^$$/d' \ ${WRKSRC}/share/applications/*.desktop @${REINPLACE_CMD} -e 's|lib/opera|lib/${PKGBASE}|g ; \ s|doc/opera|doc/${PKGBASE}|g ; \ s|share/opera|share/${PKGBASE}|g ; \ s|opera-widget-manager|${PKGBASE}-widget-manager|g ; \ s|opera (1)|${PKGBASE} (1)|g ; \ s|\.opera@@|\.${PKGBASE}@@|g ; \ s|B opera@@|B ${PKGBASE}@@|g ; \ /standards-compliant/s|opera|${PKGBASE}|g' \ ${WRKSRC}/man/man1/*.1 @${REINPLACE_CMD} -e '/ Index: head/www/nginx/Makefile =================================================================== --- head/www/nginx/Makefile (revision 451900) +++ head/www/nginx/Makefile (revision 451901) @@ -1,1369 +1,1367 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= nginx PORTVERSION= 1.12.1 PORTREVISION?= 1 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= joneum@FreeBSD.org COMMENT?= Robust and small WWW server LICENSE= BSD2CLAUSE CONFLICTS_INSTALL= nginx-devel PORTSCOUT= limit:^1\.12\.[0-9]* USES+= cpe CPE_VENDOR= nginx CPE_PRODUCT= nginx USE_GITHUB= nodefault NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DSO \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ GOOGLE_PERFTOOLS \ HTTP \ HTTP_ADDITION \ HTTP_AUTH_REQ \ HTTP_CACHE \ HTTP_DAV \ HTTP_FLV \ HTTP_GEOIP \ HTTP_GZIP_STATIC \ HTTP_GUNZIP_FILTER \ HTTP_IMAGE_FILTER \ HTTP_MP4 \ HTTP_PERL \ HTTP_RANDOM_INDEX \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SECURE_LINK \ HTTP_SLICE \ HTTP_SSL \ HTTP_STATUS \ HTTP_SUB \ HTTP_XSLT \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ HTTPV2 \ NJS \ STREAM \ STREAM_SSL \ STREAM_SSL_PREREAD \ THREADS \ WWW \ AJP \ AWS_AUTH \ CACHE_PURGE \ CLOJURE \ CT \ ECHO \ FASTDFS \ 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_JSON_STATUS \ HTTP_MOGILEFS \ HTTP_MP4_H264 \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_SUBS_FILTER \ HTTP_TARANTOOL \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_CHECK \ HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY \ HTTP_VIDEO_THUMBEXTRACTOR \ HTTP_ZIP \ ARRAYVAR \ BROTLI \ DRIZZLE \ DYNAMIC_UPSTREAM \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ LUA \ MEMC \ MODSECURITY \ MODSECURITY_DEVEL \ NAXSI \ PASSENGER \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SHIBBOLETH \ SLOWFS_CACHE \ SMALL_LIGHT \ SRCACHE \ X11 \ XSS OPTIONS_DEFAULT?=DSO FILE_AIO HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE \ HTTP_DAV HTTP_FLV HTTP_GZIP_STATIC HTTP_GUNZIP_FILTER \ HTTP_MP4 HTTP_RANDOM_INDEX HTTP_REALIP HTTP_SECURE_LINK \ HTTP_SLICE HTTP_REWRITE HTTP_SSL HTTP_STATUS HTTP_SUB \ HTTPV2 MAIL MAIL_SSL STREAM STREAM_SSL STREAM_SSL_PREREAD \ THREADS WWW # If the target is makesum, make sure that every distfile is fetched. .if ${.TARGETS:Mmakesum} OPTIONS_DEFAULT= ${OPTIONS_DEFINE} .endif DSO_DESC= Enable dynamic modules support DEBUG_DESC= Build with debugging support DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio IPV6_DESC= Enable IPv6 support GOOGLE_PERFTOOLS_DESC= Enable google perftools module HTTP_DESC= Enable HTTP module HTTP_ADDITION_DESC= Enable http_addition module HTTP_AUTH_REQ_DESC= Enable http_auth_request module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_FLV_DESC= Enable http_flv module HTTP_GEOIP_DESC= Enable http_geoip module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_GUNZIP_FILTER_DESC= Enable http_gunzip_filter module HTTP_IMAGE_FILTER_DESC= Enable http_image_filter module HTTP_MP4_DESC= Enable http_mp4 module HTTP_PERL_DESC= Enable http_perl module HTTP_RANDOM_INDEX_DESC= Enable http_random_index module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SECURE_LINK_DESC= Enable http_secure_link module HTTP_SLICE_DESC= Enable http_slice module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module HTTP_SUB_DESC= Enable http_sub module HTTP_XSLT_DESC= Enable http_xslt module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.) NJS_DESC= Enable http_javascript module STREAM_DESC= Enable stream module STREAM_SSL_DESC= Enable stream_ssl module (SSL req.) STREAM_SSL_PREREAD_DESC= Enable stream_ssl_preread module (SSL req.) THREADS_DESC= Enable threads support WWW_DESC= Enable html sample files AJP_DESC= 3rd party ajp module AWS_AUTH_DESC= 3rd party aws auth module CACHE_PURGE_DESC= 3rd party cache_purge module CLOJURE_DESC= 3rd party clojure module CT_DESC= 3rd party cert_transparency module (SSL req.) ECHO_DESC= 3rd party echo module FASTDFS_DESC= 3rd party fastdfs module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_KRB5_DESC= 3rd party http_auth_gss module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_FOOTER_DESC= 3rd party http_footer module HTTP_GEOIP2_DESC= 3rd party geoip2 module HTTP_JSON_STATUS_DESC= 3rd party http_json_status module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_MP4_H264_DESC= 3rd party mp4/h264 module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SUBS_FILTER_DESC= 3rd party subs filter module HTTP_TARANTOOL_DESC= 3rd party tarantool upstream module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_CHECK_DESC= 3rd party upstream check module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module HTTP_VIDEO_THUMBEXTRACTOR_DESC= 3rd party video_thumbextractor module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module BROTLI_DESC= 3rd party brotli module DRIZZLE_DESC= 3rd party drizzlie module DYNAMIC_UPSTREAM_DESC= 3rd party dynamic_upstream module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module LUA_DESC= 3rd party lua module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module MODSECURITY_DEVEL_DESC= 3rd party mod_security v3 module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SHIBBOLETH_DESC= 3rd party shibboleth module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SMALL_LIGHT_DESC= 3rd party small_light module SRCACHE_DESC= 3rd party srcache module X11_DESC= graphics/ImageMagick[-nox11] dependency XSS_DESC= 3rd party xss module VIDEO_DESC= Video module support -WANT_GNOME= yes - .include .if ${PORT_OPTIONS:MX11} IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick .else IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick-nox11 .endif .if ${PORT_OPTIONS:MPASSENGER} CATEGORIES+= ruby USE_RUBY= yes BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:devel/rubygem-rake RAKE_BIN= ${LOCALBASE}/bin/rake .endif NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log/nginx NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/error.log CONFLICTS?= nginx-devel-1.* \ nginx-full-1.* \ nginx-lite-1.* \ nginx-naxsi-1.* USE_RC_SUBR= nginx SUB_FILES= pkg-message SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} \ PREFIX=${PREFIX} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if !empty(PORT_OPTIONS:MDSO) MODULESDIR= ${PREFIX}/libexec/${PORTNAME} CONFIGURE_ARGS+=--modules-path=${MODULESDIR} .endif .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= #do not strip if nginx with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--with-cc-opt="-DNGX_HAVE_INET6=0 -I ${LOCALBASE}/include" .else CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MGOOGLE_PERFTOOLS} LIB_DEPENDS+= libprofiler.so:devel/google-perftools CONFIGURE_ARGS+=--with-google_perftools_module .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 GH_ACCOUNT+= giom:accept_language GH_PROJECT+= nginx_accept_language_module:accept_language GH_TAGNAME+= ${GIT_ACCEPT_LANGUAGE_VERSION}:accept_language CONFIGURE_ARGS+=--add-module=${WRKSRC_accept_language} .endif .if ${PORT_OPTIONS:MHTTP_ADDITION} CONFIGURE_ARGS+=--with-http_addition_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= 519dc2a GH_ACCOUNT+= atomx:auth_digest GH_PROJECT+= nginx-http-auth-digest:auth_digest GH_TAGNAME+= ${GIT_AUTH_DIGEST_VERSION}:auth_digest .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_auth_digest} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_digest} .endif .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} GIT_HTTP_AUTH_KRB5_VERSION= 0c6ff3f GH_ACCOUNT+= stnoonan:auth_krb5 GH_PROJECT+= spnego-http-auth-nginx-module:auth_krb5 GH_TAGNAME+= ${GIT_HTTP_AUTH_KRB5_VERSION}:auth_krb5 CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_krb5} #EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config #OPTIONS_RADIO+= GSSAPI #OPTIONS_RADIO_GSSAPI+= GSSAPI_HEIMDAL GSSAPI_MIT #GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags #GSSAPI_MIT_USES= gssapi:mit .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= dbcef31 GH_ACCOUNT+= kvspb:http_auth_ldap GH_PROJECT+= nginx-auth-ldap:http_auth_ldap GH_TAGNAME+= ${GIT_HTTP_AUTH_LDAP_VERSION}:http_auth_ldap .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_http_auth_ldap} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_http_auth_ldap} .endif USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} GIT_HTTP_AUTH_PAM_VERSION= 1.5.1 GH_ACCOUNT+= sto:auth_pam GH_PROJECT+= ngx_http_auth_pam_module:auth_pam GH_TAGNAME+= v${GIT_HTTP_AUTH_PAM_VERSION}:auth_pam .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_auth_pam} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_pam} .endif .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} CONFIGURE_ARGS+=--with-http_auth_request_module .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MAJP} NGINX_AJP_VERSION= bf6cd93 GH_ACCOUNT+= yaoweibin:ajp GH_PROJECT+= nginx_ajp_module:ajp GH_TAGNAME+= ${NGINX_AJP_VERSION}:ajp CONFIGURE_ARGS+=--add-module=${WRKSRC_ajp} .endif .if ${PORT_OPTIONS:MAWS_AUTH} NGINX_AWS_AUTH_VERSION= 1e62670 GH_ACCOUNT+= anomalizer:aws_auth GH_PROJECT+= ngx_aws_auth:aws_auth GH_TAGNAME+= ${NGINX_AWS_AUTH_VERSION}:aws_auth CONFIGURE_ARGS+=--add-module=${WRKSRC_aws_auth} .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.3 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MCLOJURE} CATEGORIES+= java USE_JAVA= yes JAVA_OS= native JAVA_VERSION= 1.8 JAVA_VENDOR= openjdk JAVA_BUILD= yes JAVA_RUN= yes NGINX_CLOJURE_VERSION= 0.4.5 GH_ACCOUNT+= nginx-clojure:clojure GH_PROJECT+= nginx-clojure:clojure GH_TAGNAME+= v${NGINX_CLOJURE_VERSION}:clojure CONFIGURE_ENV+= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CONFIGURE_ARGS+=--add-module=${WRKSRC_clojure}/src/c .endif .if ${PORT_OPTIONS:MCT} GIT_CT_VERSION= 1.3.2 GH_ACCOUNT+= grahamedgecombe:ct GH_PROJECT+= nginx-ct:ct GH_TAGNAME+= v${GIT_CT_VERSION}:ct .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_ct} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_ct} .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base IGNORE= CT option requires OpenSSL 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf .endif .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 46334b3 GH_ACCOUNT+= openresty:echo GH_PROJECT+= echo-nginx-module:echo GH_TAGNAME+= ${NGINX_ECHO_VERSION}:echo .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_echo} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_echo} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_echo_request_info.c .endif .if ${PORT_OPTIONS:MFASTDFS} NGINX_FASTDFS_VERSION= 5a8110f GH_ACCOUNT+= happyfish100:fastdfs GH_PROJECT+= fastdfs-nginx-module:fastdfs GH_TAGNAME+= ${NGINX_FASTDFS_VERSION}:fastdfs EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-fastdfs-src-config BUILD_DEPENDS+= ${LOCALBASE}/include/fastcommon/logger.h:devel/libfastcommon \ ${LOCALBASE}/include/fastdfs/fdfs_client.h:ftp/fastdfs LIB_DEPENDS+= libfastcommon.so:devel/libfastcommon \ libfdfsclient.so:ftp/fastdfs CONFIGURE_ARGS+=--add-module=${WRKSRC_fastdfs}/src \ --with-cc-opt="-I ${LOCALBASE}/include/fastdfs \ -I ${LOCALBASE}/include/fastcommon" .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= 84241e4 GH_ACCOUNT+= openresty:headers_more GH_PROJECT+= headers-more-nginx-module:headers_more GH_TAGNAME+= ${NGINX_HEADERS_MORE_VERSION}:headers_more .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_headers_more} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_headers_more} .endif .endif .if ${PORT_OPTIONS:MHTTP_DAV} || defined(USE_HTTP_DAV) CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} USE_HTTP_DAV= yes LIB_DEPENDS+= libexpat.so:textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.3 GH_ACCOUNT+= arut:dav_ext GH_PROJECT+= nginx-dav-ext-module:dav_ext GH_TAGNAME+= v${NGINX_DAV_EXT_VERSION}:dav_ext CONFIGURE_ARGS+=--add-module=${WRKSRC_dav_ext} .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 342c812 GH_ACCOUNT+= openresty:eval GH_PROJECT+= nginx-eval-module:eval GH_TAGNAME+= ${NGINX_EVAL_VERSION}:eval .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_eval} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.4.1 GH_ACCOUNT+= aperezdc:fancyindex GH_PROJECT+= ngx-fancyindex:fancyindex GH_TAGNAME+= v${NGINX_FANCYINDEX_VERSION}:fancyindex .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_fancyindex} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_fancyindex} .endif .endif .if ${PORT_OPTIONS:MHTTP_FOOTER} NGINX_FOOTER_VERSION= 1.2.2 GH_ACCOUNT+= alibaba:footer GH_PROJECT+= nginx-http-footer-filter:footer GH_TAGNAME+= ${NGINX_FOOTER_VERSION}:footer CONFIGURE_ARGS+=--add-module=${WRKSRC_footer} .endif .if ${PORT_OPTIONS:MHTTP_GEOIP2} # WWW: https://github.com/leev/ngx_http_geoip2_module NGINX_HTTP_GEOIP2_VERSION= 2.0 GH_ACCOUNT+= leev:geoip2 GH_PROJECT+= ngx_http_geoip2_module:geoip2 GH_TAGNAME+= ${NGINX_HTTP_GEOIP2_VERSION}:geoip2 CFLAGS+= "-I${LOCALBASE}/include" .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_geoip2} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_geoip2} .endif LIB_DEPENDS+= libmaxminddb.so:net/libmaxminddb .endif .if ${PORT_OPTIONS:MHTTP_FLV} CONFIGURE_ARGS+=--with-http_flv_module .endif .if ${PORT_OPTIONS:MHTTP_JSON_STATUS} NGINX_JSON_STATUS_VERSION= 1d2f303 GH_ACCOUNT+= nginx-modules:json_status GH_PROJECT+= ngx_http_json_status_module:json_status GH_TAGNAME+= ${NGINX_JSON_STATUS_VERSION}:json_status CONFIGURE_ARGS+=--add-module=${WRKSRC_json_status} .endif .if ${PORT_OPTIONS:MHTTP_GEOIP} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_geoip_module=dynamic .else CONFIGURE_ARGS+=--with-http_geoip_module .endif LIB_DEPENDS+= libGeoIP.so:net/GeoIP .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_GUNZIP_FILTER} CONFIGURE_ARGS+=--with-http_gunzip_module .endif .if ${PORT_OPTIONS:MHTTP_IMAGE_FILTER} LIB_DEPENDS+= libgd.so:graphics/gd .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_image_filter_module=dynamic .else CONFIGURE_ARGS+=--with-http_image_filter_module .endif .endif .if ${PORT_OPTIONS:MHTTP_MP4} CONFIGURE_ARGS+=--with-http_mp4_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c .endif .if ${PORT_OPTIONS:MHTTP_MP4_H264} NGINX_H264_VERSION= 2.2.7 MASTER_SITES+= http://h264.code-shop.com/download/:mp4streaming DISTFILES+= nginx_mod_h264_streaming-${NGINX_H264_VERSION}.tar.gz:mp4streaming CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 3c95966 GH_ACCOUNT+= kr:notice GH_PROJECT+= nginx-notice:notice GH_TAGNAME+= ${GIT_NOTICE_VERSION}:notice CONFIGURE_ARGS+=--add-module=${WRKSRC_notice} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_perl_module=dynamic .else CONFIGURE_ARGS+=--with-http_perl_module .endif USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} GIT_PUSH_VERSION= 0.99.16 GH_ACCOUNT+= slact:push GH_PROJECT+= nchan:push GH_TAGNAME+= v${GIT_PUSH_VERSION}:push CONFIGURE_ARGS+=--add-module=${WRKSRC_push} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.5.1 GH_ACCOUNT+= wandenberg:pushstream GH_PROJECT+= nginx-push-stream-module:pushstream GH_TAGNAME+= ${NGINX_PUSH_STREAM_VERSION}:pushstream CONFIGURE_ARGS+=--add-module=${WRKSRC_pushstream} .endif .if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX} CONFIGURE_ARGS+=--with-http_random_index_module .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.8 MASTER_SITES+= LOCAL/osa:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_SUBS_FILTER} NGINX_HTTP_SUBS_FILTER_VERSION= 0.6.4 GH_ACCOUNT+= yaoweibin:subs_filter GH_PROJECT+= ngx_http_substitutions_filter_module:subs_filter GH_TAGNAME+= v${NGINX_HTTP_SUBS_FILTER_VERSION}:subs_filter CONFIGURE_ARGS+=--add-module=${WRKSRC_subs_filter} .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} LIB_DEPENDS+= libmsgpuck.so:devel/msgpuck \ libyajl.so:devel/yajl GH_ACCOUNT+= tarantool:nginx_tarantool GH_PROJECT+= nginx_upstream_module:nginx_tarantool GH_TAGNAME+= 1278ee5:nginx_tarantool .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_nginx_tarantool} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_nginx_tarantool} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config .endif .if ${PORT_OPTIONS:MHTTP_SECURE_LINK} CONFIGURE_ARGS+=--with-http_secure_link_module .endif .if ${PORT_OPTIONS:MHTTP_SLICE} CONFIGURE_ARGS+=--with-http_slice_module .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_SUB} CONFIGURE_ARGS+=--with-http_sub_module .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD} GIT_UPLOAD_VERSION= 72ec037 GH_ACCOUNT+= Austinb:upload GH_PROJECT+= nginx-upload-module:upload GH_TAGNAME+= ${GIT_UPLOAD_VERSION}:upload CONFIGURE_ARGS+=--add-module=${WRKSRC_upload} .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GH_ACCOUNT+= masterzen:uploadprogress GH_PROJECT+= nginx-upload-progress-module:uploadprogress GH_TAGNAME+= v${NGINX_UPLOADPROGRESS_VERSION}:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKSRC_uploadprogress} .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_CHECK) # WWW: https://github.com/yaoweibin/nginx_upstream_check_module NGINX_UPSTREAM_CHECK_VERSION= 10782ea GH_ACCOUNT+= yaoweibin:upstreamcheck GH_PROJECT+= nginx_upstream_check_module:upstreamcheck GH_TAGNAME+= ${NGINX_UPSTREAM_CHECK_VERSION}:upstreamcheck CONFIGURE_ARGS+=--add-module=${WRKSRC_upstreamcheck} 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 .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) NGINX_UPSTREAM_FAIR_VERSION= b5be36f GH_ACCOUNT+= cryptofuture:upstreamfair GH_PROJECT+= nginx-upstream-fair:upstreamfair GH_TAGNAME+= ${NGINX_UPSTREAM_FAIR_VERSION}:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKSRC_upstreamfair} #.if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_CHECK) #EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_upstream_fair_module.c #.endif .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY} USE_HTTP_SSL= yes NGINX_UPSTREAM_STICKY_VERSION= 08a395c66e42 MASTER_SITES+= https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/:upstreamsticky DISTFILES+= ${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-${NGINX_UPSTREAM_STICKY_VERSION}/ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sticky_misc.c .endif .if ${PORT_OPTIONS:MHTTP_VIDEO_THUMBEXTRACTOR} NGINX_VIDEO_THUMBEXTRACTOR_VERSION= 0.7.0 LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg \ libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg USES+= jpeg GH_ACCOUNT+= wandenberg:vte GH_PROJECT+= nginx-video-thumbextractor-module:vte GH_TAGNAME+= ${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}:vte CONFIGURE_ARGS+=--add-module=${WRKSRC_vte} .endif .if ${PORT_OPTIONS:MHTTP_XSLT} USE_GNOME+= libxml2 libxslt .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-http_xslt_module=dynamic .else CONFIGURE_ARGS+=--with-http_xslt_module .endif .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 74ef235 GH_ACCOUNT+= anthonyryan1:mod_zip GH_PROJECT+= mod_zip:mod_zip GH_TAGNAME+= ${NGINX_ZIP_VERSION}:mod_zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:databases/libdrizzle CONFIGURE_ENV+= "LIBDRIZZLE_INC=${LOCALBASE}/include" CONFIGURE_ENV+= "LIBDRIZZLE_LIB=${LOCALBASE}/lib" NGINX_DRIZZLE_VERSION= 0.1.9 GH_ACCOUNT+= openresty:drizzle GH_PROJECT+= drizzle-nginx-module:drizzle GH_TAGNAME+= v${NGINX_DRIZZLE_VERSION}:drizzle CONFIGURE_ARGS+=--add-module=${WRKSRC_drizzle} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config \ ${PATCHDIR}/extra-patch-ngx_http_drizzle_upstream.c .endif .if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM} NGINX_DYNAMIC_UPSTREAM_VERSION= 0.1.3 GH_ACCOUNT+= cubicdaiya:dyn_upstream GH_PROJECT+= ngx_dynamic_upstream:dyn_upstream GH_TAGNAME+= v${NGINX_DYNAMIC_UPSTREAM_VERSION}:dyn_upstream .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_dyn_upstream} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_dyn_upstream} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_inet_slab.c .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC} NGINX_DEVEL_KIT_VERSION= 0.3.0 GH_ACCOUNT+= simpl:devel_kit GH_PROJECT+= ngx_devel_kit:devel_kit GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.06 GH_ACCOUNT+= openresty:encryptsession GH_PROJECT+= encrypted-session-nginx-module:encryptsession GH_TAGNAME+= v${NGINX_ENCRYPTSESSION_VERSION}:encryptsession CONFIGURE_ARGS+=--add-module=${WRKSRC_encryptsession} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 MONGO_C_DRIVER_VERSION= 0.3.1 GH_ACCOUNT+= mdirolf:gridfs mongodb:mongo_c GH_PROJECT+= nginx-gridfs:gridfs mongo-c-driver:mongo_c GH_TAGNAME+= v${NGINX_GRIDFS_VERSION}:gridfs v${MONGO_C_DRIVER_VERSION}:mongo_c CONFIGURE_ARGS+=--add-module=${WRKSRC_gridfs} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GH_ACCOUNT+= arut:let GH_PROJECT+= nginx-let-module:let GH_TAGNAME+= v${NGINX_LET_VERSION}:let CONFIGURE_ARGS+=--add-module=${WRKSRC_let} .endif .if ${PORT_OPTIONS:MLUA} LIB_DEPENDS+= libluajit-5.1.so:lang/luajit CONFIGURE_ENV+= "LUAJIT_INC=${LOCALBASE}/include/luajit-2.0" CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib" NGINX_LUA_VERSION= 0.10.8 GH_ACCOUNT+= openresty:lua GH_PROJECT+= lua-nginx-module:lua GH_TAGNAME+= v${NGINX_LUA_VERSION}:lua .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_lua} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_lua} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_lua_common.h \ ${PATCHDIR}/extra-patch-ngx_http_lua_headers.c \ ${PATCHDIR}/extra-patch-ngx_http_lua_headers.h \ ${PATCHDIR}/extra-patch-ngx_http_lua_module.c \ ${PATCHDIR}/extra-patch-ngx_http_lua_ssl_ocsp.c .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.18 GH_ACCOUNT+= openresty:memc GH_PROJECT+= memc-nginx-module:memc GH_TAGNAME+= v${NGINX_MEMC_VERSION}:memc .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_memc} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_memc} .endif .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.9.1 LIB_DEPENDS+= libapr-1.so:devel/apr1 \ libcurl.so:ftp/curl \ libluajit-5.1.so:lang/luajit \ libpcre.so:devel/pcre \ libyajl.so:devel/yajl USE_APACHE= 22+ USE_GNOME+= libxml2 USES+= pkgconfig shebangfix MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION:S/RC/rc/}/:modsecurity DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-configure \ ${PATCHDIR}/extra-patch-ngx_http_modsecurity.c .endif .if ${PORT_OPTIONS:MMODSECURITY_DEVEL} LIB_DEPENDS+= libmodsecurity.so.3:www/mod_security-devel GH_TUPLE+= SpiderLabs:ModSecurity-nginx:abbf2c4:modsec CONFIGURE_ARGS+=--add-module=${WRKSRC_modsec} .endif .if ${PORT_OPTIONS:MNAXSI} NGINX_NAXSI_VERSION= 0.54 GH_ACCOUNT+= nbs-system:naxsi GH_PROJECT+= naxsi:naxsi GH_TAGNAME+= ${NGINX_NAXSI_VERSION}:naxsi CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_src .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} || defined(USE_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if ${PORT_OPTIONS:MPASSENGER} PASSENGER_VERSION= 5.1.8 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-passenger-build-nginx.rb .if empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql NGINX_POSTGRES_VERSION= 1.0rc7 GH_ACCOUNT+= FRiCKLE:postgres GH_PROJECT+= ngx_postgres:postgres GH_TAGNAME+= ${NGINX_POSTGRES_VERSION}:postgres CONFIGURE_ARGS+=--add-module=${WRKSRC_postgres} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config \ ${PATCHDIR}/extra-patch-ngx_postgres_module.c .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.07 GH_ACCOUNT+= openresty:rdscsv GH_PROJECT+= rds-csv-nginx-module:rdscsv GH_TAGNAME+= v${NGINX_RDS_CSV_VERSION}:rdscsv CONFIGURE_ARGS+=--add-module=${WRKSRC_rdscsv} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.14 GH_ACCOUNT+= openresty:rdsjson GH_PROJECT+= rds-json-nginx-module:rdsjson GH_TAGNAME+= v${NGINX_RDS_JSON_VERSION}:rdsjson CONFIGURE_ARGS+=--add-module=${WRKSRC_rdsjson} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.12 GH_ACCOUNT+= openresty:redis2 GH_PROJECT+= redis2-nginx-module:redis2 GH_TAGNAME+= v${NGINX_REDIS2_VERSION}:redis2 CONFIGURE_ARGS+=--add-module=${WRKSRC_redis2} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_redis2_util.c .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.1.8 GH_ACCOUNT+= arut:rtmp GH_PROJECT+= nginx-rtmp-module:rtmp GH_TAGNAME+= v${NGINX_RTMP_VERSION}:rtmp CONFIGURE_ARGS+=--add-module=${WRKSRC_rtmp} .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= f808ef4 GH_ACCOUNT+= openresty:setmisc GH_PROJECT+= set-misc-nginx-module:setmisc GH_TAGNAME+= ${NGINX_SET_MISC_VERSION}:setmisc .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_setmisc} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_setmisc} .endif .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 543c72a GH_ACCOUNT+= sflow:sflow GH_PROJECT+= nginx-sflow-module:sflow GH_TAGNAME+= ${NGINX_SFLOW_VERSION}: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 .endif .if ${PORT_OPTIONS:MSHIBBOLETH} GIT_SHIBBOLETH_VERSION= 4f1119b GH_ACCOUNT+= nginx-shib:shib GH_PROJECT+= nginx-http-shibboleth:shib GH_TAGNAME+= ${GIT_SHIBBOLETH_VERSION}:shib CONFIGURE_ARGS+=--add-module=${WRKSRC_shib} .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} NGINX_SMALL_LIGHT_VERSION= 0.8.0 LIB_DEPENDS+= ${IMAGEMAGICK_LIB_DEPENDS} \ libpcre.so:devel/pcre GH_ACCOUNT+= cubicdaiya:small_light GH_PROJECT+= ngx_small_light:small_light GH_TAGNAME+= v${NGINX_SMALL_LIGHT_VERSION}:small_light .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_small_light} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_small_light} .endif .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.30 GH_ACCOUNT+= openresty:srcache GH_PROJECT+= srcache-nginx-module:srcache GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache} .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.05 GH_ACCOUNT+= openresty:xss GH_PROJECT+= xss-nginx-module:xss GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss CONFIGURE_ARGS+=--add-module=${WRKSRC_xss} .endif .if ${PORT_OPTIONS:MHTTPV2} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_v2_module .endif .if ${PORT_OPTIONS:MNJS} GH_ACCOUNT+= nginx:njs GH_PROJECT+= njs:njs GH_TAGNAME+= 753ebe6:njs .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_njs}/nginx .else CONFIGURE_ARGS+=--add-module=${WRKSRC_njs}/nginx .endif .endif .if ${PORT_OPTIONS:MSTREAM} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-stream=dynamic .else CONFIGURE_ARGS+=--with-stream .endif .if ${PORT_OPTIONS:MSTREAM_SSL} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-stream_ssl_module .if ${PORT_OPTIONS:MSTREAM_SSL_PREREAD} CONFIGURE_ARGS+=--with-stream_ssl_preread_module .endif .endif .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--with-mail=dynamic .else CONFIGURE_ARGS+=--with-mail .endif .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MHTTP_SSL} || defined(USE_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.05 GH_ACCOUNT+= openresty:arrayvar GH_PROJECT+= array-var-nginx-module:arrayvar GH_TAGNAME+= v${NGINX_ARRAYVAR_VERSION}:arrayvar CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar} .endif .if ${PORT_OPTIONS:MBROTLI} NGINX_BROTLI_VERSION= 12529813 LIB_DEPENDS+= libbrotlicommon.so:archivers/brotli GH_ACCOUNT+= google:brotli GH_PROJECT+= ngx_brotli:brotli GH_TAGNAME+= ${NGINX_BROTLI_VERSION}:brotli .if !empty(PORT_OPTIONS:MDSO) CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_brotli} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_brotli} .endif .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.12 GH_ACCOUNT+= calio:forminput GH_PROJECT+= form-input-nginx-module:forminput GH_TAGNAME+= v${NGINX_FORMINPUT_VERSION}:forminput CONFIGURE_ARGS+=--add-module=${WRKSRC_forminput} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.14 GH_ACCOUNT+= calio:iconv GH_PROJECT+= iconv-nginx-module:iconv GH_TAGNAME+= v${NGINX_ICONV_VERSION}:iconv CONFIGURE_ARGS+=--add-module=${WRKSRC_iconv} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} NGINX_LOGDIR=${NGINX_LOGDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(NGINX_OPENSSL) USES+= ssl BROKEN_SSL= openssl-devel BROKEN_SSL_REASON_openssl-devel= undefined reference to SSLeay_version .endif pre-everything:: @${ECHO_MSG} .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif .if ${PORT_OPTIONS:MPASSENGER} @${ECHO_MSG} "This port install Passenger module only" .endif @${ECHO_MSG} post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKSRC_gridfs}/mongo-c-driver/ @${MV} ${WRKSRC_mongo_c} ${WRKSRC_gridfs}/mongo-c-driver .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!; \ s!%%NGINX_ERRORLOG%%!${NGINX_ERRORLOG}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ '128s!NGX_OK!NGX_DECLINED!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/ngx_http_accesskey_module.c .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} @${REINPLACE_CMD} \ 's!%%GSSAPILIBS%%!${GSSAPILIBS}!' \ ${WRKSRC_auth_krb5}/config .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config .endif # linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_drizzle}/config .endif .if ${PORT_OPTIONS:MFASTDFS} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${PREFIX}!g; \ s!%%LOCALBASE%%!${LOCALBASE}!g' \ ${WRKSRC_fastdfs}/src/config .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKSRC_gridfs}/config .endif .if ${PORT_OPTIONS:MPASSENGER} @${REINPLACE_CMD} \ '177,179s!true!false!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/basics.rb @${REINPLACE_CMD} \ 's!-I/usr/include/libev!!; \ s!-lev!!; \ s!-Iext/libev!!; \ s!-I/usr/include/libeio!!; \ s!-leio!!; \ s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_postgres}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_iconv}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/configure .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_nginx_tarantool}/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module \ --with-pcre=${LOCALBASE} --with-yajl=${LOCALBASE} \ --with-curl=${LOCALBASE} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} ( cd ${WRKSRC_small_light} && ./setup ) .endif do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} .if !empty(PORT_OPTIONS:MDSO) ${MKDIR} ${STAGEDIR}${MODULESDIR} .endif ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${MKDIR} ${STAGEDIR}${NGINX_LOGDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in fastcgi_params mime.types scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW) ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif .if ${PORT_OPTIONS:MFASTDFS} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fdfs ${INSTALL_DATA} ${WRKSRC_fastdfs}/src/mod_fastdfs.conf ${STAGEDIR}${PREFIX}/etc/fdfs/mod_fastdfs.conf.sample .endif # Install dynamic modules .if !empty(PORT_OPTIONS:MDSO) (cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \ -exec ${INSTALL_PROGRAM} {} ${STAGEDIR}${MODULESDIR} \;) .endif .if ${PORT_OPTIONS:MNAXSI} ${INSTALL_DATA} \ ${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \ ${STAGEDIR}${ETCDIR} .endif post-install: .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MNAXSI} ${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MFASTDFS} ${ECHO_CMD} @sample etc/fdfs/mod_fastdfs.conf.sample >> ${TMPPLIST} .endif # Add dynamic modules to the plist .if !empty(PORT_OPTIONS:MDSO) (cd ${STAGEDIR}${PREFIX} && ${FIND} ${MODULESDIR:S|${PREFIX}/||} \ ! -type d >>${TMPPLIST}) .endif ${CAT} ${WRKSRC}/conf/nginx.conf \ >>${STAGEDIR}${ETCDIR}/nginx.conf-dist .include Index: head/www/nginx-devel/Makefile =================================================================== --- head/www/nginx-devel/Makefile (revision 451900) +++ head/www/nginx-devel/Makefile (revision 451901) @@ -1,1353 +1,1351 @@ # Created by: Sergey A. Osokin # $FreeBSD$ PORTNAME= nginx PORTVERSION= 1.13.6 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa PKGNAMESUFFIX?= -devel DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= osa@FreeBSD.org COMMENT?= Robust and small WWW server LICENSE= BSD2CLAUSE USES+= cpe CPE_VENDOR= nginx CPE_PRODUCT= nginx USE_GITHUB= nodefault NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DSO \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ GOOGLE_PERFTOOLS \ HTTP \ HTTP_ADDITION \ HTTP_AUTH_REQ \ HTTP_CACHE \ HTTP_DAV \ HTTP_FLV \ HTTP_GEOIP \ HTTP_GZIP_STATIC \ HTTP_GUNZIP_FILTER \ HTTP_IMAGE_FILTER \ HTTP_MP4 \ HTTP_PERL \ HTTP_RANDOM_INDEX \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SECURE_LINK \ HTTP_SLICE \ HTTP_SSL \ HTTP_STATUS \ HTTP_SUB \ HTTP_XSLT \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ HTTPV2 \ NJS \ STREAM \ STREAM_SSL \ STREAM_SSL_PREREAD \ THREADS \ WWW \ AJP \ AWS_AUTH \ CACHE_PURGE \ CLOJURE \ CT \ ECHO \ FASTDFS \ 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_JSON_STATUS \ HTTP_MOGILEFS \ HTTP_MP4_H264 \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_SUBS_FILTER \ HTTP_TARANTOOL \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_CHECK \ HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY \ HTTP_VIDEO_THUMBEXTRACTOR \ HTTP_ZIP \ ARRAYVAR \ BROTLI \ DRIZZLE \ DYNAMIC_UPSTREAM \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ LUA \ MEMC \ MODSECURITY \ NAXSI \ PASSENGER \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SHIBBOLETH \ SLOWFS_CACHE \ SMALL_LIGHT \ SRCACHE \ VOD \ X11 \ XSS OPTIONS_DEFAULT?=DSO FILE_AIO HTTP HTTP_ADDITION HTTP_AUTH_REQ HTTP_CACHE \ HTTP_DAV HTTP_FLV HTTP_GZIP_STATIC HTTP_GUNZIP_FILTER \ HTTP_MP4 HTTP_RANDOM_INDEX HTTP_REALIP HTTP_SECURE_LINK \ HTTP_SLICE HTTP_REWRITE HTTP_SSL HTTP_STATUS HTTP_SUB \ HTTPV2 MAIL MAIL_SSL STREAM STREAM_SSL STREAM_SSL_PREREAD \ THREADS WWW DSO_DESC= Enable dynamic modules support DEBUG_DESC= Build with debugging support DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio IPV6_DESC= Enable IPv6 support GOOGLE_PERFTOOLS_DESC= Enable google perftools module HTTP_DESC= Enable HTTP module HTTP_ADDITION_DESC= Enable http_addition module HTTP_AUTH_REQ_DESC= Enable http_auth_request module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_FLV_DESC= Enable http_flv module HTTP_GEOIP_DESC= Enable http_geoip module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_GUNZIP_FILTER_DESC= Enable http_gunzip_filter module HTTP_IMAGE_FILTER_DESC= Enable http_image_filter module HTTP_MP4_DESC= Enable http_mp4 module HTTP_PERL_DESC= Enable http_perl module HTTP_RANDOM_INDEX_DESC= Enable http_random_index module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SECURE_LINK_DESC= Enable http_secure_link module HTTP_SLICE_DESC= Enable http_slice module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module HTTP_SUB_DESC= Enable http_sub module HTTP_XSLT_DESC= Enable http_xslt module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.) NJS_DESC= Enable http_javascript module STREAM_DESC= Enable stream module STREAM_SSL_DESC= Enable stream_ssl module (SSL req.) STREAM_SSL_PREREAD_DESC= Enable stream_ssl_preread module (SSL req.) THREADS_DESC= Enable threads support WWW_DESC= Enable html sample files AJP_DESC= 3rd party ajp module AWS_AUTH_DESC= 3rd party aws auth module CACHE_PURGE_DESC= 3rd party cache_purge module CLOJURE_DESC= 3rd party clojure module CT_DESC= 3rd party cert_transparency module (SSL req.) ECHO_DESC= 3rd party echo module FASTDFS_DESC= 3rd party fastdfs module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_KRB5_DESC= 3rd party http_auth_gss module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_FOOTER_DESC= 3rd party http_footer module HTTP_GEOIP2_DESC= 3rd party geoip2 module HTTP_JSON_STATUS_DESC= 3rd party http_json_status module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_MP4_H264_DESC= 3rd party mp4/h264 module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_SUBS_FILTER_DESC= 3rd party subs filter module HTTP_TARANTOOL_DESC= 3rd party tarantool upstream module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_CHECK_DESC= 3rd party upstream check module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_UPSTREAM_STICKY_DESC= 3rd party upstream sticky module HTTP_VIDEO_THUMBEXTRACTOR_DESC= 3rd party video_thumbextractor module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module BROTLI_DESC= 3rd party brotli module DRIZZLE_DESC= 3rd party drizzlie module DYNAMIC_UPSTREAM_DESC= 3rd party dynamic_upstream module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module LUA_DESC= 3rd party lua module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module NAXSI_DESC= 3rd party naxsi module PASSENGER_DESC= 3rd party passenger module POSTGRES_DESC= 3rd party postgres module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SHIBBOLETH_DESC= 3rd party shibboleth module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SMALL_LIGHT_DESC= 3rd party small_light module SRCACHE_DESC= 3rd party srcache module VOD_DESC= 3rd party vod module X11_DESC= graphics/ImageMagick[-nox11] dependency XSS_DESC= 3rd party xss module VIDEO_DESC= Video module support -WANT_GNOME= yes - .include .if ${PORT_OPTIONS:MX11} IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick .else IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick-nox11 .endif .if ${PORT_OPTIONS:MPASSENGER} CATEGORIES+= ruby USE_RUBY= yes BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:devel/rubygem-rake RAKE_BIN= ${LOCALBASE}/bin/rake .endif NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log/nginx NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/error.log CONFLICTS?= nginx-1.* \ nginx-full-1.* \ nginx-lite-1.* \ nginx-naxsi-1.* USE_RC_SUBR= nginx SUB_FILES= pkg-message SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} \ PREFIX=${PREFIX} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if ${PORT_OPTIONS:MDSO} MODULESDIR= ${PREFIX}/libexec/${PORTNAME} CONFIGURE_ARGS+=--modules-path=${MODULESDIR} .endif .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= #do not strip if nginx with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if empty(PORT_OPTIONS:MIPV6) CONFIGURE_ARGS+=--with-cc-opt="-DNGX_HAVE_INET6=0 -I ${LOCALBASE}/include" .else CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MGOOGLE_PERFTOOLS} LIB_DEPENDS+= libprofiler.so:devel/google-perftools CONFIGURE_ARGS+=--with-google_perftools_module .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 GH_ACCOUNT+= giom:accept_language GH_PROJECT+= nginx_accept_language_module:accept_language GH_TAGNAME+= ${GIT_ACCEPT_LANGUAGE_VERSION}:accept_language CONFIGURE_ARGS+=--add-module=${WRKSRC_accept_language} .endif .if ${PORT_OPTIONS:MHTTP_ADDITION} CONFIGURE_ARGS+=--with-http_addition_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= 519dc2a GH_ACCOUNT+= atomx:auth_digest GH_PROJECT+= nginx-http-auth-digest:auth_digest GH_TAGNAME+= ${GIT_AUTH_DIGEST_VERSION}:auth_digest .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_auth_digest} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_digest} .endif .endif .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} GIT_HTTP_AUTH_KRB5_VERSION= 0c6ff3f GH_ACCOUNT+= stnoonan:auth_krb5 GH_PROJECT+= spnego-http-auth-nginx-module:auth_krb5 GH_TAGNAME+= ${GIT_HTTP_AUTH_KRB5_VERSION}:auth_krb5 CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_krb5} #EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-spnego-http-auth-nginx-module-config #OPTIONS_RADIO+= GSSAPI #OPTIONS_RADIO_GSSAPI+= GSSAPI_HEIMDAL GSSAPI_MIT #GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags #GSSAPI_MIT_USES= gssapi:mit .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= dbcef31 GH_ACCOUNT+= kvspb:http_auth_ldap GH_PROJECT+= nginx-auth-ldap:http_auth_ldap GH_TAGNAME+= ${GIT_HTTP_AUTH_LDAP_VERSION}:http_auth_ldap .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_http_auth_ldap} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_http_auth_ldap} .endif USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} GIT_HTTP_AUTH_PAM_VERSION= 1.5.1 GH_ACCOUNT+= sto:auth_pam GH_PROJECT+= ngx_http_auth_pam_module:auth_pam GH_TAGNAME+= v${GIT_HTTP_AUTH_PAM_VERSION}:auth_pam .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_auth_pam} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_auth_pam} .endif .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} CONFIGURE_ARGS+=--with-http_auth_request_module .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MAJP} NGINX_AJP_VERSION= bf6cd93 GH_ACCOUNT+= yaoweibin:ajp GH_PROJECT+= nginx_ajp_module:ajp GH_TAGNAME+= ${NGINX_AJP_VERSION}:ajp CONFIGURE_ARGS+=--add-module=${WRKSRC_ajp} .endif .if ${PORT_OPTIONS:MAWS_AUTH} NGINX_AWS_AUTH_VERSION= 1e62670 GH_ACCOUNT+= anomalizer:aws_auth GH_PROJECT+= ngx_aws_auth:aws_auth GH_TAGNAME+= ${NGINX_AWS_AUTH_VERSION}:aws_auth CONFIGURE_ARGS+=--add-module=${WRKSRC_aws_auth} .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.3 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MCLOJURE} CATEGORIES+= java USE_JAVA= yes JAVA_OS= native JAVA_VERSION= 1.8 JAVA_VENDOR= openjdk JAVA_BUILD= yes JAVA_RUN= yes NGINX_CLOJURE_VERSION= 0.4.5 GH_ACCOUNT+= nginx-clojure:clojure GH_PROJECT+= nginx-clojure:clojure GH_TAGNAME+= v${NGINX_CLOJURE_VERSION}:clojure CONFIGURE_ENV+= "JNI_INCS=-I${LOCALBASE}/openjdk8/include -I${LOCALBASE}/openjdk8/include/freebsd" CONFIGURE_ARGS+=--add-module=${WRKSRC_clojure}/src/c .endif .if ${PORT_OPTIONS:MCT} GIT_CT_VERSION= 1.3.2 GH_ACCOUNT+= grahamedgecombe:ct GH_PROJECT+= nginx-ct:ct GH_TAGNAME+= v${GIT_CT_VERSION}:ct .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_ct} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_ct} .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base IGNORE= CT option requires OpenSSL 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf .endif .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 46334b3 GH_ACCOUNT+= openresty:echo GH_PROJECT+= echo-nginx-module:echo GH_TAGNAME+= ${NGINX_ECHO_VERSION}:echo .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_echo} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_echo} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_echo_request_info.c .endif .if ${PORT_OPTIONS:MFASTDFS} NGINX_FASTDFS_VERSION= 5a8110f GH_ACCOUNT+= happyfish100:fastdfs GH_PROJECT+= fastdfs-nginx-module:fastdfs GH_TAGNAME+= ${NGINX_FASTDFS_VERSION}:fastdfs EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-fastdfs-src-config BUILD_DEPENDS+= ${LOCALBASE}/include/fastcommon/logger.h:devel/libfastcommon \ ${LOCALBASE}/include/fastdfs/fdfs_client.h:ftp/fastdfs LIB_DEPENDS+= libfastcommon.so:devel/libfastcommon \ libfdfsclient.so:ftp/fastdfs CONFIGURE_ARGS+=--add-module=${WRKSRC_fastdfs}/src \ --with-cc-opt="-I ${LOCALBASE}/include/fastdfs \ -I ${LOCALBASE}/include/fastcommon" .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= 84241e4 GH_ACCOUNT+= openresty:headers_more GH_PROJECT+= headers-more-nginx-module:headers_more GH_TAGNAME+= ${NGINX_HEADERS_MORE_VERSION}:headers_more .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_headers_more} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_headers_more} .endif .endif .if ${PORT_OPTIONS:MHTTP_DAV} || defined(USE_HTTP_DAV) CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} USE_HTTP_DAV= yes LIB_DEPENDS+= libexpat.so:textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.3 GH_ACCOUNT+= arut:dav_ext GH_PROJECT+= nginx-dav-ext-module:dav_ext GH_TAGNAME+= v${NGINX_DAV_EXT_VERSION}:dav_ext CONFIGURE_ARGS+=--add-module=${WRKSRC_dav_ext} .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 342c812 GH_ACCOUNT+= openresty:eval GH_PROJECT+= nginx-eval-module:eval GH_TAGNAME+= ${NGINX_EVAL_VERSION}:eval .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_eval} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.4.1 GH_ACCOUNT+= aperezdc:fancyindex GH_PROJECT+= ngx-fancyindex:fancyindex GH_TAGNAME+= v${NGINX_FANCYINDEX_VERSION}:fancyindex .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_fancyindex} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_fancyindex} .endif .endif .if ${PORT_OPTIONS:MHTTP_FOOTER} NGINX_FOOTER_VERSION= 1.2.2 GH_ACCOUNT+= alibaba:footer GH_PROJECT+= nginx-http-footer-filter:footer GH_TAGNAME+= ${NGINX_FOOTER_VERSION}:footer CONFIGURE_ARGS+=--add-module=${WRKSRC_footer} .endif .if ${PORT_OPTIONS:MHTTP_GEOIP2} # WWW: https://github.com/leev/ngx_http_geoip2_module NGINX_HTTP_GEOIP2_VERSION= 2.0 GH_ACCOUNT+= leev:geoip2 GH_PROJECT+= ngx_http_geoip2_module:geoip2 GH_TAGNAME+= ${NGINX_HTTP_GEOIP2_VERSION}:geoip2 CFLAGS+= "-I${LOCALBASE}/include" .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_geoip2} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_geoip2} .endif LIB_DEPENDS+= libmaxminddb.so:net/libmaxminddb .endif .if ${PORT_OPTIONS:MHTTP_FLV} CONFIGURE_ARGS+=--with-http_flv_module .endif .if ${PORT_OPTIONS:MHTTP_JSON_STATUS} NGINX_JSON_STATUS_VERSION= 1d2f303 GH_ACCOUNT+= nginx-modules:json_status GH_PROJECT+= ngx_http_json_status_module:json_status GH_TAGNAME+= ${NGINX_JSON_STATUS_VERSION}:json_status CONFIGURE_ARGS+=--add-module=${WRKSRC_json_status} .endif .if ${PORT_OPTIONS:MHTTP_GEOIP} .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--with-http_geoip_module=dynamic .else CONFIGURE_ARGS+=--with-http_geoip_module .endif LIB_DEPENDS+= libGeoIP.so:net/GeoIP .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_GUNZIP_FILTER} CONFIGURE_ARGS+=--with-http_gunzip_module .endif .if ${PORT_OPTIONS:MHTTP_IMAGE_FILTER} LIB_DEPENDS+= libgd.so:graphics/gd .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--with-http_image_filter_module=dynamic .else CONFIGURE_ARGS+=--with-http_image_filter_module .endif .endif .if ${PORT_OPTIONS:MHTTP_MP4} CONFIGURE_ARGS+=--with-http_mp4_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_mogilefs_module.c .endif .if ${PORT_OPTIONS:MHTTP_MP4_H264} NGINX_H264_VERSION= 2.2.7 MASTER_SITES+= http://h264.code-shop.com/download/:mp4streaming DISTFILES+= nginx_mod_h264_streaming-${NGINX_H264_VERSION}.tar.gz:mp4streaming CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_streaming_module.c .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 3c95966 GH_ACCOUNT+= kr:notice GH_PROJECT+= nginx-notice:notice GH_TAGNAME+= ${GIT_NOTICE_VERSION}:notice CONFIGURE_ARGS+=--add-module=${WRKSRC_notice} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--with-http_perl_module=dynamic .else CONFIGURE_ARGS+=--with-http_perl_module .endif USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} GIT_PUSH_VERSION= 0.99.16 GH_ACCOUNT+= slact:push GH_PROJECT+= nchan:push GH_TAGNAME+= v${GIT_PUSH_VERSION}:push CONFIGURE_ARGS+=--add-module=${WRKSRC_push} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.5.1 GH_ACCOUNT+= wandenberg:pushstream GH_PROJECT+= nginx-push-stream-module:pushstream GH_TAGNAME+= ${NGINX_PUSH_STREAM_VERSION}:pushstream CONFIGURE_ARGS+=--add-module=${WRKSRC_pushstream} .endif .if ${PORT_OPTIONS:MHTTP_RANDOM_INDEX} CONFIGURE_ARGS+=--with-http_random_index_module .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.8 MASTER_SITES+= LOCAL/osa:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_SUBS_FILTER} NGINX_HTTP_SUBS_FILTER_VERSION= 0.6.4 GH_ACCOUNT+= yaoweibin:subs_filter GH_PROJECT+= ngx_http_substitutions_filter_module:subs_filter GH_TAGNAME+= v${NGINX_HTTP_SUBS_FILTER_VERSION}:subs_filter CONFIGURE_ARGS+=--add-module=${WRKSRC_subs_filter} .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} LIB_DEPENDS+= libmsgpuck.so:devel/msgpuck \ libyajl.so:devel/yajl GH_ACCOUNT+= tarantool:nginx_tarantool GH_PROJECT+= nginx_upstream_module:nginx_tarantool GH_TAGNAME+= 1278ee5:nginx_tarantool .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_nginx_tarantool} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_nginx_tarantool} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config .endif .if ${PORT_OPTIONS:MHTTP_SECURE_LINK} CONFIGURE_ARGS+=--with-http_secure_link_module .endif .if ${PORT_OPTIONS:MHTTP_SLICE} CONFIGURE_ARGS+=--with-http_slice_module .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_SUB} CONFIGURE_ARGS+=--with-http_sub_module .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD} GIT_UPLOAD_VERSION= 72ec037 GH_ACCOUNT+= Austinb:upload GH_PROJECT+= nginx-upload-module:upload GH_TAGNAME+= ${GIT_UPLOAD_VERSION}:upload CONFIGURE_ARGS+=--add-module=${WRKSRC_upload} .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GH_ACCOUNT+= masterzen:uploadprogress GH_PROJECT+= nginx-upload-progress-module:uploadprogress GH_TAGNAME+= v${NGINX_UPLOADPROGRESS_VERSION}:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKSRC_uploadprogress} .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_CHECK} # WWW: https://github.com/yaoweibin/nginx_upstream_check_module NGINX_UPSTREAM_CHECK_VERSION= 10782ea GH_ACCOUNT+= yaoweibin:upstreamcheck GH_PROJECT+= nginx_upstream_check_module:upstreamcheck GH_TAGNAME+= ${NGINX_UPSTREAM_CHECK_VERSION}:upstreamcheck CONFIGURE_ARGS+=--add-module=${WRKSRC_upstreamcheck} 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 .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} NGINX_UPSTREAM_FAIR_VERSION= b5be36f GH_ACCOUNT+= cryptofuture:upstreamfair GH_PROJECT+= nginx-upstream-fair:upstreamfair GH_TAGNAME+= ${NGINX_UPSTREAM_FAIR_VERSION}:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKSRC_upstreamfair} #.if ${PORT_OPTIONS:MHTTP_UPSTREAM_CHECK} #EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_upstream_fair_module.c #.endif .endif .if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY} USE_HTTP_SSL= yes NGINX_UPSTREAM_STICKY_VERSION= 08a395c66e42 MASTER_SITES+= https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/:upstreamsticky DISTFILES+= ${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-goodies-nginx-sticky-module-ng-${NGINX_UPSTREAM_STICKY_VERSION}/ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sticky_misc.c .endif .if ${PORT_OPTIONS:MHTTP_VIDEO_THUMBEXTRACTOR} NGINX_VIDEO_THUMBEXTRACTOR_VERSION= 0.7.0 LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg \ libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg USES+= jpeg GH_ACCOUNT+= wandenberg:vte GH_PROJECT+= nginx-video-thumbextractor-module:vte GH_TAGNAME+= ${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}:vte CONFIGURE_ARGS+=--add-module=${WRKSRC_vte} .endif .if ${PORT_OPTIONS:MHTTP_XSLT} USE_GNOME+= libxml2 libxslt .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--with-http_xslt_module=dynamic .else CONFIGURE_ARGS+=--with-http_xslt_module .endif .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 74ef235 GH_ACCOUNT+= anthonyryan1:mod_zip GH_PROJECT+= mod_zip:mod_zip GH_TAGNAME+= ${NGINX_ZIP_VERSION}:mod_zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:databases/libdrizzle CONFIGURE_ENV+= "LIBDRIZZLE_INC=${LOCALBASE}/include" CONFIGURE_ENV+= "LIBDRIZZLE_LIB=${LOCALBASE}/lib" NGINX_DRIZZLE_VERSION= 0.1.9 GH_ACCOUNT+= openresty:drizzle GH_PROJECT+= drizzle-nginx-module:drizzle GH_TAGNAME+= v${NGINX_DRIZZLE_VERSION}:drizzle CONFIGURE_ARGS+=--add-module=${WRKSRC_drizzle} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-drizzle-nginx-module-config \ ${PATCHDIR}/extra-patch-ngx_http_drizzle_upstream.c .endif .if ${PORT_OPTIONS:MDYNAMIC_UPSTREAM} NGINX_DYNAMIC_UPSTREAM_VERSION= 0.1.3 GH_ACCOUNT+= cubicdaiya:dyn_upstream GH_PROJECT+= ngx_dynamic_upstream:dyn_upstream GH_TAGNAME+= v${NGINX_DYNAMIC_UPSTREAM_VERSION}:dyn_upstream .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_dyn_upstream} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_dyn_upstream} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_inet_slab.c .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MSET_MISC} NGINX_DEVEL_KIT_VERSION= 0.3.0 GH_ACCOUNT+= simpl:devel_kit GH_PROJECT+= ngx_devel_kit:devel_kit GH_TAGNAME+= v${NGINX_DEVEL_KIT_VERSION}:devel_kit CONFIGURE_ARGS+=--add-module=${WRKSRC_devel_kit} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.06 GH_ACCOUNT+= openresty:encryptsession GH_PROJECT+= encrypted-session-nginx-module:encryptsession GH_TAGNAME+= v${NGINX_ENCRYPTSESSION_VERSION}:encryptsession CONFIGURE_ARGS+=--add-module=${WRKSRC_encryptsession} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 MONGO_C_DRIVER_VERSION= 0.3.1 GH_ACCOUNT+= mdirolf:gridfs mongodb:mongo_c GH_PROJECT+= nginx-gridfs:gridfs mongo-c-driver:mongo_c GH_TAGNAME+= v${NGINX_GRIDFS_VERSION}:gridfs v${MONGO_C_DRIVER_VERSION}:mongo_c CONFIGURE_ARGS+=--add-module=${WRKSRC_gridfs} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GH_ACCOUNT+= arut:let GH_PROJECT+= nginx-let-module:let GH_TAGNAME+= v${NGINX_LET_VERSION}:let CONFIGURE_ARGS+=--add-module=${WRKSRC_let} .endif .if ${PORT_OPTIONS:MLUA} LIB_DEPENDS+= libluajit-5.1.so:lang/luajit CONFIGURE_ENV+= "LUAJIT_INC=${LOCALBASE}/include/luajit-2.0" CONFIGURE_ENV+= "LUAJIT_LIB=${LOCALBASE}/lib" NGINX_LUA_VERSION= 0.10.8 GH_ACCOUNT+= openresty:lua GH_PROJECT+= lua-nginx-module:lua GH_TAGNAME+= v${NGINX_LUA_VERSION}:lua .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_lua} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_lua} .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_lua_common.h \ ${PATCHDIR}/extra-patch-ngx_http_lua_headers.c \ ${PATCHDIR}/extra-patch-ngx_http_lua_headers.h \ ${PATCHDIR}/extra-patch-ngx_http_lua_module.c \ ${PATCHDIR}/extra-patch-ngx_http_lua_ssl_ocsp.c .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.18 GH_ACCOUNT+= openresty:memc GH_PROJECT+= memc-nginx-module:memc GH_TAGNAME+= v${NGINX_MEMC_VERSION}:memc .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_memc} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_memc} .endif .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.9.1 LIB_DEPENDS+= libapr-1.so:devel/apr1 \ libcurl.so:ftp/curl \ libluajit-5.1.so:lang/luajit \ libpcre.so:devel/pcre \ libyajl.so:devel/yajl USE_APACHE= 22+ USE_GNOME+= libxml2 USES+= pkgconfig shebangfix MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION:S/RC/rc/}/:modsecurity DISTFILES+= modsecurity-${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-configure \ ${PATCHDIR}/extra-patch-ngx_http_modsecurity.c .endif .if ${PORT_OPTIONS:MNAXSI} NGINX_NAXSI_VERSION= 0.54 GH_ACCOUNT+= nbs-system:naxsi GH_PROJECT+= naxsi:naxsi GH_TAGNAME+= ${NGINX_NAXSI_VERSION}:naxsi CONFIGURE_ARGS+=--add-module=${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_src .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} || defined(USE_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if ${PORT_OPTIONS:MPASSENGER} PASSENGER_VERSION= 5.1.8 MASTER_SITES+= http://s3.amazonaws.com/phusion-passenger/releases/:passenger DISTFILES+= passenger-${PASSENGER_VERSION}.tar.gz:passenger .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .else CONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/src/nginx_module .endif EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-passenger-build-nginx.rb .if empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ENV+= OPTIMIZE="yes" CFLAGS+= -DNDEBUG .endif .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql NGINX_POSTGRES_VERSION= 1.0rc7 GH_ACCOUNT+= FRiCKLE:postgres GH_PROJECT+= ngx_postgres:postgres GH_TAGNAME+= ${NGINX_POSTGRES_VERSION}:postgres CONFIGURE_ARGS+=--add-module=${WRKSRC_postgres} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config \ ${PATCHDIR}/extra-patch-ngx_postgres_module.c .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.07 GH_ACCOUNT+= openresty:rdscsv GH_PROJECT+= rds-csv-nginx-module:rdscsv GH_TAGNAME+= v${NGINX_RDS_CSV_VERSION}:rdscsv CONFIGURE_ARGS+=--add-module=${WRKSRC_rdscsv} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.14 GH_ACCOUNT+= openresty:rdsjson GH_PROJECT+= rds-json-nginx-module:rdsjson GH_TAGNAME+= v${NGINX_RDS_JSON_VERSION}:rdsjson CONFIGURE_ARGS+=--add-module=${WRKSRC_rdsjson} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.12 GH_ACCOUNT+= openresty:redis2 GH_PROJECT+= redis2-nginx-module:redis2 GH_TAGNAME+= v${NGINX_REDIS2_VERSION}:redis2 CONFIGURE_ARGS+=--add-module=${WRKSRC_redis2} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_redis2_util.c .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.1.8 GH_ACCOUNT+= arut:rtmp GH_PROJECT+= nginx-rtmp-module:rtmp GH_TAGNAME+= v${NGINX_RTMP_VERSION}:rtmp CONFIGURE_ARGS+=--add-module=${WRKSRC_rtmp} .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= f808ef4 GH_ACCOUNT+= openresty:setmisc GH_PROJECT+= set-misc-nginx-module:setmisc GH_TAGNAME+= ${NGINX_SET_MISC_VERSION}:setmisc .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_setmisc} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_setmisc} .endif .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 543c72a GH_ACCOUNT+= sflow:sflow GH_PROJECT+= nginx-sflow-module:sflow GH_TAGNAME+= ${NGINX_SFLOW_VERSION}: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 .endif .if ${PORT_OPTIONS:MSHIBBOLETH} GIT_SHIBBOLETH_VERSION= 4f1119b GH_ACCOUNT+= nginx-shib:shib GH_PROJECT+= nginx-http-shibboleth:shib GH_TAGNAME+= ${GIT_SHIBBOLETH_VERSION}:shib CONFIGURE_ARGS+=--add-module=${WRKSRC_shib} .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} NGINX_SMALL_LIGHT_VERSION= 0.8.0 LIB_DEPENDS+= ${IMAGEMAGICK_LIB_DEPENDS} \ libpcre.so:devel/pcre GH_ACCOUNT+= cubicdaiya:small_light GH_PROJECT+= ngx_small_light:small_light GH_TAGNAME+= v${NGINX_SMALL_LIGHT_VERSION}:small_light .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_small_light} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_small_light} .endif .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.30 GH_ACCOUNT+= openresty:srcache GH_PROJECT+= srcache-nginx-module:srcache GH_TAGNAME+= v${NGINX_SRCACHE_VERSION}:srcache CONFIGURE_ARGS+=--add-module=${WRKSRC_srcache} .endif .if ${PORT_OPTIONS:MVOD} NGINX_VOD_VERSION= 1.18 GH_ACCOUNT+= kaltura:vod GH_PROJECT+= nginx-vod-module:vod GH_TAGNAME+= ${NGINX_VOD_VERSION}:vod .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_vod} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_vod} .endif .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.05 GH_ACCOUNT+= openresty:xss GH_PROJECT+= xss-nginx-module:xss GH_TAGNAME+= v${NGINX_XSS_VERSION}:xss CONFIGURE_ARGS+=--add-module=${WRKSRC_xss} .endif .if ${PORT_OPTIONS:MHTTPV2} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_v2_module .endif .if ${PORT_OPTIONS:MNJS} GH_ACCOUNT+= nginx:njs GH_PROJECT+= njs:njs GH_TAGNAME+= bd40aea:njs .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_njs}/nginx .else CONFIGURE_ARGS+=--add-module=${WRKSRC_njs}/nginx .endif .endif .if ${PORT_OPTIONS:MSTREAM} .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--with-stream=dynamic .else CONFIGURE_ARGS+=--with-stream .endif .if ${PORT_OPTIONS:MSTREAM_SSL} NGINX_OPENSSL= yes USE_HTTP_SSL= yes CONFIGURE_ARGS+=--with-stream_ssl_module .if ${PORT_OPTIONS:MSTREAM_SSL_PREREAD} CONFIGURE_ARGS+=--with-stream_ssl_preread_module .endif .endif .endif .if ${PORT_OPTIONS:MTHREADS} CONFIGURE_ARGS+=--with-threads .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--with-mail=dynamic .else CONFIGURE_ARGS+=--with-mail .endif .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MHTTP_SSL} || defined(USE_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.05 GH_ACCOUNT+= openresty:arrayvar GH_PROJECT+= array-var-nginx-module:arrayvar GH_TAGNAME+= v${NGINX_ARRAYVAR_VERSION}:arrayvar CONFIGURE_ARGS+=--add-module=${WRKSRC_arrayvar} .endif .if ${PORT_OPTIONS:MBROTLI} NGINX_BROTLI_VERSION= 12529813 LIB_DEPENDS+= libbrotlicommon.so:archivers/brotli GH_ACCOUNT+= google:brotli GH_PROJECT+= ngx_brotli:brotli GH_TAGNAME+= ${NGINX_BROTLI_VERSION}:brotli .if ${PORT_OPTIONS:MDSO} CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_brotli} .else CONFIGURE_ARGS+=--add-module=${WRKSRC_brotli} .endif .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.12 GH_ACCOUNT+= calio:forminput GH_PROJECT+= form-input-nginx-module:forminput GH_TAGNAME+= v${NGINX_FORMINPUT_VERSION}:forminput CONFIGURE_ARGS+=--add-module=${WRKSRC_forminput} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.14 GH_ACCOUNT+= calio:iconv GH_PROJECT+= iconv-nginx-module:iconv GH_TAGNAME+= v${NGINX_ICONV_VERSION}:iconv CONFIGURE_ARGS+=--add-module=${WRKSRC_iconv} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} NGINX_LOGDIR=${NGINX_LOGDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(NGINX_OPENSSL) USES+= ssl .endif pre-everything:: @${ECHO_MSG} .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif .if ${PORT_OPTIONS:MPASSENGER} @${ECHO_MSG} "This port install Passenger module only" .endif @${ECHO_MSG} post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKSRC_gridfs}/mongo-c-driver/ @${MV} ${WRKSRC_mongo_c} ${WRKSRC_gridfs}/mongo-c-driver .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!; \ s!%%NGINX_ERRORLOG%%!${NGINX_ERRORLOG}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_AUTH_KRB5} @${REINPLACE_CMD} \ 's!%%GSSAPILIBS%%!${GSSAPILIBS}!' \ ${WRKSRC_auth_krb5}/config .endif # linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_drizzle}/config .endif .if ${PORT_OPTIONS:MFASTDFS} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${PREFIX}!g; \ s!%%LOCALBASE%%!${LOCALBASE}!g' \ ${WRKSRC_fastdfs}/src/config .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKSRC_gridfs}/config .endif .if ${PORT_OPTIONS:MPASSENGER} @${REINPLACE_CMD} \ '177,179s!true!false!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/basics.rb @${REINPLACE_CMD} \ 's!-I/usr/include/libev!!; \ s!-lev!!; \ s!-Iext/libev!!; \ s!-I/usr/include/libeio!!; \ s!-leio!!; \ s!-Iext/libeio!!' \ ${WRKDIR}/passenger-${PASSENGER_VERSION}/build/common_library.rb .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_postgres}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_iconv}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION}/configure .endif .if ${PORT_OPTIONS:MHTTP_TARANTOOL} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKSRC_nginx_tarantool}/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ${CONFIGURE_CMD} --enable-standalone-module \ --with-pcre=${LOCALBASE} --with-yajl=${LOCALBASE} \ --with-curl=${LOCALBASE} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ) .endif .if ${PORT_OPTIONS:MSMALL_LIGHT} ( cd ${WRKSRC_small_light} && ./setup ) .endif do-build: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} .if ${PORT_OPTIONS:MDSO} ${MKDIR} ${STAGEDIR}${MODULESDIR} .endif ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${MKDIR} ${STAGEDIR}${NGINX_LOGDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in fastcgi_params mime.types scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if ${PORT_OPTIONS:MHTTP} && ${PORT_OPTIONS:MWWW} ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if ${PORT_OPTIONS:MHTTP} && ${PORT_OPTIONS:MHTTP_PERL} ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif .if ${PORT_OPTIONS:MFASTDFS} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/fdfs ${INSTALL_DATA} ${WRKSRC_fastdfs}/src/mod_fastdfs.conf ${STAGEDIR}${PREFIX}/etc/fdfs/mod_fastdfs.conf.sample .endif # Install dynamic modules .if ${PORT_OPTIONS:MDSO} (cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \ -exec ${INSTALL_PROGRAM} {} ${STAGEDIR}${MODULESDIR} \;) .endif .if ${PORT_OPTIONS:MNAXSI} ${INSTALL_DATA} \ ${WRKDIR}/naxsi-${NGINX_NAXSI_VERSION}/naxsi_config/naxsi_core.rules \ ${STAGEDIR}${ETCDIR} .endif post-install: .if ${PORT_OPTIONS:MHTTP} && ${PORT_OPTIONS:MHTTP_PERL} ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .if ${PORT_OPTIONS:MNAXSI} ${ECHO_CMD} etc/nginx/naxsi_core.rules >> ${TMPPLIST} .endif .if ${PORT_OPTIONS:MFASTDFS} ${ECHO_CMD} @sample etc/fdfs/mod_fastdfs.conf.sample >> ${TMPPLIST} .endif # Add dynamic modules to the plist .if ${PORT_OPTIONS:MDSO} (cd ${STAGEDIR}${PREFIX} && ${FIND} ${MODULESDIR:S|${PREFIX}/||} \ ! -type d >>${TMPPLIST}) .endif ${CAT} ${WRKSRC}/conf/nginx.conf \ >>${STAGEDIR}${ETCDIR}/nginx.conf-dist .include Index: head/x11/eaglemode/Makefile =================================================================== --- head/x11/eaglemode/Makefile (revision 451900) +++ head/x11/eaglemode/Makefile (revision 451901) @@ -1,96 +1,95 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= eaglemode PORTVERSION= 0.93.0 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Futuristic zoomable user environment LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 USES= compiler:features jpeg perl5 pkgconfig shebangfix tar:bzip2 USE_PERL5= build USE_XORG= x11 xext xxf86vm SUB_FILES= eaglemode.sh -WANT_GNOME= yes BUILD_ARGS= continue=no .for lib in X11 jpeg png tiff BUILD_ARGS+= ${lib}-inc-dir="${LOCALBASE}/include" \ ${lib}-lib-dir="${LOCALBASE}/lib" .endfor DATADIR= ${PREFIX}/lib/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDATA= * OPTIONS_DEFINE= XINE RSVG PDF OPTIONS_DEFAULT=XINE RSVG PDF OPTIONS_SUB= yes RSVG_DESC= SVG support through librsvg PDF_DESC= PDF support through poppler-glib XINE_LIB_DEPENDS= libxine.so:multimedia/libxine RSVG_USE= GNOME=librsvg2 PDF_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib PDF_USE= GNOME=gtk20 .include .if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 USE_GCC= yes .endif .if ${PORT_OPTIONS:MXINE} BUILD_ARGS+= xine-inc-dir="${LOCALBASE}/include" \ xine-lib-dir="${LOCALBASE}/lib" .endif post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|"-O2"|"${CFLAGS}"|' \ ${WRKSRC}/makers/unicc/plugins/unicc_gnu.pm @${FIND} ${WRKSRC} -name "*.pl" | ${XARGS} \ ${REINPLACE_CMD} -e '1s|/usr/bin/perl|${perl_CMD}|' post-patch-XINE-off: @${RM} ${WRKSRC}/makers/emAv.maker.pm post-patch-RSVG-off: @${RM} ${WRKSRC}/makers/emSvg.maker.pm post-patch-PDF-off: @${RM} ${WRKSRC}/makers/emPdf.maker.pm do-build: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${PERL} make.pl build ${BUILD_ARGS}) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${PERL} make.pl install dir=${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/eaglemode.sh ${STAGEDIR}${PREFIX}/bin/eaglemode @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/bin/* \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/*.so \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emClock/emTimeZonesProc \ ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emTmpConv/emTmpConvProc do-install-XINE-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emAv/emAvServerProc_xine do-install-RSVG-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emSvg/emSvgServerProc do-install-PDF-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eaglemode/lib/emPdf/emPdfServerProc .include Index: head/x11/metisse/Makefile =================================================================== --- head/x11/metisse/Makefile (revision 451900) +++ head/x11/metisse/Makefile (revision 451901) @@ -1,89 +1,88 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= metisse PORTVERSION= 0.4.1 PORTREVISION= 9 CATEGORIES= x11 MASTER_SITES= http://insitu.lri.fr/metisse/download/metisse/ MAINTAINER= ports@FreeBSD.org COMMENT= Innovative X-based window system LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libNucleo.so:x11-toolkits/nucleo \ libpng.so:graphics/png RUN_DEPENDS= xorg-fonts>0:x11-fonts/xorg-fonts CONFLICTS= fvwm-1.* fvwm-2.* BROKEN_aarch64= Fails to build: error: GETLEFTBITS_ALIGNMENT must be 1 BROKEN_armv6= Fails to build: error: GETLEFTBITS_ALIGNMENT must be 1 USES= gettext libtool localbase:ldflags pathfix pkgconfig python shebangfix tar:bzip2 SHEBANG_FILES= ${WRKSRC}/fvwm-insitu/bin/fvwm-convert-2.4.in \ ${WRKSRC}/fvwm-insitu/bin/fvwm-convert-2.6.in \ ${WRKSRC}/fvwm-insitu/bin/fvwm-menu-desktop.in \ ${WRKSRC}/fvwm-insitu/bin/fvwm-menu-directory.in \ ${WRKSRC}/fvwm-insitu/bin/fvwm-menu-headlines.in \ ${WRKSRC}/fvwm-insitu/bin/fvwm-menu-xlock.in \ ${WRKSRC}/fvwm-insitu/bin/fvwm-perllib.in \ ${WRKSRC}/fvwm-insitu/modules/FvwmConsole/FvwmConsoleC.pl.in \ ${WRKSRC}/fvwm-insitu/modules/FvwmDebug/FvwmDebug.in \ ${WRKSRC}/fvwm-insitu/modules/FvwmDebug/FvwmGtkDebug.in \ ${WRKSRC}/fvwm-insitu/modules/FvwmPerl/FvwmPerl.in \ ${WRKSRC}/fvwm-insitu/modules/FvwmTabs/FvwmTabs.in \ ${WRKSRC}/fvwm-insitu/modules/FvwmWindowMenu/FvwmWindowMenu.in \ ${WRKSRC}/bin/metisse-demo-address-app.in \ ${WRKSRC}/bin/metisse-combo2radio.in \ ${WRKSRC}/bin/metisse-combo2radio-edit.in perl_OLD_CMD= @PERL@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-fontdir=${LOCALBASE}/share/fonts USE_LDCONFIG= yes USE_XORG= xcursor xft xinerama xpm xrender xt xtst -WANT_GNOME= yes MAKE_ARGS= METISSE_DOC_DIR="${DOCSDIR}" INSTALL_TARGET= install-strip OPTIONS_DEFINE= GLX STROKE RPLAY FRIBIDI GLIB GTK2 GCONF \ DOCS OPTIONS_DEFINE_i386= GLX_X86 MMX OPTIONS_DEFINE_amd64= MMX OPTIONS_DEFAULT= GLX OPTIONS_DEFAULT_i386= GLX_X86 MMX OPTIONS_DEFAULT_amd64= MMX OPTIONS_SUB= yes GLX_X86_DESC= GLX with x86 optimizations RPLAY_DESC= RPlay support in FvwmEvent GLIB_DESC= Use GLib 2.x for module integration GTK2_DESC= Use GDK-PixBuf-2.0 for image loading MMX_CONFIGURE_ENABLE= mmx GLX_CONFIGURE_ENABLE= glx GLX_X86_CONFIGURE_ENABLE= glx-x86 STROKE_LIB_DEPENDS= libstroke.so:devel/libstroke MRPLAY_LIB_DEPENDS= librplay.so:audio/rplay FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi GLIB_USE= GNOME=glib20 GTK2_USE= GNOME=gtk20 GCONF_USE= GNOME=gconf2,libglade2 post-patch: # Catch up with new header name @${REINPLACE_CMD} -e 's,fribidi_types\.h,fribidi-types.h,' \ ${WRKSRC}/fvwm-insitu/libs/FBidi.c # Fix desktop entries path @${REINPLACE_CMD} -E 's,^(configdir =).*,\1 ${DESKTOPDIR},' \ ${WRKSRC}/fvwm-insitu/opale/session/Makefile.in @${REINPLACE_CMD} -e 's,return;,return 0;,' \ ${WRKSRC}/fvwm-insitu/configure post-patch-GCONF-off: @${REINPLACE_CMD} -e 's, install-gladeDATA,,' \ ${WRKSRC}/fvwm-insitu/modules/FvwmConfig/Makefile.in .include Index: head/x11/xvattr/Makefile =================================================================== --- head/x11/xvattr/Makefile (revision 451900) +++ head/x11/xvattr/Makefile (revision 451901) @@ -1,44 +1,43 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= xvattr PORTVERSION= 1.3 PORTREVISION= 9 CATEGORIES= x11 MASTER_SITES= http://xvattr.sourcearchive.com/downloads/1.3/ DISTFILES= xvattr_1.3.orig.tar.gz MAINTAINER= cy@FreeBSD.org COMMENT= Getting and setting Xv attributes USE_XORG= x11 xv -WANT_GNOME= yes USES= pkgconfig PLIST_FILES= bin/${PORTNAME} bin/g${PORTNAME} \ man/man1/${PORTNAME}.1.gz CFLAGS+= -DVERSION=\"${PORTVERSION}\" OPTIONS_DEFINE= GTK1 GTK1_DESC= GTK1 support (Default is GTK2) GTK1_USE= GNOME=gtk12 GTK1_VARS= GTK_PC=gtk+ GTK1_USE_OFF= GNOME=gtk20 GTK1_VARS_OFF= GTK_PC=gtk+-2.0 post-extract: @${RM} ${WRKSRC}/getopt.h do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} \ `pkg-config --cflags --libs xv x11` cd ${WRKSRC} && ${CC} ${CFLAGS} g${PORTNAME}.c -o g${PORTNAME} \ `pkg-config --cflags --libs ${GTK_PC} xv x11` do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/g${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/x11-fm/doublecmd/Makefile =================================================================== --- head/x11-fm/doublecmd/Makefile (revision 451900) +++ head/x11-fm/doublecmd/Makefile (revision 451901) @@ -1,393 +1,392 @@ # Created by: BeƱat Gonzalez Etxepare # $FreeBSD$ PORTNAME= doublecmd PORTVERSION= 0.7.8 PORTREVISION= 4 CATEGORIES= x11-fm MASTER_SITES= SF/${PORTNAME}/Double%20Commander%20Source DISTNAME= ${PORTNAME}-${PORTVERSION}-src DISTFILES= ${DISTNAME}.tar.gz ${PORTNAME}-help-${HELPVERSION}-src.tar.gz MAINTAINER= bbtruk@users.sourceforge.net COMMENT= Total Commander like file manager for the X Window System LICENSE= GPLv2 BUILD_DEPENDS= lazbuild:editors/lazarus \ fpcres:lang/fpc-utils ONLY_FOR_ARCHS= i386 amd64 PORTDOCS= * USES= dos2unix desktop-file-utils USE_FPC= cairo fcl-base fcl-db fcl-image fcl-json fcl-registry \ fcl-xml iconvenc pasjpeg rtl-extra x11 USE_XORG= x11 DOS2UNIX_FILES= src/dmhelpmanager.pas -WANT_GNOME= yes PLIST= ${WRKDIR}/pkg-plist PROJECT_FILE= src/doublecmd.lpi LAZARUS_VER= 1.6.4 LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d --pcp=${WRKSRC}/tmppcp LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER} MAKE_ENV+= LDVER=ld.bfd # for DragonFly HELPVERSION= 0.6.0 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DOCSRC= ${WRKDIR}/${PORTNAME}-help-${HELPVERSION} OPTIONS_DEFINE= DOCS DEBUG OPTIONS_SINGLE= LCL OPTIONS_SINGLE_LCL= GTK2 QT4 OPTIONS_GROUP= WCX WDX WFX WLX DSX OPTIONS_GROUP_WCX= WCX_CPIO \ WCX_DEB \ WCX_RPM \ WCX_UNBZ2 \ WCX_UNRAR \ WCX_ZIP OPTIONS_GROUP_WDX= WDX_RPM \ WDX_DEB \ WDX_SVN \ WDX_XPI \ WDX_SCRIPTS OPTIONS_GROUP_WFX= WFX_FTP \ WFX_SAMBA OPTIONS_GROUP_WLX= WLX_MPLAYER OPTIONS_GROUP_DSX= DSX_LOCATE WCX_DESC= Packer plugins to work with archives WCX_CPIO_DESC= CPIO format support WCX_DEB_DESC= Debian package archive support WCX_RPM_DESC= Red Hat package archive support WCX_UNBZ2_DESC= BZIP2 format support WCX_UNRAR_DESC= RAR format support WCX_ZIP_DESC= ZIP format support WDX_DESC= Plugins to display and search extended file attributes WDX_DEB_DESC= Debian package file information WDX_RPM_DESC= Red Hat package file information WDX_SCRIPTS_DESC= Add support to use custom Lua scripts WDX_SVN_DESC= Subversion repository information WDX_XPI_DESC= Mozilla plugin file information WFX_DESC= File system plugins WFX_FTP_DESC= FTP protocol support WFX_SAMBA_DESC= SMB protocol support WLX_DESC= Internal viewer plugins WLX_MPLAYER_DESC= Use MPlayer for multimedia files DSX_DESC= Search plugins DSX_LOCATE_DESC= Support locate command OPTIONS_DEFAULT= GTK2 \ WCX_CPIO \ WCX_DEB \ WCX_RPM \ WCX_UNRAR \ WCX_ZIP \ WDX_RPM \ WDX_DEB \ WDX_SVN \ WDX_SCRIPTS \ WDX_XPI \ WFX_FTP \ WFX_SAMBA \ DSX_LOCATE GTK2_USE= fpc=gtk2 gnome=gtk20 GTK2_BUILD_DEPENDS= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-gtk2 QT4_LIB_DEPENDS= libQt4Pas.so:x11-toolkits/qt4pas QT4_BUILD_DEPENDS= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt WCX_UNRAR_LIB_DEPENDS= libunrar.so.5:archivers/libunrar5 WFX_SAMBA_USES= samba:lib WLX_MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer .include .if ${PORT_OPTIONS:MGTK2} LCL_PLATFORM= gtk2 USE_GNOME+= cairo gdkpixbuf2 .elif ${PORT_OPTIONS:MQT4} BROKEN= Does not build LCL_PLATFORM= qt .endif .if ${PORT_OPTIONS:MDEBUG} BUILD_MODE= Debug .else BUILD_MODE= NoDebug Full Optimizations .endif .if ${PORT_OPTIONS:MWFX_FTP} USE_FPC+= fcl-net .endif pre-patch: ${TR} '\r' '\n' < ${WRKSRC}/src/uGlobsPaths.pas > ${WRKSRC}/src/uGlobsPaths.pas.unix ${MV} ${WRKSRC}/src/uGlobsPaths.pas.unix ${WRKSRC}/src/uGlobsPaths.pas post-patch: @${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \ ${WRKSRC}/src/uGlobsPaths.pas @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/plugins/wlx/WlxMplayer/src/wlxMplayer.lpr do-build: .for FILE in chsdet/chsdet.lpk CmdLine/cmdbox.lpk multithreadprocs/multithreadprocslaz.lpk \ dcpcrypt/dcpcrypt.lpk doublecmd/doublecmd_common.lpk KASToolBar/kascomp.lpk \ viewer/viewerpackage.lpk gifanim/pkg_gifanim.lpk @cd ${WRKSRC}/components && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "${FILE}" .endfor .if ${PORT_OPTIONS:MWCX_CPIO} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/cpio/src/cpio.lpi" .endif .if ${PORT_OPTIONS:MWCX_DEB} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/deb/src/deb.lpi" .endif .if ${PORT_OPTIONS:MWCX_UNBZ2} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/unbz2/src/unbz2.lpi" .endif .if ${PORT_OPTIONS:MWCX_RPM} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/rpm/src/rpm.lpi" .endif .if ${PORT_OPTIONS:MWCX_UNRAR} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/unrar/src/unrar.lpi" .endif .if ${PORT_OPTIONS:MWCX_ZIP} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wcx/zip/src/Zip.lpi" .endif .if ${PORT_OPTIONS:MWDX_RPM} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/rpm_wdx/src/rpm_wdx.lpi" .endif .if ${PORT_OPTIONS:MWDX_DEB} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/deb_wdx/src/deb_wdx.lpi" .endif .if ${PORT_OPTIONS:MWDX_SVN} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/svn_wdx/src/svn_wdx.lpi" .endif .if ${PORT_OPTIONS:MWDX_XPI} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wdx/xpi_wdx/src/xpi_wdx.lpi" .endif .if ${PORT_OPTIONS:MWFX_FTP} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wfx/ftp/src/ftp.lpi" .endif .if ${PORT_OPTIONS:MWFX_SAMBA} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wfx/samba/src/samba.lpi" .endif .if ${PORT_OPTIONS:MWLX_MPLAYER} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "wlx/WlxMplayer/src/wlxMplayer.lpi" .endif .if ${PORT_OPTIONS:MDSX_LOCATE} @cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "dsx/DSXLocate/src/DSXLocate.lpi" .endif @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${LAZBUILD_CMD} --ws=${LCL_PLATFORM} --bm="${BUILD_MODE}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE} post-build: @${RM} -r ${DOCSRC}/*/dev-help pre-install: @${RM} ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wcx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wdx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wfx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/wlx" >> ${PLIST} @${ECHO_CMD} "@dir %%DATADIR%%/plugins/dsx" >> ${PLIST} .if ${PORT_OPTIONS:MWCX_CPIO} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/cpio/cpio.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_DEB} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/deb/deb.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_RPM} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/rpm/rpm.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_UNBZ2} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/unbz2/unbz2.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_UNRAR} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/unrar/unrar.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWCX_ZIP} @${ECHO_CMD} "%%DATADIR%%/plugins/wcx/zip/zip.wcx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_RPM} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/rpm_wdx/rpm_wdx.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_DEB} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/deb_wdx/deb_wdx.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_SVN} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/svn_wdx/svn_wdx.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_XPI} @${ECHO_CMD} "%%DATADIR%%/plugins/wdx/xpi_wdx/xpi_wdx.wdx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWDX_SCRIPTS} @cd ${WRKSRC}/plugins/wdx/scripts && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/plugins/wdx/scripts/|' >> ${PLIST} .endif .if ${PORT_OPTIONS:MWFX_FTP} @${ECHO_CMD} "%%DATADIR%%/plugins/wfx/ftp/ftp.wfx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWFX_SAMBA} @${ECHO_CMD} "%%DATADIR%%/plugins/wfx/samba/samba.wfx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MWLX_MPLAYER} @${ECHO_CMD} "%%DATADIR%%/plugins/wlx/wlxmplayer/wlxmplayer.wlx" >> ${PLIST} .endif .if ${PORT_OPTIONS:MDSX_LOCATE} @${ECHO_CMD} "%%DATADIR%%/plugins/dsx/dsxlocate/dsxlocate.dsx" >> ${PLIST} .endif .for FILE in %%DATADIR%%/doublecmd.ext.example %%DATADIR%%/pixmaps.txt \ %%DATADIR%%/multiarc.ini bin/doublecmd share/applications/doublecmd.desktop \ share/pixmaps/doublecmd.png share/icons/hicolor/scalable/apps/doublecmd.svg \ %%DATADIR%%/doublecmd.xml @${ECHO_CMD} ${FILE} >> ${PLIST} .endfor @cd ${WRKSRC}/language && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/language/|' >> ${PLIST} @cd ${WRKSRC}/pixmaps && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/pixmaps/|' >> ${PLIST} @cd ${WRKSRC}/sdk && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/sdk/|' >> ${PLIST} @${ECHO_CMD} "man/man1/doublecmd.1.gz" >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wfx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wlx @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/dsx .if ${PORT_OPTIONS:MWCX_CPIO} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/cpio ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/cpio/lib/cpio.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/cpio/ .endif .if ${PORT_OPTIONS:MWCX_DEB} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/deb ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/deb/lib/deb.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/deb/ .endif .if ${PORT_OPTIONS:MWCX_RPM} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/rpm/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/rpm/lib/rpm.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/rpm/ .endif .if ${PORT_OPTIONS:MWCX_UNBZ2} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/unbz2/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/unbz2/lib/unbz2.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/unbz2/ .endif .if ${PORT_OPTIONS:MWCX_UNRAR} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/unrar/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/unrar/lib/unrar.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/unrar/ .endif .if ${PORT_OPTIONS:MWCX_ZIP} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wcx/zip/ ${INSTALL_LIB} ${WRKSRC}/plugins/wcx/zip/lib/zip.wcx ${STAGEDIR}${DATADIR}/plugins/wcx/zip/ .endif .if ${PORT_OPTIONS:MWDX_RPM} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/rpm_wdx/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/rpm_wdx/lib/rpm_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/rpm_wdx/ .endif .if ${PORT_OPTIONS:MWDX_DEB} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/deb_wdx/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/deb_wdx/lib/deb_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/deb_wdx/ .endif .if ${PORT_OPTIONS:MWDX_SVN} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/svn_wdx/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/svn_wdx/lib/svn_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/svn_wdx/ .endif .if ${PORT_OPTIONS:MWDX_XPI} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/xpi_wdx/ ${INSTALL_LIB} ${WRKSRC}/plugins/wdx/xpi_wdx/lib/xpi_wdx.wdx ${STAGEDIR}${DATADIR}/plugins/wdx/xpi_wdx/ .endif .if ${PORT_OPTIONS:MWDX_SCRIPTS} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wdx/scripts/ ${INSTALL_DATA} ${WRKSRC}/plugins/wdx/scripts/* ${STAGEDIR}${DATADIR}/plugins/wdx/scripts/ .endif .if ${PORT_OPTIONS:MWFX_FTP} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wfx/ftp/ ${INSTALL_LIB} ${WRKSRC}/plugins/wfx/ftp/lib/ftp.wfx ${STAGEDIR}${DATADIR}/plugins/wfx/ftp/ .endif .if ${PORT_OPTIONS:MWFX_SAMBA} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wfx/samba/ ${INSTALL_LIB} ${WRKSRC}/plugins/wfx/samba/lib/samba.wfx ${STAGEDIR}${DATADIR}/plugins/wfx/samba/ .endif .if ${PORT_OPTIONS:MWLX_MPLAYER} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/wlx/wlxmplayer/ ${INSTALL_LIB} ${WRKSRC}/plugins/wlx/WlxMplayer/lib/wlxmplayer.wlx ${STAGEDIR}${DATADIR}/plugins/wlx/wlxmplayer/ .endif .if ${PORT_OPTIONS:MDSX_LOCATE} @${MKDIR} ${STAGEDIR}${DATADIR}/plugins/dsx/dsxlocate/ ${INSTALL_LIB} ${WRKSRC}/plugins/dsx/DSXLocate/lib/dsxlocate.dsx ${STAGEDIR}${DATADIR}/plugins/dsx/dsxlocate/ .endif .for DIRE in language pixmaps sdk @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @cd ${WRKSRC}/${DIRE} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; .endfor .for FILE in doublecmd.ext.example pixmaps.txt multiarc.ini install/linux/doublecmd.xml ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_DATA} ${WRKSRC}/doublecmd.png ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/pixmaps/mainicon/alt/dcfinal.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/doublecmd.svg ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/install/linux/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/ ${INSTALL_MAN} ${WRKSRC}/install/linux/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ post-install: .if ${PORT_OPTIONS:MDOCS} @cd ${DOCSRC} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; .endif .include Index: head/x11-themes/gnome-icons/bsd.gnome-icons.mk =================================================================== --- head/x11-themes/gnome-icons/bsd.gnome-icons.mk (revision 451900) +++ head/x11-themes/gnome-icons/bsd.gnome-icons.mk (revision 451901) @@ -1,18 +1,17 @@ # Whom: Tom McLaughlin # $FreeBSD$ PKGNAMEPREFIX= gnome-icons- NO_BUILD= yes NO_ARCH= yes REASON= Themes may contain artwork not done by the author. \ Keep FreeBSD safe if theme author violated copyrights. -WANT_GNOME= yes INSTALLS_ICONS= yes do-install: icon-do-install icon-do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icons/ Index: head/x11-themes/gnome-icons-jini/Makefile =================================================================== --- head/x11-themes/gnome-icons-jini/Makefile (revision 451900) +++ head/x11-themes/gnome-icons-jini/Makefile (revision 451901) @@ -1,30 +1,29 @@ # $FreeBSD$ PORTNAME= jini PORTVERSION= 0.8 CATEGORIES= x11-themes gnome MASTER_SITES= http://kldp.net/frs/download.php/3799/ PKGNAMEPREFIX= gnome-icons- DISTNAME= jini-icon-theme-${PORTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Jini Icons for Gnome NO_BUILD= yes WRKSRC= ${WRKDIR} -WANT_GNOME= yes INSTALLS_ICONS= yes post-extract: @for FILE in ${WRKDIR}/JiniOrange/scalable/apps/haansoft-hwp.svg \ ${WRKDIR}/JiniYellowishGreen/scalable/apps/haansoft-hwp.svg \ ${WRKDIR}/JiniBrown/scalable/apps/haansoft-hwp.svg \ ${WRKDIR}/JiniOrange/scalable/apps/haansoft-hwp.svg \ ${WRKDIR}/JiniYellowishGreen/scalable/apps/haansoft-hwp.svg; do \ ${LN} -sf ../../../JiniBlueSky/scalable/apps/haansoft-hwp.svg $${FILE}; \ done do-install: cd ${WRKDIR} && ${FIND} Jini* | ${CPIO} -pdu ${STAGEDIR}${PREFIX}/share/icons .include