Index: head/CHANGES =================================================================== --- head/CHANGES (revision 420773) +++ head/CHANGES (revision 420774) @@ -1,3202 +1,3216 @@ 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. +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. 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/bsd.kde4.mk =================================================================== --- head/Mk/bsd.kde4.mk (revision 420773) +++ head/Mk/bsd.kde4.mk (nonexistent) @@ -1,301 +0,0 @@ -# $FreeBSD$ - -.if !defined(_POSTMKINCLUDED) && !defined(Kde_Pre_Include) - -# Please make sure all changes to this file are past through the maintainer. -# Do not commit them yourself (unless of course you're the Port's Wraith ;). -Kde_Include_MAINTAINER= kde@FreeBSD.org -Kde_Pre_Include= bsd.kde4.mk - -# -# This file contains some variable definitions that are supposed to make your -# life easier when dealing with ports related to the KDE Software Compilation 4. -# It's automatically included when ${USE_KDE4} is defined in a port's Makefile. -# -# KDE4 related ports can use this as follows: -# -# USE_KDE4= kdelibs -# USE_QT4= corelib # Set Qt 4 components here. -# -# .include -# -# Additionally, '_build' and '_run' suffixes can be used to force components -# dependency type (e.g., 'marble_run'). If no suffix is set, a default -# dependency type will be used. If you want to force both types, add the -# component twice with both suffixes (e.g., 'pykde4_build pykde4_run'). -# -# Available KDE4 components are: -# -# baloo - Baloo core libraries -# baloo-widgets - Baloo widgets library -# baseapps - Basic applications for KDE Desktop -# kactivities - KDE activities library -# kate - KDE text editor framework -# kdelibs - KDE Developer Platform -# kfilemetadata - KDE library for extracting file metadata -# korundum - KDE Ruby bindings -# libkcddb - KDE CDDB library -# libkcompactdisc - KDE library for interfacing with audio CDs -# libkdcraw - KDE LibRaw library -# libkdeedu - Libraries used by KDE educational applications -# libkdegames - Libraries used by KDE games -# libkexiv2 - KDE Exiv2 library -# libkipi - KDE Image Plugin Interface -# libkonq - Konqueror core library -# libksane - KDE SANE library -# marble - KDE virtual globe -# okular - KDE universal document viewer -# nepomuk-core - Nepomuk core libraries -# nepomuk-widgets - Nepomuk widgets library -# oxygen - KDE icon theme -# perlkde - KDE Perl bindings -# perlqt - Qt 4 Perl bindings -# pimlibs - KDE-Pim libraries -# pykde4 - KDE Python bindings -# pykdeuic4 - PyKDE user interface compiler -# qtruby - Qt 4 Ruby bindings -# runtime - Components required by many KDE Applications -# smokegen - SMOKE base libraries -# smokekde - KDE SMOKE libraries -# smokeqt - Qt 4 SMOKE libraries -# workspace - KDE user environments -# akonadi - Storage server for KDE-Pim -# attica - Qt library implementing Open Collaboration Services API -# automoc4 - Automatic moc for Qt 4 packages -# ontologies - Shared ontologies for semantic searching -# qimageblitz - KDE graphical effects and filters library -# soprano - Qt 4 RDF framework -# strigi - Desktop search daemon -# -# These read-only variables can be used in a port's Makefile: -# -# KDE4_PREFIX - The place where KDE4 ports live. Currently it is -# ${LOCALBASE}/kde4, but this could change in the future. -# - -KDE4_VERSION?= 4.14.3 -KDE4_KDELIBS_VERSION= 4.14.10 -KDE4_ACTIVITES_VERSION= 4.13.3 -KDE4_WORKSPACE_VERSION= 4.11.21 -KDE4_APPLICATIONS_VERSION?= 15.04.3 -KDE4_APPLICATIONS_BRANCH?= Attic -KDE4_BRANCH?= stable -KTP_VERSION?= 0.9.0 -KTP_BRANCH?= stable -CALLIGRA_VERSION?= 2.9.11 -CALLIGRA_BRANCH?= stable -KDEVELOP_VERSION?= 4.7.3 -KDEVELOP_BRANCH?= stable - -KDE4_PREFIX?= ${LOCALBASE} - -# Help cmake to find files when testing ports with non-default PREFIX -CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE};${KDE4_PREFIX}" \ - -DKDE4_BUILD_TESTS:BOOL=OFF - -PLIST_SUB+= KDE4_PREFIX="${KDE4_PREFIX}" \ - KDE4_VERSION="${KDE4_VERSION}" \ - KDE4_GENERIC_LIB_VERSION=${KDE4_KDELIBS_VERSION} \ - KDE4_NON_GENERIC_LIB_VERSION=${KDE4_KDELIBS_VERSION:S,^4,5,} \ - KDE4_KDELIBS_VERSION=${KDE4_KDELIBS_VERSION} \ - KDE4_NG_KDELIBS_VERSION=${KDE4_KDELIBS_VERSION:S,^4,5,} - -# Keep in sync with cmake/modules/PythonMacros.cmake -_PYTHON_SHORT_VER= ${PYTHON_VERSION:S/^python//:S/.//} -.if ${_PYTHON_SHORT_VER} > 31 -PLIST_SUB+= PYCACHE="__pycache__/" \ - PYC_SUFFIX=cpython-${_PYTHON_SHORT_VER}.pyc \ - PYO_SUFFIX=cpython-${_PYTHON_SHORT_VER}.pyo -.else -PLIST_SUB+= PYCACHE="" \ - PYC_SUFFIX=pyc \ - PYO_SUFFIX=pyo -.endif - -.endif # !defined(_POSTMKINCLUDED) && !defined(Kde_Pre_Include) - -.if defined(_POSTMKINCLUDED) && !defined(Kde_Post_Include) - -Kde_Post_Include= bsd.kde4.mk - -# -# KDE4 components. -# Set ${component}_TYPE to 'build' or 'run' to specify default dependency type -# for ${component}; otherwise, it will default to 'build run'. -# - -_USE_KDE4_ALL= baloo baloo-widgets \ - baseapps kactivities kate kdelibs kfilemetadata \ - korundum libkcddb libkcompactdisc libkdcraw libkdeedu \ - libkexiv2 libkdegames libkipi libkonq libksane marble \ - nepomuk-core nepomuk-widgets \ - okular oxygen perlkde perlqt pimlibs pykde4 pykdeuic4 \ - qtruby runtime smokegen smokekde smokeqt \ - workspace -# These components are not part of the Software Compilation. -_USE_KDE4_ALL+= akonadi attica automoc4 ontologies qimageblitz soprano \ - strigi - -baloo_PORT= sysutils/baloo -baloo_PATH= ${KDE4_PREFIX}/lib/libbaloocore.so - -baloo-widgets_PORT= sysutils/baloo-widgets -baloo-widgets_PATH= ${KDE4_PREFIX}/lib/libbaloowidgets.so - -baseapps_PORT= x11/kde4-baseapps -baseapps_PATH= ${KDE4_PREFIX}/bin/kfmclient -baseapps_TYPE= run - -kactivities_PORT= x11/kactivities -kactivities_PATH= ${KDE4_PREFIX}/lib/libkactivities.so - -kate_PORT= editors/kate -kate_PATH= ${KDE4_PREFIX}/lib/libkateinterfaces.so - -kdelibs_PORT= x11/kdelibs4 -kdelibs_PATH= ${KDE4_PREFIX}/lib/libkdecore.so - -kfilemetadata_PORT= sysutils/kfilemetadata -kfilemetadata_PATH= ${KDE4_PREFIX}/lib/libkfilemetadata.so - -korundum_PORT= devel/ruby-korundum -korundum_PATH= ${KDE4_PREFIX}/lib/kde4/krubypluginfactory.so -korundum_TYPE= run - -libkcddb_PORT= audio/libkcddb -libkcddb_PATH= ${KDE4_PREFIX}/lib/libkcddb.so - -libkcompactdisc_PORT= audio/libkcompactdisc -libkcompactdisc_PATH= ${KDE4_PREFIX}/lib/libkcompactdisc.so - -libkdcraw_PORT= graphics/libkdcraw-kde4 -libkdcraw_PATH= ${KDE4_PREFIX}/lib/libkdcraw.so - -libkdeedu_PORT= misc/libkdeedu -libkdeedu_PATH= ${KDE4_PREFIX}/lib/libkeduvocdocument.so - -libkdegames_PORT= games/libkdegames -libkdegames_PATH= ${KDE4_PREFIX}/lib/libkdegames.so - -libkexiv2_PORT= graphics/libkexiv2-kde4 -libkexiv2_PATH= ${KDE4_PREFIX}/lib/libkexiv2.so - -libkipi_PORT= graphics/libkipi-kde4 -libkipi_PATH= ${KDE4_PREFIX}/lib/libkipi.so - -libkonq_PORT= x11/libkonq -libkonq_PATH= ${KDE4_PREFIX}/lib/libkonq.so - -libksane_PORT= graphics/libksane -libksane_PATH= ${KDE4_PREFIX}/lib/libksane.so - -marble_PORT= astro/marble -marble_PATH= ${KDE4_PREFIX}/lib/libmarblewidget.so - -nepomuk-core_PORT= sysutils/nepomuk-core -nepomuk-core_PATH= ${KDE4_PREFIX}/lib/libnepomukcore.so - -nepomuk-widgets_PORT= sysutils/nepomuk-widgets -nepomuk-widgets_PATH= ${KDE4_PREFIX}/lib/libnepomukwidgets.so - -okular_PORT= graphics/okular -okular_PATH= ${KDE4_PREFIX}/lib/libokularcore.so - -oxygen_PORT= x11-themes/kde4-icons-oxygen -oxygen_PATH= ${KDE4_PREFIX}/share/icons/oxygen/index.theme -oxygen_TYPE= run - -perlkde_PORT= devel/p5-perlkde -perlkde_PATH= ${KDE4_PREFIX}/lib/kde4/kperlpluginfactory.so -perlkde_TYPE= run - -perlqt_PORT= devel/p5-perlqt -perlqt_PATH= ${KDE4_PREFIX}/bin/puic4 - -pimlibs_PORT= deskutils/kdepimlibs4 -pimlibs_PATH= ${KDE4_PREFIX}/lib/libkpimutils.so - -pykde4_PORT= devel/py-pykde4 -pykde4_PATH= ${KDE4_PREFIX}/lib/kde4/kpythonpluginfactory.so -pykde4_TYPE= run - -pykdeuic4_PORT= devel/py-pykdeuic4 -pykdeuic4_PATH= ${LOCALBASE}/bin/pykdeuic4 -pykdeuic4_TYPE= run - -qtruby_PORT= devel/ruby-qtruby -qtruby_PATH= ${KDE4_PREFIX}/lib/libqtruby4shared.so - -runtime_PORT= x11/kde4-runtime -runtime_PATH= ${KDE4_PREFIX}/bin/knotify4 -runtime_TYPE= run - -smokegen_PORT= devel/smokegen -smokegen_PATH= ${KDE4_PREFIX}/lib/libsmokebase.so - -smokekde_PORT= devel/smokekde -smokekde_PATH= ${KDE4_PREFIX}/lib/libsmokekdecore.so - -smokeqt_PORT= devel/smokeqt -smokeqt_PATH= ${KDE4_PREFIX}/lib/libsmokeqtcore.so - -workspace_PORT= x11/kde4-workspace -workspace_PATH= ${KDE4_PREFIX}/lib/libkworkspace.so - -akonadi_PORT= databases/akonadi -akonadi_PATH= ${KDE4_PREFIX}/lib/libakonadiprotocolinternals.so - -attica_PORT= x11-toolkits/attica -attica_PATH= ${LOCALBASE}/lib/libattica.so - -automoc4_PORT= devel/automoc4 -automoc4_PATH= ${LOCALBASE}/bin/automoc4 -automoc4_TYPE= build - -ontologies_PORT= x11-toolkits/shared-desktop-ontologies -ontologies_PATH= ${LOCALBASE}/share/ontology/core/rdf.ontology - -qimageblitz_PORT= x11/qimageblitz -qimageblitz_PATH= ${LOCALBASE}/lib/libqimageblitz.so - -soprano_PORT= textproc/soprano -soprano_PATH= ${LOCALBASE}/lib/libsoprano.so - -strigi_PORT= deskutils/libstreamanalyzer -strigi_PATH= ${LOCALBASE}/lib/libstreamanalyzer.so.0 - -# Iterate through components deprived of suffix. -.for component in ${USE_KDE4:O:u:C/_.+//} - # Check that the component is valid. -. if ${_USE_KDE4_ALL:M${component}} != "" - # Skip meta-components -. if defined(${component}_PORT) && defined(${component}_PATH) -${component}_DEPENDS= ${${component}_PATH}:${${component}_PORT} - # Check if a dependency type is explicitly requested. -. if ${USE_KDE4:M${component}_*} != "" && ${USE_KDE4:M${component}} == "" -${component}_TYPE= # empty -. if ${USE_KDE4:M${component}_build} != "" -${component}_TYPE+= build -. endif -. if ${USE_KDE4:M${component}_run} != "" -${component}_TYPE+= run -. endif -. endif # ${USE_KDE4:M${component}_*} != "" && ${USE_KDE4:M${component}} == "" - # If no dependency type is set, default to full dependency. -. if !defined(${component}_TYPE) -${component}_TYPE= build run -. endif - # Set real dependencies. -. if ${${component}_TYPE:Mbuild} != "" -BUILD_DEPENDS+= ${${component}_DEPENDS} -. endif -. if ${${component}_TYPE:Mrun} != "" -RUN_DEPENDS+= ${${component}_DEPENDS} -. endif -. endif # defined(${component}_PORT) && defined(${component}_PATH) -. else # ! ${_USE_KDE4_ALL:M${component}} != "" -IGNORE= can't be installed: unknown USE_KDE4 component '${component}' -. endif # ${_USE_KDE4_ALL:M${component}} != "" -.endfor - -.endif # defined(_POSTMKINCLUDED) && !defined(Kde_Post_Include) Property changes on: head/Mk/bsd.kde4.mk ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/Mk/Uses/kde.mk =================================================================== --- head/Mk/Uses/kde.mk (nonexistent) +++ head/Mk/Uses/kde.mk (revision 420774) @@ -0,0 +1,296 @@ +# $FreeBSD$ +# +# Provides support for KDE-based ports. +# +# Feature: kde +# Usage: USES=kde or USES=kde:ARGS +# Valid ARGS: 4 +# +# 4: Depend on KDE4 components and variables. +# +# Variables that can be set by a port: +# +# USE_KDE List of KDE4 components (other ports) that this +# port depends on. +# * foo_build Add a build-time dependency (BUILD_DEPENDS) +# * foo_run Add a run-time dependency (RUN_DEPENDS) +# * foo (default) Add both dependencies on component +# +# MAINTAINER: kde@FreeBSD.org + +.if !defined(_INCLUDE_USES_KDE_MK) +_INCLUDE_USES_KDE_MK= yes + +_KDE_SUPPORTED= 4 + +. if empty(kde_ARGS) +IGNORE= kde needs a version (${_KDE_SUPPORTED}) +. endif + +# At the moment we support KDE versions 4. +. for ver in ${_KDE_SUPPORTED:O:u} +. if ${kde_ARGS:M${ver}} +. if !defined(_KDE_VERSION) +_KDE_VERSION= ${ver} +. else +IGNORE?= cannot be installed: different KDE versions specified via kde:[${_KDE_SUPPORTED:S/ //g}] #' +. endif +. endif +. endfor + +. if empty(_KDE_VERSION) +IGNORE?= kde:[${_KDE_SUPPORTED:S/ //g}] needs an argument #' +. endif + +_KDE_RELNAME= KDE${_KDE_VERSION} + +# === VERSIONS OF THE DIFFERENT COMPONENTS ===================================== +# Old KDE desktop. +KDE4_VERSION?= 4.14.3 +KDE4_KDELIBS_VERSION= 4.14.10 +KDE4_ACTIVITIES_VERSION= 4.13.3 +KDE4_WORKSPACE_VERSION= 4.11.21 +KDE4_KDEPIM_VERSION?= 4.14.10 +# Applications version for the kde4-applications. +KDE4_APPLICATIONS_BRANCH?= Attic +KDE4_APPLICATIONS_VERSION?= 15.04.3 +KDE4_BRANCH?= stable + +# Extended KDE universe applications. +CALLIGRA_VERSION?= 2.9.11 +CALLIGRA_BRANCH?= stable + +KDEVELOP_VERSION?= 4.7.3 +KDEVELOP_BRANCH?= stable + +KTP_VERSION?= 0.9.0 +KTP_BRANCH?= stable +# ============================================================================== + +# === INSTALLATION PREFIX ====================================================== +# Define installation prefix. +KDE_PREFIX= ${LOCALBASE} +# ============================================================================== + +# ==== SETUP CMAKE ENVIRONMENT ================================================= +# Help cmake to find files when testing ports with non-default PREFIX. +CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}" + +. if ${_KDE_VERSION:M*4*} +CMAKE_ARGS+= -DKDE4_BUILD_TESTS:BOOL=OFF +. endif + +# Set man-page installation prefix. +CMAKE_ARGS+= -DKDE_INSTALL_MANDIR:PATH="${KDE_PREFIX}/man" \ + -DMAN_INSTALL_DIR:PATH="${KDE_PREFIX}/man" +# ============================================================================== + +# === SET-UP PLIST_SUB ========================================================= +# Prefix and include directory. +PLIST_SUB+= KDE_PREFIX="${KDE_PREFIX}" +# KDE Applications version. +PLIST_SUB+= KDE_APPLICATIONS_VERSION="${KDE_APPLICATIONS_VERSION}" +# For KDE4 applications provide KDE4 version numbers. +. if ${_KDE_VERSION:M*4*} +PLIST_SUB+= KDE4_VERSION="${KDE4_VERSION}" \ + KDE4_GENERIC_LIB_VERSION=${KDE4_KDELIBS_VERSION} \ + KDE4_NON_GENERIC_LIB_VERSION=${KDE4_KDELIBS_VERSION:S,^4,5,} \ + KDE4_KDELIBS_VERSION=${KDE4_KDELIBS_VERSION} \ + KDE4_NG_KDELIBS_VERSION=${KDE4_KDELIBS_VERSION:S,^4,5,} +. endif +# ============================================================================== + +# === HANDLE PYTHON ============================================================ +# TODO: Keep in sync with cmake/modules/PythonMacros.cmake +_PYTHON_SHORT_VER= ${PYTHON_VERSION:S/^python//:S/.//} +. if ${_PYTHON_SHORT_VER} > 31 +PLIST_SUB+= PYCACHE="__pycache__/" \ + PYC_SUFFIX=cpython-${_PYTHON_SHORT_VER}.pyc \ + PYO_SUFFIX=cpython-${_PYTHON_SHORT_VER}.pyo +. else +PLIST_SUB+= PYCACHE="" \ + PYC_SUFFIX=pyc \ + PYO_SUFFIX=pyo +. endif +# ============================================================================== +_USE_KDE4_ALL= baloo baloo-widgets baseapps kactivities kate kdelibs \ + kfilemetadata korundum libkcddb libkcompactdisc \ + libkdcraw libkdeedu libkdegames libkexiv2 libkipi \ + libkonq libksane marble nepomuk-core nepomuk-widgets \ + okular oxygen-icons4 perlkde perlqt pimlibs pykde4 \ + pykdeuic4 qtruby runtime smokegen smokekde smokeqt \ + workspace +# These components are not part of the Software Compilation. +_USE_KDE4_ALL+= akonadi attica automoc4 ontologies qimageblitz soprano \ + strigi + +# ====================== kde4 components ======================================= +baloo_PORT= sysutils/baloo +baloo_PATH= ${KDE_PREFIX}/lib/libbaloocore.so + +baloo-widgets_PORT= sysutils/baloo-widgets +baloo-widgets_PATH= ${KDE_PREFIX}/lib/libbaloowidgets.so + +baseapps_PORT= x11/kde4-baseapps +baseapps_PATH= ${KDE_PREFIX}/bin/kfmclient +baseapps_TYPE= run + +kactivities_PORT= x11/kactivities +kactivities_PATH= ${KDE_PREFIX}/lib/libkactivities.so + +kate_PORT= editors/kate +kate_PATH= ${KDE_PREFIX}/lib/libkateinterfaces.so + +kdelibs_PORT= x11/kdelibs4 +kdelibs_PATH= ${KDE_PREFIX}/lib/libkdecore.so + +kfilemetadata_PORT= sysutils/kfilemetadata +kfilemetadata_PATH= ${KDE_PREFIX}/lib/libkfilemetadata.so + +korundum_PORT= devel/ruby-korundum +korundum_PATH= ${KDE_PREFIX}/lib/kde4/krubypluginfactory.so +korundum_TYPE= run + +libkcddb_PORT= audio/libkcddb +libkcddb_PATH= ${KDE_PREFIX}/lib/libkcddb.so + +libkcompactdisc_PORT= audio/libkcompactdisc +libkcompactdisc_PATH= ${KDE_PREFIX}/lib/libkcompactdisc.so + +libkdcraw_PORT= graphics/libkdcraw-kde4 +libkdcraw_PATH= ${KDE_PREFIX}/lib/libkdcraw.so + +libkdeedu_PORT= misc/libkdeedu +libkdeedu_PATH= ${KDE_PREFIX}/lib/libkeduvocdocument.so + +libkdegames_PORT= games/libkdegames +libkdegames_PATH= ${KDE_PREFIX}/lib/libkdegames.so + +libkexiv2_PORT= graphics/libkexiv2-kde4 +libkexiv2_PATH= ${KDE_PREFIX}/lib/libkexiv2.so + +libkipi_PORT= graphics/libkipi-kde4 +libkipi_PATH= ${KDE_PREFIX}/lib/libkipi.so + +libkonq_PORT= x11/libkonq +libkonq_PATH= ${KDE_PREFIX}/lib/libkonq.so + +libksane_PORT= graphics/libksane +libksane_PATH= ${KDE_PREFIX}/lib/libksane.so + +marble_PORT= astro/marble +marble_PATH= ${KDE_PREFIX}/lib/libmarblewidget.so + +nepomuk-core_PORT= sysutils/nepomuk-core +nepomuk-core_PATH= ${KDE_PREFIX}/lib/libnepomukcore.so + +nepomuk-widgets_PORT= sysutils/nepomuk-widgets +nepomuk-widgets_PATH= ${KDE_PREFIX}/lib/libnepomukwidgets.so + +okular_PORT= graphics/okular +okular_PATH= ${KDE_PREFIX}/lib/libokularcore.so + +oxygen-icons4_PORT= x11-themes/kde4-icons-oxygen +oxygen-icons4_PATH= ${KDE_PREFIX}/share/icons/oxygen/index.theme +oxygen-icons4_TYPE= run + +perlkde_PORT= devel/p5-perlkde +perlkde_PATH= ${KDE_PREFIX}/lib/kde4/kperlpluginfactory.so +perlkde_TYPE= run + +perlqt_PORT= devel/p5-perlqt +perlqt_PATH= ${KDE_PREFIX}/bin/puic4 + +pimlibs_PORT= deskutils/kdepimlibs4 +pimlibs_PATH= ${KDE_PREFIX}/lib/libkpimutils.so + +pykde4_PORT= devel/py-pykde4 +pykde4_PATH= ${KDE_PREFIX}/lib/kde4/kpythonpluginfactory.so +pykde4_TYPE= run + +pykdeuic4_PORT= devel/py-pykdeuic4 +pykdeuic4_PATH= ${LOCALBASE}/bin/pykdeuic4 +pykdeuic4_TYPE= run + +qtruby_PORT= devel/ruby-qtruby +qtruby_PATH= ${KDE_PREFIX}/lib/libqtruby4shared.so + +runtime_PORT= x11/kde4-runtime +runtime_PATH= ${KDE_PREFIX}/bin/knotify4 +runtime_TYPE= run + +smokegen_PORT= devel/smokegen +smokegen_PATH= ${KDE_PREFIX}/lib/libsmokebase.so + +smokekde_PORT= devel/smokekde +smokekde_PATH= ${KDE_PREFIX}/lib/libsmokekdecore.so + +smokeqt_PORT= devel/smokeqt +smokeqt_PATH= ${KDE_PREFIX}/lib/libsmokeqtcore.so + +workspace_PORT= x11/kde4-workspace +workspace_PATH= ${KDE_PREFIX}/lib/libkworkspace.so + +# Non-Software Compilation components +akonadi_PORT= databases/akonadi +akonadi_PATH= ${KDE_PREFIX}/lib/libakonadiprotocolinternals.so + +attica_PORT= x11-toolkits/attica +attica_PATH= ${LOCALBASE}/lib/libattica.so + +automoc4_PORT= devel/automoc4 +automoc4_PATH= ${LOCALBASE}/bin/automoc4 +automoc4_TYPE= build + +ontologies_PORT= x11-toolkits/shared-desktop-ontologies +ontologies_PATH= ${LOCALBASE}/share/ontology/core/rdf.ontology + +qimageblitz_PORT= x11/qimageblitz +qimageblitz_PATH= ${LOCALBASE}/lib/libqimageblitz.so + +soprano_PORT= textproc/soprano +soprano_PATH= ${LOCALBASE}/lib/libsoprano.so + +strigi_PORT= deskutils/libstreamanalyzer +strigi_PATH= ${LOCALBASE}/lib/libstreamanalyzer.so.0 +# ====================== end of kde4 components ================================ + +# end of component list ######################################################## + +_USE_KDE_ALL= ${_USE_${_KDE_RELNAME}_ALL} + +# Iterate through components deprived of suffix. +. for component in ${USE_KDE:O:u:C/_.+//} + # Check that the component is valid. +. if ${_USE_KDE_ALL:M${component}} != "" + # Skip meta-components (currently none). +. if defined(${component}_PORT) && defined(${component}_PATH) +${component}_DEPENDS= ${${component}_PATH}:${${component}_PORT} + # Check if a dependency type is explicitly requested. +. if ${USE_KDE:M${component}_*} != "" && ${USE_KDE:M${component}} == "" +${component}_TYPE= # empty +. if ${USE_KDE:M${component}_build} != "" +${component}_TYPE+= build +. endif +. if ${USE_KDE:M${component}_run} != "" +${component}_TYPE+= run +. endif +. endif # ${USE_KDE:M${component}_*} != "" && ${USE_KDE:M${component}} == "" + # If no dependency type is set, default to full dependency. +. if !defined(${component}_TYPE) +${component}_TYPE= build run +. endif + # Set real dependencies. +. if ${${component}_TYPE:Mbuild} != "" +BUILD_DEPENDS+= ${${component}_DEPENDS} +. endif +. if ${${component}_TYPE:Mrun} != "" +RUN_DEPENDS+= ${${component}_DEPENDS} +. endif +. endif # defined(${component}_PORT) && defined(${component}_PATH) +. else # ! ${_USE_KDE_ALL:M${component}} != "" +IGNORE= cannot be installed: unknown USE_KDE component '${component}' +. endif # ${_USE_KDE_ALL:M${component}} != "" +. endfor + +.endif Property changes on: head/Mk/Uses/kde.mk ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/Mk/bsd.port.mk =================================================================== --- head/Mk/bsd.port.mk (revision 420773) +++ head/Mk/bsd.port.mk (revision 420774) @@ -1,5457 +1,5445 @@ #-*- tab-width: 4; -*- # ex:ts=4 # # $FreeBSD$ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # # Please view me with 4 column tabs! # This is the master file for the most common elements to all port # Makefile in the ports system. For a more general overview of its # use and importance, see the Porter's Handbook. # There are two different types of "maintainers" in the ports framework. # The maintainer alias of the bsd.port.mk file is listed below in the # FreeBSD_MAINTAINER entry. You should consult them if you have any # questions/suggestions regarding this file. # # DO NOT COMMIT CHANGES TO THIS FILE BY YOURSELF, EVEN IF YOU DID NOT GET # A RESPONSE FROM THE MAINTAINER(S) WITHIN A REASONABLE TIMEFRAME! ALL # UNAUTHORISED CHANGES WILL BE UNCONDITIONALLY REVERTED! FreeBSD_MAINTAINER= portmgr@FreeBSD.org # For each port, the MAINTAINER variable is what you should consult for # contact information on the person(s) to contact if you have questions/ # suggestions about that specific port. By default (if no MAINTAINER # is listed), a port is maintained by the subscribers of the ports@FreeBSD.org # mailing list, and any correspondence should be directed there. # # MAINTAINER - The e-mail address of the contact person for this port. # Default: ports@FreeBSD.org # # These are meta-variables that are automatically set to the system # you are running on. These are provided in case you need to take # different actions for different values. # # ARCH - The architecture of the target machine, such as would be # returned by "uname -p". # OPSYS - Portability clause. This is the operating system the # makefile is being used on. Automatically set to # "FreeBSD," "NetBSD," or "OpenBSD" as appropriate. # OSREL - The release version (numeric) of the operating system. # OSVERSION - The value of __FreeBSD_version. # # This is the beginning of the list of all variables that need to be # defined in a port, listed in order that they should be included # to fit in with existing conventions. (Exception: MAINTAINER actually # should appear after EXTRACT_ONLY and before MASTER_SITE_BACKUP). # # These variables are used to identify your port. # # PORTNAME - Name of software. Mandatory. # PORTVERSION - Version of software. Mandatory when no DISTVERSION is given. # PORTREVISION - Version of port. Optional. Commonly used to indicate # that an update has happened that affects the port # framework itself, but not the distributed software # (e.g., local patches or Makefile changes). # PORTEPOCH - Optional. In certain odd cases, the PORTREVISION logic # can be fooled by ports that appear to go backwards # numerically (e.g. if port-0.3 is newer than port-1998). # In this case, incrementing PORTEPOCH forces the revision. # Default: 0 (no effect). # PKGNAME - Always defined as # ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}. # Do not define this in your Makefile. # PKGNAMEPREFIX - Prefix to specify that port is language-specific, etc. # Optional. # PKGNAMESUFFIX - Suffix to specify compilation options or a version # designator (in case there are different versions of # one port as is the case for Tcl). # Optional. # PKGVERSION - Always defined as ${PORTVERSION}. # Do not define this in your Makefile. # DISTVERSION - Vendor version of the distribution. # Default: ${PORTVERSION} # DISTNAME - Name of port or distribution used in generating # WRKSRC and DISTFILES below. # Default: # ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} # CATEGORIES - A list of descriptive categories into which this port falls. # Mandatory. # # These variable describe how to fetch files required for building the port. # # DISTFILES - Name(s) of archive file(s) containing distribution. # Set this to an empty string if the port doesn't require it. # Default: ${DISTNAME}${EXTRACT_SUFX} # EXTRACT_SUFX - Suffix for archive names # You never have to set both DISTFILES and EXTRACT_SUFX. # Default: .tar.bz2 if USES=tar:bzip2 is set, .tar.xz if # USES=tar:xz USE_XZ is set, .tar.gz otherwise). # MASTER_SITES - Primary location(s) for distribution files if not found # locally. See bsd.sites.mk for common choices for # MASTER_SITES. # MASTER_SITE_SUBDIR # - Subdirectory of MASTER_SITES. Will sometimes need to be # set to ${PORTNAME} for (e.g.) MASTER_SITE_SOURCEFORGE. # Only guaranteed to work for choices of ${MASTER_SITES} # defined in bsd.sites.mk. # Default: not set. # PATCHFILES - Name(s) of additional files that contain distribution # patches. Make will look for them at PATCH_SITES (see below). # They will automatically be uncompressed before patching if # the names end with ".gz", ".bz2" or ".Z". # For each file you can optionally specify a strip # flag of patch(1) after a colon if it has a different # base directory, e.g. "file1 file2:-p1 file3". # You can also use a :group at the end for matching up to # dist file groups. See Porters Handbook for more information. # Syntax: PATCHFILES= patch[:-pX][:group] # Default: not set. # PATCH_SITES - Primary location(s) for distribution patch files # if not found locally. # DIST_SUBDIR - Suffix to ${DISTDIR}. If set, all ${DISTFILES} and # ${PATCHFILES} will be put in this subdirectory of # ${DISTDIR} (see below). Also they will be fetched in this # subdirectory from FreeBSD mirror sites. # ALLFILES - All of ${DISTFILES} and ${PATCHFILES}. # NOFETCHFILES - If set, don't download these files from the ${MASTER_SITES} # or ${MASTER_SITE_BACKUP} (but do from # ${MASTER_SITE_OVERRIDE}) # EXTRACT_ONLY - If set, a subset of ${DISTFILES} you want to # actually extract. # ALWAYS_KEEP_DISTFILES # - If set, the package building cluster will save the distfiles # along with the packages. This may be required to comply with # some licenses, e.g. GPL in some cases. # Default: not set. # # (NOTE: by convention, the MAINTAINER entry (see above) should go here.) # # These variables are typically set in /etc/make.conf to indicate # the user's preferred location to fetch files from. You should # rarely need to set these. # # MASTER_SITE_BACKUP # - Backup location(s) for distribution files and patch # files if not found locally and ${MASTER_SITES}/${PATCH_SITES}. # This should *not* be changed. # Default: # http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ # MASTER_SITE_OVERRIDE # - If set, prepend the MASTER_SITES setting with this value. # MASTER_SITE_FREEBSD # - If set, prepend ${MASTER_SITE_BACKUP} in MASTER_SITES. # # Set these if your port should not be built under certain circumstances. # These are string variables; you should set them to the reason why # they are necessary. # # RESTRICTED - Prevent the distribution of distfiles and packages to # the FTP sites or on CDROM (e.g. forbidden by license # considerations). # NO_CDROM - Packages and distfiles may not go on CDROM (e.g. must # not be re-sold) but can go on FTP sites. # NO_PACKAGE - Port should not be packaged for ftp sites or CDROMs, # but distfiles can be put on ftp sites and CDROMs. # FORBIDDEN - Package build should not be attempted because of # security vulnerabilities. # LEGAL_TEXT - Port has legal issues (e.g., special permission to distribute, lacks a license). # LEGAL_PACKAGE - Port has no legal issues but defines NO_PACKAGE # IGNORE - Package build should be skipped entirely (e.g. # because of serious unfixable problems in the build, # because it cannot be manually fetched, etc). Error # logs will not appear on pointyhat, so this should be # used sparingly. # BROKEN - Port is believed to be broken. Package builds can # still be attempted using TRYBROKEN to test this # assumption. # BROKEN_${ARCH} - Port is believed to be broken on ${ARCH}. Package builds # can still be attempted using TRYBROKEN to # test this assumption. # BROKEN_${OPSYS} - Port is believed to be broken on ${OPSYS}. Package builds # can still be attempted using TRYBROKEN to # test this assumption. # BROKEN_${OPSYS}_${OSREL:R} - Port is believed to be broken on a single # release of ${OPSYS}, e.g BROKEN_FreeBSD_8 # would affect all point releases of FreeBSD 8 # unless TRYBROKEN is also set. # BROKEN_${OPSYS}_${OSREL:R}_${ARCH} - Port is believed to be broken on a # single release of ${OPSYS} and specific architecture, # e.g BROKEN_FreeBSD_8_i386 would affect all point # releases of FreeBSD 8 in i386 # unless TRYBROKEN is also set. # DEPRECATED - Port is deprecated to install. Advisory only. # EXPIRATION_DATE # - If DEPRECATED is set, determines a date when # the port is planed to remove. The date format is # ISO 8601 (YYYY-MM-DD). # # DISABLE_VULNERABILITIES # - If set, do not check if the port is listed in the # vulnerabilities database. # # In addition to RESTRICTED or NO_CDROM, if only a subset of distfiles # or patchfiles have redistribution restrictions, set the following # to the list of such files. # # RESTRICTED_FILES # - List of files that cannot be redistributed. # Default: "${DISTFILES} ${PATCHFILES}" if RESTRICTED # or NO_CDROM is set, empty otherwise. # # These variables are booleans, so you don't need to set them to the reason. # # IS_INTERACTIVE # - Set this if your port needs to interact with the user # during any step in a package build. User can then decide # to skip this port by setting ${BATCH}, or compiling only # the interactive ports by setting ${INTERACTIVE}. # Default: not set. # USE_SUBMAKE - Set this if you want that each of the port's main 7 targets # (extract, patch, configure, build, stage, install and # package) to be executed in a separate make(1) process. # Useful when one of the stages needs to influence make(1) # variables of the later stages using ${WRKDIR}/Makefile.inc # generated on the fly. # Default: not set. # # NO_ARCH - Set this if port is architecture neutral. # # Set these if your port only makes sense to certain architectures. # They are lists containing names for them (e.g., "amd64 i386"). # (Defaults: not set.) # # ONLY_FOR_ARCHS # - Only build ports if ${ARCH} matches one of these. # NOT_FOR_ARCHS - Only build ports if ${ARCH} doesn't match one of these. # ONLY_FOR_ARCHS_REASON # ONLY_FOR_ARCHS_REASON_${ARCH} # - Reason why it's only for ${ONLY_FOR_ARCHS}s # NOT_FOR_ARCHS_REASON # NOT_FOR_ARCHS_REASON_${ARCH} # - Reason why it's not for ${NOT_FOR_ARCHS}s # IA32_BINARY_PORT # - Set this instead of ONLY_FOR_ARCHS if the given port # fetches and installs compiled i386 binaries. # # Dependency checking. Use these if your port requires another port # not in the list below. (Default: empty.) # # EXTRACT_DEPENDS # - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "extract" stage. "path" is # the name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # PATCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "patch" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # FETCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends in the "fetch" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the # existence (if it is a full pathname) or search for # it in your $PATH (if it is an executable) and go # into "dir" to do a "make all install" if it's not # found. If the third field ("target") exists, it will # be used instead of ${DEPENDS_TARGET}. The first field # also supports a package name with a version range, in # the form package>=1.2 if a particular version is desired. # BUILD_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends to build (between the "extract" and # "build" stages, inclusive). The test done to # determine the existence of the dependency is the # same as FETCH_DEPENDS. If the third field ("target") # exists, it will be used instead of ${DEPENDS_TARGET}. # RUN_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends to run. The test done to determine # the existence of the dependency is the same as # FETCH_DEPENDS. This will be checked during the # "install" stage and the name of the dependency will # be put into the package as well. If the third field # ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # LIB_DEPENDS - A list of "lib:dir[:target]" tuples of other ports this # package depends on. "lib" is the name of a shared library. # TEST_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "test" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # DEPENDS_TARGET # - The default target to execute when a port is calling a # dependency. # Default: install # # These variables control options about how a port gets built and/or # are shorthand notations for common sets of dependencies. # Use these if your port uses some of the common software packages. By # convention these should be set to 'yes', although they only need to be # defined. Defaults: not set, unless explicitly indicated below. # # Note: the distinction between the USE_* and WANT_* variables, and the # WITH_* and WITHOUT_* variables, are that the former are restricted to # usage inside the ports framework, and the latter are reserved for user- # settable options. (Setting USE_* in /etc/make.conf is always wrong). # # WITH_DEBUG - If set, debugging flags are added to CFLAGS and the # binaries don't get stripped by INSTALL_PROGRAM or # INSTALL_LIB. Besides, individual ports might # add their specific to produce binaries for debugging # purposes. You can override the debug flags that are # passed to the compiler by setting DEBUG_FLAGS. It is # set to "-g" at default. # # WITH_DEBUG_PORTS - A list of origins for which WITH_DEBUG will be set # # WITHOUT_SSP - Disable SSP. # # SSP_CFLAGS - Defaults to -fstack-protector. This value # is added to CFLAGS and the necessary flags # are added to LDFLAGS. Note that SSP_UNSAFE # can be used in Makefiles by port maintainers # if a port breaks with it (it should be # extremely rare). # # USE_GCC - If set, this port requires this version of gcc, either in # the system or installed from a port. # USE_CSTD - Override the default C language standard (gnu89, gnu99) # USE_CXXSTD Override the default C++ language standard # USE_BINUTILS - Use binutils suite from port instead of the version in base. # CFLAGS_${ARCH} Append the cflags to CFLAGS only on the specified architecture # CXXFLAGS_${ARCH} # Append the cxxflags to CXXFLAGS only on the specified architecture ## # USE_GL - A list of Mesa or GL related dependencies needed by the port. # Supported components are: egl, glesv2, glut, glu, glw, and gl. # If set to "yes", this is equivalent to "glu". Note that # glew and glut depend on glu, glw and glu depend on gl. ## # USE_SDL - If set, this port uses the sdl libraries. # See bsd.sdl.mk for more information. ## # USE_OPENLDAP - If set, this port uses the OpenLDAP libraries. # Implies: WANT_OPENLDAP_VER?=24 # WANT_OPENLDAP_VER # - Legal values are: 23, 24 # If set to an unknown value, the port is marked BROKEN. # WANT_OPENLDAP_SASL # - If set, the system should use OpenLDAP libraries # with SASL support. ## # USE_AUTOTOOLS - If set, this port uses various GNU autotools # (libtool, autoconf, autoheader, automake et al.) # See bsd.autotools.mk for more details. ## # USE_FPC - If set, this port relies on the Free Pascal language. # Implies inclusion of bsd.fpc.mk. (Also see # that file for more information on WANT_FPC_*). # USE_JAVA - If set, this port relies on the Java language. # Implies inclusion of bsd.java.mk. (Also see # that file for more information on USE_JAVA_*). # USE_OCAML - If set, this port relies on the OCaml language. # Implies inclusion of bsd.ocaml.mk. (Also see # that file for more information on USE_OCAML*). # USE_RUBY - If set, this port relies on the Ruby language. # Implies inclusion of bsd.ruby.mk. (Also see # that file for more information on USE_RUBY_*). ## # USE_GECKO - If set, this port uses the Gecko/Mozilla product. # See bsd.gecko.mk for more details. ## # USE_WX - If set, this port uses the WxWidgets library and related # components. See bsd.wx.mk for more details. ## -# USE_KDE4 - A list of the KDE 4 dependencies the port has (e.g., -# kdelibs, kdebase). Implies that the port needs KDE. -# Implies inclusion of bsd.kde4.mk. See bsd.kde4.mk -# for more details. # # USE_QT4 - A list of the Qt 4 dependencies the port has (e.g, # corelib, webkit). Implies that the port needs Qt. # Implies the inclusion of bsd.qt.mk. See bsd.qt.mk # for more details. # # USE_QT5 - A list of the Qt 5 dependencies the port has (e.g, # core, webkit). Implies that the port needs Qt. # Implies the inclusion of bsd.qt.mk. See bsd.qt.mk # for more details. # # USE_LINUX - Set to yes to say the port needs the default linux base port. # Set to value , if the port needs emulators/linux_base-. # Implies appropriate settings for STRIP and STRIP_CMD. # USE_LINUX_PREFIX # - controls the action of PREFIX (see above). Only use this # if the port is a linux infrastructure port (e.g. contains libs # or a sound server which supports the FreeBSD native one), # use the default or the X11 prefix if it's a leaf port # (e.g. a game or program). # Implies NO_MTREE=yes, and, if USE_LDCONFIG is defined: # - USE_LINUX=yes # - appropriate invocation of the Linux ldconfig # USE_LINUX_RPM - Set to yes to pull in variables and targets useful to Linux # RPM ports. # Set to nolib if your port does not contain an architecture- # specific library. # Implies inclusion of bsd.linux-rpm.mk. # # LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl. # Will be used to distinguish which linux # infrastructure ports should be used. # Valid values: 2.6.16. # # OVERRIDE_LINUX_BASE_PORT # - This specifies the default linux base to use, for valid # values have a look at the description of USE_LINUX. This is # an user-only variable. Don't use it in any port, it's meant # to be used in make.conf. # # LINUX_BASE_PORT # - This is a read-only variable, it gets set to a value which is # usable in *_DEPENDS (e.g. BUILD_DEPENDS=${LINUX_BASE_PORT}). # It honors USE_LINUX=foo and OVERRIDE_LINUX_BASE_PORT. ## # USE_XORG - Set to a list of X.org module dependencies. # Implies inclusion of bsd.xorg.mk. ## # USE_TEX - A list of the TeX dependencies the port has. # ## # USE_RC_SUBR - If set, the ports startup/shutdown script uses the common # routines found in /etc/rc.subr. # If this is set to a list of files, these files will be # automatically added to ${SUB_FILES}, some %%VAR%%'s will # automatically be expanded, they will be installed in # ${PREFIX}/etc/rc.d if ${PREFIX} is not /usr, otherwise they # will be installed in /etc/rc.d/ and added to the packing list. ## # USE_APACHE - If set, this port relies on an apache webserver. # # Conflict checking. Use if your port cannot be installed at the same time as # another package. # # CONFLICTS - A list of package name patterns that the port conflicts # with, separated by blanks. The names may include shell # pattern meta-characters "*", "?", "[", "]", and "!". # Example: apache*-1.2* apache*-1.3.[012345] apache-*+ssl_* # # CONFLICTS_BUILD # - Check conflict prior to the build. # # CONFLICTS_INSTALL # - Check conflict prior to the installation stage. # # Various directory definitions and variables to control them. # You rarely need to redefine any of these except WRKSRC and NO_WRKSUBDIR. # # LOCALBASE - Where ports install things. # Default: /usr/local # LINUXBASE - Where Linux ports install things. # Default: /compat/linux # PREFIX - Where *this* port installs its files. # Default: ${LINUXBASE} if USE_LINUX_PREFIX is set, # otherwise ${LOCALBASE} # # IGNORE_PATH_CHECKS # - There are some sanity checks against PREFIX. # You can disable these checks with defining # this variable, but this is not recommended! # Only do this if you really know what you are # doing. These sanity checks are the following: # - PREFIX has to be an absolute path. # - PREFIX can't have a trailing slash. # # BUNDLE_LIBS Teach pkg(8) to not automatically add all shared libraries # installed by a port as shared libraries "provided" for # other packages (i.e., do not expose them in the solver). # This has to be used for ports that bundle third party # libraries for internal usage. # MASTERDIR - Where the port finds patches, package files, etc. Define # this is you have two or more ports that share most of the # files. # Default: ${.CURDIR} # PORTSDIR - The root of the ports tree. # Default: /usr/ports # DISTDIR - Where to search for and store copies of original sources # Default: ${PORTSDIR}/distfiles # PACKAGES - A top level directory where all packages go (rather than # going locally to each port). # Default: ${PORTSDIR}/packages # WRKDIRPREFIX - The place to root the temporary working directory # hierarchy. # Default: none # WRKDIR - A temporary working directory that gets *clobbered* on clean # Default: ${WRKDIRPREFIX}${.CURDIR}/work # WRKSRC - A subdirectory of ${WRKDIR} where the distribution actually # unpacks to. # Default: ${WRKDIR}/${DISTNAME} # WRKSRC_SUBDIR - A subdirectory of ${WRKSRC} where the distribution actually # builds in. # Default: not set # NO_WRKSUBDIR - Assume port unpacks without a subdirectory, and extract it in # ${WRKSRC} instead of ${WRKDIR}. # PATCHDIR - A directory containing any additional patches you made # to port this software to FreeBSD. # Default: ${MASTERDIR}/files # SCRIPTDIR - A directory containing any auxiliary scripts # Default: ${MASTERDIR}/scripts # FILESDIR - A directory containing any miscellaneous additional files. # Default: ${MASTERDIR}/files # PKGDIR - A directory containing any package creation files. # Default: ${MASTERDIR} # SRC_BASE - The root of the src tree. (Some ports require this to get # kernel sources). Default: /usr/src # UID_FILES - A list of files containing information about registered UIDs. # Note that files have decreasing priority. # GID_FILES - A list of files containing information about registered GIDs. # Note that files have decreasing priority. # # Variables that serve as convenient "aliases" for your *-install targets. # Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin". # # INSTALL_PROGRAM # - A command to install binary executables. (By # default, also strips them, unless ${STRIP} is # overridden to be the empty string). # INSTALL_KLD - As INSTALL_PROGRAM, but without the STRIP. # INSTALL_LIB - As INSTALL_DATA, but also strips the file. # INSTALL_SCRIPT # - A command to install executable scripts. # INSTALL_DATA - A command to install sharable data and static libs. # INSTALL_MAN - A command to install manpages and documentation. # COPYTREE_BIN # COPYTREE_SHARE # - Similiar to INSTALL_PROGRAM and INSTALL_DATA commands but # working on whole trees of directories, takes 3 arguments, # last one is find(1) arguments and optional. # Example use: # cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} "! -name *\.bak" # # Installs all directories and files from ${WRKSRC}/doc # to ${DOCSDIR} except sed(1) backup files. # # MANPREFIX - The directory prefix for ${MAN} and ${MLINKS}. # Default: ${PREFIX} # MANPREFIX # - If manual pages of some sections install in different # locations than others, use these. # Default: ${MANPREFIX} # # Set the following to specify all .info files your port installs. # # INFO - A list of .info files (omitting the trailing ".info"); # only one entry per document! These files are listed in # the path relative to ${INFO_PATH}. # INFO_PATH - Path, where all .info files will be installed by your # port, relative to ${PREFIX} # Default: "share/info" if ${PREFIX} is equal to /usr # and "info" otherwise. # # Set the following to specify all documentation your port installs into # ${DOCSDIR} # # PORTDOCS - A list of files and directories relative to DOCSDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no documentation files are # installed. # Useful for dynamically generated documentation. # # Set the following to specify all documentation your port installs into # ${EXAMPLESDIR} # # PORTEXAMPLES - A list of files and directories relative to EXAMPLESDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no examples files are # installed. # Useful for dynamically generated examples. # # Set the following to specify all files and directories your port installs into # ${DATADIR} # # PORTDATA - A list of files and directories relative to DATADIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no data files are # installed. # Useful for dynamically generated data files. # # Default targets and their behaviors: # # fetch - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port. # fetch-list - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-recursive # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-recursive-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-required # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-required-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-url-list # - Show list of URLS to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-urlall-list # - Show list of URLS to retrieve ${DISTFILES} and # ${PATCHFILES} for this port. # # all-depends-list # - Show all directories which are dependencies # for this port. # build-depends-list # - Show all directories which are build-dependencies # for this port. # package-depends-list # - Show all directories which are package-dependencies # for this port. This is based upon the dependency # tree as recorded in the Makefiles of the ports # collection, not as recorded in the currently # installed ports. # actual-package-depends # - Like package-depends-list but with the difference # that the dependencies of the currently installed # ports are used instead of the dependencies as # recorded in the ports collection. # run-depends-list # - Show all directories which are run-dependencies # for this port. # test-depends-list # - Show all directories which are test-dependencies # for this port. # # extract - Unpacks ${DISTFILES} into ${WRKDIR}. # patch - Apply any provided patches to the source. # configure - Runs either GNU configure, one or more local configure # scripts or nothing, depending on what's available. # build - Actually compile the sources. # install - Install the results of a build. # reinstall - Install the results of a build, ignoring "already installed" # flag. # deinstall - Remove the installation. # deinstall-all - Remove all installations with the same PKGORIGIN. # test - Run tests for the port. # package - Create a package from an _installed_ port. # package-recursive # - Create a package for a port and _all_ of its dependencies. # describe - Try to generate a one-line description for each port for # use in INDEX files and the like. # check-plist - Checks for files missing from the plist, and files in the plist # that are not installed by the port. # check-sanity - Perform some basic checks of the port layout. # checkpatch - Do a "patch -C" instead of a "patch". Note that it may # give incorrect results if multiple patches deal with # the same file. # checksum - Use distinfo to ensure that your distfiles are valid. # checksum-recursive # - Run checksum in this port and all dependencies. # makesum - Generate distinfo (only do this for your own ports!). # clean - Remove ${WRKDIR} and other temporary files used for building. # clean-depends - Do a "make clean" for all dependencies. # config - Configure options for this port (using ${DIALOG}). # Automatically run prior to extract, patch, configure, build, # install, and package. # config-recursive # - Configure options for this port for a port and all its # dependencies. # showconfig - Display options config for this port. # showconfig-recursive # - Display options config for this port and all its # dependencies. # rmconfig - Remove the options config for this port. # rmconfig-recursive # - Remove the options config for this port and all its # dependencies. # # Default sequence for "all" is: # # check-sanity fetch checksum extract patch configure build # # Please read the comments in the targets section below; you # should be able to use the pre-* or post-* targets/scripts # (which are available for every stage except checksum) or # override the do-* targets to do pretty much anything you want. # # The TARGET_ORDER_OVERRIDE variable can be set to multiple : # to change the ordering of targets, have a look at the _SEQ variables at the # end of this file for the default order and priorities. # # NEVER override the "regular" targets unless you want to open # a major can of worms. # # Set these variables if your port doesn't need some of the steps. # Note that there are no NO_PATCH or NO_CONFIGURE variables because # those steps are empty by default. NO_EXTRACT is not allowed anymore # since we need to at least create ${WRKDIR}. Also, NO_CHECKSUM is a user # variable and is not to be set in a port's Makefile. See above for NO_PACKAGE. # # NO_BUILD - Use a dummy (do-nothing) build target. # NO_INSTALL - Use a dummy (do-nothing) install target. # NO_TEST - Use a dummy (do-nothing) test target. # # Here are some variables used in various stages. # # For options see bsd.options.mk # # For fetch: # # FETCH_BINARY - Path to ftp/http fetch command if not in $PATH. # Default: "/usr/bin/fetch" # FETCH_ARGS - Arguments to ftp/http fetch command. # Default: "-Fpr" # FETCH_CMD - ftp/http fetch command. # Default: ${FETCH_BINARY} ${FETCH_ARGS} # FETCH_BEFORE_ARGS # - Arguments to ${FETCH_CMD} before filename. # Default: none # FETCH_AFTER_ARGS # - Arguments to ${FETCH_CMD} following filename. # Default: none # FETCH_ENV - Environment to pass to ${FETCH_CMD}. # Default: none # FETCH_REGET - Times to retry fetching of files on checksum errors. # Default: 1 # CLEAN_FETCH_ENV # - Disable package dependency in fetch target for mass # fetching. User settable. # # For extract: # # EXTRACT_CMD - Command for extracting archive # Default: ${TAR} # EXTRACT_BEFORE_ARGS # - Arguments to ${EXTRACT_CMD} before filename. # Default: "-xf" # EXTRACT_AFTER_ARGS # - Arguments to ${EXTRACT_CMD} following filename. # Default: "--no-same-owner --no-same-permissions" # For patch: # # EXTRA_PATCHES - Define this variable if you have patches not in # ${PATCHDIR}. This usually happens when you need to # do some pre-processing before some distribution # patches can be applied. In that case, fetch them as # extra distfiles, put the processed results in # ${WRKDIR}, then point EXTRA_PATCHES to them. # The patches specified by this variable will be # applied after the normal distribution patches but # before those in ${PATCHDIR}. # PATCH_WRKSRC - Directory to apply patches in. # Default: ${WRKSRC} # # For configure: # # HAS_CONFIGURE - If set, this port has its own configure script. The # configure stage will not do anything if this is not set. # GNU_CONFIGURE - If set, you are using GNU configure (optional). Implies # HAS_CONFIGURE. # CONFIGURE_OUTSOURCE - If set, this port builds in an empty ${CONFIGURE_WRKSRC} # not being under ${WRKSRC}. # CONFIGURE_WRKSRC # - Directory to run configure in. # Default: ${WRKSRC} # CONFIGURE_SCRIPT # - Name of configure script, relative to ${CONFIGURE_WRKSRC}. # Default: "Makefile.PL" if USES=perl5 and USE_PERL5=configure # are set, "configure" otherwise. # CONFIGURE_TARGET # - The name of target to call when GNU_CONFIGURE is # defined. # Default: ${ARCH}-portbld-${OPSYS:tl}${OSREL} # GNU_CONFIGURE_PREFIX # - The directory passed as prefix to the configure script if # GNU_CONFIGURE is set. # Default: ${PREFIX} # CONFIGURE_ARGS # - Pass these args to configure if ${HAS_CONFIGURE} is set. # Default: "--prefix=${GNU_CONFIGURE_PREFIX} # --infodir=${PREFIX}/${INFO_PATH} --localstatedir=/var # --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if # GNU_CONFIGURE is set, "CC=${CC} CFLAGS=${CFLAGS} # PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib # INSTALLARCHLIB=${PREFIX}/lib" if USES=perl5 and # USE_PERL5=configure are set, empty otherwise. # CONFIGURE_ENV - Pass these env (shell-like) to configure if # ${HAS_CONFIGURE} is set. # CONFIGURE_LOG - The name of configure log file. It will be printed to # the screen if configure fails. # Default: config.log # CONFIGURE_FAIL_MESSAGE # - A message displayed to users when configure # fails (note: this assumes the do-configure # target has not been overwritten). This message # will be passed through /usr/bin/fmt before # being shown to the user. # # WITHOUT_FBSD10_FIX Disable FreeBSD 10.0 autotools workaround. # # For build and install: # # MAKEFILE - Name of the makefile. # Default: Makefile # ALL_TARGET - Default target for sub-make in build stage. # Default: all # BUILD_WRKSRC - Directory to do build in (default: ${WRKSRC}). # MAKE_ENV - Additional environment vars passed to sub-make in build # and install stages. # Default: see below # MAKE_ARGS - Any extra arguments to sub-make in build and install stages. # Default: none ## # MAKE_JOBS_UNSAFE # - Disallow multiple jobs even when user set a global override. # To be used with known bad ports. # DISABLE_MAKE_JOBS # - Set to disable the multiple jobs feature. User settable. # MAKE_JOBS_NUMBER # - Override the number of make jobs to be used. User settable. # MAKE_JOBS_NUMBER_LIMIT # - Set a limit for maximum number of make jobs allowed to be # used. ## cacche # # WITH_CCACHE_BUILD # - Enable CCACHE support (devel/ccache). User settable. # CCACHE_DIR # - Which directory to use for ccache (default: $HOME/.ccache) # NO_CCACHE # - Disable CCACHE support for example for certain ports if # CCACHE is enabled. User settable. # # For test: # # TEST_TARGET - Target for sub-make in test stage. If not defined, # no default test target is provided. # Default: (none) # TEST_WRKSRC - Directory to do test in (default: ${WRKSRC}). # TEST_ENV - Additional environment vars passed to sub-make in test # stage # Default: ${MAKE_ENV} # TEST_ARGS - Any extra arguments to sub-make in test stage # Default: ${MAKE_ARGS} # # For install: # # INSTALL_TARGET # - Default target for sub-make in install stage. # Default: install # INSTALL_WRKSRC # - Directory to install from # Default: ${WRKSRC} # NO_MTREE - If set, will not invoke mtree from bsd.port.mk from # the "install" target. # MTREE_FILE - The name of the mtree file. # Default: ${PORTSDIR}/Templates/BSD.local.dist or # /etc/mtree/BSD.usr.dist if ${PREFIX} == "/usr". # PLIST_DIRS - Directories to be added to packing list # PLIST_FILES - Files and symbolic links to be added to packing list # # PLIST - Name of the `packing list' file. # Change this to ${WRKDIR}/PLIST or something if you # need to write to it. (It is not a good idea for a port # to write to any file outside ${WRKDIR} during a normal # build.) # Default: ${PKGDIR}/pkg-plist # TMPPLIST - Name of the `packing list' file after processing # Default: ${WRKDIR}/.PLIST.mktmp # PLIST_SUB - List of "variable=value" pair for substitution in ${PLIST} # Default: see below # # SUB_FILES - Files that should be passed through sed(1) and redirected to # ${WRKDIR}. # - For each file specified in SUB_FILES, there must be a # corresponding file in ${FILESDIR} whose suffix is ".in". For # instance, if the Makefile specifies "SUB_FILES= pkg-message" # then there must be a file called pkg-message.in in # ${FILESDIR}. # - The substitution process is the same as PLIST_FILES, as # described below except that any line beginning with @comment # is deleted. # SUB_LIST - List of "variable=value" pair for substitution in ${SUB_FILES} # Some pairs are added by default: eg. PREFIX=${PREFIX} # # USE_LDCONFIG - If set to "yes", this adds ${PREFIX}/lib to the list of # directories to be searched for shared libraries. # Otherwise, this is a list of directories to be added to that # list. The directory names are written to # ${LOCALBASE}/libdata/ldconfig/${PKGBASE} which is then # used by the ldconfig startup script. # This mechanism replaces ldconfig scripts installed by some # ports, often under such names as 000.${UNQUENAME}.sh. # If USE_LINUX_PREFIX is defined, the Linux version of # ldconfig will be used instead of the native FreeBSD # version, and the directory list given will be ignored. # USE_LDCONFIG32 # - Same as USE_LDCONFIG but the target file is # ${LOCALBASE}/libdata/ldconfig32/${PKGBASE} instead. # Note: that should only be used on 64-bit architectures. # # DOCSDIR - Name of the directory to install the packages docs in. # Default: ${PREFIX}/share/doc/${PORTNAME} # DOCSDIR_REL - The DOCSDIR relative to ${PREFIX} # EXAMPLESDIR - Name of the directory to install the packages examples in. # Default: ${PREFIX}/share/examples/${PORTNAME} # EXAMPLESDIR_REL # - The EXAMPLESDIR relative to ${PREFIX} # DATADIR - Name of the directory to install the packages shared data in. # Default: ${PREFIX}/share/${PORTNAME} # DATADIR_REL - The DATADIR relative to ${PREFIX} # # WWWDIR - Name of the directory to install the packages www data in. # Default: ${PREFIX}/www/${PORTNAME} # WWWDIR_REL - The WWWDIR relative to ${PREFIX} # # USERS - List of users to create at install time. Each login must # have a corresponding entry in ${UID_FILES}. # GROUPS - List of groups to create at install time. Each group must # have a corresponding entry in ${GID_FILES}. # # DESKTOPDIR - Name of the directory to install ${DESKTOP_ENTRIES} in. # Default: ${PREFIX}/share/applications # DESKTOP_ENTRIES # - List of desktop entry files to generate and install in # ${DESKTOPDIR}. The format is # "Name" "Comment" "Icon" "Exec" "Categories" StartupNotify # Rules: # * Only add desktop entries for applications which do not # require a terminal (ie. X applications). # * If the upstream distribution already installs .desktop # files, you do not need to use this. # * If you require a more elaborate .desktop file than this # variable permits, write it yourself and install it # in ${DESKTOPDIR}. # Notes: # * Comment, Icon and StartupNotify may be empty # strings (""). Categories may be an empty string in some # cases (see below). The other fields are mandatory. # * If Comment is an empty string, port ${COMMENT} will be # used. # * If set, Icon must be either absolute path (usually # ${PREFIX}/share/pixmaps/${PORTNAME}.png) or icon name # without extension if installed icons follow Icon Theme # Specification. # * If Categories is an empty string, bsd.port.mk will try # to deduce a default value using the CATEGORIES variable. # If the deduction fails, you will have to set Categories # manually. You should check the generated value using # "make desktop-categories", and override it if necessary. # * Exec will also be used to name the .desktop file. # * StartupNotify may be true, false or empty (see Desktop # Entry Specification for details). # * The files will be automatically added to ${PLIST}. # Example: # "X Window Information" \ # "Get information about X windows" \ # "${PREFIX}/share/pixmaps/wininfo.png" \ # "${PREFIX}/bin/wininfo" \ # "System;" \ # "" # See http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html # for an explanation of the fields. If you need to create more # than one file, just chain them into a single variable. # # Note that the install target will automatically add manpages (see # above) and also substitute special sequences of characters (delimited # by "%%") as defined in PLIST_SUB to generate ${TMPPLIST}. For # instance, "OSREL=${OSREL}" in PLIST_SUB causes all occurrences of # "%%OSREL%%" in ${PLIST} to be substituted by the value of OSREL. # ${TMPPLIST} is generated before the do-install stage. If you are # generating the packing list on-the-fly, make sure it's generated before # do-install is called! # # This is used in all stages: # # SCRIPTS_ENV - Additional environment vars passed to scripts in # ${SCRIPTDIR} executed by bsd.port.mk. # Default: see below # # Finally, variables to change if you want a special behavior. These # are for debugging purposes. Don't set them in your Makefile. # # ECHO_MSG - Used to print all the '===>' style prompts - override this # to turn them off. # Default: ${ECHO_CMD} # PATCH_DEBUG - If set, print out more information about the patches as # it attempts to apply them. # PKG_DBDIR - Where package installation is recorded; this directory # must not contain anything else. # Default: /var/db/pkg # PORT_DBDIR - Where port configuration options are recorded. # Default: /var/db/ports # NO_PKG_REGISTER # - Don't register a port installation as a package. # FORCE_PKG_REGISTER # - If set, it will overwrite any existing package # registration information in ${PKG_DBDIR}/${PKGNAME}. # NO_DEPENDS - Don't verify build of dependencies. # STRICT_DEPENDS # - Verify dependencies but consider missing dependencies as # fatal. # CHECKSUM_ALGORITHMS # - Different checksum algorithms to check for verifying the # integrity of the distfiles. The absence of the algorithm # in distinfo doesn't make it fail. # Default: sha256 # NO_CHECKSUM - Don't verify the checksum. Typically used when # when you noticed the distfile you just fetched has # a different checksum and you intend to verify if # the port still works with it. # USE_PACKAGE_DEPENDS # - Try to install dependencies from existing packages instead # of building the port from scratch. Fallback on source # if an existing package is not present. # USE_PACKAGE_DEPENDS_ONLY # - Like USE_PACKAGE_DEPENDS, but do not fallback on source. # INSTALL_AS_USER # - Define this to install as the current user, intended # for systems where you have no root access. # DISABLE_SIZE - Do not check the size of a distfile even if the SIZE field # has been specified in distinfo. This is useful # when using an alternate FETCH_CMD. # # PKG_CREATE_VERBOSE - If set, pass the -v option to pkg create which # ensures periodic output during packaging and # will help prevent timeouts by build monitors # # End of the list of all variables that need to be defined in a port. # Most port authors should not need to understand anything after this point. # # These need to be absolute since we don't know how deep in the ports # tree we are and thus can't go relative. They can, of course, be overridden # by individual Makefiles or local system make configuration. PORTSDIR?= /usr/ports LOCALBASE?= /usr/local LINUXBASE?= /compat/linux DISTDIR?= ${PORTSDIR}/distfiles _DISTDIR?= ${DISTDIR}/${DIST_SUBDIR} INDEXDIR?= ${PORTSDIR} SRC_BASE?= /usr/src USESDIR?= ${PORTSDIR}/Mk/Uses SCRIPTSDIR?= ${PORTSDIR}/Mk/Scripts LIB_DIRS?= /lib /usr/lib ${LOCALBASE}/lib STAGEDIR?= ${WRKDIR}/stage NOTPHONY?= MINIMAL_PKG_VERSION= 1.6.0 # make sure bmake treats -V as expected .MAKE.EXPAND_VARIABLES= yes .include "${PORTSDIR}/Mk/bsd.commands.mk" .if defined(X_BUILD_FOR) .if !defined(.PARSEDIR) IGNORE= Cross building can only be done when using bmake(1) as make(1) .endif # Do not define CPP on purpose .if !defined(HOSTCC) HOSTCC:= ${CC} HOSTCXX:= ${CXX} .endif .if !exists(/usr/${X_BUILD_FOR}/usr/bin/cc) X_SYSROOT= ${LOCALBASE}/${X_BUILD_FOR} .else X_SYSROOT= /usr/${X_BUILD_FOR} .endif CC= ${X_SYSROOT}/usr/bin/cc CXX= ${X_SYSROOT}/usr/bin/c++ NM= ${X_BUILD_FOR}-nm STRIP_CMD= ${X_BUILD_FOR}-strip # only bmake support the below STRIPBIN= ${STRIP_CMD} .export.env STRIPBIN .endif # # DESTDIR section to start a chrooted process if invoked with DESTDIR set # .if defined(DESTDIR) && !empty(DESTDIR) && !defined(CHROOTED) && \ !defined(BEFOREPORTMK) && !defined(INOPTIONSMK) .include "${PORTSDIR}/Mk/bsd.destdir.mk" .else .if !target(makepatch) makepatch: @${SETENV} WRKDIR=${WRKDIR} PATCHDIR=${PATCHDIR} \ PATCH_WRKSRC=${PATCH_WRKSRC} \ STRIP_COMPONENTS="${PATCH_STRIP:S/-p//}" \ ${SH} ${SCRIPTSDIR}/smart_makepatch.sh .endif # Start of options section .if defined(INOPTIONSMK) || ( !defined(USEOPTIONSMK) && !defined(AFTERPORTMK) ) # Get the default maintainer MAINTAINER?= ports@FreeBSD.org # Get the architecture .if !defined(ARCH) ARCH!= ${UNAME} -p .endif _EXPORTED_VARS+= ARCH # Get the operating system type .if !defined(OPSYS) OPSYS!= ${UNAME} -s .endif _EXPORTED_VARS+= OPSYS .if !defined(_OSRELEASE) _OSRELEASE!= ${UNAME} -r .endif _EXPORTED_VARS+= _OSRELEASE # Get the operating system revision OSREL?= ${_OSRELEASE:C/-.*//} _EXPORTED_VARS+= OSREL # Get __FreeBSD_version .if !defined(OSVERSION) .if exists(/usr/include/sys/param.h) OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < /usr/include/sys/param.h .elif exists(${SRC_BASE}/sys/sys/param.h) OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC_BASE}/sys/sys/param.h .else .error Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE. .endif .endif _EXPORTED_VARS+= OSVERSION # Convert OSVERSION to major release number _OSVERSION_MAJOR= ${OSVERSION:C/([0-9]?[0-9])([0-9][0-9])[0-9]{3}/\1/} # Sanity checks for chroot/jail building. # Skip if OSVERSION specified on cmdline for testing. Only works for bmake. .if !defined(.MAKEOVERRIDES) || !${.MAKEOVERRIDES:MOSVERSION} .if ${_OSVERSION_MAJOR} != ${_OSRELEASE:R} .error UNAME_r (${_OSRELEASE}) and OSVERSION (${OSVERSION}) do not agree on major version number. .elif ${_OSVERSION_MAJOR} != ${OSREL:R} .error OSREL (${OSREL}) and OSVERSION (${OSVERSION}) do not agree on major version number. .endif .endif # Only define tools here (for transition period with between pkg tools) .include "${PORTSDIR}/Mk/bsd.commands.mk" .if !defined(_PKG_CHECKED) && !defined(PACKAGE_BUILDING) && exists(${PKG_BIN}) .if !defined(_PKG_VERSION) _PKG_VERSION!= ${PKG_BIN} -v .endif _PKG_STATUS!= ${PKG_BIN} version -t ${_PKG_VERSION:C/-.*//g} ${MINIMAL_PKG_VERSION} .if ${_PKG_STATUS} == "<" IGNORE= pkg(8) must be version ${MINIMAL_PKG_VERSION} or greater, but you have ${_PKG_VERSION}. You must upgrade the ${PKG_ORIGIN} port first .endif _PKG_CHECKED= 1 .endif _EXPORTED_VARS+= _PKG_CHECKED MASTERDIR?= ${.CURDIR} .if ${MASTERDIR} != ${.CURDIR} SLAVE_PORT?= yes MASTER_PORT?=${MASTERDIR:C/[^\/]+\/\.\.\///:C/[^\/]+\/\.\.\///:C/^.*\/([^\/]+\/[^\/]+)$/\\1/} .else SLAVE_PORT?= no MASTER_PORT?= .endif # If they exist, include Makefile.inc, then architecture/operating # system specific Makefiles, then local Makefile.local. .if ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/../Makefile.inc) .include "${MASTERDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.${ARCH}-${OPSYS}) .include "${MASTERDIR}/Makefile.${ARCH}-${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${OPSYS}) .include "${MASTERDIR}/Makefile.${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${ARCH}) .include "${MASTERDIR}/Makefile.${ARCH}" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.local) .include "${MASTERDIR}/Makefile.local" USE_SUBMAKE= yes .elif ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/Makefile.local) .include "${.CURDIR}/Makefile.local" USE_SUBMAKE= yes .endif .for _CATEGORY in ${CATEGORIES} PKGCATEGORY?= ${_CATEGORY} .endfor _PORTDIRNAME= ${.CURDIR:T} PORTDIRNAME?= ${_PORTDIRNAME} PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} # where 'make config' records user configuration options PORT_DBDIR?= /var/db/ports UID_FILES?= ${PORTSDIR}/UIDs GID_FILES?= ${PORTSDIR}/GIDs UID_OFFSET?= 0 GID_OFFSET?= 0 # predefined accounts from src/etc/master.passwd # alpha numeric sort order USERS_BLACKLIST= _dhcp _pflogd _ypldap auditdistd bin bind daemon games hast kmem mailnull man news nobody operator pop proxy root smmsp sshd toor tty unbound uucp www # predefined accounts from src/etc/group # alpha numeric sort order GROUPS_BLACKLIST= _dhcp _pflogd _ypldap audit authpf bin bind daemon dialer ftp games guest hast kmem mail mailnull man network news nobody nogroup operator proxy smmsp sshd staff sys tty unbound uucp wheel www LDCONFIG_DIR= libdata/ldconfig LDCONFIG32_DIR= libdata/ldconfig32 .endif # At least KDE needs TMPDIR for the package building, # so we're setting it to the known default value. .if defined(PACKAGE_BUILDING) TMPDIR?= /tmp .endif # defined(PACKAGE_BUILDING) .if defined(WITH_DEBUG_PORTS) .if ${WITH_DEBUG_PORTS:M${PKGORIGIN}} WITH_DEBUG= yes .endif .endif .include "${PORTSDIR}/Mk/bsd.options.mk" # Start of pre-makefile section. .if !defined(AFTERPORTMK) && !defined(INOPTIONSMK) .if defined(PORTNAME) .include "${PORTSDIR}/Mk/bsd.sanity.mk" .endif _PREMKINCLUDED= yes .include "${PORTSDIR}/Mk/bsd.default-versions.mk" .if defined(PORTVERSION) .if ${PORTVERSION:M*[-_,]*}x != x IGNORE= PORTVERSION ${PORTVERSION} may not contain '-' '_' or ',' .endif DISTVERSION?= ${PORTVERSION:S/:/::/g} .elif defined(DISTVERSION) PORTVERSION= ${DISTVERSION:tl:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g} .endif PORTREVISION?= 0 .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif PORTEPOCH?= 0 .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2} PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION} DISTVERSIONFULL= ${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX} .if defined(USE_GITHUB) && empty(MASTER_SITES:MGHC) && empty(DISTNAME) && empty(USE_GITHUB:Mnodefault) _GITHUB_MUST_SET_DISTNAME= yes .else DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL} .endif INDEXFILE?= INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} DATADIR?= ${PREFIX}/share/${PORTNAME} WWWDIR?= ${PREFIX}/www/${PORTNAME} ETCDIR?= ${PREFIX}/etc/${PORTNAME} .if defined(USE_LINUX_RPM) .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk" .endif .if defined(USE_LINUX_APPS) .include "${PORTSDIR}/Mk/bsd.linux-apps.mk" .endif .if defined(USE_XORG) || defined(XORG_CAT) .include "${PORTSDIR}/Mk/bsd.xorg.mk" .endif PACKAGES?= ${PORTSDIR}/packages TEMPLATES?= ${PORTSDIR}/Templates KEYWORDS?= ${PORTSDIR}/Keywords PATCHDIR?= ${MASTERDIR}/files FILESDIR?= ${MASTERDIR}/files SCRIPTDIR?= ${MASTERDIR}/scripts PKGDIR?= ${MASTERDIR} .if defined(USE_LINUX_PREFIX) PREFIX:= ${LINUXBASE} NO_MTREE= yes .else PREFIX?= ${LOCALBASE} .endif .if defined(USE_LINUX_PREFIX) LDCONFIG_CMD?= ${LINUXBASE}/sbin/ldconfig -r ${LINUXBASE} .endif PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif .if defined(USE_OPENSSL) USES+= ssl .endif .if defined(USE_EMACS) .include "${PORTSDIR}/Mk/bsd.emacs.mk" .endif .if defined(USE_PHP) && (!defined(USES) || ( defined(USES) && !${USES:Mphp*} )) DEV_WARNING+= "Using USE_PHP alone is deprecated, please use USES=php" USES+= php .endif .if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL) .include "${PORTSDIR}/Mk/bsd.fpc.mk" .endif .if defined(USE_JAVA) .include "${PORTSDIR}/Mk/bsd.java.mk" .endif .if defined(USE_RUBY) || defined(USE_LIBRUBY) .include "${PORTSDIR}/Mk/bsd.ruby.mk" .endif .if defined(USE_OCAML) .include "${PORTSDIR}/Mk/bsd.ocaml.mk" .endif .if defined(USE_APACHE) || defined(USE_APACHE_BUILD) || defined(USE_APACHE_RUN) .include "${PORTSDIR}/Mk/bsd.apache.mk" .endif .if defined(USE_QT4) || defined(USE_QT5) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif .if defined(USE_TEX) .include "${PORTSDIR}/Mk/bsd.tex.mk" .endif .if defined(USE_GECKO) .include "${PORTSDIR}/Mk/bsd.gecko.mk" .endif .if defined(WANT_GNOME) || defined(USE_GNOME) || defined(INSTALLS_ICONS) USES+= gnome .endif .if defined(USE_MATE) USES+= mate .endif .if defined(USE_MYSQL) USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} .if defined(WANT_MYSQL_VER) .if empty(USE_MYSQL) USE_MYSQL:=${WANT_MYSQL_VER} .else USE_MYSQL:=${USE_MYSQL},${WANT_MYSQL_VER} .endif .endif USES+=mysql:${USE_MYSQL} .endif .if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif .if defined(USE_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif -.if defined(USE_KDE4) || defined(KDE4_BUILDENV) -.include "${PORTSDIR}/Mk/bsd.kde4.mk" -.endif - .if !defined(UID) UID!= ${ID} -u .endif DESTDIRNAME?= DESTDIR # setup empty variables for USES targets .for target in sanity fetch extract patch configure build install test package stage _USES_${target}?= .endfor # Loading features .for f in ${USES} _f:= ${f:C/\:.*//} .if !defined(${_f}_ARGS) ${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} .endif .endfor .for f in ${USES} .include "${USESDIR}/${f:C/\:.*//}.mk" .endfor EXTRACT_SUFX?= .tar.gz # You can force skipping these test by defining IGNORE_PATH_CHECKS .if !defined(IGNORE_PATH_CHECKS) .if ! ${PREFIX:M/*} .BEGIN: @${ECHO_MSG} "PREFIX must be defined as an absolute path so that when 'make'" @${ECHO_MSG} "is invoked in the work area PREFIX points to the right place." @${FALSE} .endif .endif # Owner and group of the WWW user WWWOWN?= www WWWGRP?= www # Keep PKGNG_ORIGIN/WITH_PKGNG for compat with scripts which are looking for it PKG_ORIGIN?= ports-mgmt/pkg PKGNG_ORIGIN= ${PKG_ORIGIN} WITH_PKGNG?= yes WITH_PKG?= ${WITH_PKGNG} .endif # End of pre-makefile section. # Start of post-makefile section. .if !defined(BEFOREPORTMK) && !defined(INOPTIONSMK) .if defined(_POSTMKINCLUDED) DEV_ERROR+= "${PKGNAME}: Makefile error: you cannot include bsd.port[.post].mk twice" @${FALSE} .endif _POSTMKINCLUDED= yes .if defined(BUNDLE_LIBS) PKG_NOTES+= no_provide_shlib PKG_NOTE_no_provide_shlib= yes .endif TEST_ARGS?= ${MAKE_ARGS} TEST_ENV?= ${MAKE_ENV} PKG_ENV+= PORTSDIR=${PORTSDIR} CONFIGURE_ENV+= XDG_DATA_HOME=${WRKDIR} \ XDG_CONFIG_HOME=${WRKDIR} \ HOME=${WRKDIR} MAKE_ENV+= XDG_DATA_HOME=${WRKDIR} \ XDG_CONFIG_HOME=${WRKDIR} \ HOME=${WRKDIR} # Respect TMPDIR passed via make.conf or similar and pass it down # to configure and make. .if defined(TMPDIR) MAKE_ENV+= TMPDIR="${TMPDIR}" CONFIGURE_ENV+= TMPDIR="${TMPDIR}" .endif # defined(TMPDIR) QA_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LINUXBASE=${LINUXBASE} \ LOCALBASE=${LOCALBASE} \ "STRIP=${STRIP}" \ TMPPLIST=${TMPPLIST} \ LDCONFIG_DIR="${LDCONFIG_DIR}" \ PKGORIGIN=${PKGORIGIN} \ LIB_RUN_DEPENDS='${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}' \ PKGBASE=${PKGBASE} .if !empty(USES:Mssl) QA_ENV+= USESSSL=yes .endif .if !empty(USES:Mdesktop-file-utils) QA_ENV+= USESDESKTOPFILEUTILS=yes .endif .if !empty(USES:Mlibtool*) QA_ENV+= USESLIBTOOL=yes .endif .if !empty(USES:Mshared-mime-info) QA_ENV+= USESSHAREDMIMEINFO=yes .endif .if !empty(USES:Mterminfo) QA_ENV+= USESTERMINFO=yes .endif CO_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ WRKDIR=${WRKDIR} \ WRKSRC=${WRKSRC} \ MTREE_FILE=${MTREE_FILE} \ TMPPLIST=${TMPPLIST} \ SCRIPTSDIR=${SCRIPTSDIR} \ PLIST_SUB_SED="${PLIST_SUB_SED}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ PORTSDIR="${PORTSDIR}" .if defined(X_BUILD_FOR) BUILD_DEPENDS+= ${X_BUILD_FOR}-cc:devel/${X_BUILD_FOR}-xdev PKG_ENV+= ABI_FILE=${X_SYSROOT}/usr/lib/crt1.o MAKE_ENV+= NM=${NM} \ STRIPBIN=${X_BUILD_FOR}-strip \ PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" CONFIGURE_ENV+= PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" .endif WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work .if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} .endif # If the distname is not extracting into a specific subdirectory, have the # ports framework force extract into a subdirectory so that metadata files # do not get in the way of the build, and vice-versa. .if defined(NO_WRKSUBDIR) # Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case, # the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the # most unlikely to conflict as we can. WRKSRC?= ${WRKDIR}/${PKGNAME} EXTRACT_WRKDIR:= ${WRKSRC} .else WRKSRC?= ${WRKDIR}/${DISTNAME} EXTRACT_WRKDIR:= ${WRKDIR} .endif .if defined(WRKSRC_SUBDIR) WRKSRC:= ${WRKSRC}/${WRKSRC_SUBDIR} .endif .if defined(CONFIGURE_OUTSOURCE) CONFIGURE_CMD?= ${WRKSRC}/${CONFIGURE_SCRIPT} CONFIGURE_WRKSRC?= ${WRKDIR}/.build BUILD_WRKSRC?= ${CONFIGURE_WRKSRC} INSTALL_WRKSRC?= ${CONFIGURE_WRKSRC} TEST_WRKSRC?= ${CONFIGURE_WRKSRC} .endif PATCH_WRKSRC?= ${WRKSRC} CONFIGURE_WRKSRC?= ${WRKSRC} BUILD_WRKSRC?= ${WRKSRC} INSTALL_WRKSRC?=${WRKSRC} TEST_WRKSRC?= ${WRKSRC} PLIST_SUB+= OSREL=${OSREL} PREFIX=%D LOCALBASE=${LOCALBASE} \ RESETPREFIX=${PREFIX} SUB_LIST+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} \ DATADIR=${DATADIR} DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \ WWWDIR=${WWWDIR} ETCDIR=${ETCDIR} # This is used for check-stagedir.sh and check_leftover.sh to replace # directories/files with PLIST_SUB %%KEYS%%. # Remove VARS which values are PLIST_SUB_SED_MIN long or shorter PLIST_SUB_SED_MIN?= 2 PLIST_SUB_SED_tmp1= ${PLIST_SUB:C/.*=.{1,${PLIST_SUB_SED_MIN}}$//g} # Remove VARS that are too generic # Remove empty values # Remove @comment values PLIST_SUB_SED_tmp2= ${PLIST_SUB_SED_tmp1:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:NRESETPREFIX=*:N*="":N*="@comment*} # Handle VARS for which there is a _regex entry PLIST_SUB_SED_tmp3?= ${PLIST_SUB_SED_tmp2:C/(${PLIST_SUB:M*_regex=*:C/_regex=.*/=.*/:Q:S/\\ /|/g:S/\\//g})//:C/(.*)_regex=(.*)/\1=\2/} # Remove quotes # Replace . with \. for later sed(1) usage PLIST_SUB_SED?= ${PLIST_SUB_SED_tmp3:C/([^=]*)="?([^"]*)"?/s!\2!%%\1%%!g;/g:C/\./\\./g} # kludge to strip trailing whitespace from CFLAGS; # sub-configure will not # survive double space CFLAGS:= ${CFLAGS:C/ $//} .if defined(WITHOUT_CPU_CFLAGS) .if defined(_CPUCFLAGS) .if !empty(_CPUCFLAGS) CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//} .endif .endif .endif # Reset value from bsd.own.mk. .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) .if !defined(INSTALL_STRIPPED) STRIP= #none MAKE_ENV+= DONTSTRIP=yes STRIP_CMD= ${TRUE} .endif DEBUG_FLAGS?= -g CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} .if defined(INSTALL_TARGET) INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g} .endif .endif .if !defined(WITHOUT_SSP) .include "${PORTSDIR}/Mk/bsd.ssp.mk" .endif # XXX PIE support to be added here MAKE_ENV+= NO_PIE=yes # We prefer to pass MK_*=no but it was only supported after a certain # revision. Passing WITHOUT_* may conflict with a make.conf or src.conf's # WITH_* value. Note that ports *do* pull in src.conf. .if (${OSVERSION} >= 903510 && ${OSVERSION} < 1000000) || \ (${OSVERSION} >= 1003503 && ${OSVERSION} < 1100000) || \ ${OSVERSION} >= 1100000 # We will control debug files. Don't let builds that use /usr/share/mk # split out debug symbols since the plist won't know to expect it. MAKE_ENV+= MK_DEBUG_FILES=no MAKE_ENV+= MK_KERNEL_SYMBOLS=no .else MAKE_ENV+= WITHOUT_DEBUG_FILES=yes MAKE_ENV+= WITHOUT_KERNEL_SYMBOLS=yes .endif .if defined(NOPORTDOCS) PLIST_SUB+= PORTDOCS="@comment " .else PLIST_SUB+= PORTDOCS="" .endif .if defined(NOPORTEXAMPLES) PLIST_SUB+= PORTEXAMPLES="@comment " .else PLIST_SUB+= PORTEXAMPLES="" .endif CONFIGURE_SHELL?= ${SH} MAKE_SHELL?= ${SH} CONFIGURE_ENV+= SHELL=${CONFIGURE_SHELL} CONFIG_SHELL=${CONFIGURE_SHELL} MAKE_ENV+= SHELL=${MAKE_SHELL} NO_LINT=YES .if defined(PATCHFILES) && ${PATCHFILES:M*.zip} PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:archivers/unzip .endif # Check the compatibility layer for amd64/ia64 .if ${ARCH} == "amd64" || ${ARCH} =="ia64" .if exists(/usr/lib32) HAVE_COMPAT_IA32_LIBS?= YES .endif .if !defined(HAVE_COMPAT_IA32_KERN) HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi; echo .if empty(HAVE_COMPAT_IA32_KERN) .undef HAVE_COMPAT_IA32_KERN .endif .endif .endif _EXPORTED_VARS+= HAVE_COMPAT_IA32_KERN .if defined(IA32_BINARY_PORT) && ${ARCH} != "i386" .if ${ARCH} == "amd64" || ${ARCH} == "ia64" .if !defined(HAVE_COMPAT_IA32_KERN) IGNORE= requires a kernel with compiled-in IA32 compatibility .elif !defined(HAVE_COMPAT_IA32_LIBS) IGNORE= requires 32-bit libraries installed under /usr/lib32 .endif _LDCONFIG_FLAGS=-32 LIB32DIR= lib32 .else IGNORE= requires i386 (or compatible) platform to run .endif .else LIB32DIR= lib .endif PLIST_SUB+= LIB32DIR=${LIB32DIR} .if ${WITH_PKG} == devel PKG_ORIGIN= ports-mgmt/pkg-devel .endif .if !defined(PKG_DEPENDS) && !defined(CLEAN_FETCH_ENV) PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN} .endif .if defined(USE_GCC) .include "${PORTSDIR}/Mk/bsd.gcc.mk" .endif .if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS) BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \ READELF SIZE STRINGS BINUTILS_NO_MAKE_ENV?= . for b in ${BINUTILS} ${b}= ${LOCALBASE}/bin/${b:C/PP/++/:tl} . if defined(GNU_CONFIGURE) || defined(BINUTILS_CONFIGURE) CONFIGURE_ENV+= ${b}="${${b}}" . endif . if ${BINUTILS_NO_MAKE_ENV:M${b}} == "" MAKE_ENV+= ${b}="${${b}}" . endif . endfor .endif .if defined(USE_OPENLDAP) || defined(WANT_OPENLDAP_VER) .include "${PORTSDIR}/Mk/bsd.ldap.mk" .endif .if defined(USE_RC_SUBR) SUB_FILES+= ${USE_RC_SUBR} .endif .if defined(USE_RCORDER) SUB_FILES+= ${USE_RCORDER} .endif .if defined(USE_LDCONFIG) && ${USE_LDCONFIG:tl} == "yes" USE_LDCONFIG= ${PREFIX}/lib .endif .if defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:tl} == "yes" IGNORE= has USE_LDCONFIG32 set to yes, which is not correct .endif .if defined(USE_LINUX_PREFIX) && defined(USE_LDCONFIG) # we need ${LINUXBASE}/sbin/ldconfig USE_LINUX?= yes .endif .if defined(USE_LINUX) . if !defined(LINUX_OSRELEASE) LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null` . endif _EXPORTED_VARS+= LINUX_OSRELEASE # install(1) also does a brandelf on strip, so don't strip with FreeBSD tools. STRIP= . if exists(${LINUXBASE}/usr/bin/strip) STRIP_CMD= ${LINUXBASE}/usr/bin/strip . else STRIP_CMD= ${TRUE} . endif # Allow the user to specify another linux_base version. . if defined(OVERRIDE_LINUX_BASE_PORT) . if ${USE_LINUX:tl} == yes || (${USE_LINUX} == "c6" && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64") USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT} . endif . endif # NOTE: when you update the default linux_base version (case "yes"), # don't forget to update the Handbook! . if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX}) LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:emulators/linux_base-${USE_LINUX} . else . if ${USE_LINUX:tl} == "yes" USE_LINUX= c6 LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6 . elif ${USE_LINUX} == "c6_64" LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6 . else IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT . endif . endif . if ${USE_LINUX} == "c6_64" || (defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64") . if ${ARCH} != "amd64" IGNORE= Cannot install 64 bit Linux on non-64bit platforms . endif LINUX_RPM_ARCH?= x86_64 LINUX_REPO_ARCH?= x86_64 . elif ${USE_LINUX} == "c6" || ${USE_LINUX} == "yes" # default to CentOS LINUX_RPM_ARCH?= i686 LINUX_REPO_ARCH?= i386 . elif ${USE_LINUX} == "f10" LINUX_RPM_ARCH?= i386 LINUX_REPO_ARCH?= i386 . endif RUN_DEPENDS+= ${LINUX_BASE_PORT} .endif PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' _GL_gbm_LIB_DEPENDS= libgbm.so:graphics/gbm _GL_glesv2_BUILD_DEPENDS= libglesv2>0:graphics/libglesv2 _GL_glesv2_RUN_DEPENDS= libglesv2>0:graphics/libglesv2 _GL_egl_BUILD_DEPENDS= libEGL>0:graphics/libEGL _GL_egl_RUN_DEPENDS= libEGL>0:graphics/libEGL _GL_gl_BUILD_DEPENDS= libGL>0:graphics/libGL _GL_gl_RUN_DEPENDS= libGL>0:graphics/libGL _GL_gl_USE_XORG= glproto dri2proto _GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew _GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU _GL_glu_USE_XORG= glproto dri2proto _GL_glw_LIB_DEPENDS= libGLw.so:graphics/libGLw _GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut .if defined(USE_GL) . if ${USE_GL:tl} == "yes" USE_GL= glu . endif . for _component in ${USE_GL} . if !defined(_GL_${_component}_LIB_DEPENDS) && \ !defined(_GL_${_component}_RUN_DEPENDS) IGNORE= uses unknown GL component . else USE_XORG+= ${_GL_${_component}_USE_XORG} BUILD_DEPENDS+= ${_GL_${_component}_BUILD_DEPENDS} LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS} . endif . endfor .endif .if defined(_DESTDIR_VIA_ENV) MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} .else MAKE_ARGS+= ${DESTDIRNAME}=${STAGEDIR} .endif .if defined(NO_PREFIX_RMDIR) CO_ENV+= NO_PREFIX_RMDIR=1 .else CO_ENV+= NO_PREFIX_RMDIR=0 .endif METADIR= ${WRKDIR}/.metadir PKGPREINSTALL?= ${PKGDIR}/pkg-pre-install PKGPOSTINSTALL?= ${PKGDIR}/pkg-post-install PKGPREDEINSTALL?= ${PKGDIR}/pkg-pre-deinstall PKGPOSTDEINSTALL?= ${PKGDIR}/pkg-post-deinstall PKGPREUPGRADE?= ${PKGDIR}/pkg-pre-upgrade PKGPOSTUPGRADE?= ${PKGDIR}/pkg-post-upgrade PKGUPGRADE?= ${PKGDIR}/pkg-upgrade _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \ fonts.dir fonts.scale gtk-update-icon-cache \ gio-querymodules \ gtk-query-immodules \ ldconfig \ load-octave-pkg \ ocamlfind \ update-desktop-database update-mime-database \ gdk-pixbuf-query-loaders catalog.ports \ glib-compile-schemas \ ccache-update-links .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif .if defined(USE_XORG) || defined(XORG_CAT) .include "${PORTSDIR}/Mk/bsd.xorg.mk" .endif .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif .if defined(USE_JAVA) .include "${PORTSDIR}/Mk/bsd.java.mk" .endif .if defined(USE_OCAML) .include "${PORTSDIR}/Mk/bsd.ocaml.mk" .endif .if defined(USE_LINUX_RPM) .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk" .endif .if defined(USE_LINUX_APPS) .include "${PORTSDIR}/Mk/bsd.linux-apps.mk" .endif .if defined(USE_QT4) || defined(USE_QT5) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif .if defined(USE_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif .if defined(USE_PHP) && (!defined(USES) || ( defined(USES) && !${USES:Mphp*} )) DEV_WARNING+= "Using USE_PHP alone is deprecated, please use USES=php" _USES_POST+= php .endif .if defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif .if defined(USE_APACHE) || defined(USE_APACHE_BUILD) || defined(USE_APACHE_RUN) .include "${PORTSDIR}/Mk/bsd.apache.mk" .endif .if defined(USE_AUTOTOOLS) .include "${PORTSDIR}/Mk/bsd.autotools.mk" .endif .if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL) .include "${PORTSDIR}/Mk/bsd.fpc.mk" .endif .if defined(USE_GECKO) .include "${PORTSDIR}/Mk/bsd.gecko.mk" -.endif - -.if defined(USE_KDE4) -.include "${PORTSDIR}/Mk/bsd.kde4.mk" .endif .if exists(${PORTSDIR}/Makefile.inc) .include "${PORTSDIR}/Makefile.inc" USE_SUBMAKE= yes .endif # Loading features .for f in ${_USES_POST} _f:= ${f:C/\:.*//} .if !defined(${_f}_ARGS) ${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} .endif .endfor .for f in ${_USES_POST} .include "${USESDIR}/${f:C/\:.*//}.mk" .endfor .if defined(USE_XORG) # Add explicit X options to avoid problems with false positives in configure .if defined(GNU_CONFIGURE) CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include .endif .endif # Macro for doing in-place file editing using regexps REINPLACE_ARGS?= -i.bak REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS} # Names of cookies used to skip already completed stages EXTRACT_COOKIE?= ${WRKDIR}/.extract_done.${PORTNAME}.${PREFIX:S/\//_/g} CONFIGURE_COOKIE?= ${WRKDIR}/.configure_done.${PORTNAME}.${PREFIX:S/\//_/g} INSTALL_COOKIE?= ${WRKDIR}/.install_done.${PORTNAME}.${PREFIX:S/\//_/g} BUILD_COOKIE?= ${WRKDIR}/.build_done.${PORTNAME}.${PREFIX:S/\//_/g} PATCH_COOKIE?= ${WRKDIR}/.patch_done.${PORTNAME}.${PREFIX:S/\//_/g} PACKAGE_COOKIE?= ${WRKDIR}/.package_done.${PORTNAME}.${PREFIX:S/\//_/g} STAGE_COOKIE?= ${WRKDIR}/.stage_done.${PORTNAME}.${PREFIX:S/\//_/g} # How to do nothing. Override if you, for some strange reason, would rather # do something. DO_NADA?= ${TRUE} # Use this as the first operand to always build dependency. NONEXISTENT?= /nonexistent CHECKSUM_ALGORITHMS?= sha256 DISTINFO_FILE?= ${MASTERDIR}/distinfo MAKE_FLAGS?= -f MAKEFILE?= Makefile MAKE_CMD?= ${BSDMAKE} MAKE_ENV+= PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ LIBDIR="${LIBDIR}" \ CC="${CC}" CFLAGS="${CFLAGS}" \ CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ MANPREFIX="${MANPREFIX}" # Add -fno-strict-aliasing to CFLAGS with optimization level -O2 or higher. # gcc 4.x enable strict aliasing optimization with -O2 which is known to break # a lot of ports. .if !defined(WITHOUT_NO_STRICT_ALIASING) .if ${CC} != "icc" .if empty(CFLAGS:M-fno-strict-aliasing) CFLAGS+= -fno-strict-aliasing .endif .endif .endif .for lang in C CXX .if defined(USE_${lang}STD) ${lang}FLAGS:= ${${lang}FLAGS:N-std=*} -std=${USE_${lang}STD} .endif .if defined(${lang}FLAGS_${ARCH}) ${lang}FLAGS+= ${${lang}FLAGS_${ARCH}} .endif .endfor # Multiple make jobs support .if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE) _MAKE_JOBS?= # MAKE_JOBS_NUMBER= 1 .else .if defined(MAKE_JOBS_NUMBER) _MAKE_JOBS_NUMBER:= ${MAKE_JOBS_NUMBER} .else .if !defined(_SMP_CPUS) _SMP_CPUS!= ${SYSCTL} -n kern.smp.cpus .endif _EXPORTED_VARS+= _SMP_CPUS _MAKE_JOBS_NUMBER= ${_SMP_CPUS} .endif .if defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} ) MAKE_JOBS_NUMBER= ${MAKE_JOBS_NUMBER_LIMIT} .else MAKE_JOBS_NUMBER= ${_MAKE_JOBS_NUMBER} .endif _MAKE_JOBS?= -j${MAKE_JOBS_NUMBER} BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. .endif .include "${PORTSDIR}/Mk/bsd.ccache.mk" FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1 FETCH_BINARY?= /usr/bin/fetch FETCH_ARGS?= -Fpr FETCH_REGET?= 1 FETCH_CMD?= ${FETCH_BINARY} ${FETCH_ARGS} .if defined(RANDOMIZE_MASTER_SITES) .if exists(/usr/games/random) RANDOM_CMD?= /usr/games/random RANDOM_ARGS?= -w -f - _RANDOMIZE_SITES= |${RANDOM_CMD} ${RANDOM_ARGS} .endif .endif TOUCH?= /usr/bin/touch TOUCH_FLAGS?= -f DISTORIG?= .bak.orig PATCH?= /usr/bin/patch PATCH_STRIP?= -p0 PATCH_DIST_STRIP?= -p0 .if defined(PATCH_DEBUG) PATCH_DEBUG_TMP= yes PATCH_ARGS?= -d ${PATCH_WRKSRC} -E ${PATCH_STRIP} PATCH_DIST_ARGS?= --suffix ${DISTORIG} -d ${PATCH_WRKSRC} -E ${PATCH_DIST_STRIP} .else PATCH_DEBUG_TMP= no PATCH_ARGS?= -d ${PATCH_WRKSRC} --forward --quiet -E ${PATCH_STRIP} PATCH_DIST_ARGS?= --suffix ${DISTORIG} -d ${PATCH_WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} .endif .if !defined(QUIET) PATCH_SILENT= PATCH_SILENT=yes .endif .if defined(BATCH) PATCH_ARGS+= --batch PATCH_DIST_ARGS+= --batch .endif # Prevent breakage with VERSION_CONTROL=numbered PATCH_ARGS+= -V simple .if defined(PATCH_CHECK_ONLY) PATCH_ARGS+= -C PATCH_DIST_ARGS+= -C .endif .if ${PATCH} == "/usr/bin/patch" PATCH_ARGS+= --suffix .orig PATCH_DIST_ARGS+= --suffix .orig .endif TAR?= /usr/bin/tar # EXTRACT_SUFX is defined in .pre.mk section EXTRACT_CMD?= ${TAR} EXTRACT_BEFORE_ARGS?= -xf EXTRACT_AFTER_ARGS?= --no-same-owner --no-same-permissions # Figure out where the local mtree file is .if !defined(MTREE_FILE) && !defined(NO_MTREE) .if ${PREFIX} == /usr MTREE_FILE= /etc/mtree/BSD.usr.dist .else MTREE_FILE= ${PORTSDIR}/Templates/BSD.local.dist .endif .endif MTREE_CMD?= /usr/sbin/mtree MTREE_ARGS?= -U ${MTREE_FOLLOWS_SYMLINKS} -f ${MTREE_FILE} -d -e -p _SHAREMODE?= 0644 # A few aliases for *-install targets INSTALL_PROGRAM= ${INSTALL} ${COPY} ${STRIP} -m ${BINMODE} INSTALL_KLD= ${INSTALL} ${COPY} -m ${BINMODE} INSTALL_LIB= ${INSTALL} ${COPY} ${STRIP} -m ${SHAREMODE} INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE} INSTALL_DATA= ${INSTALL} ${COPY} -m ${_SHAREMODE} INSTALL_MAN= ${INSTALL} ${COPY} -m ${MANMODE} INSTALL_MACROS= BSD_INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ BSD_INSTALL_LIB="${INSTALL_LIB}" \ BSD_INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ BSD_INSTALL_DATA="${INSTALL_DATA}" \ BSD_INSTALL_MAN="${INSTALL_MAN}" MAKE_ENV+= ${INSTALL_MACROS} SCRIPTS_ENV+= ${INSTALL_MACROS} # Macro for copying entire directory tree with correct permissions COPYTREE_BIN= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ ${FIND} -d $$0 $$2 -type f -exec chmod ${BINMODE} $$1/{} \;' -- COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' -- # The user can override the NO_PACKAGE by specifying this from # the make command line .if defined(FORCE_PACKAGE) .undef NO_PACKAGE .endif DESCR?= ${PKGDIR}/pkg-descr PLIST?= ${PKGDIR}/pkg-plist PKGHELP?= ${PKGDIR}/pkg-help PKGINSTALL?= ${PKGDIR}/pkg-install PKGDEINSTALL?= ${PKGDIR}/pkg-deinstall PKGREQ?= ${PKGDIR}/pkg-req PKGMESSAGE?= ${PKGDIR}/pkg-message _PKGMESSAGES+= ${PKGMESSAGE} TMPPLIST?= ${WRKDIR}/.PLIST.mktmp TMPPLIST_SORT?= ${WRKDIR}/.PLIST.mktmp.sorted TMPGUCMD?= ${WRKDIR}/.PLIST.gucmd .if defined(PKG_NOCOMPRESS) PKG_SUFX?= .tar .else PKG_SUFX?= .txz .endif # where pkg_add records its dirty deeds. PKG_DBDIR?= /var/db/pkg ALL_TARGET?= all INSTALL_TARGET?= install INSTALL_TARGET+= ${LATE_INSTALL_ARGS} # Integrate with the license auditing framework .if !defined (DISABLE_LICENSES) .include "${PORTSDIR}/Mk/bsd.licenses.mk" .endif # Popular master sites .include "${PORTSDIR}/Mk/bsd.sites.mk" # Empty declaration to avoid "variable MASTER_SITES recursive" error MASTER_SITES?= PATCH_SITES?= _MASTER_SITES_DEFAULT?= _PATCH_SITES_DEFAULT?= # Feed internal _{MASTER,PATCH}_SITES_n where n is a group designation # as per grouping rules (:something) # Organize _{MASTER,PATCH}_SITES_{DEFAULT,[^/:]+} according to grouping # rules (:something) .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/?:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP:C/[a-zA-Z0-9_]//g} check-makevars:: @${ECHO_MSG} "The ${_S} MASTER_SITES line has" @${ECHO_MSG} "a group with invalid characters, only use [a-zA-Z0-9_]" @${FALSE} . endif . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITES" @${FALSE} . endif _MASTER_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor . else _MASTER_SITES_DEFAULT+= ${_S:C@^(.*/):[^/:]+$@\1@} . endif .endfor .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP:C/[a-zA-Z0-9_]//g} check-makevars:: @${ECHO_MSG} "The ${_S} PATCH_SITES line has" @${ECHO_MSG} "a group with invalid characters, only use [a-zA-Z0-9_]" @${FALSE} . endif . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "The words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your PATCH_SITES" @${FALSE} . endif _PATCH_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor . else _PATCH_SITES_DEFAULT+= ${_S:C@^(.*/):[^/:]+$@\1@} . endif .endfor # Feed internal _{MASTER,PATCH}_SITE_SUBDIR_n where n is a group designation # as per grouping rules (:something) # Organize _{MASTER,PATCH}_SITE_SUBDIR_{DEFAULT,[^/:]+} according to grouping # rules (:something) .for _S in ${MASTER_SITE_SUBDIR} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITE_SUBDIR" @${FALSE} . endif . if defined(_MASTER_SITES_${_group}) _MASTER_SITE_SUBDIR_${_group}+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endfor . else . if defined(_MASTER_SITES_DEFAULT) _MASTER_SITE_SUBDIR_DEFAULT+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endif .endfor .for _S in ${PATCH_SITE_SUBDIR} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your PATCH_SITE_SUBDIR" @${FALSE} . endif . if defined(_PATCH_SITES_${_group}) _PATCH_SITE_SUBDIR_${_group}+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endfor . else . if defined(_PATCH_SITES_DEFAULT) _PATCH_SITE_SUBDIR_DEFAULT+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endif .endfor # Substitute subdirectory names # XXX simpler/faster solution but not the best space wise, suggestions please .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if !defined(_MASTER_SITE_SUBDIR_${_group}) MASTER_SITES_TMP= ${_MASTER_SITES_${_group}:S^%SUBDIR%/^^} . else _S_TEMP_TEMP= ${_MASTER_SITES_${_group}:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP= ${_MASTER_SITES_${_group}} . else MASTER_SITES_TMP= . for site in ${_MASTER_SITES_${_group}} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP+= ${site} . else . for dir in ${_MASTER_SITE_SUBDIR_${_group}} MASTER_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif . endif _MASTER_SITES_${_group}:= ${MASTER_SITES_TMP} . endfor . endif .endfor .if defined(_MASTER_SITE_SUBDIR_DEFAULT) _S_TEMP= ${_MASTER_SITES_DEFAULT:M*%SUBDIR%/*} . if empty(_S_TEMP) MASTER_SITES_TMP= ${_MASTER_SITES_DEFAULT} . else MASTER_SITES_TMP= . for site in ${_MASTER_SITES_DEFAULT} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP+= ${site} . else . for dir in ${_MASTER_SITE_SUBDIR_DEFAULT} MASTER_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif .else MASTER_SITES_TMP= ${_MASTER_SITES_DEFAULT:S^%SUBDIR%/^^} .endif _MASTER_SITES_DEFAULT:= ${MASTER_SITES_TMP} MASTER_SITES_TMP= .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if !defined(_PATCH_SITE_SUBDIR_${_group}) PATCH_SITES_TMP= ${_PATCH_SITES_${_group}:S^%SUBDIR%/^^} . else _S_TEMP_TEMP= ${_PATCH_SITES_${_group}:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP= ${_PATCH_SITES_${_group}} . else PATCH_SITES_TMP= . for site in ${_PATCH_SITES_${_group}} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP+= ${site} . else . for dir in ${_PATCH_SITE_SUBDIR_${_group}} PATCH_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif . endif _PATCH_SITES_${_group}:= ${PATCH_SITES_TMP} . endfor . endif .endfor .if defined(_PATCH_SITE_SUBDIR_DEFAULT) _S_TEMP= ${_PATCH_SITES_DEFAULT:M*%SUBDIR%/*} . if empty(_S_TEMP) PATCH_SITES_TMP= ${_PATCH_SITES_DEFAULT} . else PATCH_SITES_TMP= . for site in ${_PATCH_SITES_DEFAULT} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP+= ${site} . else . for dir in ${_PATCH_SITE_SUBDIR_DEFAULT} PATCH_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif .else PATCH_SITES_TMP= ${_PATCH_SITES_DEFAULT:S^%SUBDIR%/^^} .endif _PATCH_SITES_DEFAULT:= ${PATCH_SITES_TMP} PATCH_SITES_TMP= # The primary backup site. MASTER_SITE_BACKUP?= \ http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ MASTER_SITE_BACKUP:= ${MASTER_SITE_BACKUP:S^\${DIST_SUBDIR}/^^} # If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository # for everything, but don't search it twice by appending it to the end. .if defined(MASTER_SITE_FREEBSD) _MASTER_SITE_OVERRIDE:= ${MASTER_SITE_BACKUP} _MASTER_SITE_BACKUP:= # empty .else _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE} _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP} .endif NOFETCHFILES?= # Organize DISTFILES, PATCHFILES, _MASTER_SITES_ALL, _PATCH_SITES_ALL # according to grouping rules (:something) DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} _MASTER_SITES_ALL= ${_MASTER_SITES_DEFAULT} _PATCH_SITES_ALL= ${_PATCH_SITES_DEFAULT} _G_TEMP= DEFAULT .for _D in ${DISTFILES} _D_TEMP= ${_D:S/^${_D:C/:[^:]+$//}//} . if !empty(_D_TEMP) . for _group in ${_D_TEMP:S/^://:S/,/ /g} . if !defined(_MASTER_SITES_${_group}) _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} . if empty(_G_TEMP_TEMP) _G_TEMP+= ${_group} _MASTER_SITES_ALL+= ${_MASTER_SITES_${_group}} . endif . endif . endfor _DISTFILES+= ${_D:C/:[^:]+$//} . else _DISTFILES+= ${_D} . endif .endfor _G_TEMP= DEFAULT .for _P in ${PATCHFILES} _P_TEMP= ${_P:C/:[^-:][^:]*$//} _P_groups= ${_P:S/^${_P:C/:[^:]+$//}//:S/^://} _P_file= ${_P_TEMP:C/:-[^:]+$//} _P_strip= ${_P_TEMP:S/^${_P_TEMP:C/:-[^:]*$//}//:S/^://} . if !empty(_P_groups) . for _group in ${_P_groups:S/,/ /g} . if !defined(_PATCH_SITES_${_group}) _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} . if empty(_G_TEMP_TEMP) _G_TEMP+= ${_group} _PATCH_SITES_ALL+= ${_PATCH_SITES_${_group}} . endif . endif . endfor . endif _PATCHFILES:= ${_PATCHFILES} ${_P_file} . if !empty(_P_strip) _PATCH_DIST_STRIP_CASES:= ${_PATCH_DIST_STRIP_CASES} ("${_P_file}") printf %s "${_P_strip}" ;; . endif .endfor _P_groups= _P_file= _P_strip= _G_TEMP= _G_TEMP_TEMP= ALLFILES?= ${_DISTFILES} ${_PATCHFILES} # # Sort the master site list according to the patterns in MASTER_SORT # MASTER_SORT?= MASTER_SORT_REGEX?= MASTER_SORT_REGEX+= ${MASTER_SORT:S|.|\\.|g:S|^|://[^/]*|:S|$|/|} MASTER_SORT_AWK= BEGIN { RS = " "; ORS = " "; IGNORECASE = 1 ; gl = "${MASTER_SORT_REGEX:S|\\|\\\\|g}"; } .for srt in ${MASTER_SORT_REGEX} MASTER_SORT_AWK+= /${srt:S|/|\\/|g}/ { good["${srt:S|\\|\\\\|g}"] = good["${srt:S|\\|\\\\|g}"] " " $$0 ; next; } .endfor MASTER_SORT_AWK+= { rest = rest " " $$0; } END { n=split(gl, gla); for(i=1;i<=n;i++) { print good[gla[i]]; } print rest; } # # Hackery to enable simple fetch targets with several dynamic MASTER_SITES # _MASTER_SITES_ENV= _MASTER_SITES_DEFAULT=${_MASTER_SITES_DEFAULT:Q} .for _F in ${DISTFILES} _F_TEMP= ${_F:S/^${_F:C/:[^:]+$//}//:S/^://} . if !empty(_F_TEMP) . for _group in ${_F_TEMP:S/,/ /g} . if defined(_MASTER_SITES_${_group}) _MASTER_SITES_ENV+= _MASTER_SITES_${_group}=${_MASTER_SITES_${_group}:Q} . endif . endfor . endif .endfor _PATCH_SITES_ENV= _PATCH_SITES_DEFAULT=${_PATCH_SITES_DEFAULT:Q} .for _F in ${PATCHFILES} _F_TEMP= ${_F:S/^${_F:C/:[^-:][^:]*$//}//:S/^://} . if !empty(_F_TEMP) . for _group in ${_F_TEMP:S/,/ /g} . if defined(_PATCH_SITES_${_group}) _PATCH_SITES_ENV+= _PATCH_SITES_${_group}=${_PATCH_SITES_${_group}:Q} . endif . endfor . endif .endfor CKSUMFILES= ${ALLFILES} # List of all files, with ${DIST_SUBDIR} in front. Used for checksum. .if defined(DIST_SUBDIR) .if defined(CKSUMFILES) && ${CKSUMFILES}!="" _CKSUMFILES?= ${CKSUMFILES:S/^/${DIST_SUBDIR}\//} .endif .else _CKSUMFILES?= ${CKSUMFILES} .endif # This is what is actually going to be extracted, and is overridable # by user. EXTRACT_ONLY?= ${_DISTFILES} .if !target(maintainer) maintainer: @${ECHO_CMD} "${MAINTAINER}" .endif .if !defined(CATEGORIES) check-categories: @${ECHO_MSG} "${PKGNAME}: Makefile error: CATEGORIES is mandatory." @${FALSE} .else VALID_CATEGORIES+= accessibility afterstep arabic archivers astro audio \ benchmarks biology cad chinese comms converters databases \ deskutils devel docs dns editors elisp emulators enlightenment finance french ftp \ games geography german gnome gnustep graphics hamradio haskell hebrew hungarian \ ipv6 irc japanese java kde kld korean lang linux lisp \ mail mate math mbone misc multimedia net net-im net-mgmt net-p2p news \ palm parallel pear perl5 plan9 polish portuguese ports-mgmt \ print python ruby rubygems russian \ scheme science security shells spanish sysutils \ tcl textproc tk \ ukrainian vietnamese windowmaker www \ x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers x11-themes \ x11-toolkits x11-wm xfce zope check-categories: .for cat in ${CATEGORIES} . if empty(VALID_CATEGORIES:M${cat}) @${ECHO_MSG} "${PKGNAME}: Makefile error: category ${cat} not in list of valid categories."; \ ${FALSE}; . endif .endfor .endif PKGREPOSITORYSUBDIR?= All PKGREPOSITORY?= ${PACKAGES}/${PKGREPOSITORYSUBDIR} .if exists(${PACKAGES}) PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX} .else PKGFILE?= ${.CURDIR}/${PKGNAME}${PKG_SUFX} .endif WRKDIR_PKGFILE= ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} # The "latest version" link -- ${PKGNAME} minus everthing after the last '-' PKGLATESTREPOSITORY?= ${PACKAGES}/Latest PKGBASE?= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} CONFIGURE_SCRIPT?= configure CONFIGURE_CMD?= ./${CONFIGURE_SCRIPT} CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL} CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//} CONFIGURE_LOG?= config.log # A default message to print if do-configure fails. CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a ${PKG_INFO} -Ea)." .if defined(GNU_CONFIGURE) # Maximum command line length .if !defined(CONFIGURE_MAX_CMD_LEN) CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax .endif _EXPORTED_VARS+= CONFIGURE_MAX_CMD_LEN GNU_CONFIGURE_PREFIX?= ${PREFIX} GNU_CONFIGURE_MANPREFIX?= ${MANPREFIX} CONFIG_SITE?= ${PORTSDIR}/Templates/config.site CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS} .if defined(X_BUILD_FOR) CONFIGURE_ARGS+= --host=${X_BUILD_FOR} .endif CONFIGURE_ENV+= CONFIG_SITE=${CONFIG_SITE} lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} HAS_CONFIGURE= yes SET_LATE_CONFIGURE_ARGS= \ _LATE_CONFIGURE_ARGS="" ; \ if [ -z "${CONFIGURE_ARGS:M--localstatedir=*:Q}" ] && \ ${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- --localstatedir > /dev/null; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ; \ fi ; \ if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \ fi ; \ if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \ fi ; \ if [ -z "`${CONFIGURE_CMD} --version 2>&1 | ${EGREP} -i '(autoconf.*2\.13|Unrecognized option)'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \ else \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \ fi ; .endif # Passed to most of script invocations SCRIPTS_ENV+= CURDIR=${MASTERDIR} DISTDIR=${DISTDIR} \ WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} PATCHDIR=${PATCHDIR} \ SCRIPTDIR=${SCRIPTDIR} FILESDIR=${FILESDIR} \ PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} .if defined(BATCH) SCRIPTS_ENV+= BATCH=yes .endif .if ${PREFIX} == /usr MANPREFIX?= /usr/share .else MANPREFIX?= ${PREFIX} .endif MANDIRS+= ${MANPREFIX}/man .for sect in 1 2 3 4 5 6 7 8 9 MAN${sect}PREFIX?= ${MANPREFIX} .endfor MANLPREFIX?= ${MANPREFIX} MANNPREFIX?= ${MANPREFIX} .if ${PREFIX} == /usr INFO_PATH?= share/info .else INFO_PATH?= info .endif .if defined(INFO) RUN_DEPENDS+= indexinfo:print/indexinfo . for D in ${INFO:H} RD:= ${D} . if ${RD} != "." . if !defined(INFO_SUBDIR) INFO_SUBDIR:= ${RD} . elif ${INFO_SUBDIR} != ${RD} BROKEN= only one subdirectory in INFO is allowed . endif . endif .undef RD . endfor .endif DOCSDIR_REL?= ${DOCSDIR:S,^${PREFIX}/,,} EXAMPLESDIR_REL?= ${EXAMPLESDIR:S,^${PREFIX}/,,} DATADIR_REL?= ${DATADIR:S,^${PREFIX}/,,} WWWDIR_REL?= ${WWWDIR:S,^${PREFIX}/,,} ETCDIR_REL?= ${ETCDIR:S,^${PREFIX}/,,} PLIST_SUB+= DOCSDIR="${DOCSDIR_REL}" \ EXAMPLESDIR="${EXAMPLESDIR_REL}" \ DATADIR="${DATADIR_REL}" \ WWWDIR="${WWWDIR_REL}" \ ETCDIR="${ETCDIR_REL}" DESKTOPDIR?= ${PREFIX}/share/applications .MAIN: all ################################################################ # Many ways to disable a port. # # If we're in BATCH mode and the port is interactive, or we're # in interactive mode and the port is non-interactive, skip all # the important targets. The reason we have two modes is that # one might want to leave a build in BATCH mode running # overnight, then come back in the morning and do _only_ the # interactive ones that required your intervention. # # Ignore ports that can't be resold if building for a CDROM. # # Don't build a port if it's restricted and we don't want to get # into that. # # Don't build a port if it's broken, unless we're running a parallel # build (in case it's fixed). # # Don't build a port if it's forbidden for whatever reason. # # Don't build a port if the system is too old. ################################################################ # Check the machine architectures .if defined(ONLY_FOR_ARCHS) .for __ARCH in ${ONLY_FOR_ARCHS} .if ${ARCH:M${__ARCH}} != "" __ARCH_OK?= 1 .endif .endfor .else __ARCH_OK?= 1 .endif .if defined(NOT_FOR_ARCHS) .for __NARCH in ${NOT_FOR_ARCHS} .if ${ARCH:M${__NARCH}} != "" .undef __ARCH_OK .endif .endfor .endif .if !defined(__ARCH_OK) .if defined(ONLY_FOR_ARCHS) IGNORE= is only for ${ONLY_FOR_ARCHS}, .else # defined(NOT_FOR_ARCHS) IGNORE= does not run on ${NOT_FOR_ARCHS}, .endif IGNORE+= while you are running ${ARCH} .if defined(ONLY_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON_${ARCH}}) .elif defined(ONLY_FOR_ARCHS_REASON) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON}) .endif .if defined(NOT_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON_${ARCH}}) .elif defined(NOT_FOR_ARCHS_REASON) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON}) .endif .endif # Check the user interaction and legal issues .if !defined(NO_IGNORE) .if (defined(IS_INTERACTIVE) && defined(BATCH)) IGNORE= is an interactive port .elif (!defined(IS_INTERACTIVE) && defined(INTERACTIVE)) IGNORE= is not an interactive port .elif (defined(NO_CDROM) && defined(FOR_CDROM)) IGNORE= may not be placed on a CDROM: ${NO_CDROM} .elif (defined(RESTRICTED) && defined(NO_RESTRICTED)) IGNORE= is restricted: ${RESTRICTED} .elif (defined(NO_PACKAGE) && defined(PACKAGE_BUILDING)) IGNORE= may not be packaged: ${NO_PACKAGE} .elif defined(BROKEN) .if !defined(TRYBROKEN) IGNORE= is marked as broken: ${BROKEN} .endif .elif defined(BROKEN_${ARCH}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${ARCH}: ${BROKEN_${ARCH}} .endif .elif defined(BROKEN_${OPSYS}_${OSREL:R}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS} ${OSREL}: ${BROKEN_${OPSYS}_${OSREL:R}} .endif .elif defined(BROKEN_${OPSYS}_${OSREL:R}_${ARCH}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS} ${OSREL} ${ARCH}: ${BROKEN_${OPSYS}_${OSREL:R}_${ARCH}} .endif .elif defined(BROKEN_${OPSYS}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS}: ${BROKEN_${OPSYS}} .endif .elif defined(FORBIDDEN) IGNORE= is forbidden: ${FORBIDDEN} .endif # Define the text to be output to LEGAL .if defined(LEGAL_TEXT) LEGAL= ${LEGAL_TEXT} .elif defined(RESTRICTED) LEGAL= ${RESTRICTED} .elif defined(NO_CDROM) LEGAL= ${NO_CDROM} .elif defined(NO_PACKAGE) && ! defined(LEGAL_PACKAGE) LEGAL= ${NO_PACKAGE} .endif .if (defined(MANUAL_PACKAGE_BUILD) && defined(PACKAGE_BUILDING)) IGNORE= has to be built manually: ${MANUAL_PACKAGE_BUILD} clean: @${IGNORECMD} .endif .if defined(IGNORE) .if defined(IGNORE_SILENT) IGNORECMD= ${DO_NADA} .else IGNORECMD= ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE:Q}. | ${FMT} 75 79 ; exit 1 .endif _TARGETS= check-sanity fetch checksum extract patch configure all build \ install reinstall test package stage restage .for target in ${_TARGETS} .if !target(${target}) ${target}: @${IGNORECMD} .if defined(INSTALLS_DEPENDS) @${FALSE} .endif .endif .endfor .endif .endif .if defined(IGNORE) || defined(NO_PACKAGE) ignorelist: package-name .else ignorelist: @${DO_NADA} .endif .if defined(IGNORE) || defined(NO_PACKAGE) ignorelist-verbose: .if defined(IGNORE) @${ECHO_CMD} "${PKGNAME}|IGNORE: "${IGNORE:Q} .else @${ECHO_CMD} "${PKGNAME}|NO_PACKAGE: "${NO_PACKAGE:Q} .endif .else ignorelist-verbose: @${DO_NADA} .endif ################################################################ # Clean directories for ftp or CDROM. ################################################################ .if !defined(LICENSE) .if defined(RESTRICTED) clean-restricted: delete-distfiles delete-package clean-restricted-list: delete-distfiles-list delete-package-list RESTRICTED_FILES?= ${_DISTFILES} ${_PATCHFILES} .else clean-restricted: clean-restricted-list: .endif .if defined(NO_CDROM) clean-for-cdrom: delete-distfiles delete-package clean-for-cdrom-list: delete-distfiles-list delete-package-list RESTRICTED_FILES?= ${_DISTFILES} ${_PATCHFILES} .else clean-for-cdrom: clean-for-cdrom-list: .endif .endif # !defined(LICENSE) .if defined(ALL_HOOK) all: @cd ${.CURDIR} && ${SETENV} CURDIR=${.CURDIR} DISTNAME=${DISTNAME} \ DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} \ PATCHDIR=${PATCHDIR} SCRIPTDIR=${SCRIPTDIR} \ FILESDIR=${FILESDIR} PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} \ BUILD_DEPENDS="${BUILD_DEPENDS}" RUN_DEPENDS="${RUN_DEPENDS}" \ CONFLICTS="${CONFLICTS}" \ ${ALL_HOOK} .endif .if !target(all) all: stage .endif .if !defined(DEPENDS_TARGET) .if defined(DEPENDS_PRECLEAN) DEPENDS_TARGET= clean DEPENDS_ARGS= NOCLEANDEPENDS=yes .endif .if make(reinstall) DEPENDS_TARGET+= reinstall .else DEPENDS_TARGET+= install .endif .if defined(DEPENDS_CLEAN) DEPENDS_TARGET+= clean DEPENDS_ARGS+= NOCLEANDEPENDS=yes .endif .endif ################################################################ # # Do preliminary work to detect if we need to run the config # target or not. # ################################################################ .if ((!defined(OPTIONS_DEFINE) && !defined(OPTIONS_SINGLE) && !defined(OPTIONS_MULTI)) \ && !defined(OPTIONS_GROUP) && !defined(OPTIONS_RADIO) \ || defined(CONFIG_DONE_${PKGBASE:tu}) || \ defined(PACKAGE_BUILDING) || defined(BATCH)) _OPTIONS_OK=yes .endif ################################################################ # The following are used to create easy dummy targets for # disabling some bit of default target behavior you don't want. # They still check to see if the target exists, and if so don't # do anything, since you might want to set this globally for a # group of ports in a Makefile.inc, but still be able to # override from an individual Makefile. ################################################################ # Disable checksum .if defined(NO_CHECKSUM) && !target(checksum) checksum: fetch @${DO_NADA} .endif # Disable build .if defined(NO_BUILD) && !target(build) build: configure @${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE} .endif # Disable test .if defined(NO_TEST) && !target(test) test: stage @${DO_NADA} .endif # Disable package .if defined(NO_PACKAGE) && !target(package) package: .if defined(IGNORE_SILENT) @${DO_NADA} .else @${ECHO_MSG} "===> ${PKGNAME} may not be packaged: "${NO_PACKAGE:Q}. .endif .endif # Disable describe .if defined(NO_DESCRIBE) && !target(describe) describe: @${DO_NADA} .endif ################################################################ # More standard targets start here. # # These are the body of the build/install framework. If you are # not happy with the default actions, and you can't solve it by # adding pre-* or post-* targets/scripts, override these. ################################################################ # Pre-everything pre-everything:: @${DO_NADA} .if defined(TRYBROKEN) && defined(BROKEN) buildanyway-message: @${ECHO_MSG} "Trying build of ${PKGNAME} even though it is marked BROKEN." .endif options-message: .if defined(GNOME_OPTION_MSG) && (!defined(PACKAGE_BUILDING) || !defined(BATCH)) @for m in ${GNOME_OPTION_MSG}; do \ ${ECHO_MSG} $$m; \ done .else @${DO_NADA} .endif .if defined(_OPTIONS_READ) @${ECHO_MSG} "===> Found saved configuration for ${_OPTIONS_READ}" .endif ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRACT_WRKDIR}: @${MKDIR} ${.TARGET} # Warn user about deprecated packages. Advisory only. .if !target(check-deprecated) # Try and keep these messages in sync with the ones in Mk/Scripts/create-manifest.sh check-deprecated: .if ${MAINTAINER} == "ports@FreeBSD.org" @${ECHO_MSG} "===> NOTICE:" @${ECHO_MSG} @${ECHO_MSG} "The ${PORTNAME} port currently does not have a maintainer. As a result, it is" @${ECHO_MSG} "more likely to have unresolved issues, not be up-to-date, or even be removed in" @${ECHO_MSG} "the future. To volunteer to maintain this port, please create an issue at:" @${ECHO_MSG} @${ECHO_MSG} "https://bugs.freebsd.org/bugzilla" @${ECHO_MSG} @${ECHO_MSG} "More information about port maintainership is available at:" @${ECHO_MSG} @${ECHO_MSG} "https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port" @${ECHO_MSG} .endif .if defined(DEPRECATED) @${ECHO_MSG} "===> NOTICE:" @${ECHO_MSG} @${ECHO_MSG} "This port is deprecated; you may wish to reconsider installing it:" @${ECHO_MSG} @${ECHO_MSG} ${DEPRECATED:Q}. @${ECHO_MSG} .if defined(EXPIRATION_DATE) @${ECHO_MSG} "It is scheduled to be removed on or after ${EXPIRATION_DATE}." @${ECHO_MSG} .endif .endif .endif # Check if the port is listed in the vulnerability database AUDITFILE?= ${PKG_DBDIR}/vuln.xml check-vulnerable: .if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING) \ && exists(${AUDITFILE}) @${SETENV} \ dp_ECHO_MSG="${ECHO_MSG}" \ dp_PKG_BIN="${PKG_BIN}" \ dp_PORTNAME="${PORTNAME}" \ dp_PKGNAME="${PKGNAME}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ ${SH} ${SCRIPTSDIR}/check-vulnerable.sh .endif # Quote simply quote all variables, except FETCH_ENV, some ports are creative # with it, and it needs to be quoted twice to pass through the echo/eval in # do-fetch. _DO_FETCH_ENV= \ dp_DISABLE_SIZE='${DISABLE_SIZE}' \ dp_DISTDIR='${_DISTDIR}' \ dp_DISTINFO_FILE='${DISTINFO_FILE}' \ dp_DIST_SUBDIR='${DIST_SUBDIR}' \ dp_ECHO_MSG='${ECHO_MSG}' \ dp_FETCH_AFTER_ARGS='${FETCH_AFTER_ARGS}' \ dp_FETCH_BEFORE_ARGS='${FETCH_BEFORE_ARGS}' \ dp_FETCH_CMD='${FETCH_CMD}' \ dp_FETCH_ENV=${FETCH_ENV:Q} \ dp_FORCE_FETCH_ALL='${FORCE_FETCH_ALL}' \ dp_FORCE_FETCH_LIST='${FORCE_FETCH_LIST}' \ dp_MASTER_SITE_BACKUP='${_MASTER_SITE_BACKUP}' \ dp_MASTER_SITE_OVERRIDE='${_MASTER_SITE_OVERRIDE}' \ dp_MASTER_SORT_AWK='${MASTER_SORT_AWK}' \ dp_NO_CHECKSUM='${NO_CHECKSUM}' \ dp_RANDOMIZE_SITES='${_RANDOMIZE_SITES}' \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ dp_TARGET='${.TARGET}' .if defined(DEVELOPER) _DO_FETCH_ENV+= dp_DEVELOPER=yes .else _DO_FETCH_ENV+= dp_DEVELOPER= .endif # Fetch .if !target(do-fetch) do-fetch: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif .endif # # Prints out a list of files to fetch (useful to do a batch fetch) .if !target(fetch-list) fetch-list: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif .endif # Used by fetch-urlall-list and fetch-url-list .if !target(fetch-url-list-int) fetch-url-list-int: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif .endif # Prints out all the URL for all the DISTFILES and PATCHFILES. .if !target(fetch-urlall-list) fetch-urlall-list: @cd ${.CURDIR} && ${SETENV} FORCE_FETCH_ALL=yes ${MAKE} fetch-url-list-int .endif # Prints the URL for all the DISTFILES and PATCHFILES that are not here .if !target(fetch-url-list) fetch-url-list: fetch-url-list-int .endif # Extract clean-wrkdir: @${RM} -rf ${WRKDIR} .if !target(do-extract) do-extract: @for file in ${EXTRACT_ONLY}; do \ if ! (cd ${EXTRACT_WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ then \ exit 1; \ fi; \ done @if [ ${UID} = 0 ]; then \ ${CHMOD} -R ug-s ${WRKDIR}; \ ${CHOWN} -R 0:0 ${WRKDIR}; \ fi .endif # Patch .if !target(do-patch) do-patch: .if defined(PATCHFILES) @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}" @(set -e; \ cd ${_DISTDIR}; \ patch_dist_strip () { \ case "$$1" in \ ${_PATCH_DIST_STRIP_CASES} \ esac; \ }; \ for i in ${_PATCHFILES}; do \ if [ ${PATCH_DEBUG_TMP} = yes ]; then \ ${ECHO_MSG} "===> Applying distribution patch $$i" ; \ fi ; \ case $$i in \ *.Z|*.gz) ${GZCAT} $$i ;; \ *.bz2) ${BZCAT} $$i ;; \ *.xz) ${XZCAT} $$i ;; \ *.zip) ${UNZIP_NATIVE_CMD} -p $$i ;; \ *) ${CAT} $$i ;; \ esac | ${PATCH} ${PATCH_DIST_ARGS} `patch_dist_strip $$i` ; \ done ) .endif .if defined(EXTRA_PATCHES) @set -e ; \ for i in ${EXTRA_PATCHES}; do \ case $$i in \ *:-p[0-9]) patch_file=$${i%:*} ; patch_strip=$${i##*:} ;; \ *) patch_file=$$i ;; \ esac ; \ ${ECHO_MSG} "===> Applying extra patch $$patch_file" ; \ case $$patch_file in \ *.Z|*.gz) ${GZCAT} $$patch_file ;; \ *.bz2) ${BZCAT} $$patch_file ;; \ *.xz) ${XZCAT} $$patch_file ;; \ *.zip) ${UNZIP_NATIVE_CMD} -p $$patch_file ;; \ *) ${CAT} $$patch_file ;; \ esac | ${PATCH} ${PATCH_ARGS} $$patch_strip ; \ done .endif @set -e ;\ if [ -d ${PATCHDIR} ]; then \ if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \ ${ECHO_MSG} "===> Applying ${OPSYS} patches for ${PKGNAME}" ; \ PATCHES_APPLIED="" ; \ for i in ${PATCHDIR}/patch-*; do \ case $$i in \ *.orig|*.rej|*~|*,v) \ ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \ ;; \ *) \ if [ ${PATCH_DEBUG_TMP} = yes ]; then \ ${ECHO_MSG} "===> Applying ${OPSYS} patch $$i" ; \ fi; \ if ${PATCH} ${PATCH_ARGS} < $$i ; then \ PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \ else \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch $$i failed to apply cleanly." | ${SED} "s|${PATCHDIR}/||"` ; \ if [ x"$$PATCHES_APPLIED" != x"" -a ${PATCH_SILENT} != "yes" ]; then \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${PATCHDIR}/||g"` ; \ fi; \ ${FALSE} ; \ fi; \ ;; \ esac; \ done; \ fi; \ fi .endif .if !target(run-autotools-fixup) run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. .if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX) -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ -name acinclude.m4 \)` ; do \ ${SED} -i.fbsd10bak \ -e 's|freebsd1\*)|freebsd1.\*)|g' \ -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \ -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \ -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \ $${f} ; \ cmp -s $${f}.fbsd10bak $${f} || \ ${ECHO_MSG} "===> FreeBSD 10 autotools fix applied to $${f}"; \ ${TOUCH} ${TOUCH_FLAGS} -mr $${f}.fbsd10bak $${f} ; \ ${RM} -f $${f}.fbsd10bak ; \ done .endif .endif # Configure .if !target(do-configure) do-configure: @if [ -f ${SCRIPTDIR}/configure ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/configure; \ fi .if defined(GNU_CONFIGURE) @CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \ | ${XARGS} -n 1 ${DIRNAME}); \ for _D in $${CONFIG_GUESS_DIRS}; do \ ${RM} $${_D}/config.guess; \ ${CP} ${TEMPLATES}/config.guess $${_D}/config.guess; \ ${CHMOD} a+rx $${_D}/config.guess; \ ${RM} $${_D}/config.sub; \ ${CP} ${TEMPLATES}/config.sub $${_D}/config.sub; \ ${CHMOD} a+rx $${_D}/config.sub; \ done .endif .if defined(HAS_CONFIGURE) @${MKDIR} ${CONFIGURE_WRKSRC} @(cd ${CONFIGURE_WRKSRC} && \ ${SET_LATE_CONFIGURE_ARGS} \ if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ INSTALL="/usr/bin/install -c" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_LIB="${INSTALL_LIB}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; then \ ${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ ${FALSE}; \ fi) .endif .endif # Build # XXX: ${MAKE_ARGS:N${DESTDIRNAME}=*} would be easier but it is not valid with the old fmake DO_MAKE_BUILD?= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} .if !target(do-build) do-build: @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} ${ALL_TARGET}; then \ if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Compilation failed unexpectedly."; \ (${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \ fi; \ ${FALSE}; \ fi) .endif # Check conflicts .if !target(check-conflicts) check-conflicts: check-build-conflicts check-install-conflicts .endif .if !target(check-build-conflicts) check-build-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_BUILD) ) && !defined(DISABLE_CONFLICTS) && !defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They will not build together."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1;\ fi .endif .endif .if !target(identify-install-conflicts) identify-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) ) && !defined(DISABLE_CONFLICTS) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " You may want to stop build with Ctrl + C."; \ sleep 10; \ fi .endif .endif .if !target(check-install-conflicts) check-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) || ( defined(CONFLICTS_BUILD) && defined(DEFER_CONFLICTS_CHECK) ) ) && !defined(DISABLE_CONFLICTS) .if defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1; \ fi .else @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1; \ fi .endif # defined(DEFER_CONFLICTS_CHECK) .endif .endif # Install .if !target(do-install) && !defined(NO_INSTALL) do-install: @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif # Test .if !target(do-test) && defined(TEST_TARGET) DO_MAKE_TEST?= ${SETENV} ${TEST_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${TEST_ARGS:C,^${DESTDIRNAME}=.*,,g} do-test: @(cd ${TEST_WRKSRC}; if ! ${DO_MAKE_TEST} ${TEST_TARGET}; then \ if [ -n "${TEST_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Tests failed unexpectedly."; \ (${ECHO_CMD} "${TEST_FAIL_MESSAGE}") | ${FMT} 75 79 ; \ fi; \ ${FALSE}; \ fi) .elif !target(do-test) do-test: @${DO_NADA} .endif # Package .if !target(do-package) PKG_CREATE_ARGS= -r ${STAGEDIR} -m ${METADIR} -p ${TMPPLIST} .if defined(PKG_CREATE_VERBOSE) PKG_CREATE_ARGS+= -v .endif do-package: create-manifest do-package: ${TMPPLIST} @if [ -d ${PACKAGES} ]; then \ if [ ! -d ${PKGREPOSITORY} ]; then \ if ! ${MKDIR} ${PKGREPOSITORY}; then \ ${ECHO_MSG} "=> Can't create directory ${PKGREPOSITORY}."; \ exit 1; \ fi; \ fi; \ fi @for cat in ${CATEGORIES}; do \ ${RM} -f ${PACKAGES}/$$cat/${PKGNAMEPREFIX}${PORTNAME}*${PKG_SUFX} ; \ done @${MKDIR} ${WRKDIR}/pkg @if ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \ if [ -d ${PKGREPOSITORY} -a -w ${PKGREPOSITORY} ]; then \ ${LN} -f ${WRKDIR_PKGFILE} ${PKGFILE} 2>/dev/null \ || ${CP} -f ${WRKDIR_PKGFILE} ${PKGFILE}; \ if [ "${PKGORIGIN}" = "ports-mgmt/pkg" -o "${PKGORIGIN}" = "ports-mgmt/pkg-devel" ]; then \ if [ ! -d ${PKGLATESTREPOSITORY} ]; then \ if ! ${MKDIR} ${PKGLATESTREPOSITORY}; then \ ${ECHO_MSG} "=> Can't create directory ${PKGLATESTREPOSITORY}."; \ exit 1; \ fi; \ fi ; \ ${LN} -sf ../${PKGREPOSITORYSUBDIR}/${PKGNAME}${PKG_SUFX} ${PKGLATESTFILE} ; \ fi; \ elif [ ! -d ${PACKAGES} ]; then \ ${LN} -f ${WRKDIR_PKGFILE} ${PKGFILE} 2>/dev/null \ || ${CP} -f ${WRKDIR_PKGFILE} ${PKGFILE}; \ fi; \ else \ cd ${.CURDIR} && eval ${MAKE} delete-package >/dev/null; \ exit 1; \ fi .endif # Some support rules for do-package .if !target(delete-package) delete-package: @${ECHO_MSG} "===> Deleting package for ${PKGNAME}" # When staging, the package may only be in the workdir if not root @${RM} -f ${PKGFILE} ${WRKDIR_PKGFILE} 2>/dev/null || : .endif .if !target(delete-package-list) delete-package-list: @${ECHO_CMD} "[ -f ${PKGFILE} ] && (${ECHO_CMD} deleting ${PKGFILE}; ${RM} -f ${PKGFILE})" .endif # Used by scripts and users to install a package from local repository. # Poudriere -i uses this, please keep. .if !target(install-package) .if defined(FORCE_PKG_REGISTER) _INSTALL_PKG_ARGS= -f .endif .if defined(INSTALLS_DEPENDS) _INSTALL_PKG_ARGS+= -A .endif install-package: @if [ -f "${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}" ]; then \ _pkgfile="${WRKDIR_PKGFILE}"; \ else \ _pkgfile="${PKGFILE}"; \ fi; \ ${PKG_ADD} ${_INSTALL_PKG_ARGS} $${_pkgfile} .endif # Utility targets follow .if !target(check-already-installed) .if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER) check-already-installed: @${ECHO_MSG} "===> Checking if ${PKGBASE} already installed"; \ pkgname=`${PKG_INFO} -q -O ${PKGBASE}`; \ if [ -n "$${pkgname}" ]; then \ v=`${PKG_VERSION} -t $${pkgname} ${PKGNAME}`; \ if [ "$${v}" = "<" ]; then \ ${ECHO_CMD} "===> An older version of ${PKGBASE} is already installed ($${pkgname})"; \ else \ ${ECHO_CMD} "===> ${PKGNAME} is already installed"; \ fi; \ ${ECHO_MSG} " You may wish to \`\`make deinstall'' and install this port again"; \ ${ECHO_MSG} " by \`\`make reinstall'' to upgrade it properly."; \ ${ECHO_MSG} " If you really wish to overwrite the old port of ${PKGBASE}"; \ ${ECHO_MSG} " without deleting it first, set the variable \"FORCE_PKG_REGISTER\""; \ ${ECHO_MSG} " in your environment or the \"make install\" command line."; \ exit 1; \ fi .endif .endif .if !target(check-umask) check-umask: @if [ `${SH} -c umask` != 0022 ]; then \ ${ECHO_MSG} "===> Warning: your umask is \"`${SH} -c umask`"\".; \ ${ECHO_MSG} " If this is not desired, set it to an appropriate value"; \ ${ECHO_MSG} " and install this port again by \`\`make reinstall''."; \ fi .endif .if !target(install-mtree) install-mtree: @${DO_NADA} .endif .if !target(install-ldconfig-file) install-ldconfig-file: . if defined(USE_LDCONFIG) || defined(USE_LDCONFIG32) . if defined(USE_LDCONFIG) . if !defined(USE_LINUX_PREFIX) . if ${USE_LDCONFIG} != "${LOCALBASE}/lib" && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Installing ldconfig configuration file" . if defined(NO_MTREE) || ${PREFIX} != ${LOCALBASE} @${MKDIR} ${STAGEDIR}${LOCALBASE}/${LDCONFIG_DIR} . endif @${ECHO_CMD} ${USE_LDCONFIG} | ${TR} ' ' '\n' \ > ${STAGEDIR}${LOCALBASE}/${LDCONFIG_DIR}/${PKGBASE} @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG_DIR}/${PKGBASE} >> ${TMPPLIST} . if ${PREFIX} != ${LOCALBASE} @${ECHO_CMD} "@dir ${LOCALBASE}/${LDCONFIG_DIR}" >> ${TMPPLIST} . endif . endif . endif . endif . if defined(USE_LDCONFIG32) . if !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Installing 32-bit ldconfig configuration file" . if defined(NO_MTREE) || ${PREFIX} != ${LOCALBASE} @${MKDIR} ${STAGEDIR}${LOCALBASE}/${LDCONFIG32_DIR} . endif @${ECHO_CMD} ${USE_LDCONFIG32} | ${TR} ' ' '\n' \ > ${STAGEDIR}${LOCALBASE}/${LDCONFIG32_DIR}/${PKGBASE} @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG32_DIR}/${PKGBASE} >> ${TMPPLIST} . if ${PREFIX} != ${LOCALBASE} @${ECHO_CMD} "@dir ${LOCALBASE}/${LDCONFIG32_DIR}" >> ${TMPPLIST} . endif . endif . endif . endif .endif .if !target(create-users-groups) .if defined(GROUPS) || defined(USERS) _UG_INSTALL= ${WRKDIR}/users-groups-install.sh _UG_DEINSTALL= ${WRKDIR}/users-groups-deinstall.sh PKGPREINSTALL+= ${_UG_INSTALL} PKGPOSTDEINSTALL+= ${_UG_DEINSTALL} create-users-groups: @${SETENV} \ dp_ECHO_MSG="${ECHO_MSG}" \ dp_GID_FILES="${GID_FILES}" \ dp_GID_OFFSET="${GID_OFFSET}" \ dp_GROUPS_BLACKLIST="${GROUPS_BLACKLIST}" \ dp_INSTALL="${INSTALL}" \ dp_OPSYS="${OPSYS}" \ dp_OSVERSION="${OSVERSION}" \ dp_PREFIX="${PREFIX}" \ dp_PW="${PW}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ dp_UG_DEINSTALL="${_UG_DEINSTALL}" \ dp_UG_INSTALL="${_UG_INSTALL}" \ dp_UID_FILES="${UID_FILES}" \ dp_UID_OFFSET="${UID_OFFSET}" \ dp_USERS_BLACKLIST="${USERS_BLACKLIST}" \ ${SH} ${SCRIPTSDIR}/do-users-groups.sh "${USERS}" "${GROUPS}" .endif .endif .if !defined(DISABLE_SECURITY_CHECK) .if !target(security-check) security-check: ${TMPPLIST} # Scan PLIST for: # 1. setugid files # 2. accept()/recvfrom() which indicates network listening capability # 3. insecure functions (gets/mktemp/tempnam/[XXX]) # 4. startup scripts, in conjunction with 2. # 5. world-writable files/dirs # -@${RM} -f ${WRKDIR}/.PLIST.setuid ${WRKDIR}/.PLIST.writable ${WRKDIR}/.PLIST.objdump; \ ${AWK} -v prefix='${PREFIX}' ' \ match($$0, /^@cwd /) { prefix = substr($$0, RSTART + RLENGTH); if (prefix == "/") prefix=""; next; } \ /^@/ { next; } \ /^\// { print; next; } \ { print prefix "/" $$0; } \ ' ${TMPPLIST} > ${WRKDIR}/.PLIST.flattened; \ ${TR} '\n' '\0' < ${WRKDIR}/.PLIST.flattened \ | ${XARGS} -0 -J % ${FIND} % -prune ! -type l -type f \( -perm -4000 -o -perm -2000 \) \( -perm -0010 -o -perm -0001 \) 2> /dev/null > ${WRKDIR}/.PLIST.setuid; \ ${TR} '\n' '\0' < ${WRKDIR}/.PLIST.flattened \ | ${XARGS} -0 -J % ${FIND} % -prune -perm -0002 \! -type l 2> /dev/null > ${WRKDIR}/.PLIST.writable; \ ${TR} '\n' '\0' < ${WRKDIR}/.PLIST.flattened \ | ${XARGS} -0 -J % ${FIND} % -prune ! -type l -type f -print0 2> /dev/null \ | ${XARGS} -0 -n 1 ${OBJDUMP} -R 2> /dev/null > ${WRKDIR}/.PLIST.objdump; \ if \ ! ${AWK} -v audit="$${PORTS_AUDIT}" -f ${SCRIPTSDIR}/security-check.awk \ ${WRKDIR}/.PLIST.flattened ${WRKDIR}/.PLIST.objdump ${WRKDIR}/.PLIST.setuid ${WRKDIR}/.PLIST.writable; \ then \ www_site=$$(cd ${.CURDIR} && ${MAKE} www-site); \ if [ ! -z "$${www_site}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} " For more information, and contact details about the security"; \ ${ECHO_MSG} " status of this software, see the following webpage: "; \ ${ECHO_MSG} "$${www_site}"; \ fi; \ fi .endif .else # i.e. defined(DISABLE_SECURITY_CHECK) security-check: @${ECHO_MSG} " WARNING: Security check has been disabled." .endif # !defined(DISABLE_SECURITY_CHECK) ################################################################ # Skeleton targets start here # # You shouldn't have to change these. Either add the pre-* or # post-* targets/scripts or redefine the do-* targets. These # targets don't do anything other than checking for cookies and # call the necessary targets/scripts. ################################################################ extract-message: @${ECHO_MSG} "===> Extracting for ${PKGNAME}" patch-message: @${ECHO_MSG} "===> Patching for ${PKGNAME}" configure-message: @${ECHO_MSG} "===> Configuring for ${PKGNAME}" build-message: @${ECHO_MSG} "===> Building for ${PKGNAME}" stage-message: @${ECHO_MSG} "===> Staging for ${PKGNAME}" install-message: @${ECHO_MSG} "===> Installing for ${PKGNAME}" test-message: @${ECHO_MSG} "===> Testing for ${PKGNAME}" package-message: @${ECHO_MSG} "===> Building package for ${PKGNAME}" # Empty pre-* and post-* targets .for stage in pre post .for name in pkg check-sanity fetch extract patch configure build stage install package .if exists(${SCRIPTDIR}/${stage}-${name}) .if !target(${stage}-${name}-script) ${stage}-${name}-script: @ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/-script$//} .endif .endif .endfor .endfor .if !target(pretty-print-www-site) pretty-print-www-site: @www_site=$$(cd ${.CURDIR} && ${MAKE} www-site); \ if [ -n "$${www_site}" ]; then \ ${ECHO_MSG} -n " and/or visit the "; \ ${ECHO_MSG} -n "web site"; \ ${ECHO_MSG} " for further information"; \ fi .endif ################################################################ # Some more targets supplied for users' convenience ################################################################ # Checkpatch # # Special target to verify patches .if !target(checkpatch) checkpatch: @cd ${.CURDIR} && ${MAKE} ${PATCH_SILENT} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} .endif # Reinstall # # Special target to re-run install .if !target(reinstall) reinstall: @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} @cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install .endif .if !target(restage) restage: @${RM} -rf ${STAGEDIR} ${STAGE_COOKIE} ${INSTALL_COOKIE} ${PACKAGE_COOKIE} @cd ${.CURDIR} && ${MAKE} stage .endif # Deinstall # # Special target to remove installation .if !target(deinstall) deinstall: .if defined(UID) && ${UID} != 0 && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}" @${ECHO_MSG} "===> Returning to user credentials" .else @${ECHO_MSG} "===> Deinstalling for ${PKGBASE}" @if ${PKG_INFO} -e ${PKGBASE}; then \ p=`${PKG_INFO} -q -O ${PKGBASE}`; \ ${ECHO_MSG} "===> Deinstalling $${p}"; \ ${PKG_DELETE} -f ${PKGBASE} ; \ else \ ${ECHO_MSG} "===> ${PKGBASE} not installed, skipping"; \ fi @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} .endif .endif # Deinstall-all # # Special target to remove installation of all ports of the same origin .if !target(deinstall-all) deinstall-all: .if ${UID} != 0 && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}" @${ECHO_MSG} "===> Returning to user credentials" .else @${ECHO_MSG} "===> Deinstalling for ${PKGORIGIN}" @deinstall_names=`${PKG_INFO} -q -O ${PKGORIGIN}`; \ for oldpkgorigin in $$(${GREP} "|${PKGORIGIN}|" ${PORTSDIR}/MOVED | ${CUT} -f 1 -d '|' | ${SORT} -u); do \ deinstall_names="$${deinstall_names} $$(${PKG_INFO} -q -O $${oldpkgorigin})"; \ done; \ if [ -n "$${deinstall_names}" ]; then \ for d in $${deinstall_names}; do \ ${ECHO_MSG} "===> Deinstalling $${d}"; \ ${PKG_DELETE} -f $${d}; \ done; \ else \ ${ECHO_MSG} "===> ${PKGORIGIN} not installed, skipping"; \ fi; \ ${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} .endif .endif # Cleaning up .if !target(do-clean) do-clean: @if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \ ${RM} -rf ${WRKDIR}; \ else \ ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ fi; \ fi .endif .if !target(clean) clean: .if !defined(NOCLEANDEPENDS) @cd ${.CURDIR} && ${MAKE} limited-clean-depends .endif @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" .if target(pre-clean) @cd ${.CURDIR} && ${MAKE} pre-clean .endif @cd ${.CURDIR} && ${MAKE} do-clean .if target(post-clean) @cd ${.CURDIR} && ${MAKE} post-clean .endif .endif .if !target(pre-distclean) pre-distclean: @${DO_NADA} .endif .if !target(distclean) distclean: pre-distclean clean @cd ${.CURDIR} && ${MAKE} delete-distfiles RESTRICTED_FILES="${_DISTFILES:Q} ${_PATCHFILES:Q}" .endif .if !target(delete-distfiles) delete-distfiles: @${ECHO_MSG} "===> Deleting distfiles for ${PKGNAME}" @(if [ "X${RESTRICTED_FILES}" != "X" -a -d ${_DISTDIR} ]; then \ cd ${_DISTDIR}; \ for file in ${RESTRICTED_FILES}; do \ ${RM} -f $${file}; \ dir=$${file%/*}; \ if [ "$${dir}" != "$${file}" ]; then \ ${RMDIR} -p $${dir} >/dev/null 2>&1 || :; \ fi; \ done; \ fi) .if defined(DIST_SUBDIR) -@${RMDIR} ${_DISTDIR} >/dev/null 2>&1 || ${TRUE} .endif .endif .if !target(delete-distfiles-list) delete-distfiles-list: @${ECHO_CMD} "# ${PKGNAME}" @if [ "X${RESTRICTED_FILES}" != "X" ]; then \ for file in ${RESTRICTED_FILES}; do \ ${ECHO_CMD} "[ -f ${_DISTDIR}/$$file ] && (${ECHO_CMD} deleting ${_DISTDIR}/$$file; ${RM} -f ${_DISTDIR}/$$file)"; \ dir=$${file%/*}; \ if [ "$${dir}" != "$${file}" ]; then \ ${ECHO_CMD} "(cd ${_DISTDIR} && ${RMDIR} -p $${dir} 2>/dev/null)"; \ fi; \ done; \ fi .if defined(DIST_SUBDIR) @${ECHO_CMD} "${RMDIR} ${_DISTDIR} 2>/dev/null || ${TRUE}" .endif .endif # Generates patches. update-patches: @toedit=`PATCH_WRKSRC=${PATCH_WRKSRC} \ PATCHDIR=${PATCHDIR} \ PATCH_LIST=${PATCHDIR}/patch-* \ DIFF_ARGS=${DIFF_ARGS} \ DISTORIG=${DISTORIG} \ ${SH} ${PORTSDIR}/Tools/scripts/update-patches`; \ case $$toedit in "");; \ *) ${ECHO_CMD} -n 'edit patches: '; read i; \ cd ${PATCHDIR} && $${VISUAL:-$${EDIT:-/usr/bin/vi}} $$toedit;; esac # Checksumming utilities # List all algorithms here, all the variables name must begin with dp_ _CHECKSUM_INIT_ENV= \ dp_SHA256=${SHA256} .if !target(makesum) # Some port change the options with OPTIONS_*_FORCE when make(makesum) to be # able to add all distfiles in one go. # For this to work, we need to call the do-fetch script directly here so that # the options consistent when fetching and when makesum'ing. # As we're fetching new distfiles, that are not in the distinfo file, disable # checksum and sizes checks. makesum: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_NO_CHECKSUM=yes dp_DISABLE_SIZE=yes \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_NO_CHECKSUM=yes dp_DISABLE_SIZE=yes \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif @${SETENV} \ ${_CHECKSUM_INIT_ENV} \ dp_CHECKSUM_ALGORITHMS='${CHECKSUM_ALGORITHMS:tu}' \ dp_CKSUMFILES='${_CKSUMFILES}' \ dp_DISTDIR='${DISTDIR}' \ dp_DISTINFO_FILE='${DISTINFO_FILE}' \ dp_ECHO_MSG='${ECHO_MSG}' \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ ${SH} ${SCRIPTSDIR}/makesum.sh ${DISTFILES:C/.*/'&'/} .endif .if !target(checksum) checksum: fetch .if !empty(_CKSUMFILES) @${SETENV} \ ${_CHECKSUM_INIT_ENV} \ dp_CHECKSUM_ALGORITHMS='${CHECKSUM_ALGORITHMS:tu}' \ dp_CURDIR='${.CURDIR}' \ dp_DISTDIR='${DISTDIR}' \ dp_DISTINFO_FILE='${DISTINFO_FILE}' \ dp_DIST_SUBDIR='${DIST_SUBDIR}' \ dp_ECHO_MSG='${ECHO_MSG}' \ dp_FETCH_REGET='${FETCH_REGET}' \ dp_MAKE='${MAKE}' \ dp_MAKEFLAGS='${.MAKEFLAGS}' \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ dp_DISABLE_SIZE='${DISABLE_SIZE}' \ dp_NO_CHECKSUM='${NO_CHECKSUM}' \ ${SH} ${SCRIPTSDIR}/checksum.sh ${_CKSUMFILES:C/.*/'&'/} .endif .endif ################################################################ # The special package-building targets # You probably won't need to touch these ################################################################ # Nobody should want to override this unless PKGNAME is simply bogus. .if !target(package-name) package-name: @${ECHO_CMD} ${PKGNAME} .endif # Build a package but don't check the package cookie .if !target(repackage) repackage: pre-repackage package pre-repackage: @${RM} -f ${PACKAGE_COOKIE} .endif # Build a package but don't check the cookie for installation, also don't # install package cookie .if !target(package-noinstall) package-noinstall: package .endif ################################################################ # Dependency checking ################################################################ .if !target(depends) depends: pkg-depends extract-depends patch-depends lib-depends fetch-depends build-depends run-depends .for deptype in PKG EXTRACT PATCH FETCH BUILD LIB RUN TEST ${deptype:tl}-depends: .if defined(${deptype}_DEPENDS) && !defined(NO_DEPENDS) @${SETENV} \ dp_RAWDEPENDS="${${deptype}_DEPENDS}" \ dp_DEPTYPE="${deptype}_DEPENDS" \ dp_DEPENDS_TARGET="${DEPENDS_TARGET}" \ dp_DEPENDS_PRECLEAN="${DEPENDS_PRECLEAN}" \ dp_DEPENDS_CLEAN="${DEPENDS_CLEAN}" \ dp_DEPENDS_ARGS="${DEPENDS_ARGS}" \ dp_USE_PACKAGE_DEPENDS="${USE_PACKAGE_DEPENDS}" \ dp_USE_PACKAGE_DEPENDS_ONLY="${USE_PACKAGE_DEPENDS_ONLY}" \ dp_PKG_ADD="${PKG_ADD}" \ dp_PKG_INFO="${PKG_INFO}" \ dp_WRKDIR="${WRKDIR}" \ dp_PKGNAME="${PKGNAME}" \ dp_STRICT_DEPENDS="${STRICT_DEPENDS}" \ dp_LOCALBASE="${LOCALBASE}" \ dp_LIB_DIRS="${LIB_DIRS}" \ dp_SH="${SH}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ ${SH} ${SCRIPTSDIR}/do-depends.sh .endif .endfor .endif # Dependency lists: both build and runtime, recursive. Print out directory names. _UNIFIED_DEPENDS=${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} ${TEST_DEPENDS} _DEPEND_SPECIALS= ${_UNIFIED_DEPENDS:M*\:*\:*:C,^[^:]*:([^:]*):.*$,\1,} .for d in ${_UNIFIED_DEPENDS:M*\:/*} # Fight .for variable interpolation differently for each version of make... .if defined(.PARSEDIR) _PORTSDIR_STR= $${PORTSDIR}/ DEV_WARNING+= "It looks like the ${d} depends line has an absolute port origin, make sure to remove \$${_PORTSDIR_STR} from it." .else _PORTSDIR_STR= $$$${PORTSDIR}/ DEV_WARNING+= "It looks like the ${d} depends line has an absolute port origin, make sure to remove \$${_PORTSDIR_STR} from it." .endif .endfor all-depends-list: @${ALL-DEPENDS-LIST} # This script is shared among several dependency list variables. See file for # usage. DEPENDS-LIST= \ ${SETENV} \ PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ dp_PKGNAME="${PKGNAME}" \ dp_PKG_INFO="${PKG_INFO}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ ${SH} ${SCRIPTSDIR}/depends-list.sh ALL-DEPENDS-LIST= ${DEPENDS-LIST} -r ${_UNIFIED_DEPENDS:Q} MISSING-DEPENDS-LIST= ${DEPENDS-LIST} -m ${_UNIFIED_DEPENDS:Q} TEST-DEPENDS-LIST= ${DEPENDS-LIST} ${TEST_DEPENDS:Q} CLEAN-DEPENDS-LIST= ${DEPENDS-LIST} -wr ${_UNIFIED_DEPENDS:Q} CLEAN-DEPENDS-LIMITED-LIST= ${DEPENDS-LIST} -w ${_UNIFIED_DEPENDS:Q} .if !target(clean-depends) clean-depends: @for dir in $$(${CLEAN-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} NOCLEANDEPENDS=yes clean); \ done .endif .if !target(limited-clean-depends) limited-clean-depends: @for dir in $$(${CLEAN-DEPENDS-LIMITED-LIST}); do \ (cd $$dir; ${MAKE} NOCLEANDEPENDS=yes clean); \ done .endif .if !target(deinstall-depends) deinstall-depends: @for dir in $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} deinstall); \ done .endif .if !target(fetch-specials) fetch-specials: @${ECHO_MSG} "===> Fetching all distfiles required by ${PKGNAME} for building" @for dir in ${_DEPEND_SPECIALS}; do \ case $$dir in \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac; \ (cd $$dir; ${MAKE} fetch); \ done .endif .if !target(fetch-recursive) fetch-recursive: @${ECHO_MSG} "===> Fetching all distfiles for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch); \ done .endif .if !target(fetch-recursive-list) fetch-recursive-list: @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch-list); \ done .endif # Used by fetch-required and fetch-required list, this script looks # at each of the dependencies. If 3 items are specified in the tuple, # such as foo:graphics/foo:extract, the first item (foo) # is examined. Only if it begins with a / and does not exist on the # file-system will ``make targ'' proceed. # For more usual (dual-item) dependency tuples, the ``make targ'' # proceeds, if the exact package, which the directory WOULD'VE installed, # is not yet installed. # This is the exact behaviour of the old code, and it may need # revisiting. For example, the entire first case seems dubious, and in # the second case we, probably, should be satisfied with _any_ (earlier) # package, with the same origin as that of the dir. # # -mi FETCH_LIST?= for i in $$deps; do \ prog=$${i%%:*}; dir=$${i\#*:}; \ case $$dir in \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac; \ case $$dir in \ *:*) if [ $$prog != $${prog\#/} -o ! -e $$prog ]; then \ dir=$${dir%%:*}; \ else \ continue; \ fi;; \ *) if [ -d ${PKG_DBDIR}/$$(cd $$dir; ${MAKE} -V PKGNAME) ]; then \ continue; \ fi;; \ esac; \ echo cd $$dir; cd $$dir; ${MAKE} $$targ; \ done .if !target(fetch-required) fetch-required: fetch .if defined(NO_DEPENDS) @${ECHO_MSG} "===> NO_DEPENDS is set, not fetching any other distfiles for ${PKGNAME}" .else @${ECHO_MSG} "===> Fetching all required distfiles for ${PKGNAME} and dependencies" .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(fetch-required-list) fetch-required-list: fetch-list .if !defined(NO_DEPENDS) .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch-list; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(checksum-recursive) checksum-recursive: @${ECHO_MSG} "===> Fetching and checking checksums for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} checksum); \ done .endif # Dependency lists: build and runtime. Print out directory names. build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${BUILD-DEPENDS-LIST} .endif BUILD-DEPENDS-LIST= \ for dir in $$(${ECHO_CMD} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" | ${SED} -E -e 's,([^: ]*):([^: ]*)(:[^ ]*)?,\2,g' -e 'y/ /\n/'| ${SORT} -u); do \ case $$dir in \ /*) pdir=$$dir ;; \ *) pdir=${PORTSDIR}/$$dir ;; \ esac ; \ if [ -d $$pdir ]; then \ ${ECHO_CMD} $$pdir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$pdir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done | ${SORT} -u run-depends-list: .if defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${RUN-DEPENDS-LIST} .endif RUN-DEPENDS-LIST= \ for dir in $$(${ECHO_CMD} "${_LIB_RUN_DEPENDS:C,.*:([^:]*).*,\1,}" | ${SED} -e 'y/ /\n/' | ${SORT} -u); do \ case $$dir in \ /*) pdir=$$dir ;; \ *) pdir=${PORTSDIR}/$$dir ;; \ esac ; \ if [ -d $$pdir ]; then \ ${ECHO_CMD} $$pdir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$pdir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done | ${SORT} -u test-depends-list: .if defined(TEST_DEPENDS) @${TEST-DEPENDS-LIST} .endif # Package (recursive runtime) dependency list. Print out both directory names # and package names. package-depends-list: .if defined(CHILD_DEPENDS) || defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${PACKAGE-DEPENDS-LIST} .endif _LIB_RUN_DEPENDS= ${LIB_DEPENDS} ${RUN_DEPENDS} PACKAGE-DEPENDS-LIST?= \ if [ "${CHILD_DEPENDS}" ]; then \ installed=$$(${PKG_INFO} -qO ${PKGORIGIN} 2>/dev/null || \ ${TRUE}); \ if [ "$$installed" ]; then \ break; \ fi; \ if [ -z "$$installed" ]; then \ installed="${PKGNAME}"; \ fi; \ for pkgname in $$installed; do \ ${ECHO_CMD} "$$pkgname ${.CURDIR} ${PKGORIGIN}"; \ done; \ fi; \ checked="${PARENT_CHECKED}"; \ for dir in ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}; do \ case "$$dir" in \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac ; \ dir=$$(${REALPATH} $$dir); \ if [ -d $$dir ]; then \ case $$checked in \ $$dir|$$dir\ *|*\ $$dir|*\ $$dir\ *) continue;; \ esac; \ childout=$$(cd $$dir; ${MAKE} CHILD_DEPENDS=yes PARENT_CHECKED="$$checked" package-depends-list); \ set -- $$childout; \ childdir=""; \ while [ $$\# != 0 ]; do \ childdir="$$childdir $$2"; \ ${ECHO_CMD} "$$1 $$2 $$3"; \ shift 3; \ done; \ checked="$$dir $$childdir $$checked"; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done ACTUAL-PACKAGE-DEPENDS?= \ depfiles="" ; \ for lib in ${LIB_DEPENDS:C/\:.*//}; do \ depfiles="$$depfiles `${SETENV} LIB_DIRS="${LIB_DIRS}" LOCALBASE="${LOCALBASE}" ${SH} ${SCRIPTSDIR}/find-lib.sh $${lib}`" ; \ done ; \ ${SETENV} PKG_BIN="${PKG_BIN}" ${SH} ${SCRIPTSDIR}/actual-package-depends.sh $${depfiles} ${RUN_DEPENDS:C/(.*)\:.*/"\1"/} PKG_NOTES_ENV?= .for note in ${PKG_NOTES} PKG_NOTES_ENV+= dp_PKG_NOTE_${note}=${PKG_NOTE_${note}:Q} .endfor create-manifest: @${SETENV} \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ dp_ACTUAL_PACKAGE_DEPENDS='${ACTUAL-PACKAGE-DEPENDS}' \ dp_CATEGORIES='${CATEGORIES:u:S/$/,/}' \ dp_COMMENT=${COMMENT:Q} \ dp_COMPLETE_OPTIONS_LIST='${COMPLETE_OPTIONS_LIST}' \ dp_DEPRECATED=${DEPRECATED:Q} \ dp_DESCR='${DESCR}' \ dp_EXPIRATION_DATE='${EXPIRATION_DATE}' \ dp_GROUPS='${GROUPS:u:S/$/,/}' \ dp_LICENSE='${LICENSE:u:S/$/,/}' \ dp_LICENSE_COMB='${LICENSE_COMB}' \ dp_MAINTAINER='${MAINTAINER}' \ dp_METADIR='${METADIR}' \ dp_NO_ARCH='${NO_ARCH}' \ dp_PKGBASE='${PKGBASE}' \ dp_PKGDEINSTALL='${PKGDEINSTALL}' \ dp_PKGINSTALL='${PKGINSTALL}' \ dp_PKGMESSAGES='${_PKGMESSAGES}' \ dp_PKGORIGIN='${PKGORIGIN}' \ dp_PKGPOSTDEINSTALL='${PKGPOSTDEINSTALL}' \ dp_PKGPOSTINSTALL='${PKGPOSTINSTALL}' \ dp_PKGPOSTUPGRADE='${PKGPOSTUPGRADE}' \ dp_PKGPREDEINSTALL='${PKGPREDEINSTALL}' \ dp_PKGPREINSTALL='${PKGPREINSTALL}' \ dp_PKGPREUPGRADE='${PKGPREUPGRADE}' \ dp_PKGUPGRADE='${PKGUPGRADE}' \ dp_PKGVERSION='${PKGVERSION}' \ dp_PKG_BIN='${PKG_BIN}' \ dp_PKG_IGNORE_DEPENDS='${PKG_IGNORE_DEPENDS}' \ dp_PKG_NOTES='${PKG_NOTES}' \ dp_PORT_OPTIONS='${PORT_OPTIONS}' \ dp_PREFIX='${PREFIX}' \ dp_USERS='${USERS:u:S/$/,/}' \ dp_WWW='${WWW}' \ ${PKG_NOTES_ENV} \ ${SH} ${SCRIPTSDIR}/create-manifest.sh # Print out package names. package-depends: @${PACKAGE-DEPENDS-LIST} | ${AWK} '{print $$1":"$$3}' actual-package-depends: @${ACTUAL-PACKAGE-DEPENDS} # Build packages for port and dependencies package-recursive: package @for dir in $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} package-noinstall); \ done # Show missing dependencies missing: @for dir in $$(${MISSING-DEPENDS-LIST}); do \ echo $${dir#${PORTSDIR}/}; \ done # Show missing dependencies by name missing-packages: @_packages=$$(${PKG_INFO} -aq); \ for dir in $$(${ALL-DEPENDS-LIST}); do \ _p=$$(cd $$dir; ${MAKE} -VPKGNAME); \ if ! $$(${ECHO_CMD} $${_packages} | ${GREP} -q $${_p}); then \ ${ECHO_CMD} $${_p}; \ fi; \ done ################################################################ # Everything after here are internal targets and really # shouldn't be touched by anybody but the release engineers. ################################################################ # This target generates an index entry suitable for aggregation into # a large index. Format is: # # distribution-name|port-path|installation-prefix|comment| \ # description-file|maintainer|categories|extract-depends| \ # patch-depends|fetch-depends|build-depends|run-depends|www site # # If this ever changes, portmgr should contact the portsnap maintainer # first to avoid gratuitous breakage. . if !target(describe) _EXTRACT_DEPENDS=${EXTRACT_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _PATCH_DEPENDS=${PATCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} _RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} . if exists(${DESCR}) _DESCR=${DESCR} . else _DESCR=/dev/null . endif . if defined(BUILDING_INDEX) && defined(INDEX_PORTS) INDEX_OUT=${INDEX_TMPDIR}/${INDEXFILE}.desc.aggr . else INDEX_OUT=/dev/stdout . endif describe: @(${ECHO_CMD} -n "${PKGNAME}|${.CURDIR}|${PREFIX}|"; \ ${ECHO_CMD} -n ${COMMENT:Q}; \ ${ECHO_CMD} -n "|${_DESCR}|${MAINTAINER}|${CATEGORIES}|${_EXTRACT_DEPENDS}|${_PATCH_DEPENDS}|${_FETCH_DEPENDS}|${_BUILD_DEPENDS:O:u}|${_RUN_DEPENDS:O:u}|"; \ while read one two discard; do \ case "$$one" in \ WWW:) case "$$two" in \ https://*|http://*|ftp://*) ${ECHO_CMD} -n "$$two" ;; \ *) ${ECHO_CMD} -n "http://$$two" ;; \ esac; \ break; \ ;; \ esac; \ done < ${DESCR}; ${ECHO_CMD}) >>${INDEX_OUT} . endif www-site: .if exists(${DESCR}) @${AWK} '$$1 ~ /^WWW:/ {print $$2}' ${DESCR} | ${HEAD} -1 .else @${ECHO_CMD} .endif .if !target(readmes) readmes: readme .endif .if !target(readme) readme: @${RM} -f ${.CURDIR}/README.html @cd ${.CURDIR} && ${MAKE} ${.CURDIR}/README.html .endif ${.CURDIR}/README.html: @${ECHO_MSG} "===> Creating README.html for ${PKGNAME}" @${SED} -e 's|%%PORT%%|'$$(${ECHO_CMD} ${.CURDIR} | \ ${SED} -e 's|.*/\([^/]*/[^/]*\)$$|\1|')'|g' \ -e 's|%%PKG%%|${PKGNAME}|g' \ -e 's|%%COMMENT%%|'"$$(${ECHO_CMD} ${COMMENT:Q})"'|' \ -e '/%%COMMENT%%/d' \ -e 's|%%DESCR%%|'"$$(${ECHO_CMD} ${DESCR} | \ ${SED} -e 's|${.CURDIR}/||')"'|' \ -e 's|%%EMAIL%%|'"$$(${ECHO_CMD} "${MAINTAINER}" | \ ${SED} -e 's/([^)]*)//;s/.*.*//')"'|g' \ -e 's|%%MAINTAINER%%|${MAINTAINER}|g' \ -e 's|%%WEBSITE%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-www-site)"'|' \ -e 's|%%BUILD_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-build-depends-list)"'|' \ -e 's|%%RUN_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-run-depends-list)"'|' \ -e 's|%%TOP%%|'"$$(${ECHO_CMD} ${CATEGORIES} | \ ${SED} -e 's| .*||' -e 's|[^/]*|..|g')"'/..|' \ ${TEMPLATES}/README.port >> ${.TARGET} # The following two targets require an up-to-date INDEX in ${PORTSDIR} _PRETTY_PRINT_DEPENDS_LIST=\ if [ ! -r ${INDEXDIR}/${INDEXFILE} ] ; then \ ${ECHO_MSG} "${.TARGET} requires an INDEX file (${INDEXFILE}). Please run make index or make fetchindex."; \ else \ target=${.TARGET:C/pretty-print-(.*)-depends-list/\1/} ; \ if [ "$$target" = "build" ] ; then fldnum=8 ; else fldnum=9 ; fi; \ ${ECHO_MSG} -n 'This port requires package(s) "' ; \ ${ECHO_MSG} -n `${AWK} -F\| "\\$$1 ~ /^${PKGNAME}/ {print \\$$$${fldnum};}" ${INDEXDIR}/${INDEXFILE}` ; \ ${ECHO_MSG} "\" to $$target."; \ fi; .if !target(pretty-print-build-depends-list) pretty-print-build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || \ defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif .if !target(pretty-print-run-depends-list) pretty-print-run-depends-list: .if defined(RUN_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif _SUB_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} .if !target(apply-slist) apply-slist: .if defined(SUB_FILES) .for file in ${SUB_FILES} .if !exists(${FILESDIR}/${file}.in) @${ECHO_MSG} "** Missing ${FILESDIR}/${file}.in for ${PKGNAME}."; exit 1 .else @${SED} ${_SUB_LIST_TEMP} -e '/^@comment /d' ${FILESDIR}/${file}.in > ${WRKDIR}/${file} .endif .endfor .for i in pkg-message pkg-install pkg-deinstall pkg-req .if ${SUB_FILES:M${i}*}!="" ${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*} .endif .endfor .endif .endif # Generate packing list. Also tests to make sure all required package # files exist. .if !target(generate-plist) generate-plist: ${WRKDIR} @${ECHO_MSG} "===> Generating temporary packing list" @${MKDIR} ${TMPPLIST:H} @if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi @>${TMPPLIST} @for file in ${PLIST_FILES}; do \ ${ECHO_CMD} $${file} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} >> ${TMPPLIST}; \ done @if [ -f ${PLIST} ]; then \ ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \ fi .for dir in ${PLIST_DIRS} @${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dir ,' >> ${TMPPLIST} .endfor .if defined(USE_LINUX_PREFIX) .if defined(USE_LDCONFIG) @${ECHO_CMD} "@postexec ${LDCONFIG_CMD}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG_CMD}" >> ${TMPPLIST} .endif .else .if defined(USE_LDCONFIG) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@postexec ${LDCONFIG} -m ${USE_LDCONFIG}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@postexec ${LDCONFIG} -m ${USE_LDCONFIG} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .if defined(USE_LDCONFIG32) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@postexec ${LDCONFIG} -32 -m ${USE_LDCONFIG32}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -32 -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@postexec ${LDCONFIG} -32 -m ${USE_LDCONFIG32} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -32 -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .endif .endif ${TMPPLIST}: @cd ${.CURDIR} && ${MAKE} generate-plist ${TMPPLIST_SORT}: ${TMPPLIST} @${SORT} -u ${TMPPLIST} >${TMPPLIST_SORT} .for _type in EXAMPLES DOCS .if !target(add-plist-${_type:tl}) .if defined(PORT${_type}) && !defined(NOPORT${_type}) add-plist-${_type:tl}: .for x in ${PORT${_type}} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${${_type}DIR}/${x} ]; then \ ${ECHO_CMD} ${${_type}DIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORT${_type}:S/^/${STAGEDIR}${${_type}DIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .endfor .if !target(add-plist-data) .if defined(PORTDATA) add-plist-data: .for x in ${PORTDATA} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${DATADIR}/${x} ]; then \ ${ECHO_CMD} ${DATADIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORTDATA:S/^/${STAGEDIR}${DATADIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .if !target(add-plist-info) .if defined(INFO) add-plist-info: .for i in ${INFO} @${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}:@info\ :g >> ${TMPPLIST} .endfor .endif .endif # If we're installing into a non-standard PREFIX, we need to remove that directory at # deinstall-time .if !target(add-plist-post) .if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} && \ ${PREFIX} != "/usr" && ${PREFIX} != "/" && !defined(NO_PREFIX_RMDIR)) add-plist-post: @${ECHO_CMD} "@dir ${PREFIX}" >> ${TMPPLIST} .endif .endif .if !target(install-rc-script) .if defined(USE_RC_SUBR) install-rc-script: @${ECHO_MSG} "===> Staging rc.d startup script(s)" @for i in ${USE_RC_SUBR}; do \ _prefix=${PREFIX}; \ [ "${PREFIX}" = "/usr" ] && _prefix="" ; \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}$${_prefix}/etc/rc.d/$${i%.sh}; \ ${ECHO_CMD} "$${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .endif .endif .if !target(check-man) check-man: stage @${ECHO_MSG} "====> Checking man pages (check-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ err=0 ; \ for dir in $$mdirs; do \ for f in $$(find $$dir -name "*.gz"); do \ ${ECHO_CMD} "===> Checking $${f##*/}" ; \ gunzip -c $$f | mandoc -Tlint -Werror && continue ; \ err=1 ; \ done ; \ done ; \ exit $$err .endif # Compress all manpage not already compressed which are not hardlinks # Find all manpages which are not compressed and are hadlinks, and only get the list of inodes concerned, for each of them compress the first one found and recreate the hardlinks for the others # Fixes all dead symlinks left by the previous round .if !target(compress-man) compress-man: @${ECHO_MSG} "====> Compressing man pages (compress-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ for dir in $$mdirs; do \ ${FIND} $$dir -type f \! -name "*.gz" -links 1 -exec ${GZIP_CMD} {} \; ; \ ${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -exec ${STAT} -f '%i' {} \; | \ ${SORT} -u | while read inode ; do \ unset ref ; \ for f in $$(${FIND} $$dir -type f -inum $${inode} -print); do \ if [ -z $$ref ]; then \ ref=$${f}.gz ; \ ${GZIP_CMD} $${f} ; \ continue ; \ fi ; \ ${RM} -f $${f} ; \ (cd $${f%/*}; ${LN} -f $${ref##*/} $${f##*/}.gz) ; \ done ; \ done ; \ ${FIND} $$dir -type l \! -name "*.gz" | while read link ; do \ ${LN} -sf $$(readlink $$link).gz $$link.gz ;\ ${RM} -f $$link ; \ done; \ done .endif .if !target(stage-dir) stage-dir: @${MKDIR} ${STAGEDIR}${PREFIX} .if !defined(NO_MTREE) @${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${PREFIX} > /dev/null .endif .endif .if !target(makeplist) makeplist: stage @${SETENV} ${CO_ENV} ${SH} ${SCRIPTSDIR}/check-stagedir.sh makeplist .endif .if !target(check-plist) check-plist: stage @${ECHO_MSG} "====> Checking for pkg-plist issues (check-plist)" @${SETENV} ${CO_ENV} ${SH} ${SCRIPTSDIR}/check-stagedir.sh checkplist @${ECHO_MSG} "===> No pkg-plist issues found (check-plist)" .endif .if !target(check-orphans) check-orphans: check-plist .endif .if !target(stage-qa) stage-qa: @${ECHO_MSG} "====> Running Q/A tests (stage-qa)" @${SETENV} ${QA_ENV} ${SH} ${SCRIPTSDIR}/qa.sh .if !defined(DEVELOPER) @${ECHO_MSG} "/!\\ To run stage-qa automatically add DEVELOPER=yes to your environment /!\\" .endif .endif # Fake installation of package so that user can pkg delete it later. .if !target(fake-pkg) STAGE_ARGS= -i ${STAGEDIR} .if !defined(NO_PKG_REGISTER) fake-pkg: create-manifest .if defined(INSTALLS_DEPENDS) @${ECHO_MSG} "===> Registering installation for ${PKGNAME} as automatic" .else @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" .endif .if defined(INSTALLS_DEPENDS) @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .else @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .endif @${RM} -rf ${METADIR} .endif .endif # Depend is generally meaningless for arbitrary ports, but if someone wants # one they can override this. This is just to catch people who've gotten into # the habit of typing `make depend all install' as a matter of course. # Same goes for tags .for _t in depend tags .if !target(${_t}) ${_t}: .endif .endfor .if !defined(NOPRECIOUSMAKEVARS) # These won't change, so we can pass them through the environment .for var in ${_EXPORTED_VARS} .if empty(.MAKEFLAGS:M${var}=*) && !empty(${var}) .MAKEFLAGS: ${var}=${${var}:Q} .endif .endfor .endif .if !target(pre-check-config) pre-check-config: .for single in ${OPTIONS_SINGLE} . for opt in ${OPTIONS_SINGLE_${single}} . if empty(ALL_OPTIONS:M${single}) || !empty(PORT_OPTIONS:M${single}) . if !empty(PORT_OPTIONS:M${opt}) . if defined(OPTFOUND) OPTIONS_WRONG_SINGLE+= ${single} . else OPTFOUND= true . endif . endif . else # if conditional and if the condition is unchecked, remove opt from the list of # set options PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} OPTNOCHECK= true . endif . endfor . if !defined(OPTFOUND) && !defined(OPTNOCHECK) OPTIONS_WRONG_SINGLE+= ${single} . endif . undef OPTFOUND . undef OPTNOCHECK .endfor .undef single .for radio in ${OPTIONS_RADIO} . for opt in ${OPTIONS_RADIO_${radio}} . if !empty(PORT_OPTIONS:M${opt}) . if defined(OPTFOUND) OPTIONS_WRONG_RADIO+= ${radio} . else OPTFOUND= true . endif . endif . endfor . undef OPTFOUND .endfor .for multi in ${OPTIONS_MULTI} . for opt in ${OPTIONS_MULTI_${multi}} . if empty(ALL_OPTIONS:M${multi}) || !empty(PORT_OPTIONS:M${multi}) . if !empty(PORT_OPTIONS:M${opt}) OPTFOUND= true . endif . else # if conditional and if the condition is unchecked, remove opt from the list of # set options PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} OPTNOCHECK= true . endif . endfor . if !defined(OPTFOUND) && !defined(OPTNOCHECK) OPTIONS_WRONG_MULTI+= ${multi} . endif . undef OPTFOUND . undef OPTNOCHECK .endfor .undef multi .for opt in ${PORT_OPTIONS} . for conflict in ${${opt}_PREVENTS} . if ${PORT_OPTIONS:M${conflict}} . if empty(OPTIONS_WRONG_PREVENTS:M${opt}) OPTIONS_WRONG_PREVENTS+= ${opt} . endif OPTIONS_WRONG_PREVENTS_${opt}+= ${conflict} . endif . endfor .endfor .undef conflict .undef opt .endif #pre-check-config .if !target(_check-config) _check-config: pre-check-config .for multi in ${OPTIONS_WRONG_MULTI} @${ECHO_MSG} "====> You must check at least one option in the ${multi} multi" .endfor .for single in ${OPTIONS_WRONG_SINGLE} @${ECHO_MSG} "====> You must select one and only one option from the ${single} single" .endfor .for radio in ${OPTIONS_WRONG_RADIO} @${ECHO_MSG} "====> You cannot select multiple options from the ${radio} radio" .endfor .if defined(OPTIONS_WRONG_PREVENTS) @${ECHO_MSG} "====> Two or more enabled options conflict with each other" . for prevents in ${OPTIONS_WRONG_PREVENTS} @${ECHO_MSG} "=====> Option ${prevents} conflicts with ${OPTIONS_WRONG_PREVENTS_${prevents}} (select only one)" . if defined(${prevents}_PREVENTS_MSG) @${ECHO_MSG} "======> ${${prevents}_PREVENTS_MSG}" . endif . endfor .endif .if !empty(OPTIONS_WRONG_MULTI) || !empty(OPTIONS_WRONG_SINGLE) || !empty(OPTIONS_WRONG_RADIO) || !empty(OPTIONS_WRONG_PREVENTS) _CHECK_CONFIG_ERROR= true .endif .endif # _check-config .if !target(check-config) check-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @${FALSE} .endif .endif # check-config .if !target(sanity-config) sanity-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @echo -n "Config is invalid. Re-edit? [Y/n] "; \ read answer; \ case $$answer in \ [Nn]|[Nn][Oo]) \ exit 0; \ esac; \ cd ${.CURDIR} && ${MAKE} config .endif .endif # sanity-config .if !target(pre-config) pre-config: D4P_ENV= PKGNAME="${PKGNAME}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ ALL_OPTIONS="${ALL_OPTIONS}" \ OPTIONS_MULTI="${OPTIONS_MULTI}" \ OPTIONS_SINGLE="${OPTIONS_SINGLE}" \ OPTIONS_RADIO="${OPTIONS_RADIO}" \ OPTIONS_GROUP="${OPTIONS_GROUP}" \ NEW_OPTIONS="${NEW_OPTIONS}" \ DIALOG4PORTS="${DIALOG4PORTS}" \ PREFIX="${PREFIX}" \ LOCALBASE="${LOCALBASE}" \ PORTSDIR="${PORTSDIR}" \ MAKE="${MAKE}" \ D4PHEIGHT="${D4PHEIGHT}" \ D4PWIDTH="${D4PWIDTH}" \ D4PFULLSCREEN="${D4PFULLSCREEN}" .if exists(${PKGHELP}) D4P_ENV+= PKGHELP="${PKGHELP}" .endif .for opt in ${ALL_OPTIONS} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" .endfor .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} D4P_ENV+= OPTIONS_${otype}_${m}="${OPTIONS_${otype}_${m}}" \ ${m}_DESC=""${${m}_DESC:Q}"" . for opt in ${OPTIONS_${otype}_${m}} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" . endfor . endfor .endfor .undef m .undef otype .undef opt .endif # pre-config .if !target(do-config) do-config: .if empty(ALL_OPTIONS) && empty(OPTIONS_SINGLE) && empty(OPTIONS_MULTI) && empty(OPTIONS_RADIO) && empty(OPTIONS_GROUP) @${ECHO_MSG} "===> No options to configure" .else @optionsdir=${OPTIONS_FILE:H}; \ if [ ! -w "${PORT_DBDIR}" -a "`stat -f %u ${PORT_DBDIR:H}`" = 0 ]; \ then \ ${ECHO_MSG} "===> Switching to root credentials to create $${optionsdir}"; \ (${SU_CMD} "${SH} -c \"${MKDIR} $${optionsdir} 2> /dev/null\"") || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1); \ ${ECHO_MSG} "===> Returning to user credentials" ; \ else \ ${MKDIR} $${optionsdir} 2> /dev/null || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1) ; \ fi @TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${SETENV} ${D4P_ENV} ${SH} ${SCRIPTSDIR}/dialog4ports.sh $${TMPOPTIONSFILE} || { \ ${RM} -f $${TMPOPTIONSFILE}; \ ${ECHO_MSG} "===> Options unchanged"; \ exit 0; \ }; \ ${ECHO_CMD}; \ if [ ! -e $${TMPOPTIONSFILE} ]; then \ ${ECHO_MSG} "===> No user-specified options to save for ${PKGNAME}"; \ exit 0; \ fi; \ SELOPTIONS=$$(${CAT} $${TMPOPTIONSFILE}); \ ${RM} -f $${TMPOPTIONSFILE}; \ TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${ECHO_CMD} "# This file is auto-generated by 'make config'." > $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "# Options for ${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_OPTIONS_READ=${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_FILE_COMPLETE_OPTIONS_LIST=${COMPLETE_OPTIONS_LIST}" >> $${TMPOPTIONSFILE}; \ for i in ${COMPLETE_OPTIONS_LIST}; do \ if ${ECHO_CMD} $${SELOPTIONS} | ${GREP} -qw $${i}; then \ ${ECHO_CMD} "OPTIONS_FILE_SET+=$${i}" >> $${TMPOPTIONSFILE}; \ else \ ${ECHO_CMD} "OPTIONS_FILE_UNSET+=$${i}" >> $${TMPOPTIONSFILE}; \ fi; \ done; \ if [ ! -w "${OPTIONS_FILE:H}" -a "`stat -f %u ${OPTIONS_FILE:H}`" != ${UID} ]; \ then \ ${ECHO_MSG} "===> Switching to root credentials to write ${OPTIONS_FILE}"; \ ${SU_CMD} "${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}; \ fi; \ ${RM} -f $${TMPOPTIONSFILE} @cd ${.CURDIR} && ${MAKE} sanity-config .endif .endif # do-config .if !target(config) .if !defined(NO_DIALOG) config: pre-config do-config .else config: @${ECHO_MSG} "===> Skipping 'config' as NO_DIALOG is defined" .endif .endif # config .if !target(config-recursive) config-recursive: @${ECHO_MSG} "===> Setting user-specified options for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} config-conditional); \ done .endif # config-recursive .if !target(config-conditional) config-conditional: .if !empty(NEW_OPTIONS) @cd ${.CURDIR} && ${MAKE} config; .endif .endif # config-conditional .if !target(showconfig) && (make(*config*) || (!empty(.MAKEFLAGS:M-V) && !empty(.MAKEFLAGS:M*_DESC))) .include "${PORTSDIR}/Mk/bsd.options.desc.mk" MULTI_EOL= : you have to choose at least one of them SINGLE_EOL= : you have to select exactly one of them RADIO_EOL= : you can only select none or one of them showconfig: check-config .if !empty(COMPLETE_OPTIONS_LIST) @${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME}": .for opt in ${ALL_OPTIONS} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}=$${match:-off}" . if !empty(${opt}_DESC) @${ECHO_MSG} -n ": "${${opt}_DESC:Q} . endif @${ECHO_MSG} "" .endfor #multi and conditional multis .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} . if empty(${m}_DESC) @${ECHO_MSG} "====> Options available for the ${otype:tl} ${m}${${otype}_EOL}" . else @${ECHO_MSG} "====> ${${m}_DESC}${${otype}_EOL}" . endif . for opt in ${OPTIONS_${otype}_${m}} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}=$${match:-off}" . if !empty(${opt}_DESC) @${ECHO_MSG} -n ": "${${opt}_DESC:Q} . endif @${ECHO_MSG} "" . endfor . endfor .endfor .undef otype .undef m .undef opt @${ECHO_MSG} "===> Use 'make config' to modify these settings" .endif .endif # showconfig .if !target(showconfig-recursive) showconfig-recursive: @${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} showconfig); \ done .endif # showconfig-recursive .if !target(rmconfig) rmconfig: .if exists(${OPTIONS_FILE}) -@${ECHO_MSG} "===> Removing user-configured options for ${PKGNAME}"; \ optionsdir=${OPTIONS_FILE:H}; \ if [ ${UID} != 0 -a "x${INSTALL_AS_USER}" = "x" -a ! -w "${OPTIONS_FILE}" ]; then \ ${ECHO_MSG} "===> Switching to root credentials to remove ${OPTIONS_FILE} and $${optionsdir}"; \ ${SU_CMD} "${RM} -f ${OPTIONS_FILE} ; \ ${RMDIR} $${optionsdir}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${RM} -f ${OPTIONS_FILE}; \ ${RMDIR} $${optionsdir} 2>/dev/null || return 0; \ fi .else @${ECHO_MSG} "===> No user-specified options configured for ${PKGNAME}" .endif .endif # rmconfig .if !target(rmconfig-recursive) rmconfig-recursive: @${ECHO_MSG} "===> Removing user-specified options for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} rmconfig); \ done .endif # rmconfig-recursive .if !target(pretty-print-config) MULTI_START= [ MULTI_END= ] GROUP_START= [ GROUP_END= ] SINGLE_START= ( SINGLE_END= ) RADIO_START= ( RADIO_END= ) pretty-print-config: .for opt in ${ALL_OPTIONS} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="+" ; ${ECHO_MSG} -n "$${match:--}${opt} " .endfor .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} @${ECHO_MSG} -n "${m}${${otype}_START} " . for opt in ${OPTIONS_${otype}_${m}} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="+" ; ${ECHO_MSG} -n "$${match:--}${opt} " . endfor @${ECHO_MSG} -n "${${otype}_END} " . endfor .endfor .undef otype .undef m .undef opt @${ECHO_MSG} "" .endif # pretty-print-config desktop-categories: @categories=""; \ for native_category in ${CATEGORIES}; do \ c=""; \ case $$native_category in \ accessibility) c="Utility Accessibility" ;; \ archivers) c="Utility Archiving" ;; \ astro) c="Education Science Astronomy" ;; \ audio) c="AudioVideo Audio" ;; \ benchmarks) c="System" ;; \ biology) c="Education Science Biology" ;; \ cad) c="Graphics Engineering" ;; \ comms) c="Utility" ;; \ converters) c="Utility" ;; \ databases) c="Office Database" ;; \ deskutils) c="Utility" ;; \ devel) c="Development" ;; \ dns) c="Network" ;; \ elisp) c="Development" ;; \ editors) c="Utility" ;; \ emulators) c="System Emulator" ;; \ finance) c="Office Finance" ;; \ ftp) c="Network FileTransfer" ;; \ games) c="Game" ;; \ geography) c="Education Science Geography" ;; \ gnome) c="GNOME GTK" ;; \ graphics) c="Graphics" ;; \ hamradio) c="HamRadio" ;; \ haskell) c="Development" ;; \ irc) c="Network IRCClient" ;; \ java) c="Development Java" ;; \ kde) c="KDE Qt" ;; \ lang) c="Development" ;; \ lisp) c="Development" ;; \ mail) c="Office Email" ;; \ mate) c="MATE GTK" ;; \ math) c="Education Science Math" ;; \ mbone) c="Network AudioVideo" ;; \ multimedia) c="AudioVideo" ;; \ net) c="Network" ;; \ net-im) c="Network InstantMessaging" ;; \ net-mgmt) c="Network" ;; \ net-p2p) c="Network P2P" ;; \ news) c="Network News" ;; \ palm) c="Office PDA" ;; \ parallel) c="ParallelComputing" ;; \ pear) c="Development WebDevelopment" ;; \ perl5) c="Development" ;; \ python) c="Development" ;; \ ruby) c="Development" ;; \ rubygems) c="Development" ;; \ scheme) c="Development" ;; \ science) c="Science Education" ;; \ security) c="System Security" ;; \ shells) c="System Shell" ;; \ sysutils) c="System" ;; \ tcl*|tk*) c="Development" ;; \ textproc) c="Utility TextTools" ;; \ www) c="Network" ;; \ x11-clocks) c="Utility Clock" ;; \ x11-fm) c="System FileManager" ;; \ xfce) c="GTK XFCE" ;; \ zope) c="Development WebDevelopment" ;; \ esac; \ if [ -n "$$c" ]; then \ categories="$$categories $$c"; \ fi; \ done; \ if [ -n "$$categories" ]; then \ for c in $$categories; do ${ECHO_MSG} "$$c"; done \ | ${SORT} -u | ${TR} '\n' ';'; \ ${ECHO_MSG}; \ fi # http://standards.freedesktop.org/menu-spec/menu-spec-latest.html DESKTOP_CATEGORIES_MAIN= AudioVideo Audio Video Development Education \ Game Graphics Network Office Science Settings System Utility DESKTOP_CATEGORIES_ADDITIONAL= Building Debugger IDE GUIDesigner Profiling \ RevisionControl Translation Calendar ContactManagement Database \ Dictionary Chart Email Finance FlowChart PDA ProjectManagement \ Presentation Spreadsheet WordProcessor 2DGraphics VectorGraphics \ RasterGraphics 3DGraphics Scanning OCR Photography Publishing Viewer \ TextTools DesktopSettings HardwareSettings Printing PackageManager \ Dialup InstantMessaging Chat IRCClient Feed FileTransfer HamRadio News \ P2P RemoteAccess Telephony TelephonyTools VideoConference WebBrowser \ WebDevelopment Midi Mixer Sequencer Tuner TV AudioVideoEditing Player \ Recorder DiscBurning ActionGame AdventureGame ArcadeGame BoardGame \ BlocksGame CardGame KidsGame LogicGame RolePlaying Shooter Simulation \ SportsGame StrategyGame Art Construction Music Languages \ ArtificialIntelligence Astronomy Biology Chemistry ComputerScience \ DataVisualization Economy Electricity Geography Geology Geoscience \ History Humanities ImageProcessing Literature Maps Math \ NumericalAnalysis MedicalSoftware Physics Robotics Spirituality Sports \ ParallelComputing Amusement Archiving Compression Electronics Emulator \ Engineering FileTools FileManager TerminalEmulator Filesystem Monitor \ Security Accessibility Calculator Clock TextEditor Documentation Adult \ Core KDE GNOME MATE XFCE GTK Qt Motif Java ConsoleOnly DESKTOP_CATEGORIES_RESERVED= Screensaver TrayIcon Applet Shell VALID_DESKTOP_CATEGORIES+= ${DESKTOP_CATEGORIES_MAIN} \ ${DESKTOP_CATEGORIES_ADDITIONAL} \ ${DESKTOP_CATEGORIES_RESERVED} .if defined(DESKTOP_ENTRIES) check-desktop-entries: @set -- ${DESKTOP_ENTRIES} XXX; \ if [ `${EXPR} \( $$# - 1 \) % 6` -ne 0 ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: the DESKTOP_ENTRIES list must contain one or more groups of 6 elements"; \ exit 1; \ fi; \ num=1; \ while [ $$# -gt 6 ]; do \ entry="#$$num"; \ if [ -n "$$4" ]; then \ entry="$$entry ($$4)"; \ elif [ -n "$$1" ]; then \ entry="$$entry ($$1)"; \ fi; \ if [ -z "$$1" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 1 (Name) is empty"; \ exit 1; \ fi; \ if ${ECHO_CMD} "$$3" | ${GREP} -iq '.\(png\|svg\|xpm\)$$'; then \ if ! ${ECHO_CMD} "$$3" | ${GREP} -iq '^/'; then \ ${ECHO_MSG} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 3 (Icon) should be either absolute path or icon name without extension if installed icons follow Icon Theme Specification"; \ fi; \ fi; \ if [ -z "$$4" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 4 (Exec) is empty"; \ exit 1; \ fi; \ if [ -n "$$5" ]; then \ for c in `${ECHO_CMD} "$$5" | ${TR} ';' ' '`; do \ if ! ${ECHO_CMD} ${VALID_DESKTOP_CATEGORIES} | ${GREP} -wq $$c; then \ ${ECHO_CMD} "${PKGNAME}: Makefile warning: in desktop entry $$entry: category $$c is not a valid desktop category"; \ fi; \ done; \ if ! ${ECHO_CMD} "$$5" | ${GREP} -q "`${ECHO_CMD} ${DESKTOP_CATEGORIES_MAIN} | ${SED} -E 's,[[:blank:]]+,\\\|,g'`"; then \ ${ECHO_CMD} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 5 (Categories) must contain at least one main desktop category (make -VDESKTOP_CATEGORIES_MAIN)"; \ fi; \ if ! ${ECHO_CMD} "$$5" | ${GREP} -q ';$$'; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 5 (Categories) does not end with a semicolon"; \ exit 1; \ fi; \ else \ if [ -z "`cd ${.CURDIR} && ${MAKE} desktop-categories`" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 5 (Categories) is empty and could not be deduced from the CATEGORIES variable"; \ exit 1; \ fi; \ fi; \ if [ "x$$6" != "xtrue" ] && [ "x$$6" != "xfalse" ] && [ "x$$6" != "x" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 6 (StartupNotify) is not \"true\", \"false\" or \"\"(empty)"; \ exit 1; \ fi; \ shift 6; \ num=`${EXPR} $$num + 1`; \ done .endif .if !target(install-desktop-entries) .if defined(DESKTOP_ENTRIES) install-desktop-entries: @set -- ${DESKTOP_ENTRIES} XXX; \ while [ $$# -gt 6 ]; do \ filename="`${ECHO_CMD} "$$4" | ${SED} -e 's,^/,,g;s,[/ ],_,g;s,[^_[:alnum:]],,g'`.desktop"; \ pathname="${STAGEDIR}${DESKTOPDIR}/$$filename"; \ categories="$$5"; \ if [ -z "$$categories" ]; then \ categories="`cd ${.CURDIR} && ${MAKE} desktop-categories`"; \ fi; \ ${ECHO_CMD} "${DESKTOPDIR}/$$filename" >> ${TMPPLIST}; \ ${ECHO_CMD} "[Desktop Entry]" > $$pathname; \ ${ECHO_CMD} "Type=Application" >> $$pathname; \ ${ECHO_CMD} "Version=1.0" >> $$pathname; \ ${ECHO_CMD} "Name=$$1" >> $$pathname; \ comment="$$2"; \ if [ -z "$$2" ]; then \ comment="`cd ${.CURDIR} && ${MAKE} -VCOMMENT`"; \ fi; \ ${ECHO_CMD} "GenericName=$$comment" >> $$pathname; \ ${ECHO_CMD} "Comment=$$comment" >> $$pathname; \ if [ -n "$$3" ]; then \ ${ECHO_CMD} "Icon=$$3" >> $$pathname; \ fi; \ ${ECHO_CMD} "Exec=$$4" >> $$pathname; \ ${ECHO_CMD} "Categories=$$categories" >> $$pathname; \ if [ -n "$$6" ]; then \ ${ECHO_CMD} "StartupNotify=$$6" >> $$pathname; \ fi; \ shift 6; \ done .endif .endif .if defined(WARNING) WARNING_WAIT?= 10 show-warnings: @${ECHO_MSG} "/!\\ WARNING /!\\" .for m in ${WARNING} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} @sleep ${WARNING_WAIT} .endif .if defined(DEVELOPER) .if defined(DEV_WARNING) DEV_WARNING_WAIT?= 10 show-dev-warnings: @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile warnings, please consider fixing /!\\" @${ECHO_MSG} .for m in ${DEV_WARNING} @${ECHO_MSG} ${m} .endfor @${ECHO_MSG} .if defined(DEV_WARNING_FATAL) @${FALSE} .else @sleep ${DEV_WARNING_WAIT} .endif .endif .if defined(DEV_ERROR) show-dev-errors: @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile errors /!\\" @${ECHO_MSG} .for m in ${DEV_ERROR} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} @${FALSE} .endif .endif #DEVELOPER # Please note that the order of the following targets is important, and # should not be modified. _TARGETS_STAGES= SANITY PKG FETCH EXTRACT PATCH CONFIGURE BUILD INSTALL TEST PACKAGE STAGE # Define the SEQ of actions to take when each target is ran, and which targets # it depends on before running its SEQ. # # Main target has a priority of 500, pre-target 300, post-target 700, # target-depends 150. Other targets are spaced in between those # # If you change the pre-foo and post-foo values here, go and keep them in sync # in _OPTIONS_TARGETS in bsd.options.mk _SANITY_SEQ= 050:post-chroot 100:pre-everything 150:check-makefile \ 200:show-warnings 210:show-dev-warnings 220:show-dev-errors \ 250:check-categories 300:check-makevars \ 350:check-desktop-entries 400:check-depends \ 450:identify-install-conflicts 500:check-deprecated \ 550:check-vulnerable 600:check-license 650:check-config \ 700:buildanyway-message 750:options-message ${_USES_sanity} _PKG_DEP= check-sanity _PKG_SEQ= 500:pkg-depends _FETCH_DEP= pkg _FETCH_SEQ= 150:fetch-depends 300:pre-fetch 450:pre-fetch-script \ 500:do-fetch 550:fetch-specials 700:post-fetch \ 850:post-fetch-script \ ${_OPTIONS_fetch} ${_USES_fetch} _EXTRACT_DEP= fetch _EXTRACT_SEQ= 010:check-build-conflicts 050:extract-message 100:checksum \ 150:extract-depends 190:clean-wrkdir 200:${EXTRACT_WRKDIR} \ 300:pre-extract 450:pre-extract-script 500:do-extract \ 700:post-extract 850:post-extract-script \ ${_OPTIONS_extract} ${_USES_extract} _PATCH_DEP= extract _PATCH_SEQ= 050:ask-license 100:patch-message 150:patch-depends \ 300:pre-patch 450:pre-patch-script 500:do-patch \ 700:post-patch 850:post-patch-script \ ${_OPTIONS_patch} ${_USES_patch} _CONFIGURE_DEP= patch _CONFIGURE_SEQ= 150:build-depends 151:lib-depends 200:configure-message \ 300:pre-configure 450:pre-configure-script \ 490:run-autotools-fixup 500:do-configure 700:post-configure \ 850:post-configure-script \ ${_OPTIONS_configure} ${_USES_configure} _BUILD_DEP= configure _BUILD_SEQ= 100:build-message 300:pre-build 450:pre-build-script \ 500:do-build 700:post-build 850:post-build-script \ ${_OPTIONS_build} ${_USES_build} _STAGE_DEP= build # STAGE is special in its numbering as it has install and stage, so install is # the main, and stage goes after. _STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \ 151:lib-depends 200:apply-slist 300:pre-install \ 400:generate-plist 450:pre-su-install 475:create-users-groups \ 500:do-install 550:kmod-post-install 700:post-install \ 750:post-install-script 800:post-stage 850:compress-man \ 860:install-rc-script 870:install-ldconfig-file \ 880:install-license 890:install-desktop-entries \ 900:add-plist-info 910:add-plist-docs 920:add-plist-examples \ 930:add-plist-data 940:add-plist-post ${POST_PLIST:C/^/990:/} \ ${_OPTIONS_install} ${_USES_install} \ ${_OPTIONS_stage} ${_USES_stage} .if defined(DEVELOPER) _STAGE_SEQ+= 995:stage-qa .else stage-qa: stage .endif _TEST_DEP= stage _TEST_SEQ= 100:test-message 150:test-depends 300:pre-test 500:do-test \ 800:post-test \ ${_OPTIONS_test} ${_USES_test} _INSTALL_DEP= stage _INSTALL_SEQ= 100:install-message 150:run-depends 151:lib-depends \ 200:check-already-installed _INSTALL_SUSEQ= 300:fake-pkg 500:security-check _PACKAGE_DEP= stage _PACKAGE_SEQ= 100:package-message 300:pre-package 450:pre-package-script \ 500:do-package 850:post-package-script \ ${_OPTIONS_package} ${_USES_package} # Enforce order for -jN builds .for _t in ${_TARGETS_STAGES} # Check if the port need to change the default order of some targets... . if defined(TARGET_ORDER_OVERRIDE) _tmp_seq:= . for _entry in ${_${_t}_SEQ} # for _target because :M${_target} does not work with fmake . for _target in ${_entry:C/^[0-9]+://} . if ${TARGET_ORDER_OVERRIDE:M*\:${_target}} _tmp_seq:= ${_tmp_seq} ${TARGET_ORDER_OVERRIDE:M*\:${_target}} . else _tmp_seq:= ${_tmp_seq} ${_entry} . endif . endfor . endfor _${_t}_SEQ:= ${_tmp_seq} . endif . for s in ${_${_t}_SEQ:O:C/^[0-9]+://} . if target(${s}) . if ! ${NOTPHONY:M${s}} _PHONY_TARGETS+= ${s} . endif _${_t}_REAL_SEQ+= ${s} . endif . endfor . for s in ${_${_t}_SUSEQ:O:C/^[0-9]+://} . if target(${s}) . if ! ${NOTPHONY:M${s}} _PHONY_TARGETS+= ${s} . endif _${_t}_REAL_SUSEQ+= ${s} . endif . endfor .ORDER: ${_${_t}_DEP} ${_${_t}_REAL_SEQ} .endfor # Define all of the main targets which depend on a sequence of other targets. # See above *_SEQ and *_DEP. The _DEP will run before this defined target is # ran. The _SEQ will run as this target once _DEP is satisfied. .for target in extract patch configure build stage install package # Check if config dialog needs to show and execute it if needed. If is it not # needed (_OPTIONS_OK), then just depend on the cookie which is defined later # to depend on the *_DEP and execute the *_SEQ. # If options are required, execute config-conditional and then re-execute the # target noting that config is no longer needed. .if !target(${target}) && defined(_OPTIONS_OK) _PHONY_TARGETS+= ${target} ${target}: ${${target:tu}_COOKIE} .elif !target(${target}) ${target}: config-conditional @cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${PKGBASE:tu}=1 ${${target:tu}_COOKIE} .elif target(${target}) && defined(IGNORE) .endif .if !exists(${${target:tu}_COOKIE}) # Define the real target behavior. Depend on the target's *_DEP. Execute # the target's *_SEQ. Also handle su and USE_SUBMAKE needs. .if ${UID} != 0 && defined(_${target:tu}_REAL_SUSEQ) && !defined(INSTALL_AS_USER) . if defined(USE_SUBMAKE) ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} @cd ${.CURDIR} && ${MAKE} ${_${target:tu}_REAL_SEQ} . else # !USE_SUBMAKE ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ} . endif # USE_SUBMAKE @${ECHO_MSG} "===> Switching to root credentials for '${target}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${_${target:tu}_REAL_SUSEQ}" @${ECHO_MSG} "===> Returning to user credentials" @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} .else # No SU needed . if defined(USE_SUBMAKE) ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} @cd ${.CURDIR} && \ ${MAKE} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} . else # !USE_SUBMAKE ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} . endif # USE_SUBMAKE .endif # SU needed .else # exists(cookie) ${${target:tu}_COOKIE}:: @if [ -e ${.TARGET} ]; then \ ${DO_NADA}; \ else \ cd ${.CURDIR} && ${MAKE} ${.TARGET}; \ fi .endif # !exists(cookie) .endfor # foreach(targets) .PHONY: ${_PHONY_TARGETS} check-sanity fetch pkg .if !target(check-sanity) check-sanity: ${_SANITY_REAL_SEQ} .endif .if !target(fetch) fetch: ${_FETCH_DEP} ${_FETCH_REAL_SEQ} .endif .if !target(pkg) pkg: ${_PKG_DEP} ${_PKG_REAL_SEQ} .endif .if !target(test) test: ${_TEST_DEP} ${_TEST_REAL_SEQ} .endif .endif # End of post-makefile section. .endif # End of the DESTDIR if statement Index: head/accessibility/jovie/Makefile =================================================================== --- head/accessibility/jovie/Makefile (revision 420773) +++ head/accessibility/jovie/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= jovie PORTVERSION= ${KDE4_VERSION} CATEGORIES= accessibility kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE text-to-speech system LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= xml qmake_build moc_build uic_build rcc_build USE_LDCONFIG= yes .include Index: head/accessibility/kaccessible/Makefile =================================================================== --- head/accessibility/kaccessible/Makefile (revision 420773) +++ head/accessibility/kaccessible/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kaccessible PORTVERSION= ${KDE4_VERSION} CATEGORIES= accessibility kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Accessibility services for KDE LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib dbus gui xml \ qmake_build moc_build rcc_build uic_build .include Index: head/accessibility/kdeaccessibility4/Makefile =================================================================== --- head/accessibility/kdeaccessibility4/Makefile (revision 420773) +++ head/accessibility/kdeaccessibility4/Makefile (revision 420774) @@ -1,32 +1,31 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdeaccessibility PORTVERSION= ${KDE4_VERSION} CATEGORIES= accessibility kde MAINTAINER= kde@FreeBSD.org COMMENT= Accessibility applications for KDE 4 -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= JOVIE KACCESSIBLE KMAG KMOUSETOOL KMOUTH OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} JOVIE_DESC= Install Jovie text-to-speech system -JOVIE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/jovie:accessibility/jovie +JOVIE_RUN_DEPENDS= ${KDE_PREFIX}/bin/jovie:accessibility/jovie KACCESSIBLE_DESC= Install Accessibility services for KDE -KACCESSIBLE_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/libexec/kaccessibleapp:accessibility/kaccessible +KACCESSIBLE_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/libexec/kaccessibleapp:accessibility/kaccessible KMAG_DESC= Install Screen magnifier -KMAG_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kmag:accessibility/kmag +KMAG_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmag:accessibility/kmag KMOUSETOOL_DESC= Install Automatic mouse click tool -KMOUSETOOL_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kmousetool:accessibility/kmousetool +KMOUSETOOL_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmousetool:accessibility/kmousetool KMOUTH_DESC= Install Speech synthesizer frontend -KMOUTH_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kmouth:accessibility/kmouth +KMOUTH_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmouth:accessibility/kmouth .include Index: head/accessibility/kmag/Makefile =================================================================== --- head/accessibility/kmag/Makefile (revision 420773) +++ head/accessibility/kmag/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kmag PORTVERSION= ${KDE4_VERSION} CATEGORIES= accessibility kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Screen magnifier -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build # Somebody has to create port for libkdeaccessibilityclient first CMAKE_ARGS+= -DWITH_QAccessibilityClient=off .include Index: head/accessibility/kmousetool/Makefile =================================================================== --- head/accessibility/kmousetool/Makefile (revision 420773) +++ head/accessibility/kmousetool/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kmousetool PORTVERSION= ${KDE4_VERSION} CATEGORIES= accessibility kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Automatic mouse click tool for KDE -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build USE_XORG= xtst .include Index: head/accessibility/kmouth/Makefile =================================================================== --- head/accessibility/kmouth/Makefile (revision 420773) +++ head/accessibility/kmouth/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kmouth PORTVERSION= ${KDE4_VERSION} CATEGORIES= accessibility kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Speech synthesizer frontend for KDE -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/archivers/ark/Makefile =================================================================== --- head/archivers/ark/Makefile (revision 420773) +++ head/archivers/ark/Makefile (revision 420774) @@ -1,35 +1,35 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= ark PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= archivers kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Archiving tool for KDE LIB_DEPENDS= libqjson.so:devel/qjson -USE_KDE4= automoc4 kdelibs libkonq -USES= cmake:outsource libarchive cpe tar:xz +USES= cmake:outsource kde:4 libarchive cpe tar:xz +USE_KDE= automoc4 kdelibs libkonq CPE_VENDOR= kde USE_QT4= qtestlib qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= 7ZIP RAR ZIP 7ZIP_DESC= Support for 7-Zip archives 7ZIP_RUN_DEPENDS= 7z:archivers/p7zip RAR_DESC= Support for RAR archives RAR_RUN_DEPENDS= unrar:archivers/unrar \ rar:archivers/rar ZIP_DESC= Support for ZIP archives ZIP_RUN_DEPENDS= unzip>0:archivers/unzip \ zip:archivers/zip .include Index: head/astro/kstars/Makefile =================================================================== --- head/astro/kstars/Makefile (revision 420773) +++ head/astro/kstars/Makefile (revision 420774) @@ -1,28 +1,28 @@ # $FreeBSD$ PORTNAME= kstars PORTVERSION= ${KDE4_VERSION} PORTREVISION= 2 CATEGORIES= astro kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 desktop planetarium LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libwcs.so:astro/wcslib BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3 \ xplanet:astro/xplanet RUN_DEPENDS= xplanet:astro/xplanet -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource compiler:c++11-lib tar:xz +USES= cmake:outsource compiler:c++11-lib kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= opengl qmake_build moc_build rcc_build uic_build OPTIONS_DEFINE= PYKDE PYKDE_DESC= Support for updating supernovae data -PYKDE_USE= KDE4=pykde4_run +PYKDE_USE= KDE=pykde4_run .include Index: head/astro/libkgeomap/Makefile =================================================================== --- head/astro/libkgeomap/Makefile (revision 420773) +++ head/astro/libkgeomap/Makefile (revision 420774) @@ -1,22 +1,22 @@ # $FreeBSD$ PORTNAME= libkgeomap PORTVERSION= ${KDE4_APPLICATIONS_VERSION} CATEGORIES= astro kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE4 library for browsing photos on a map LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/buffer_concepts.hpp:devel/boost-libs -USE_KDE4= kdelibs automoc4 marble -USES= cmake:outsource pathfix tar:xz +USES= cmake:outsource kde:4 pathfix tar:xz +USE_KDE= kdelibs automoc4 marble USE_LDCONFIG= yes USE_QT4= network phonon xml moc_build qmake_build rcc_build uic_build .include Index: head/astro/marble/Makefile =================================================================== --- head/astro/marble/Makefile (revision 420773) +++ head/astro/marble/Makefile (revision 420774) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= marble PORTVERSION= ${KDE4_VERSION} CATEGORIES= astro kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Virtual globe and world atlas for KDE LIB_DEPENDS= libquazip.so:archivers/quazip -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource gmake shared-mime-info tar:xz +USES= cmake:outsource gmake kde:4 shared-mime-info tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib dbus declarative designer_build gui network phonon \ qtestlib script sql svg webkit xml \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null CMAKE_ARGS= -DMOBILE:BOOL=FALSE OPTIONS_DEFINE= GPS OPTIONS_DEFAULT= GPS OPTIONS_SUB= yes GPS_DESC= Support for GPS position provider GPS_LIB_DEPENDS= libgps.so:astro/gpsd GPS_CMAKE_OFF= -DWITH_libgps:BOOL=FALSE # pre-configure: # # Prevent updating MIME during build. # ${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \ # ${PATCH_WRKSRC}/data/CMakeLists.txt .include Index: head/audio/amarok-kde4/Makefile =================================================================== --- head/audio/amarok-kde4/Makefile (revision 420773) +++ head/audio/amarok-kde4/Makefile (revision 420774) @@ -1,78 +1,78 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= amarok PORTVERSION= 2.8.0 PORTREVISION= 6 CATEGORIES= audio kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE music player LIB_DEPENDS= libtag.so:audio/taglib \ libtag-extras.so:audio/taglib-extras \ liblastfm.so:audio/liblastfm \ libofa.so:audio/libofa \ libavcodec.so:multimedia/ffmpeg \ libqjson.so:devel/qjson \ libqca.so:devel/qca \ libdbus-1.so:devel/dbus BUILD_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so.1.0.0:devel/qtscriptgenerator RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/script/libqtscript_core.so.1.0.0:devel/qtscriptgenerator \ - ${KDE4_PREFIX}/lib/kde4/kio_upnp_ms.so:net/kio-upnp-ms + ${KDE_PREFIX}/lib/kde4/kio_upnp_ms.so:net/kio-upnp-ms -USE_KDE4= kdelibs libkcddb libkcompactdisc \ +USES= cmake kde:4 pkgconfig shared-mime-info shebangfix tar:bzip2 +USE_KDE= kdelibs libkcddb libkcompactdisc \ nepomuk-core runtime automoc4 strigi USE_MYSQL= embedded USE_QT4= corelib dbus designer gui network opengl \ phonon script sql svg webkit xml \ qmake_build moc_build rcc_build uic_build USE_XORG= x11 -USES= cmake pkgconfig shared-mime-info shebangfix tar:bzip2 SHEBANG_FILES= src/kconf_update/amarok-2.4.1-tokens_syntax_update.pl USE_LDCONFIG= yes BROKEN_sparc64= does not build (GCC-related error) OPTIONS_DEFINE= AMAZON IPOD MP3TUNES MTP NLS OPTIONS_DEFAULT=IPOD MP3TUNES MTP OPTIONS_SUB= yes AMAZON_DESC= Amazon MP3 store support via clamz AMAZON_RUN_DEPENDS= clamz:net/clamz IPOD_DESC= Apple iPod support IPOD_LIB_DEPENDS= libgpod.so:audio/libgpod IPOD_USE= GNOME=gdkpixbuf2,glib20 IPOD_CMAKE_OFF= -DWITH_IPOD:BOOL=Off MP3TUNES_DESC= MP3tunes support MP3TUNES_LIB_DEPENDS= libloudmouth-1.so:net-im/loudmouth \ libcurl.so:ftp/curl MP3TUNES_USE= GNOME=glib20,libxml2 MP3TUNES_CMAKE_OFF= -DWITH_MP3tunes:BOOL=Off MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CMAKE_OFF= -DWITH_Mtp:BOOL=Off NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/modules/FindMySQLAmarok.cmake @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ ${WRKSRC}/cmake/modules/FindLoudmouth.cmake # Avoid installing MIME types prior to install stage. @${REINPLACE_CMD} -e '/XDG.*EXECUTABLE/ d' \ ${WRKSRC}/utilities/amzdownloader/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/utilities/amzdownloader/amzdownloader.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_SCRIPT} ${WRKSRC}/utilities/amzdownloader/amzdownloader.desktop \ ${STAGEDIR}${PREFIX}/share/applications/kde4 .include Index: head/audio/audex/Makefile =================================================================== --- head/audio/audex/Makefile (revision 420773) +++ head/audio/audex/Makefile (revision 420774) @@ -1,39 +1,39 @@ # $FreeBSD$ PORTNAME= audex PORTVERSION= 0.79 CATEGORIES= audio kde MASTER_SITES= SF/${PORTNAME}/src MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 audio CD ripping utility LICENSE= GPLv3 LIB_DEPENDS= libcdda_paranoia.so:audio/cdparanoia -USES= tar:xz cmake -USE_KDE4= automoc4 kdelibs libkcddb libkcompactdisc +USES= tar:xz cmake kde:4 +USE_KDE= automoc4 kdelibs libkcddb libkcompactdisc USE_QT4= gui dbus network svg xml \ qmake_build moc_build rcc_build uic_build OPTIONS_DEFINE= NLS EYED3 FAAC FLAC LAME VORBIS OPTIONS_DEFAULT= FLAC VORBIS OPTIONS_SUB= yes NO_OPTIONS_SORT= yes NLS_USES= gettext NLS_CMAKE_OFF= -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE EYED3_DESC= Unicode MP3 tag support via audio/py-eyed3 EYED3_RUN_DEPENDS= eyeD3:audio/py-eyed3 FAAC_RUN_DEPENDS= faac:audio/faac FLAC_RUN_DEPENDS= flac:audio/flac LAME_RUN_DEPENDS= lame:audio/lame VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools .include Index: head/audio/creox/Makefile =================================================================== --- head/audio/creox/Makefile (revision 420773) +++ head/audio/creox/Makefile (revision 420774) @@ -1,32 +1,32 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= creox PORTVERSION= 0.3 PORTREVISION= 3 CATEGORIES= audio kde MAINTAINER= ports@FreeBSD.org COMMENT= Realtime sound processor LICENSE= GPLv2 LIB_DEPENDS= libjack.so:audio/jack USE_GITHUB= yes GH_ACCOUNT= laudrup GH_PROJECT= Creox4 -USES= cmake:outsource -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build USE_XORG= xft xpm post-patch: @${REINPLACE_CMD} -e \ '/-Wno-unused-but-set-variable/d' ${WRKSRC}/CMakeLists.txt # FreeBSD does not have exp10f(3), use powf(3) instead @${GREP} -lR "exp10f(" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|exp10f(|powf(10.,|' .include Index: head/audio/juk/Makefile =================================================================== --- head/audio/juk/Makefile (revision 420773) +++ head/audio/juk/Makefile (revision 420774) @@ -1,23 +1,23 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= juk PORTVERSION= ${KDE4_VERSION} CATEGORIES= audio kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Jukebox, tagger and music collection manager LICENSE= GPLv2 LIB_DEPENDS= libtag.so:audio/taglib -USES= cmake:outsource tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build CMAKE_ARGS= -DWITH_TunePimp:BOOL=OFF .include Index: head/audio/kaudiocreator/Makefile =================================================================== --- head/audio/kaudiocreator/Makefile (revision 420773) +++ head/audio/kaudiocreator/Makefile (revision 420774) @@ -1,37 +1,37 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= kaudiocreator PORTVERSION= 1.3 PORTREVISION= 4 CATEGORIES= audio kde MASTER_SITES= http://kde-look.org/CONTENT/content-files/ DISTNAME= 107645-${PORTNAME}-${PORTVERSION} MAINTAINER= dbn@FreeBSD.org COMMENT= Audio-cd ripper and encoder for KDE4 LICENSE= GPLv2 LIB_DEPENDS= libdiscid.so:audio/libdiscid \ libtag.so:audio/taglib RUN_DEPENDS= flac:audio/flac \ oggenc:audio/vorbis-tools .if !defined(PACKAGE_BUILDING) RUN_DEPENDS+= lame:audio/lame .endif -USES= cmake tar:bzip2 +USES= cmake kde:4 tar:bzip2 USE_QT4= moc_build qmake_build rcc_build uic_build -USE_KDE4= automoc4 libkcddb libkcompactdisc +USE_KDE= automoc4 libkcddb libkcompactdisc WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext post-patch-NLS-off: ${REINPLACE_CMD} 's,add_subdirectory(po),,' ${WRKSRC}/CMakeLists.txt .include Index: head/audio/kid3-kde4/Makefile =================================================================== --- head/audio/kid3-kde4/Makefile (revision 420773) +++ head/audio/kid3-kde4/Makefile (revision 420774) @@ -1,117 +1,117 @@ # $FreeBSD$ PORTNAME= kid3 PORTVERSION= 3.3.0 PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= SF MAINTAINER= makc@FreeBSD.org COMMENT?= MP3/Ogg/FLAC tag editor for KDE LICENSE= GPLv2 USE_PERL5= build -USES= cmake:outsource perl5 +USES= cmake:outsource kde:4 perl5 CMAKE_ARGS= -DWITH_DOCBOOKDIR=${LOCALBASE}/share/xsl/docbook \ -DWITH_MANDIR=man \ -DFFMPEG_ROOT=${LOCALBASE} \ -DWITH_QML=OFF CXXFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= CHROMAPRINT FLAC ID3LIB MP4V2 VORBIS TAGLIB \ CLI OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} OPTIONS_SUB= yes NO_OPTIONS_SORT= yes .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-qt5" CONFLICTS_INSTALL+= kid3-qt4-3.* USE_QT5= core dbus gui multimedia network testlib xml widgets \ buildtools_build linguisttools_build qmake_build CMAKE_ARGS+= -DWITH_QT5=true .else # Qt 4 and KDE 4 USE_QT4= qmake_build moc_build rcc_build uic_build \ linguisttools_build .endif .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-qt4" CONFLICTS_INSTALL+= kid3-qt5-3.* USE_QT4+= corelib dbus gui network xml OPTIONS_DEFINE+= PHONON PHONON_DESC= Build with Phonon support PHONON_CMAKE_OFF= -DWITH_PHONON=OFF PHONON_USE= QT4=phonon .endif .if defined(PKGNAMESUFFIX) # Qt 4 and Qt 5 CONFLICTS_INSTALL+= kid3-3.* BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl USES+= desktop-file-utils USE_GNOME= libxslt:build CMAKE_ARGS+= -DWITH_APPS="${KID3_CLI}QT" PLIST_SUB+= QT="" KDE="@comment " .else CONFLICTS_INSTALL+= kid3-qt4-3.* kid3-qt5-3.* -USE_KDE4= kdelibs automoc4 +USE_KDE= kdelibs automoc4 CMAKE_ARGS+= -DWITH_APPS="${KID3_CLI}KDE" PLIST_SUB+= QT="@comment " KDE="" .endif PLIST_SUB+= SHLIB_VER=${PORTVERSION} CLI_DESC= Build and install command line utility CLI_USES= readline FLAC_DESC= Support for FLAC files FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_ON= -DWITH_FLAC=ON FLAC_CMAKE_OFF= -DWITH_FLAC=OFF ID3LIB_DESC= Support for mp3 files ID3LIB_LIB_DEPENDS= libid3.so:audio/id3lib ID3LIB_CMAKE_ON= -DWITH_ID3LIB=ON ID3LIB_CMAKE_OFF= -DWITH_ID3LIB=OFF MP4V2_DESC= Support for mp4 files MP4V2_LIB_DEPENDS= libmp4v2.so:multimedia/mp4v2 MP4V2_CMAKE_ON= -DWITH_MP4V2=ON MP4V2_CMAKE_OFF= -DWITH_MP4V2=OFF VORBIS_DESC= Support for Ogg/Vorbis files VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CMAKE_ON= -DWITH_VORBIS=ON VORBIS_CMAKE_OFF= -DWITH_VORBIS=OFF TAGLIB_DESC= Support for various audio formats TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib TAGLIB_CMAKE_ON= -DWITH_TAGLIB=ON TAGLIB_CMAKE_OFF= -DWITH_TAGLIB=OFF CHROMAPRINT_DESC= Support for Chromaprint audio fingerprints CHROMAPRINT_LIB_DEPENDS= libchromaprint.so:audio/chromaprint CHROMAPRINT_CMAKE_ON= -DWITH_CHROMAPRINT=ON CHROMAPRINT_CMAKE_OFF= -DWITH_CHROMAPRINT=OFF .include .if ${PORT_OPTIONS:MCLI} KID3_CLI= CLI; .endif .if ${PORT_OPTIONS:MFLAC} || ${PORT_OPTIONS:MVORBIS} PLIST_SUB+= OGGFLAC="" .else PLIST_SUB+= OGGFLAC="@comment " .endif .include Index: head/audio/kio-audiocd/Makefile =================================================================== --- head/audio/kio-audiocd/Makefile (revision 420773) +++ head/audio/kio-audiocd/Makefile (revision 420774) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= kio-audiocd PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DISTNAME= audiocd-kio-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE IOSlave for accessing audio CDs LICENSE= GPLv2 LIB_DEPENDS= libFLAC.so:audio/flac \ libcdda_paranoia.so:audio/cdparanoia \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs libkcddb libkcompactdisc \ +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkcddb libkcompactdisc \ automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= LAME LAME_DESC= Install LAME MP3 audio encoder LAME_RUN_DEPENDS= lame:audio/lame .include Index: head/audio/kmix/Makefile =================================================================== --- head/audio/kmix/Makefile (revision 420773) +++ head/audio/kmix/Makefile (revision 420774) @@ -1,33 +1,33 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= kmix PORTVERSION= ${KDE4_VERSION} CATEGORIES= audio kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Sound mixer for KDE LICENSE= GPLv2 -USES= cmake:outsource tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= gui phonon xml \ moc_build qmake_build rcc_build uic_build OPTIONS_DEFINE= ALSA PULSEAUDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-no_alsa PULSEAUDIO_LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libpulse.so:audio/pulseaudio PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_ON= -DWITH_Canberra:BOOL=ON \ -DWITH_PulseAudio:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DWITH_Canberra:BOOL=OFF \ -DWITH_PulseAudio:BOOL=OFF .include Index: head/audio/kscd/Makefile =================================================================== --- head/audio/kscd/Makefile (revision 420773) +++ head/audio/kscd/Makefile (revision 420774) @@ -1,26 +1,26 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= kscd PORTVERSION= ${KDE4_VERSION} CATEGORIES= audio kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= CD Player for KDE LICENSE= GPLv2 LIB_DEPENDS= libmusicbrainz3.so:audio/libmusicbrainz3 -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= phonon moc_build qmake_build rcc_build uic_build OPTIONS_DEFINE= ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-no_alsa .include Index: head/audio/kstreamripper/Makefile =================================================================== --- head/audio/kstreamripper/Makefile (revision 420773) +++ head/audio/kstreamripper/Makefile (revision 420774) @@ -1,20 +1,20 @@ # Created by: Mina R Waheeb # $FreeBSD$ PORTNAME= kstreamripper PORTVERSION= 0.7.100 CATEGORIES= audio kde MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= syncer@gmail.com COMMENT= Program for recording streams for KDE4 RUN_DEPENDS= ${LOCALBASE}/bin/streamripper:audio/streamripper -USES= cmake gettext-tools tar:bzip2 -USE_KDE4= kdelibs automoc4 +USES= cmake gettext-tools kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME} .include Index: head/audio/libkcddb/Makefile =================================================================== --- head/audio/libkcddb/Makefile (revision 420773) +++ head/audio/libkcddb/Makefile (revision 420774) @@ -1,21 +1,21 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= libkcddb PORTVERSION= ${KDE4_VERSION} PORTREVISION= 2 CATEGORIES= audio kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE CDDB library LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 -USES= cmake:outsource tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qtestlib moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/audio/libkcompactdisc/Makefile =================================================================== --- head/audio/libkcompactdisc/Makefile (revision 420773) +++ head/audio/libkcompactdisc/Makefile (revision 420774) @@ -1,30 +1,30 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= libkcompactdisc PORTVERSION= ${KDE4_VERSION} PORTREVISION= 2 CATEGORIES= audio kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE library for interfacing with audio CDs -USES= cmake:outsource tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= phonon moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib post-patch-ALSA-off: ${REINPLACE_CMD} -e '/find_package(Alsa)/d' \ -e '/alsa_configure_file/d' ${WRKSRC}/CMakeLists.txt post-configure-ALSA-off: ${TOUCH} ${CONFIGURE_WRKSRC}/config-alsa.h .include Index: head/audio/simon/Makefile =================================================================== --- head/audio/simon/Makefile (revision 420773) +++ head/audio/simon/Makefile (revision 420774) @@ -1,31 +1,31 @@ # Created by: alonso@ # $FreeBSD$ PORTNAME= simon PORTVERSION= 0.4.1 PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Speech recognition system using sphinx, ALSA and KDE LIB_DEPENDS= libasound.so:audio/alsa-lib \ libsamplerate.so:audio/libsamplerate \ libpocketsphinx.so:audio/pocketsphinx \ libsphinxad.so:audio/sphinxbase \ libqwt6.so:x11-toolkits/qwt6 -USE_KDE4= kdelibs automoc4 pimlibs -USES= cmake:outsource gettext tar:bz2 +USES= cmake:outsource gettext kde:4 tar:bz2 +USE_KDE= kdelibs automoc4 pimlibs USE_QT4= accessible corelib dbus gui script testlib xml \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes INSTALLS_ICONS= yes CMAKE_ARGS+= -DWITH_OpenCV:BOOL=OFF PLIST_SUB+= PORTVERSION="${PORTVERSION}" .include Index: head/audio/soundkonverter/Makefile =================================================================== --- head/audio/soundkonverter/Makefile (revision 420773) +++ head/audio/soundkonverter/Makefile (revision 420774) @@ -1,117 +1,117 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= soundkonverter PORTVERSION= 2.2.2 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= audio kde MAINTAINER= dbn@FreeBSD.org COMMENT= Frontend to various audio converters (transcoder) LICENSE= GPLv2 LIB_DEPENDS= libtag.so:audio/taglib \ libcdda_paranoia.so:audio/cdparanoia \ libphonon.so:multimedia/phonon GH_ACCOUNT= HessiJames -USES= cmake compiler:c++11-lang +USES= cmake compiler:c++11-lang kde:4 USE_GITHUB= yes USE_QT4= corelib dbus gui network moc_build qmake_build rcc_build svg uic_build xml -USE_KDE4= automoc4 kdelibs libkcddb +USE_KDE= automoc4 kdelibs libkcddb WRKSRC_SUBDIR= src OPTIONS_DEFAULT= VORBIS FLAC NORMALIZE VORBISGAIN CDPARANOIA OPTIONS_DEFINE= NLS OPTIONS_GROUP= RIPPER OPTIONS_MULTI= CODEC FILTER REPLAYGAIN OPTIONS_GROUP_RIPPER= CDRKIT CDPARANOIA OPTIONS_MULTI_CODEC= AFTEN FAAC FFMPEG FLAC FLAKE FLUIDSYNTH LAME MAC \ MPLAYER MUSEPACK NEROAAC OPUSTOOLS SHORTEN SPEEX \ TIMIDITY TTA TWOLAME VORBIS WAVPACK LIBAV OPTIONS_MULTI_FILTER= NORMALIZE SOX OPTIONS_MULTI_REPLAYGAIN= AACGAIN FLAC MP3GAIN NORMALIZE \ VORBISGAIN WAVPACK OPTIONS_SUB= yes CODEC_DESC= Audio codec formats FILTER_DESC= Audio filter tools REPLAYGAIN_DESC= Replaygain tools for codecs RIPPER_DESC= CD ripping tools AFTEN_DESC= ATSC A/52 audio encoder AFTEN_RUN_DEPENDS= aften:audio/aften AACGAIN_DESC= AAC audio replaygain AACGAIN_RUN_DEPENDS= aacgain:audio/aacgain CDPARANOIA_DESC= CD ripping support (cdparanoia - implicit) CDRKIT_DESC= CD ripping support (cdrkit) CDRKIT_RUN_DEPENDS= icedax:sysutils/cdrkit FAAC_RUN_DEPENDS= faac:audio/faac \ faad:audio/faad FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg FLAC_RUN_DEPENDS= flac:audio/flac FLAKE_DESC= FLAC audio codec FLAKE_RUN_DEPENDS= flake:audio/flake FLUIDSYNTH_DESC= SoundFont 2 audio codec FLUIDSYNTH_RUN_DEPENDS= fluidsynth:audio/fluidsynth LAME_RUN_DEPENDS= lame:audio/lame LIBAV_DESC= LibAV support (WMA, AIFF, AC3, APE...) LIBAV_RUN_DEPENDS= avconv:multimedia/libav MAC_DESC= Monkey's Audio lossless codec MAC_RUN_DEPENDS= mac:audio/mac MP3GAIN_DESC= MP3 audio replaygain MP3GAIN_RUN_DEPENDS= mp3gain:audio/mp3gain MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MUSEPACK_RUN_DEPENDS= mpcenc:audio/musepack NEROAAC_DESC= Nero AAC MPEG-3 and 3GPP audio codec NEROAAC_RUN_DEPENDS= neroAacEnc:audio/linux-neroaaccodec NORMALIZE_DESC= MP3/Ogg Vorbis audio filter and replaygain NORMALIZE_RUN_DEPENDS= normalize:audio/normalize OPUSTOOLS_DESC= Opus audio codec OPUSTOOLS_RUN_DEPENDS= opusenc:audio/opus-tools SHORTEN_DESC= Shorten (lossless) audio codec SHORTEN_RUN_DEPENDS= shorten:audio/shorten SOX_DESC= Universal sound sample translator SOX_RUN_DEPENDS= sox:audio/sox SPEEX_RUN_DEPENDS= speexenc:audio/speex TIMIDITY_DESC= MIDI audio decoder TIMIDITY_RUN_DEPENDS= timidity:audio/timidity TTA_RUN_DEPENDS= ttaenc:audio/tta TWOLAME_RUN_DEPENDS= twolame:audio/twolame VORBISGAIN_DESC= Ogg Vorbis audio replaygain VORBISGAIN_RUN_DEPENDS= vorbisgain:audio/vorbisgain VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools WAVPACK_RUN_DEPENDS= wavpack:audio/wavpack NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po=FALSE .include Index: head/audio/tomahawk/Makefile =================================================================== --- head/audio/tomahawk/Makefile (revision 420773) +++ head/audio/tomahawk/Makefile (revision 420774) @@ -1,55 +1,56 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= tomahawk PORTVERSION= 0.8.4 PORTREVISION= 2 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org COMMENT= Multi-source, social, and smart music player LICENSE= GPLv3 BUILD_DEPENDS= google-sparsehash>=2.0.2:devel/google-sparsehash \ websocketpp>=0.4.0:devel/websocketpp RUN_DEPENDS= phonon-vlc>=0.6.1:multimedia/phonon-vlc LIB_DEPENDS= libattica.so:x11-toolkits/attica \ liblucene++.so:textproc/luceneplusplus \ libboost_thread.so:devel/boost-libs \ libechonest.so:audio/libechonest \ libgnutls.so:security/gnutls \ libjreen.so:net-im/libjreen \ liblastfm.so:audio/liblastfm \ libqca.so:devel/qca \ libqjson.so:devel/qjson \ libqtkeychain.so:security/qtkeychain-qt4 \ libquazip.so:archivers/quazip \ libtag.so:audio/taglib CMAKE_ARGS= -DBUILD_RELEASE="ON" CXXFLAGS+= -Wno-cast-align -I${LOCALBASE}/include GH_ACCOUNT= tomahawk-player TELEPATHY_LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 TELEPATHY_DESC= Configure Telepathy Settings -TELEPATHY_USE_KDE4= kdelibs automoc4 +TELEPATHY_USES= kde:4 +TELEPATHY_USE= KDE=kdelibs,automoc4 INSTALLS_ICONS= yes OPTIONS_DEFAULT= OPTIONS_DEFINE= TELEPATHY OPTIONS_SUB= yes PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,} \ PORTVERSION=${PORTVERSION} USES= cmake compiler:c++11-lib desktop-file-utils pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes USE_QT4= dbus designer gui linguist_build moc_build \ network phonon qmake_build qtestlib rcc_build \ sql-sqlite2 svg uic_build xml .include Index: head/chinese/qterm/Makefile =================================================================== --- head/chinese/qterm/Makefile (revision 420773) +++ head/chinese/qterm/Makefile (revision 420774) @@ -1,54 +1,55 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= qterm PORTVERSION= 0.5.12 PORTREVISION= 2 CATEGORIES= chinese MASTER_SITES= SF/qterm/qterm/${PORTVERSION} MAINTAINER= kaiwang27@gmail.com COMMENT= BBS client for BSD/Linux USES= tar:bzip2 cmake perl5 USE_PERL5= build USE_QT4= codecs-cn_run codecs-tw_run gui help-tools_build \ linguist_build moc_build network qt3support_build \ qmake_build rcc_build uic_build xml USE_XORG= x11 ice INSTALLS_ICONS= yes CONFLICTS_INSTALL= torque-[0-9]* OPTIONS_DEFINE= DBUS OPENSSL PHONON QTSCRIPT KDE OPTIONS_DEFAULT= DBUS OPENSSL PHONON QTSCRIPT PHONON_DESC= Multimedia support via Phonon QTSCRIPT_DESC= Scripting support via QtScript Bindings KDE_DESC= Password management via KWallet OPENSSL_USE= OPENSSL=yes OPENSSL_CMAKE_ON= -DQTERM_ENABLE_SSH:BOOL=TRUE OPENSSL_CMAKE_OFF= -DQTERM_ENABLE_SSH:BOOL=FALSE DBUS_USE= QT4=dbus DBUS_CMAKE_ON= -DQTERM_ENABLE_DBUS:BOOL=TRUE DBUS_CMAKE_OFF= -DQTERM_ENABLE_DBUS:BOOL=FALSE PHONON_USE= QT4=phonon PHONON_CMAKE_ON= -DQTERM_ENABLE_PHONON:BOOL=TRUE PHONON_CMAKE_OFF= -DQTERM_ENABLE_PHONON:BOOL=FALSE QTSCRIPT_USE= QT4=script QTSCRIPT_RUN_DEPENDS= ${QT_PLUGINDIR}/script/libqtscript_core.so:devel/qtscriptgenerator QTSCRIPT_CMAKE_ON= -DQTERM_ENABLE_SCRIPT:BOOL=TRUE QTSCRIPT_CMAKE_OFF= -DQTERM_ENABLE_SCRIPT:BOOL=FALSE -KDE_USE= KDE4=kdelibs,automoc4 +KDE_USES= kde:4 +KDE_USE= KDE=kdelibs,automoc4 post-patch-KDE-off: ${REINPLACE_CMD} -e "/^find_package(KDE4)/d" ${WRKSRC}/CMakeLists.txt post-patch: ${REINPLACE_CMD} -e "/^set(QT_MIN_VERSION/d" ${WRKSRC}/CMakeLists.txt .include Index: head/comms/kremotecontrol/Makefile =================================================================== --- head/comms/kremotecontrol/Makefile (revision 420773) +++ head/comms/kremotecontrol/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= kremotecontrol PORTVERSION= ${KDE4_VERSION} CATEGORIES= comms kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE frontend for your remote controls RUN_DEPENDS= lircd:comms/lirc -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= corelib script xmlpatterns \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/databases/akonadi/Makefile =================================================================== --- head/databases/akonadi/Makefile (revision 420773) +++ head/databases/akonadi/Makefile (revision 420774) @@ -1,66 +1,67 @@ # Created by: miwi # $FreeBSD$ PORTNAME= akonadi PORTVERSION= 1.13.0 CATEGORIES= databases kde MASTER_SITES= KDE/stable/${PORTNAME}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Storage server for KDE-Pim LICENSE= LGPL21 LIB_DEPENDS= libboost_thread.so:devel/boost-libs # Let process generate meaningful backtrace on core dump. BUILD_DEPENDS= xsltproc:textproc/libxslt -USE_KDE4= automoc4 soprano -USES= cmake:outsource execinfo shared-mime-info compiler:c++11-lang tar:bzip2 +USES= cmake:outsource execinfo kde:4 shared-mime-info \ + compiler:c++11-lang tar:bzip2 +USE_KDE= automoc4 soprano USE_QT4= corelib dbus gui network qtestlib_build sql xml \ moc_build qmake_build rcc_build uic_build CMAKE_ARGS+= -DAKONADI_BUILD_TESTS:BOOL=FALSE \ -DINSTALL_QSQLITE_IN_QT_PREFIX:BOOL=TRUE \ -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" USE_LDCONFIG= yes OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE OPTIONS_SUB= yes # SQLITE MYSQL_DESC= Install MySQL Qt plugin and server MYSQL_USE= QT4=sql-mysql_run MYSQL_USES= mysql:server PGSQL_DESC= Install PostgreSQL Qt plugin # Do not add a dependency on PostgreSQL server as someone preferring # it over MySQL might like to use some advanced configuration, like a # remote server. #PGSQL_USE= PGSQL=server PGSQL_USE= QT4=sql-pgsql_run SQLITE_DESC= Enable SQLite backend SQLITE_USES= sqlite:3 SQLITE_CMAKE_OFF= -DAKONADI_BUILD_QSQLITE=off OPTIONS_DEFAULT= MYSQL post-patch: ${REINPLACE_CMD} -e '/akonadi.pc/ s|pkgconfig|../libdata/pkgconfig|' \ ${PATCH_WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} -e '/find_program/ s|mysqld|mysqld_safe ${LOCALBASE}/bin|g' \ ${PATCH_WRKSRC}/server/CMakeLists.txt ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${PATCH_WRKSRC}/server/src/storage/dbconfigmysql.cpp # To avoid overflow, MySQL settings need to be lower than # INT_MAX / kern.hz. This setting assumes kern.hz=2000, and # it's nothing but a temporary hack. ${REINPLACE_CMD} -e '/wait_timeout/ s|31536000|1073741|' \ ${PATCH_WRKSRC}/server/src/storage/*.conf # Prevent updating MIME during build. ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ -e '/find_package(SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/CMakeLists.txt .include Index: head/databases/akonadi-googledata/Makefile =================================================================== --- head/databases/akonadi-googledata/Makefile (revision 420773) +++ head/databases/akonadi-googledata/Makefile (revision 420774) @@ -1,19 +1,19 @@ # Created by: Troels Kofoed Jacobsen # $FreeBSD$ PORTNAME= akonadi-googledata PORTVERSION= 1.2.0 PORTREVISION= 5 CATEGORIES= databases MASTER_SITES= http://libgcal.googlecode.com/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Akonadi Resources for Google Contacts and Calendar LIB_DEPENDS= libgcal.so:deskutils/libgcal -USES= cmake gettext tar:bzip2 +USES= cmake gettext kde:4 tar:bzip2 USE_QT4= qmake_build rcc_build moc_build uic_build dbus -USE_KDE4= kdelibs pimlibs automoc4 akonadi +USE_KDE= kdelibs pimlibs automoc4 akonadi .include Index: head/databases/kbibtex/Makefile =================================================================== --- head/databases/kbibtex/Makefile (revision 420773) +++ head/databases/kbibtex/Makefile (revision 420774) @@ -1,24 +1,24 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kbibtex DISTVERSION= 0.6 PORTREVISION= 3 CATEGORIES= databases kde MASTER_SITES= http://download.gna.org/${PORTNAME}/${PORTVERSION:C,(^[[:digit:]]\.[[:digit:]]).*,\1,}/ MAINTAINER= makc@FreeBSD.org COMMENT= Bibliography editor for KDE LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 \ libqca.so:devel/qca \ libqoauth.so:net/qoauth -USES= cmake iconv shared-mime-info tar:xz +USES= cmake iconv kde:4 shared-mime-info tar:xz USE_GNOME= libxml2 libxslt -USE_KDE4= kdelibs automoc4 +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build \ webkit USE_LDCONFIG= yes .include Index: head/deskutils/basket/Makefile =================================================================== --- head/deskutils/basket/Makefile (revision 420773) +++ head/deskutils/basket/Makefile (revision 420774) @@ -1,23 +1,23 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= basket PORTVERSION= 1.81 PORTREVISION= 4 CATEGORIES= deskutils kde MASTER_SITES= http://basket.kde.org/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Desktop organization tool LICENSE= GPLv2 LIB_DEPENDS= libgpgme.so:security/gpgme -USES= cmake gettext-tools tar:bzip2 +USES= cmake gettext-tools kde:4 tar:bzip2 USE_XORG= xft xpm -USE_KDE4= automoc4 pimlibs qimageblitz +USE_KDE= automoc4 pimlibs qimageblitz USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/deskutils/cairo-dock-plugins/Makefile =================================================================== --- head/deskutils/cairo-dock-plugins/Makefile (revision 420773) +++ head/deskutils/cairo-dock-plugins/Makefile (revision 420774) @@ -1,177 +1,178 @@ # $FreeBSD$ PORTNAME= cairo-dock-plugins PORTVERSION= 3.4.1 PORTREVISION= 4 CATEGORIES= deskutils MAINTAINER= ports@FreeBSD.org COMMENT= Cairo-Dock-Plugins for Cairo-Dock LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= wget:ftp/wget LIB_DEPENDS= libgldi.so:deskutils/cairo-dock DATADIR= ${PREFIX}/share/cairo-dock USE_GITHUB= yes GH_ACCOUNT= Cairo-Dock GH_PROJECT= cairo-dock-plug-ins ICONS_PACKAGE= cairo-dock-plugins-png-icons GNU_CONFIGURE= yes USE_GNOME= glib20 gtk30 librsvg2 libxml2 USE_LDCONFIG= yes USE_XORG= xrender USES= cmake gettext pkgconfig python LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= PYVER="${PYTHON_VERSION:S/thon//}" CMAKE_ARGS= -DROOT_PREFIX:PATH=${STAGEDIR} OPTIONS_GROUP= INTEGR PLUGINS ADDON TPI OPTIONS_GROUP_INTEGR= GNOME_INTEGRATION KDE_INTEGRATION XFCE_INTEGRATION OPTIONS_GROUP_PLUGINS= ALSA_MIXER GMENU IMPULSE KEYBOARD_INDICATOR \ MAIL SOUND_EFFECTS WEBLETS XGAMMA ZEITGEIST OPTIONS_GROUP_ADDON= EXIF ICAL UPOWER #OPTIONS_GROUP_TPI= PYTHON RUBY MONO VALA OPTIONS_SUB= yes OPTIONS_DEFAULT= GMENU WEBLETS ALSA_MIXER_DESC= Alsa-Mixer applet EXIF_DESC= Read file meta-data GMENU_DESC= GMenu applet GNOME_INTEGRATION_DESC= GNOME integration support ICAL_DESC= IETF Calendaring and Scheduling protocols IMPULSE_DESC= Impulse applet KDE_INTEGRATION_DESC= KDE integration support KEYBOARD_INDICATOR_DESC= Keyboard-indicator applet MAIL_DESC= Mail applet #MONO_DESC= Mono interface #PYTHON_DESC= Python interface #RUBY_DESC= Ruby interface SOUND_EFFECTS_DESC= Sound Effects applet UPOWER_DESC= D-Bus daemon for power management tasks TERMINAL_DESC= Terminal applet #VALA_DESC= Vala interface WEBLETS_DESC= Weblets applet XGAMMA_DESC= Xgamma applet XFCE_INTEGRATION_DESC= XFCE integration support ZEITGEIST_DESC= User logs activities INTEGR_DESC= Integration plug-ins PLUGINS_DESC= Plug-ins ADDON_DESC= Add On #TPI_DESC= Third Party Interfaces ALSA_MIXER_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MIXER_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_MIXER_CMAKE_ON= -Denable-alsa-mixer:BOOL=TRUE ALSA_MIXER_CMAKE_OFF= -Denable-alsa-mixer:BOOL=FALSE EXIF_LIB_DEPENDS= libexif.so:graphics/libexif EXIF_CMAKE_ON= -Denable-exif-support:BOOL=TRUE EXIF_CMAKE_OFF= -Denable-exif-support:BOOL=FALSE GMENU_LIB_DEPENDS= libgnome-menu-3.so:x11/gnome-menus GMENU_CMAKE_ON= -Denable-gmenu:BOOL=TRUE GMENU_CMAKE_OFF= -Denable-gmenu:BOOL=FALSE #GNOME_INTEGRATION_LIB_DEPENDS= GNOME_INTEGRATION_CMAKE_ON= -Denable-gnome-integration:BOOL=TRUE GNOME_INTEGRATION_CMAKE_OFF= -Denable-gnome-integration:BOOL=FALSE ICAL_LIB_DEPENDS= libical.so:devel/libical ICAL_CMAKE_ON= -Denable-ical-support:BOOL=TRUE ICAL_CMAKE_OFF= -Denable-ical-support:BOOL=FALSE IMPULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio IMPULSE_CMAKE_ON= -Denable-impulse:BOOL=TRUE IMPULSE_CMAKE_OFF= -Denable-impulse:BOOL=FALSE #KDE_INTEGRATION_LIB_DEPENDS= KDE_INTEGRATION_USE_QT4= corelib -KDE_INTEGRATION_USE_KDE4= kdelibs +KDE_INTEGRATION_USES= kde:4 +KDE_INTEGRATION_USE= KDE=kdelibs KDE_INTEGRATION_CMAKE_ON= -Denable-kde-integration:BOOL=TRUE KDE_INTEGRATION_CMAKE_OFF= -Denable-kde-integration:BOOL=FALSE KEYBOARD_INDICATOR_LIB_DEPENDS= libexif.so:graphics/libexif \ libxklavier.so:x11/libxklavier KEYBOARD_INDICATOR_CMAKE_ON= -Denable-keyboard-indicator:BOOL=TRUE KEYBOARD_INDICATOR_CMAKE_OFF= -Denable-keyboard-indicator:BOOL=FALSE MAIL_LIB_DEPENDS= libetpan.so:mail/libetpan MAIL_CMAKE_ON= -Denable-mail:BOOL=TRUE MAIL_CMAKE_OFF= -Denable-mail:BOOL=FALSE #MONO_BUILD_DEPENDS= mono:lang/mono #MONO_RUN_DEPENDS= mono:lang/mono #MONO_CMAKE_ON= -Denable-mono-interface:BOOL=TRUE #MONO_CMAKE_OFF= -Denable-mono-interface:BOOL=FALSE CMAKE_ARGS+= -Denable-mono-interface:BOOL=FALSE #PYTHON_LIB_DEPENDS= #PYTHON_CMAKE_ON= -Denable-python-interface:BOOL=TRUE #PYTHON_CMAKE_OFF= -Denable-python-interface:BOOL=FALSE CMAKE_ARGS+= -Denable-python-interface:BOOL=FALSE #RUBY_LIB_DEPENDS= #RUBY_CMAKE_ON= -Denable-ruby-interface:BOOL=TRUE #RUBY_CMAKE_OFF= -Denable-ruby-interface:BOOL=FALSE CMAKE_ARGS+= -Denable-ruby-interface:BOOL=FALSE SOUND_EFFECTS_LIB_DEPENDS= libasound.so:audio/alsa-lib SOUND_EFFECTS_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins SOUND_EFFECTS_CMAKE_ON= -Denable-sound-effects:BOOL=TRUE SOUND_EFFECTS_CMAKE_OFF= -Denable-sound-effects:BOOL=FALSE # Needs newer vte #TERMINAL_LIB_DEPENDS= vte:x11-toolkits/vte #TERMINAL_CMAKE_ON= -Denable-terminal:BOOL=TRUE #TERMINAL_CMAKE_OFF= -Denable-terminal:BOOL=FALSE UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_CMAKE_ON= -Denable-upower-support:BOOL=TRUE UPOWER_CMAKE_OFF= -Denable-upower-support:BOOL=FALSE #VALA_LIB_DEPENDS= #VALA_CMAKE_ON= -Denable-vala-interface:BOOL=TRUE #VALA_CMAKE_OFF= -Denable-vala-interface:BOOL=FALSE CMAKE_ARGS+= -Denable-vala-interface:BOOL=FALSE WEBLETS_LIB_DEPENDS= libwebkitgtk-3.0.so:www/webkit-gtk3 WEBLETS_CMAKE_ON= -Denable-weblets:BOOL=TRUE WEBLETS_CMAKE_OFF= -Denable-weblets:BOOL=FALSE XGAMMA_RUN_DEPENDS= xgamma:x11/xgamma XGAMMA_CMAKE_ON= -Denable-xgamma:BOOL=TRUE XGAMMA_CMAKE_OFF= -Denable-xgamma:BOOL=FALSE XFCE_INTEGRATION_LIB_DEPENDS= libexif.so:graphics/libexif XFCE_INTEGRATION_CMAKE_ON= -Denable-xfce-integration:BOOL=TRUE XFCE_INTEGRATION_CMAKE_OFF= -Denable-xfce-integration:BOOL=FALSE ZEITGEIST_LIB_DEPENDS= libzeitgeist-2.0.so:sysutils/zeitgeist ZEITGEIST_CMAKE_ON= -Denable-recent-events:BOOL=TRUE ZEITGEIST_CMAKE_OFF= -Denable-recent-events:BOOL=FALSE post-patch: @${FIND} ${WRKSRC} -type f \( -name "*.c" -o -name "*.conf" \ -o -name netspeed -o -name nvidia-config -o -name "*.sh" \ -o -name "*.rb" \) | ${XARGS} ${REINPLACE_CMD} -i.orig -e \ 's|/bin/bash|${LOCALBASE}/bin/bash|g; \ s|/usr/bin/python|${PYTHON_CMD}|g; \ s|/usr/bin/ruby|${LOCALBASE}/bin/ruby|g; \ s|/usr/share/applications|${LOCALBASE}/share/applications|g; \ s|/usr/share/cairo-dock|${LOCALBASE}/share/cairo-dock|g' post-install: #.if defined(VALA) # ${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/CDApplet.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ #.endif ${RM} -R ${STAGEDIR}${PREFIX}/lib/pkgconfig .include Index: head/deskutils/homerun/Makefile =================================================================== --- head/deskutils/homerun/Makefile (revision 420773) +++ head/deskutils/homerun/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= homerun PORTVERSION= 0.2.3 PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= KDE/unstable/${PORTNAME}/src/ MAINTAINER= yurkis@gmail.com COMMENT= Fullscreen launcher with content organized in tabs -USES= cmake:outsource compiler:c++0x gettext tar:bzip2 -USE_KDE4= kdelibs automoc4 workspace +USES= cmake:outsource compiler:c++0x gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 workspace USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui USE_XORG= x11 USE_LDCONFIG= yes .include Index: head/deskutils/kcharselect/Makefile =================================================================== --- head/deskutils/kcharselect/Makefile (revision 420773) +++ head/deskutils/kcharselect/Makefile (revision 420774) @@ -1,17 +1,17 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kcharselect PORTVERSION= ${KDE4_VERSION} CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Character selector for KDE -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/deskutils/kchmviewer-kde4/Makefile =================================================================== --- head/deskutils/kchmviewer-kde4/Makefile (revision 420773) +++ head/deskutils/kchmviewer-kde4/Makefile (revision 420774) @@ -1,31 +1,31 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kchmviewer PORTVERSION= 7.2 DISTVERSIONSUFFIX= .1 PORTREVISION= 1 CATEGORIES= deskutils kde MASTER_SITES= SF MAINTAINER= makc@FreeBSD.org COMMENT= KDE viewer for CHM files LIB_DEPENDS= libchm.so:misc/chmlib \ libzip.so:archivers/libzip -USES= cmake:outsource gettext-tools -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext-tools kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= webkit qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} post-patch: - ${REINPLACE_CMD} 's,/usr/bin/kate,${KDE4_PREFIX}/bin/kate,' \ + ${REINPLACE_CMD} 's,/usr/bin/kate,${KDE_PREFIX}/bin/kate,' \ ${WRKSRC}/src/config.cpp post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/packages/kchmviewer.png ${STAGEDIR}${PREFIX}/share/pixmaps .include Index: head/deskutils/kdeconnect/Makefile =================================================================== --- head/deskutils/kdeconnect/Makefile (revision 420773) +++ head/deskutils/kdeconnect/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kdeconnect-kde PORTVERSION= 0.7.2 PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= KDE/unstable/kdeconnect/${PORTVERSION}/src/ MAINTAINER= yurkis@gmail.com COMMENT= Support for KDE to interface between your phone and your computer -USES= cmake compiler:c++0x gettext tar:xz -USE_KDE4= kdelibs automoc4 workspace runtime +USES= cmake compiler:c++0x gettext kde:4 tar:xz +USE_KDE= kdelibs automoc4 workspace runtime USE_QT4= corelib gui moc_build qmake_build uic_build rcc_build USE_LDCONFIG= yes .include Index: head/deskutils/kdepim4/Makefile =================================================================== --- head/deskutils/kdepim4/Makefile (revision 420773) +++ head/deskutils/kdepim4/Makefile (revision 420774) @@ -1,56 +1,56 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdepim PORTVERSION= ${KDE4_KDELIBS_VERSION} CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE PIM applications LIB_DEPENDS= libgpgme.so:security/gpgme \ libassuan.so:security/libassuan \ libsasl2.so:security/cyrus-sasl2 \ libboost_thread.so:devel/boost-libs \ libkgapi2.so:devel/libkgapi -RUN_DEPENDS= ${KDE4_PREFIX}/bin/accountwizard:deskutils/kdepim4-runtime \ +RUN_DEPENDS= ${KDE_PREFIX}/bin/accountwizard:deskutils/kdepim4-runtime \ ${LOCALBASE}/bin/gmd5sum:sysutils/coreutils CONFLICTS_INSTALL= kdepim44-4.* USE_GNOME= libxml2 libxslt:build -USE_KDE4= kdelibs pimlibs kactivities \ +USE_KDE= kdelibs pimlibs kactivities \ akonadi automoc4 soprano nepomuk-widgets baloo -USES= cmake:outsource gmake grantlee:4 iconv shebangfix tar:xz +USES= cmake:outsource gmake grantlee:4 iconv kde:4 shebangfix tar:xz SHEBANG_FILES= agents/mailfilteragent/kconf_update/migrate-kmail-filters.pl \ kalarm/*.pl kmail/kconf_update/*.pl \ libkpgp/kconf_update/kpgp-3.1-upgrade-address-data.pl USE_OPENLDAP= yes USE_QT4= corelib dbus declarative designer_build gui network opengl \ qt3support script sql webkit xml \ qmake_build moc_build rcc_build uic_build USE_XORG= x11 xscrnsaver CMAKE_ARGS+= -DKDEPIM_BUILD_MOBILE:BOOL=FALSE # Avoids Clang error: # https://git.reviewboard.kde.org/r/108617 CXXFLAGS+= -Wno-error=return-type USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null post-patch: # Remove BOM ${REINPLACE_CMD} -e '1 s|^.*/|/|g' \ ${WRKSRC}/knotes/configdialog/knotecollectionconfigwidget.cpp # net-im/kopete-kde4 needs Kleopatra's headers for its Cryptography plugin. post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/kde4/kleo ${INSTALL_DATA} ${WRKSRC}/libkleo/kleo/*.h \ ${STAGEDIR}${PREFIX}/include/kde4/kleo ${MKDIR} ${STAGEDIR}${PREFIX}/include/kde4/kleo/ui ${INSTALL_DATA} ${WRKSRC}/libkleo/ui/*.h \ ${STAGEDIR}${PREFIX}/include/kde4/kleo/ui .include Index: head/deskutils/kdepim4-runtime/Makefile =================================================================== --- head/deskutils/kdepim4-runtime/Makefile (revision 420773) +++ head/deskutils/kdepim4-runtime/Makefile (revision 420774) @@ -1,40 +1,40 @@ # Created by: miwi # $FreeBSD$ PORTNAME= kdepim-runtime PORTVERSION= ${KDE4_KDELIBS_VERSION} CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE PIM tools and services LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libkgapi2.so:devel/libkgapi \ libkolab.so:devel/libkolab \ libkolabxml.so:textproc/libkolabxml \ libkfbapi.so:net/libkfbapi \ libqjson.so:devel/qjson CONFLICTS_INSTALL= kdepim-runtime44-4.* +USES= cmake:outsource kde:4 shared-mime-info tar:xz USE_GNOME= libxml2 libxslt:build -USE_KDE4= kdelibs pimlibs \ +USE_KDE= kdelibs pimlibs \ akonadi automoc4 -USES= cmake:outsource shared-mime-info tar:xz USE_QT4= corelib dbus declarative designer_build gui network qtestlib \ script xml xmlpatterns \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null CMAKE_ARGS= -DKDEPIM_MOBILE_UI:BOOL=OFF post-patch: # Prevent updating MIME during build. ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ ${PATCH_WRKSRC}/CMakeLists.txt \ ${PATCH_WRKSRC}/accountwizard/CMakeLists.txt \ ${PATCH_WRKSRC}/resources/facebook/serializer/CMakeLists.txt .include Index: head/deskutils/kdepimlibs4/Makefile =================================================================== --- head/deskutils/kdepimlibs4/Makefile (revision 420773) +++ head/deskutils/kdepimlibs4/Makefile (revision 420774) @@ -1,41 +1,41 @@ # Created by: arved # $FreeBSD$ PORTNAME= kdepimlibs PORTVERSION= ${KDE4_KDELIBS_VERSION} PORTREVISION= 2 CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE PIM Libraries BUILD_DEPENDS= xsltproc:textproc/libxslt LIB_DEPENDS= libgpgme.so:security/gpgme \ libsasl2.so:security/cyrus-sasl2 \ libboost_thread.so:devel/boost-libs \ libical.so:devel/libical \ libuuid.so:misc/e2fsprogs-libuuid \ libprison.so:graphics/prison \ libqjson.so:devel/qjson -USE_KDE4= kdelibs akonadi \ +USES= cmake:outsource kde:4 shared-mime-info shebangfix tar:xz +USE_KDE= kdelibs akonadi \ automoc4 ontologies soprano -USES= cmake:outsource shared-mime-info shebangfix tar:xz SHEBANG_FILES= mailtransport/kconf_update/migrate-transports.pl USE_OPENLDAP= yes USE_QT4= corelib dbus declarative designer_build gui network sql xml \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/cmake/modules/*.cmake - ${REINPLACE_CMD} -e 's|%%KDE4_PREFIX%%|${KDE4_PREFIX}|g' \ + ${REINPLACE_CMD} -e 's|%%KDE_PREFIX%%|${KDE_PREFIX}|g' \ ${PATCH_WRKSRC}/cmake/modules/FindQGpgme.cmake # Prevent updating MIME during build. ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ ${PATCH_WRKSRC}/CMakeLists.txt .include Index: head/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake =================================================================== --- head/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake (revision 420773) +++ head/deskutils/kdepimlibs4/files/patch-cmake__modules__FindQGpgme.cmake (revision 420774) @@ -1,16 +1,16 @@ --- ./cmake/modules/FindQGpgme.cmake.orig 2009-05-06 14:13:19.000000000 +0400 +++ ./cmake/modules/FindQGpgme.cmake 2010-05-21 23:58:20.499901479 +0400 @@ -17,11 +17,11 @@ HINTS ${GPGME_LIBRARY_DIR}) else ( WIN32 ) find_library(_QGPGME_EXTRA_LIBRARY gpgme++-pthread - HINTS ${GPGME_LIBRARY_DIR}) -+ HINTS ${GPGME_LIBRARY_DIR} %%KDE4_PREFIX%%/lib) ++ HINTS ${GPGME_LIBRARY_DIR} %%KDE_PREFIX%%/lib) endif() - + find_library(QGPGME_LIBRARY qgpgme - HINTS ${GPGME_LIBRARY_DIR}) -+ HINTS ${GPGME_LIBRARY_DIR} %%KDE4_PREFIX%%/lib) - ++ HINTS ${GPGME_LIBRARY_DIR} %%KDE_PREFIX%%/lib) + if (QGPGME_LIBRARY) # get the libdirectory and then go one up Index: head/deskutils/kdeplasma-addons/Makefile =================================================================== --- head/deskutils/kdeplasma-addons/Makefile (revision 420773) +++ head/deskutils/kdeplasma-addons/Makefile (revision 420774) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= kdeplasma-addons PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Extra plasmoids for KDE SC 4 LIB_DEPENDS= libqalculate.so:math/libqalculate \ libqwt.so:x11-toolkits/qwt5 \ libqca.so:devel/qca \ libqoauth.so:net/qoauth \ libqjson.so:devel/qjson BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:math/eigen2 CONFLICTS_INSTALL= plasma-applet-icontasks-0.[89].* -USE_KDE4= kdelibs libkexiv2 pimlibs workspace \ +USES= cmake:outsource kde:4 pkgconfig shared-mime-info tar:xz +USE_KDE= kdelibs libkexiv2 pimlibs workspace \ akonadi attica automoc4 qimageblitz soprano -USES= cmake:outsource pkgconfig shared-mime-info tar:xz USE_QT4= corelib dbus declarative gui network script sql webkit \ qmake_build moc_build rcc_build uic_build USE_XORG= x11 xrender xtst USE_LDCONFIG= yes OPTIONS_DEFINE= MARBLE SCIM IBUS OPTIONS_DEFAULT= MARBLE OPTIONS_SUB= yes MARBLE_DESC= Support for desktop globe wallpaper -MARBLE_USE= KDE4=marble +MARBLE_USE= KDE=marble MARBLE_CMAKE_OFF= -DWITH_Marble=off IBUS_DESC= Enable IBUS backend for input dialog IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_CMAKE_OFF= -DBUILD_ibus=off SCIM_DESC= Enable SCIM backend for input dialog SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim SCIM_CMAKE_OFF= -DBUILD_scim=off post-patch: # Respect prefix, don't update MIME when installing. ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ ${WRKSRC}/applets/lancelot/parts/CMakeLists.txt .include Index: head/deskutils/kruler/Makefile =================================================================== --- head/deskutils/kruler/Makefile (revision 420773) +++ head/deskutils/kruler/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kruler PORTVERSION= ${KDE4_VERSION} CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 screen ruler -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_XORG= x11 .include Index: head/deskutils/ksshaskpass/Makefile =================================================================== --- head/deskutils/ksshaskpass/Makefile (revision 420773) +++ head/deskutils/ksshaskpass/Makefile (revision 420774) @@ -1,21 +1,21 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= ksshaskpass PORTVERSION= 0.5.3 PORTREVISION= 5 CATEGORIES= deskutils MASTER_SITES= http://kde-apps.org/CONTENT/content-files/ DISTNAME= 50971-${PORTNAME}-${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= KDE 4 version of ssh-askpass with KWallet support WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= cmake -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build uic_build qmake_build rcc_build SUB_FILES= pkg-message .include Index: head/deskutils/plasma-applet-cwp/Makefile =================================================================== --- head/deskutils/plasma-applet-cwp/Makefile (revision 420773) +++ head/deskutils/plasma-applet-cwp/Makefile (revision 420774) @@ -1,23 +1,23 @@ # Created by: Stas Timokhin # $FreeBSD$ PORTNAME= cwp PORTVERSION= 1.12.1 CATEGORIES= deskutils kde MASTER_SITES= http://kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= plasma-applet- DISTNAME= 98925-cwp-${PORTVERSION} MAINTAINER= dbn@FreeBSD.org COMMENT= Weather plasma applet for KDE4 LICENSE= GPLv3 -USES= cmake gettext tar:bzip2 -USE_KDE4= automoc4 kdelibs +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= gui dbus network opengl svg phonon webkit xml \ qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include Index: head/deskutils/plasma-applet-daisy/Makefile =================================================================== --- head/deskutils/plasma-applet-daisy/Makefile (revision 420773) +++ head/deskutils/plasma-applet-daisy/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= daisy PORTVERSION= 0.0.4.26 PORTREVISION= 4 CATEGORIES= deskutils kde MASTER_SITES= http://cdlszm.org/downloads/ PKGNAMEPREFIX= plasma-applet- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Simple launcher plasma applet for KDE4 LICENSE= GPLv3 -USES= cmake gettext -USE_KDE4= automoc4 kdelibs workspace +USES= cmake gettext kde:4 +USE_KDE= automoc4 kdelibs workspace USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/deskutils/plasma-applet-fancytasks/Makefile =================================================================== --- head/deskutils/plasma-applet-fancytasks/Makefile (revision 420773) +++ head/deskutils/plasma-applet-fancytasks/Makefile (revision 420774) @@ -1,23 +1,23 @@ # Created by: Gvozdikov Veniamin # $FreeBSD$ PORTNAME= fancytasks PORTVERSION= 1.1.0 PORTREVISION= 6 CATEGORIES= deskutils MASTER_SITES= http://kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= plasma-applet- DISTNAME= 99737-${PORTNAME}-${PORTVERSION} MAINTAINER= vg@FreeBSD.org COMMENT= Plasmoid fancy representation of your tasks and launchers LICENSE= GPLv2 -USES= cmake tar:bzip2 -USE_KDE4= automoc4 kdelibs workspace qimageblitz +USES= cmake kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs workspace qimageblitz USE_QT4= qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include Index: head/deskutils/plasma-applet-panelspacer/Makefile =================================================================== --- head/deskutils/plasma-applet-panelspacer/Makefile (revision 420773) +++ head/deskutils/plasma-applet-panelspacer/Makefile (revision 420774) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= panelspacer PORTVERSION= 0.2 PORTREVISION= 12 CATEGORIES= deskutils kde MASTER_SITES= http://danakil.free.fr/linux/releases/${PORTNAME}-${PORTVERSION}/ PKGNAMEPREFIX= plasma-applet- DISTNAME= ${PORTNAME}-plasmoid-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= Panel spacer plasma applet for KDE4 LICENSE= GPLv2 -USES= cmake -USE_KDE4= automoc4 workspace +USES= cmake kde:4 +USE_KDE= automoc4 workspace USE_QT4= gui dbus network opengl svg webkit xml \ qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/Panelspacer_from_svn_pour_kdelook-tmp PLIST_FILES= lib/kde4/plasma_applet_panelspacer.so \ share/kde4/services/plasma-applet-panelspacer.desktop .include Index: head/deskutils/plasma-applet-playwolf/Makefile =================================================================== --- head/deskutils/plasma-applet-playwolf/Makefile (revision 420773) +++ head/deskutils/plasma-applet-playwolf/Makefile (revision 420774) @@ -1,38 +1,38 @@ # $FreeBSD$ PORTNAME= playwolf PORTVERSION= 0.8.1 PORTREVISION= 6 CATEGORIES= deskutils kde MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= plasma-applet- MAINTAINER= jhale@FreeBSD.org COMMENT= Amarok 2.x plasma applet for KDE4 LICENSE= GPLv2 -USES= cmake tar:bzip2 -USE_KDE4= automoc4 kdelibs +USES= cmake kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= gui dbus network opengl phonon svg webkit xml xmlpatterns \ qmake_build moc_build rcc_build uic_build PLIST_FILES= lib/kde4/plasma_applet_playwolf.so \ share/kde4/services/plasma-applet-playwolf.desktop WRKSRC= ${WRKDIR}/${PORTNAME} ADD_NEWLINE_TO= flowlayout.cpp \ flowlayout.h \ lyricswidget.cpp \ playwolf.cpp \ playwolf.h \ wolfbuttons.cpp \ wolflabel.h post-patch: .for i in ${ADD_NEWLINE_TO} ${ECHO_CMD} >> ${WRKSRC}/${i} .endfor .include Index: head/deskutils/plasma-applet-qstardict/Makefile =================================================================== --- head/deskutils/plasma-applet-qstardict/Makefile (revision 420773) +++ head/deskutils/plasma-applet-qstardict/Makefile (revision 420774) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= qstardict PORTVERSION= 1.0.1 PORTREVISION= 3 CATEGORIES= deskutils textproc kde MASTER_SITES= http://qstardict.ylsoftware.com/files/ PKGNAMEPREFIX= plasma-applet- MAINTAINER= makc@FreeBSD.org COMMENT= Dictionary plasma applet for KDE RUN_DEPENDS= ${QSTARDICT_PLUGIN_PATH}/libstardict.so:textproc/qstardict -USES= cmake tar:bzip2 +USES= cmake kde:4 tar:bzip2 USE_QT4= qmake_build uic_build moc_build rcc_build -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs CMAKE_SOURCE_PATH= ${WRKSRC}/kdeplasma QSTARDICT_PLUGIN_PATH= ${LOCALBASE}/lib/qstardict/plugins post-patch: ${REINPLACE_CMD} -e 's|/usr/lib/qstardict/plugins|${QSTARDICT_PLUGIN_PATH}|g' \ ${WRKSRC}/kdeplasma/dataengine/config.h.cmake .include Index: head/deskutils/plasma-applet-serverstatuswidget/Makefile =================================================================== --- head/deskutils/plasma-applet-serverstatuswidget/Makefile (revision 420773) +++ head/deskutils/plasma-applet-serverstatuswidget/Makefile (revision 420774) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= serverstatuswidget PORTVERSION= 1.5.1 PORTREVISION= 6 CATEGORIES= deskutils kde MASTER_SITES= http://kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= plasma-applet- DISTNAME= 101336-${PORTNAME}-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 server monitoring plasma applet LICENSE= GPLv2 -USES= cmake gettext tar:bzip2 -USE_KDE4= automoc4 workspace +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= automoc4 workspace USE_QT4= qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-patch: ${ECHO_CMD} >> ${WRKSRC}/src/serverstatus.h .include Index: head/deskutils/plasma-applet-simpleweatherforecast/Makefile =================================================================== --- head/deskutils/plasma-applet-simpleweatherforecast/Makefile (revision 420773) +++ head/deskutils/plasma-applet-simpleweatherforecast/Makefile (revision 420774) @@ -1,28 +1,28 @@ # Created by: Gvozdikov Veniamin # $FreeBSD$ PORTNAME= simpleweatherforecast PORTVERSION= 1.3 PORTREVISION= 7 CATEGORIES= deskutils kde MASTER_SITES= http://kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= plasma-applet- DISTNAME= 92149-${PORTNAME}-${PORTVERSION} MAINTAINER= vg@FreeBSD.org COMMENT= Weather plasma applet for KDE4 RUN_DEPENDS= wget:ftp/wget -USES= cmake -USE_KDE4= automoc4 kdelibs +USES= cmake kde:4 +USE_KDE= automoc4 kdelibs USE_QT4= gui dbus network opengl svg webkit xml \ qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/plasma-${PORTNAME}-${PORTVERSION}-kde-4.3.80 PLIST_FILES= lib/kde4/plasma_applet_simpleweatherforecast.so \ share/apps/desktoptheme/default/widgets/plasma-simpleweatherforecast.svg \ share/kde4/services/plasma-applet-simpleweatherforecast.desktop .include Index: head/deskutils/plasma-applet-teacooker/Makefile =================================================================== --- head/deskutils/plasma-applet-teacooker/Makefile (revision 420773) +++ head/deskutils/plasma-applet-teacooker/Makefile (revision 420774) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= teacooker PORTVERSION= 0.3.0 PORTREVISION= 11 CATEGORIES= deskutils kde MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ PKGNAMEPREFIX= plasma-applet- DISTNAME= 85564-TeaCooker MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 tea cooker plasma applet LICENSE= GPLv3 -USES= cmake -USE_KDE4= automoc4 kdelibs +USES= cmake kde:4 +USE_KDE= automoc4 kdelibs USE_QT4= gui dbus network opengl svg webkit xml \ qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/TeaCooker .include Index: head/deskutils/plasma-applet-yawp/Makefile =================================================================== --- head/deskutils/plasma-applet-yawp/Makefile (revision 420773) +++ head/deskutils/plasma-applet-yawp/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= yawp PORTVERSION= 0.4.5 PORTREVISION= 4 CATEGORIES= deskutils kde MASTER_SITES= SF PKGNAMEPREFIX= plasma-applet- MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 weather plasma applet LICENSE= GPLv2 -USES= cmake gettext tar:bzip2 -USE_KDE4= automoc4 workspace +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= automoc4 workspace USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/deskutils/semantik/Makefile =================================================================== --- head/deskutils/semantik/Makefile (revision 420773) +++ head/deskutils/semantik/Makefile (revision 420774) @@ -1,55 +1,55 @@ # $FreeBSD$ PORTNAME= semantik PORTVERSION= 0.9.4 CATEGORIES= deskutils kde MASTER_SITES= http://ftp.waf.io/pub/release/ \ http://www.freehackers.org/~tnagy/release/ MAINTAINER= avilla@FreeBSD.org COMMENT= KDE mind mapping tool LICENSE= GPLv3 -USE_KDE4= kdelibs +USES= kde:4 pkgconfig python:2 shebangfix tar:bzip2 waf \ + shared-mime-info +USE_KDE= kdelibs USE_OCAML= yes NO_OCAML_RUNDEPENDS= yes USE_QT4= corelib gui linguist_build svg webkit xml \ moc_build qmake_build uic_build -USES= pkgconfig python:2 shebangfix tar:bzip2 waf \ - shared-mime-info QT_NONSTANDARD= yes CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS}" \ - PATH="${KDE4_PREFIX}/bin:$$PATH" \ + PATH="${KDE_PREFIX}/bin:$$PATH" \ WAF_HOME="${WRKSRC}" CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include MAKE_ENV= DESTDIR="${STAGEDIR}" USE_LDCONFIG= yes SHEBANG_FILES= ${WRKSRC}/src/templates/beamer/wscript \ ${WRKSRC}/src/templates/pdflatex/wscript PLIST_SUB= PORTVERSION="${PORTVERSION}" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext .include post-patch: @${REINPLACE_CMD} -e 's/kde-config/kde4-config/g' \ ${WRKSRC}/wscript .if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e '/langs/ d' \ ${WRKSRC}/wscript .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-d \ ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${PORTVERSION} .include Index: head/deskutils/silence/Makefile =================================================================== --- head/deskutils/silence/Makefile (revision 420773) +++ head/deskutils/silence/Makefile (revision 420774) @@ -1,25 +1,25 @@ # Created by: Mina R Waheeb # $FreeBSD$ PORTNAME= silence PORTVERSION= 0.2 PORTREVISION= 7 CATEGORIES= deskutils kde MASTER_SITES= http://kde-apps.org/CONTENT/content-files/ DISTNAME= 124776-${PORTNAME}-${PORTVERSION} MAINTAINER= syncer@gmail.com COMMENT= Information management tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/katepart.so:editors/kate +RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/katepart.so:editors/kate -USES= cmake -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build linguisttools_build WRKSRC= ${WRKDIR}/${PORTNAME} .include Index: head/deskutils/strigi/Makefile =================================================================== --- head/deskutils/strigi/Makefile (revision 420773) +++ head/deskutils/strigi/Makefile (revision 420774) @@ -1,33 +1,33 @@ # Created by: Tilman Keskinoz # $FreeBSD$ PORTNAME= strigi PORTVERSION= ${STRIGI_VERSION} PORTREVISION= 2 CATEGORIES= deskutils MAINTAINER= kde@FreeBSD.org COMMENT= Strigi desktop search (meta port) -USE_KDE4= strigi_run -USES= metaport +USES= kde:4 metaport +USE_KDE= strigi_run OPTIONS_DEFINE= CLIENT DAEMON UTILITIES OPTIONS_DEFAULT= ${OPTIONS_DEFINE} .include .include <${.CURDIR}/Makefile.common> .if ${PORT_OPTIONS:MCLIENT} RUN_DEPENDS+= ${LOCALBASE}/bin/strigiclient:deskutils/strigiclient .endif .if ${PORT_OPTIONS:MDAEMON} RUN_DEPENDS+= ${LOCALBASE}/bin/strigidaemon:deskutils/strigidaemon .endif .if ${PORT_OPTIONS:MUTILITIES} RUN_DEPENDS+= ${LOCALBASE}/bin/xmlindexer:deskutils/strigiutils .endif .include Index: head/deskutils/superkaramba/Makefile =================================================================== --- head/deskutils/superkaramba/Makefile (revision 420773) +++ head/deskutils/superkaramba/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= superkaramba PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= deskutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Widget framework for KDE -USE_KDE4= kdelibs automoc4 qimageblitz -USES= cmake:outsource python:2 tar:xz +USES= cmake:outsource kde:4 python:2 tar:xz +USE_KDE= kdelibs automoc4 qimageblitz USE_QT4= qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/devel/cervisia/Makefile =================================================================== --- head/devel/cervisia/Makefile (revision 420773) +++ head/devel/cervisia/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= cervisia PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= CVS Frontend for KDE -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/devel/cmake/Makefile =================================================================== --- head/devel/cmake/Makefile (revision 420773) +++ head/devel/cmake/Makefile (revision 420774) @@ -1,71 +1,71 @@ # Created by: Kyle Martin # $FreeBSD$ PORTNAME= cmake PORTVERSION= 3.6.1 PORTREVISION?= 0 CATEGORIES= devel MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/ MAINTAINER= kde@FreeBSD.org COMMENT?= Cross-platform Makefile generator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Copyright.txt -USE_KDE4= # env +USES= kde:4 # Just pull in env for KDE_PREFIX CONFIGURE_ENV= MAKE=make CONFIGURE_ARGS= --prefix=${PREFIX} \ --datadir="/${DATADIR_REL}" \ --docdir="/${DOCSDIR_REL}" \ --system-libs \ --parallel=${MAKE_JOBS_NUMBER} \ --init="${PATCHDIR}/InitialCache.cmake" .if !defined(CMAKE_MODULES) OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes USES+= execinfo libarchive ncurses HAS_CONFIGURE= yes LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libjsoncpp.so:devel/jsoncpp RUN_DEPENDS= ${LOCALBASE}/share/cmake/Modules/CMake.cmake:devel/cmake-modules MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx MANPAGES_CONFIGURE_ON= --sphinx-man .endif .include .if defined(STRIP) && ${STRIP} != "" && !defined(WITH_DEBUG) INSTALL_TARGET= install/strip .endif post-patch: @(${FIND} ${WRKSRC}/Modules -name "*.cmake" -print0; \ ${FIND} ${WRKSRC}/Tests -name "CMakeLists.txt" -print0 ) | \ ${XARGS} -0 -n 100 ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g; \ s,/usr/X11R6,${LOCALBASE},g' @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${WRKSRC}/Source/cmLocalGenerator.cxx \ ${WRKSRC}/Source/CPack/cmCPackGenerator.cxx \ ${WRKSRC}/bootstrap - @${REINPLACE_CMD} -e 's,/opt/kde4,${KDE4_PREFIX},g' \ + @${REINPLACE_CMD} -e 's,/opt/kde4,${KDE_PREFIX},g' \ ${WRKSRC}/Modules/FindKDE4.cmake @${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,' \ ${WRKSRC}/Modules/FindDCMTK.cmake @${FIND} ${WRKSRC} -name "*.bak" -delete -o -name "*.orig" -delete # cmake-gui(1) is installed by devel/cmake-gui. Remove the man page's source to # prevent it from being built/installed by devel/cmake. ${RM} ${WRKSRC}/Help/manual/cmake-gui.1.rst .if !defined(CMAKE_MODULES) post-install: ${INSTALL_DATA} ${WRKSRC}/Auxiliary/cmake-mode.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp .endif .include Index: head/devel/dolphin-plugins/Makefile =================================================================== --- head/devel/dolphin-plugins/Makefile (revision 420773) +++ head/devel/dolphin-plugins/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= dolphin-plugins PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Plugins for Dolphin file manager -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs libkonq automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkonq automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/devel/kapptemplate/Makefile =================================================================== --- head/devel/kapptemplate/Makefile (revision 420773) +++ head/devel/kapptemplate/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kapptemplate PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE template generator -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource gmake tar:xz +USES= cmake:outsource gmake kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ corelib dbus declarative .include Index: head/devel/kcachegrind/Makefile =================================================================== --- head/devel/kcachegrind/Makefile (revision 420773) +++ head/devel/kcachegrind/Makefile (revision 420774) @@ -1,28 +1,28 @@ # Created by: Simon Barner # $FreeBSD$ PORTNAME= kcachegrind PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Profiler frontend for KDE -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz shebangfix +USES= cmake:outsource kde:4 tar:xz shebangfix +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ corelib dbus gui SHEBANG_FILES= converters/op2calltree converters/dprof2calltree \ converters/memprof2calltree OPTIONS_DEFINE= DOT VALGRIND DOT_DESC= Use GraphViz/dot to render call graphs DOT_RUN_DEPENDS= dot:graphics/graphviz VALGRIND_DESC= Install devel/valgrind VALGRIND_RUN_DEPENDS= valgrind:devel/valgrind .include Index: head/devel/kdbg/Makefile =================================================================== --- head/devel/kdbg/Makefile (revision 420773) +++ head/devel/kdbg/Makefile (revision 420774) @@ -1,35 +1,35 @@ # Created by: Chris D. Faulhaber # $FreeBSD$ PORTNAME= kdbg PORTVERSION= 2.5.5 CATEGORIES= devel kde MASTER_SITES= SF/${PORTNAME}/Source%20Code/${PORTVERSION} MAINTAINER= thomas.sander@gmx.de COMMENT= Graphical user interface around gdb using KDE LICENSE= GPLv2 -USES= cmake -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build INSTALLS_ICONS= yes OPTIONS_DEFINE= NLS .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif post-patch: .if empty(PORT_OPTIONS:MNLS) ${REINPLACE_CMD} -e 's|add_subdirectory(po)||g' ${WRKSRC}/CMakeLists.txt .endif .include Index: head/devel/kde-dev-scripts/Makefile =================================================================== --- head/devel/kde-dev-scripts/Makefile (revision 420773) +++ head/devel/kde-dev-scripts/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= kde-dev-scripts PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE development scripts -USES= cmake:outsource shebangfix tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 shebangfix tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build SHEBANG_FILES= cxxmetric \ draw_lib_dependencies \ fixkdeincludes \ fixuifiles \ krazy-licensecheck \ png2mng.pl \ svnintegrate .include Index: head/devel/kde-dev-utils/Makefile =================================================================== --- head/devel/kde-dev-utils/Makefile (revision 420773) +++ head/devel/kde-dev-utils/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kde-dev-utils PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE development utilities -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ corelib designer gui qt3support xml -USES= cmake:outsource tar:xz .include Index: head/devel/kdebindings4/Makefile =================================================================== --- head/devel/kdebindings4/Makefile (revision 420773) +++ head/devel/kdebindings4/Makefile (revision 420774) @@ -1,27 +1,26 @@ # $FreeBSD$ PORTNAME= kdebindings PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE bindings (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= PERL PYTHON RUBY OPTIONS_DEFAULT= ${OPTIONS_DEFINE} PERL_DESC= Perl bindings -PERL_USE= KDE4=perlkde_run +PERL_USE= KDE=perlkde_run PYTHON_DESC= Python bindings -PYTHON_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/krosspython.so:devel/py-krosspython -PYTHON_USE= KDE4=pykde4_run,pykdeuic4_run +PYTHON_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/krosspython.so:devel/py-krosspython +PYTHON_USE= KDE=pykde4_run,pykdeuic4_run RUBY_DESC= Ruby bindings -RUBY_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/krossruby.so:devel/ruby-krossruby -RUBY_USE= KDE4=korundum_run +RUBY_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/krossruby.so:devel/ruby-krossruby +RUBY_USE= KDE=korundum_run .include Index: head/devel/kdesdk4/Makefile =================================================================== --- head/devel/kdesdk4/Makefile (revision 420773) +++ head/devel/kdesdk4/Makefile (revision 420774) @@ -1,79 +1,78 @@ # $FreeBSD$ PORTNAME= kdesdk PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE Software Development Kit -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= CERVISIA \ DEVUTILS \ DEVSCRIPTS \ DOLPHIN \ KAPPTEMPLATE \ KATE \ KATE_PATE \ KCACHEGRIND \ KIOSLAVES \ KOMPARE \ LOKALIZE \ OKTETA \ POXML \ STRIGI \ THUMBNAILER \ UMBRELLO OPTIONS_DEFAULT= ${OPTIONS_DEFINE} CERVISIA_DESC= CVS frontend -CERVISIA_RUN_DEPENDS= ${KDE4_PREFIX}/bin/cervisia:devel/cervisia +CERVISIA_RUN_DEPENDS= ${KDE_PREFIX}/bin/cervisia:devel/cervisia DEVUTILS_DESC= KDE development utilities -DEVUTILS_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kuiviewer:devel/kde-dev-utils +DEVUTILS_RUN_DEPENDS= ${KDE_PREFIX}/bin/kuiviewer:devel/kde-dev-utils DEVSCRIPTS_DESC= KDE development scripts -DEVSCRIPTS_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kdekillall:devel/kde-dev-scripts +DEVSCRIPTS_RUN_DEPENDS= ${KDE_PREFIX}/bin/kdekillall:devel/kde-dev-scripts DOLPHIN_DESC= Plugins for Dolphin file manager -DOLPHIN_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/fileviewgitplugin.so:devel/dolphin-plugins +DOLPHIN_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/fileviewgitplugin.so:devel/dolphin-plugins KAPPTEMPLATE_DESC= Template generator -KAPPTEMPLATE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kapptemplate:devel/kapptemplate +KAPPTEMPLATE_RUN_DEPENDS= ${KDE_PREFIX}/bin/kapptemplate:devel/kapptemplate KATE_DESC= KDE advanced text editor -KATE_USE= KDE4=kate_run +KATE_USE= KDE=kate_run KATE_PATE_DESC= Support for Python plugins in Kate -KATE_PATE_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/katepateplugin.so:editors/kate-plugin-pate +KATE_PATE_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/katepateplugin.so:editors/kate-plugin-pate KCACHEGRIND_DESC= Profiler frontend -KCACHEGRIND_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kcachegrind:devel/kcachegrind +KCACHEGRIND_RUN_DEPENDS= ${KDE_PREFIX}/bin/kcachegrind:devel/kcachegrind KIOSLAVES_DESC= SDK related KIO slaves -KIOSLAVES_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kio_svn.so:devel/kdesdk4-kioslaves +KIOSLAVES_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kio_svn.so:devel/kdesdk4-kioslaves KOMPARE_DESC= Diff/Patch frontend -KOMPARE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kompare:textproc/kompare +KOMPARE_RUN_DEPENDS= ${KDE_PREFIX}/bin/kompare:textproc/kompare LOKALIZE_DESC= Computer-aided translation system -LOKALIZE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/lokalize:devel/lokalize +LOKALIZE_RUN_DEPENDS= ${KDE_PREFIX}/bin/lokalize:devel/lokalize OKTETA_DESC= Hex editor -OKTETA_RUN_DEPENDS= ${KDE4_PREFIX}/bin/okteta:devel/okteta +OKTETA_RUN_DEPENDS= ${KDE_PREFIX}/bin/okteta:devel/okteta POXML_DESC= Tools to translate DocBook XML using gettext -POXML_RUN_DEPENDS= ${KDE4_PREFIX}/bin/po2xml:devel/poxml +POXML_RUN_DEPENDS= ${KDE_PREFIX}/bin/po2xml:devel/poxml STRIGI_DESC= Strigi analyzers for SDK file formats -STRIGI_RUN_DEPENDS= ${KDE4_PREFIX}/lib/strigi/strigila_diff.so:devel/kdesdk4-strigi-analyzers +STRIGI_RUN_DEPENDS= ${KDE_PREFIX}/lib/strigi/strigila_diff.so:devel/kdesdk4-strigi-analyzers THUMBNAILER_DESC= Thumbnail generator for gettext po files -THUMBNAILER_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/pothumbnail.so:devel/kdesdk4-thumbnailers +THUMBNAILER_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/pothumbnail.so:devel/kdesdk4-thumbnailers UMBRELLO_DESC= UML modeller -UMBRELLO_RUN_DEPENDS= ${KDE4_PREFIX}/bin/umbrello:devel/umbrello +UMBRELLO_RUN_DEPENDS= ${KDE_PREFIX}/bin/umbrello:devel/umbrello .include Index: head/devel/kdesdk4-kioslaves/Makefile =================================================================== --- head/devel/kdesdk4-kioslaves/Makefile (revision 420773) +++ head/devel/kdesdk4-kioslaves/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= kdesdk-kioslaves PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= SDK related KIO slaves LIB_DEPENDS= libsvn_client-1.so:devel/subversion -USES= cmake:outsource perl5 shebangfix tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 perl5 shebangfix tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build SHEBANG_FILES= perldoc/pod2html.pl .include Index: head/devel/kdesdk4-strigi-analyzers/Makefile =================================================================== --- head/devel/kdesdk4-strigi-analyzers/Makefile (revision 420773) +++ head/devel/kdesdk4-strigi-analyzers/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kdesdk-strigi-analyzers PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Strigi analyzers for SDK related file formats -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 strigi +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 strigi USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/devel/kdesdk4-thumbnailers/Makefile =================================================================== --- head/devel/kdesdk4-thumbnailers/Makefile (revision 420773) +++ head/devel/kdesdk4-thumbnailers/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kdesdk-thumbnailers PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE thumbnail generator for gettext po files -USES= cmake:outsource gettext tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/devel/kdesvn-kde4/Makefile =================================================================== --- head/devel/kdesvn-kde4/Makefile (revision 420773) +++ head/devel/kdesvn-kde4/Makefile (revision 420774) @@ -1,39 +1,40 @@ # Created by: Yuan Jue # $FreeBSD$ PORTNAME= kdesvn DISTVERSION= 1.7.0 CATEGORIES= devel kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/ MAINTAINER= dbn@FreeBSD.org COMMENT= KDE frontend for Subversion LICENSE= GPLv2 LIB_DEPENDS= libsvn_client-1.so:devel/subversion CONFLICTS= qsvn-[0-9]* -USES= cmake:outsource compiler:c11 tar:xz CMAKE_ARGS+= -DSUBVERSION_INCLUDE_DIR=${LOCALBASE}/include/subversion-1 \ -DMAN_INSTALL_DIR=${MANPREFIX}/man -USE_KDE4= kdelibs automoc4 + +USES= cmake:outsource compiler:c11 kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_LDCONFIG= yes USE_QT4= corelib gui xml network dbus svg sql \ qmake_build moc_build rcc_build uic_build linguist_build OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CMAKE_OFF= -DBUILD_po=OFF NLS_USES= gettext post-patch: ${RM} ${WRKSRC}/src/kiosvn/svn*.protocol post-patch-DOCS-off: ${FIND} ${WRKSRC}/docs -name CMakeLists.txt | \ ${XARGS} ${REINPLACE_CMD} -n '/kde4_create_manpage/p' .include Index: head/devel/kdevelop-kde4/Makefile =================================================================== --- head/devel/kdevelop-kde4/Makefile (revision 420773) +++ head/devel/kdevelop-kde4/Makefile (revision 420774) @@ -1,40 +1,41 @@ # Created by: Golyashov Sergei # $FreeBSD$ PORTNAME= kdevelop DISTVERSION= ${KDEVELOP_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${DISTVERSION}/src DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Plugin extensible IDE for KDE LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform RUN_DEPENDS= gmake:devel/gmake -USE_KDE4= kdelibs workspace automoc4 +USES= cmake:outsource compiler:c++11-lib gmake kde:4 \ + shared-mime-info tar:bz2 +USE_KDE= kdelibs workspace automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build \ corelib declarative gui help script webkit xml -USES= cmake:outsource compiler:c++11-lib gmake shared-mime-info tar:bz2 OPTIONS_DEFINE= OKTETA PHP NLS OPTIONS_DEFAULT= OKTETA PHP OPTIONS_SUB= yes OKTETA_DESC= Hex editing support via Okteta OKTETA_LIB_DEPENDS= libokteta1core.so:devel/okteta OKTETA_CMAKE_OFF= -DWITH_LibOktetaKasten:BOOL=OFF OKTETA_CMAKE_ON= -DWITH_LibOktetaKasten:BOOL=ON PHP_DESC= PHP support for KDevelop -PHP_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kdevphplanguagesupport.so:devel/kdevelop-php +PHP_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kdevphplanguagesupport.so:devel/kdevelop-php NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE post-patch: ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/app/CMakeLists.txt .include Index: head/devel/kdevelop-pg-qt/Makefile =================================================================== --- head/devel/kdevelop-pg-qt/Makefile (revision 420773) +++ head/devel/kdevelop-pg-qt/Makefile (revision 420774) @@ -1,19 +1,19 @@ # Created by: Douglas Carmichael # $FreeBSD$ PORTNAME= kdevelop-pg-qt PORTVERSION= 1.0.0 CATEGORIES= devel kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Parser-generator from KDevplatform BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex -USES= bison cmake:outsource compiler:c++11-lib tar:bzip2 -USE_KDE4= automoc4 kdelibs +USES= bison cmake:outsource compiler:c++11-lib kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build uic_build rcc_build .include Index: head/devel/kdevelop-php/Makefile =================================================================== --- head/devel/kdevelop-php/Makefile (revision 420773) +++ head/devel/kdevelop-php/Makefile (revision 420774) @@ -1,30 +1,30 @@ # $FreeBSD$ PORTNAME= kdevelop-php PORTVERSION= ${KDEVELOP_VERSION:S/4./1./} CATEGORIES= devel kde MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= PHP support for KDevelop LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform -BUILD_DEPENDS= ${KDE4_PREFIX}/bin/kdev-pg-qt:devel/kdevelop-pg-qt +BUILD_DEPENDS= ${KDE_PREFIX}/bin/kdev-pg-qt:devel/kdevelop-pg-qt -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource compiler:c++11-lib gmake kde:4 tar:bz2 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build -USES= cmake:outsource compiler:c++11-lib gmake tar:bz2 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PHPDOCS NLS OPTIONS_DEFAULT= PHPDOCS OPTIONS_SUB= yes PHPDOCS_DESC= Integrate with PHP.net documentation -PHPDOCS_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kdevphpdocs.so:devel/kdevelop-php-docs +PHPDOCS_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kdevphpdocs.so:devel/kdevelop-php-docs NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off .include Index: head/devel/kdevelop-php-docs/Makefile =================================================================== --- head/devel/kdevelop-php-docs/Makefile (revision 420773) +++ head/devel/kdevelop-php-docs/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= kdevelop-php-docs PORTVERSION= ${KDEVELOP_VERSION:S/4./1./} CATEGORIES= devel kde MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= PHP documentation for KDevelop LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource compiler:c++11-lib kde:4 tar:bz2 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build -USES= cmake:outsource compiler:c++11-lib tar:bz2 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE .include Index: head/devel/kdevplatform/Makefile =================================================================== --- head/devel/kdevplatform/Makefile (revision 420773) +++ head/devel/kdevplatform/Makefile (revision 420774) @@ -1,34 +1,35 @@ # Created by: Golyashov Sergei # $FreeBSD$ PORTNAME= kdevplatform PORTVERSION= ${KDEVELOP_VERSION:S/4./1./} CATEGORIES= devel kde MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Set of libraries for KDE IDE-like programs LIB_DEPENDS= libsvn_client-1.so:devel/subversion \ libboost_thread.so:devel/boost-libs \ libqjson.so:devel/qjson -USE_KDE4= kate_run kdelibs automoc4 +USES= cmake:outsource compiler:c++11-lib grantlee:4 kde:4 shebangfix \ + tar:bz2 +USE_KDE= kate_run kdelibs automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build \ corelib designer_build gui webkit -USES= cmake:outsource compiler:c++11-lib grantlee:4 shebangfix tar:bz2 USE_LDCONFIG= yes SHEBANG_FILES= util/kdev_format_source util/kdevplatform_shell_environment.sh PLIST_SUB+= SHLIB_VER=8.0.0 \ SHLIB_SHVER=8 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off .include Index: head/devel/libkgapi/Makefile =================================================================== --- head/devel/libkgapi/Makefile (revision 420773) +++ head/devel/libkgapi/Makefile (revision 420774) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= libkgapi PORTVERSION= 2.2.0 PORTREVISION= 1 CATEGORIES= devel kde MASTER_SITES= KDE/stable/libkgapi/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= KDE-based library for accessing various Google services LICENSE= GPLv2 LIB_DEPENDS= libqjson.so:devel/qjson -USES= cmake:outsource tar:bzip2 -USE_KDE4= automoc4 kdelibs pimlibs +USES= cmake:outsource kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs pimlibs USE_LDCONFIG= yes USE_QT4= corelib network webkit xml \ qmake_build moc_build rcc_build uic_build PLIST_SUB+= PORTVERSION=${PORTVERSION} pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ ${WRKSRC}/libkgapi*/CMakeLists.txt .include Index: head/devel/libkolab/Makefile =================================================================== --- head/devel/libkolab/Makefile (revision 420773) +++ head/devel/libkolab/Makefile (revision 420774) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= libkolab PORTVERSION= 0.5.3 CATEGORIES= devel kde MASTER_SITES= http://mirror.kolabsys.com/pub/releases/ MAINTAINER= kde@FreeBSD.org COMMENT= Advanced Kolab Object Handling Library # The code in kolabformatV2 is LGPL21, but we consider the library # itself to be LGPL3-licensed (and so are all the installed headers). LICENSE= LGPL3 LIB_DEPENDS= libkolabxml.so:textproc/libkolabxml # TODO: Conditionally enable the bindings based on OPTIONs. CMAKE_ARGS= -DBUILD_TESTS:BOOL=OFF \ -DPHP_BINDINGS:BOOL=OFF \ -DPYTHON_BINDINGS:BOOL=OFF \ -DUSE_LIBCALENDARING:BOOL=OFF -USES= cmake:outsource -USE_KDE4= automoc4 kdelibs pimlibs +USES= cmake:outsource kde:4 +USE_KDE= automoc4 kdelibs pimlibs USE_LDCONFIG= yes USE_QT4= corelib gui xml \ moc_build qmake_build rcc_build uic_build PLIST_SUB= SHLIB_VER=${PORTVERSION} post-patch: # Remove utils, installs nothing, but fails without BUILD_TESTS ${REINPLACE_CMD} -e '/add_subdirectory(utils)/d' \ ${WRKSRC}/CMakeLists.txt .include Index: head/devel/lokalize/Makefile =================================================================== --- head/devel/lokalize/Makefile (revision 420773) +++ head/devel/lokalize/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= lokalize PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Computer-aided translation system LIB_DEPENDS= libhunspell-1.3.so:textproc/hunspell -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ sql .include Index: head/devel/okteta/Makefile =================================================================== --- head/devel/okteta/Makefile (revision 420773) +++ head/devel/okteta/Makefile (revision 420774) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= okteta PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE hex editor LIB_DEPENDS= libqca.so:devel/qca -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource shared-mime-info tar:xz +USES= cmake:outsource kde:4 shared-mime-info tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ corelib designer gui script scripttools xml USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/mimetypes/CMakeLists.txt .include Index: head/devel/p5-perlkde/Makefile =================================================================== --- head/devel/p5-perlkde/Makefile (revision 420773) +++ head/devel/p5-perlkde/Makefile (revision 420774) @@ -1,42 +1,42 @@ # $FreeBSD$ PORTNAME= perlkde PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde perl5 MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= p5- DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Perl bindings for KDE -USE_KDE4= perlqt smokekde automoc4 +USES= cmake:outsource compiler:c++11-lib kde:4 perl5 tar:xz +USE_KDE= perlqt smokekde automoc4 USE_QT4= network opengl sql svg xml \ qmake_build moc_build uic_build rcc_build -USES= cmake:outsource compiler:c++11-lib perl5 tar:xz # Respect PREFIX CMAKE_ARGS+= -DCUSTOM_PERL_SITE_ARCH_DIR=${PREFIX}/${SITE_ARCH_REL} -# Fix build PREFIX != KDE4_PREFIX -CMAKE_ARGS+= -DSmoke_DIR=${KDE4_PREFIX}/lib/cmake/smoke \ - -DPerlQt_DIR=${KDE4_PREFIX}/share/perlqt/cmake \ - -DOkular_DIR=${KDE4_PREFIX}/lib/cmake/Okular +# Fix build PREFIX != KDE_PREFIX +CMAKE_ARGS+= -DSmoke_DIR=${KDE_PREFIX}/lib/cmake/smoke \ + -DPerlQt_DIR=${KDE_PREFIX}/share/perlqt/cmake \ + -DOkular_DIR=${KDE_PREFIX}/lib/cmake/Okular OPTIONS_DEFINE= ATTICA ATTICA_DESC= Bindings for libattica (may crash build) .include .if ${PORT_OPTIONS:MATTICA} -.if exists(${KDE4_PREFIX}/lib/libsmokekdecore.so) && \ - !exists(${KDE4_PREFIX}/lib/libsmokeattica.so) +.if exists(${KDE_PREFIX}/lib/libsmokekdecore.so) && \ + !exists(${KDE_PREFIX}/lib/libsmokeattica.so) IGNORE= requires devel/smokekde built with ATTICA option .endif PLIST_SUB+= ATTICA="" .else CMAKE_ARGS+= -DWITH_LibAttica:BOOL=FALSE PLIST_SUB+= ATTICA="@comment " .endif .include Index: head/devel/p5-perlqt/Makefile =================================================================== --- head/devel/p5-perlqt/Makefile (revision 420773) +++ head/devel/p5-perlqt/Makefile (revision 420774) @@ -1,34 +1,34 @@ # $FreeBSD$ PORTNAME= perlqt PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde perl5 MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= p5- DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Perl bindings for Qt LIB_DEPENDS= libqscintilla2.so:devel/qscintilla2 \ libqwt.so:x11-toolkits/qwt5 -USE_KDE4= smokeqt qimageblitz +USES= cmake:outsource kde:4 perl5 tar:xz +USE_KDE= smokeqt qimageblitz USE_QT4= corelib dbus gui network xml \ qmake_build moc_build uic_build rcc_build -USES= cmake:outsource perl5 tar:xz # Respect PREFIX CMAKE_ARGS+= -DCUSTOM_PERL_SITE_ARCH_DIR=${PREFIX}/${SITE_ARCH_REL} -# Fix build PREFIX != KDE4_PREFIX -CMAKE_ARGS+= -DSmoke_DIR=${KDE4_PREFIX}/lib/cmake/smoke +# Fix build PREFIX != KDE_PREFIX +CMAKE_ARGS+= -DSmoke_DIR=${KDE_PREFIX}/lib/cmake/smoke SUB_FILES= perl-kdebindings-env.sh pkg-message SUB_LIST+= PERL5LIBDIR="${PREFIX}/${SITE_ARCH_REL}:\ ${PREFIX}/${SITE_PERL_REL}" post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/env ${INSTALL_SCRIPT} ${WRKDIR}/perl-kdebindings-env.sh ${STAGEDIR}${PREFIX}/env .include Index: head/devel/piklab/Makefile =================================================================== --- head/devel/piklab/Makefile (revision 420773) +++ head/devel/piklab/Makefile (revision 420774) @@ -1,37 +1,37 @@ # Created by: Michael Nottebrock # $FreeBSD$ PORTNAME= piklab PORTVERSION= 0.16.2 PORTREVISION= 3 CATEGORIES= devel kde MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= KDE/Qt IDE for microcontroller development LICENSE= GPLv2+ DOS2UNIX_FILES= cmake/Piklab.cmake USE_QT4= corelib gui qt3support qtestlib xml \ moc_build qmake_build rcc_build uic_build USES= cmake gettext readline dos2unix tar:bzip2 OPTIONS_DEFINE= KDE4 OPTIONS_DEFAULT= KDE4 OPTIONS_SUB= yes -KDE4_USES= shared-mime-info -KDE4_USE= KDE4=automoc4,kdelibs +KDE4_USES= kde:4 shared-mime-info +KDE4_USE= KDE=automoc4,kdelibs KDE4_CMAKE_OFF= -DQT_ONLY:BOOL=ON \ -DLOCALE_INSTALL_DIR:STRING="${PREFIX}/share/locale" BROKEN_sparc64= does not compile on sparc64 post-patch: @${REINPLACE_CMD} -e \ '/install/s|^|#|' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's,share/man,man,' ${WRKSRC}/man/CMakeLists.txt .include Index: head/devel/poxml/Makefile =================================================================== --- head/devel/poxml/Makefile (revision 420773) +++ head/devel/poxml/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= poxml PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Tools to translate Docbook XML using gettext BUILD_DEPENDS= ${LOCALBASE}/lib/libantlr.a:devel/antlr -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource gettext-tools:build,run tar:xz +USES= cmake:outsource gettext-tools:build,run kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ corelib xml .include Index: head/devel/py-krosspython/Makefile =================================================================== --- head/devel/py-krosspython/Makefile (revision 420773) +++ head/devel/py-krosspython/Makefile (revision 420774) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= krosspython PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde python MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= kross-interpreters-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Kross Python scripting library -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 python:2 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui qmake_build moc_build uic_build rcc_build -USES= cmake:outsource python:2 tar:xz CMAKE_ARGS+= -DBUILD_falcon:BOOL=FALSE \ -DBUILD_ruby:BOOL=FALSE \ -DBUILD_java:BOOL=FALSE PLIST_FILES= lib/kde4/krosspython.so .include Index: head/devel/py-pykde4/Makefile =================================================================== --- head/devel/py-pykde4/Makefile (revision 420773) +++ head/devel/py-pykde4/Makefile (revision 420774) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= pykde4 PORTVERSION= ${KDE4_VERSION} PORTREVISION= 2 CATEGORIES= devel kde python MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for KDE LIB_DEPENDS= libqwt.so:x11-toolkits/qwt5 -USE_KDE4= kdelibs nepomuk-core okular pimlibs \ +USES= cmake:outsource kde:4 python:2 pyqt:4 tar:xz +USE_KDE= kdelibs nepomuk-core okular pimlibs \ akonadi automoc4 soprano USE_PYQT= declarative designer gui network opengl phonon script sip \ sql svg webkit xml \ dbussupport_run USE_QT4= corelib dbus designer_build gui network xml \ qmake_build moc_build uic_build rcc_build -USES= cmake:outsource python:2 pyqt:4 tar:xz CMAKE_ARGS+= -DWITH_PolkitQt:BOOL=FALSE \ -DENABLE_PYTHON=ON \ -DPYTHON_INCLUDE_DIR:PATH=${WRKDIR}/include/${PYTHON_VERSION} SUB_FILES= kdebindings4.pth SUB_LIST= PYTHONPREFIX_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} PLIST_SUB+= SIPDIR=share/sip OPTIONS_DEFINE= EXAMPLES post-patch: ${FIND} -d ${PATCH_WRKSRC}/sip -name "*.orig" -delete pre-configure: ${REINPLACE_CMD} -e '/add_subdirectory(examples)/ d' \ -e '/add_subdirectory(tools)/ d' \ ${WRKSRC}/CMakeLists.txt ${RM} ${WRKSRC}/examples/CMakeLists.txt post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKDIR}/kdebindings4.pth ${STAGEDIR}${PYTHON_SITELIBDIR} .include Index: head/devel/py-pykdeuic4/Makefile =================================================================== --- head/devel/py-pykdeuic4/Makefile (revision 420773) +++ head/devel/py-pykdeuic4/Makefile (revision 420774) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= pykdeuic4 PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde python MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pykde4-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Enhanced version of pyuic4 -USE_KDE4= kdelibs automoc4 pykde4 +USES= cmake:outsource python:2 kde:4 tar:xz +USE_KDE= kdelibs automoc4 pykde4 USE_QT4= moc_build qmake_build rcc_build uic_build DISTINFO_FILE= ${.CURDIR:H:H}/devel/py-pykde4/distinfo -USES= cmake:outsource python:2 tar:xz WRKSRC= ${WRKDIR}/${DISTNAME}/tools/${PORTNAME} PLIST_SUB+= PYTHON_VER=${PYTHON_VER} pre-configure: ${REINPLACE_CMD} -e 's,$${PYTHON_SITE_PACKAGES_INSTALL_DIR},${PYTHONPREFIX_SITELIBDIR},g' \ ${WRKSRC}/CMakeLists.txt .include Index: head/devel/ruby-korundum/Makefile =================================================================== --- head/devel/ruby-korundum/Makefile (revision 420773) +++ head/devel/ruby-korundum/Makefile (revision 420774) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= korundum PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde ruby MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Ruby bindings for KDE -USE_KDE4= kate kdelibs okular pimlibs \ +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kate kdelibs okular pimlibs \ qtruby smokegen smokekde smokeqt \ akonadi automoc4 soprano USE_QT4= corelib network opengl sql svg xml \ qmake_build moc_build uic_build rcc_build USE_RUBY= yes -USES= cmake:outsource tar:xz CMAKE_ARGS+= -DRUBY_LIBRARY=${LOCALBASE}/lib/lib${RUBY_NAME}.so \ -DRUBY_INCLUDE_PATH=${LOCALBASE}/lib/ruby/${RUBY_VER}/${RUBY_ARCH} \ -DCUSTOM_RUBY_SITE_LIB_DIR=${RUBY_SITELIBDIR} \ -DCUSTOM_RUBY_SITE_ARCH_DIR=${RUBY_SITEARCHLIBDIR} pre-configure: ${REINPLACE_CMD} -e '/examples/ d' \ ${WRKSRC}/CMakeLists.txt \ ${WRKSRC}/modules/plasma/CMakeLists.txt .include Index: head/devel/ruby-krossruby/Makefile =================================================================== --- head/devel/ruby-krossruby/Makefile (revision 420773) +++ head/devel/ruby-krossruby/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= krossruby PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde ruby MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= kross-interpreters-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Ruby bindings for Qt/KDE -USE_KDE4= kdelibs pimlibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs pimlibs automoc4 USE_QT4= corelib gui qmake_build moc_build uic_build rcc_build USE_RUBY= yes -USES= cmake:outsource tar:xz CMAKE_ARGS+= -DBUILD_python:BOOL=FALSE \ -DBUILD_falcon:BOOL=FALSE \ -DBUILD_java:BOOL=FALSE PLIST_FILES= lib/kde4/krossruby.so .include Index: head/devel/ruby-qtruby/Makefile =================================================================== --- head/devel/ruby-qtruby/Makefile (revision 420773) +++ head/devel/ruby-qtruby/Makefile (revision 420774) @@ -1,44 +1,44 @@ # $FreeBSD$ PORTNAME= qtruby PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= devel kde ruby MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Ruby bindings for Qt LIB_DEPENDS= libqwt.so:x11-toolkits/qwt5 \ libqscintilla2.so:devel/qscintilla2 -USE_KDE4= smokeqt +USES= cmake:outsource kde:4 tar:xz +USE_KDE= smokeqt USE_QT4= corelib dbus declarative gui network phonon script webkit xml \ qmake_build moc_build uic_build rcc_build USE_RUBY= yes -USES= cmake:outsource tar:xz USE_LDCONFIG= yes SUB_FILES= ruby-kdebindings-env.sh pkg-message SUB_LIST+= RUBY_SITELIBDIR=${RUBY_SITELIBDIR} \ RUBY_SITEARCHLIBDIR=${RUBY_SITEARCHLIBDIR} CMAKE_ARGS+= -DRUBY_LIBRARY=${LOCALBASE}/lib/lib${RUBY_NAME}.so \ -DRUBY_INCLUDE_PATH=${LOCALBASE}/lib/ruby/${RUBY_VER}/${RUBY_ARCH} \ -DCUSTOM_RUBY_SITE_LIB_DIR=${RUBY_SITELIBDIR} \ -DCUSTOM_RUBY_SITE_ARCH_DIR=${RUBY_SITEARCHLIBDIR} post-patch: ${REINPLACE_CMD} -e 's|QWT_FOUND|Qwt5_FOUND|g' \ ${WRKSRC}/src/CMakeLists.txt ${REINPLACE_CMD} -e 's|share/qtruby4/cmake|lib/cmake/qtruby4|g' \ ${WRKSRC}/cmake/CMakeLists.txt \ ${WRKSRC}/src/CMakeLists.txt post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/env ${INSTALL_SCRIPT} ${WRKDIR}/ruby-kdebindings-env.sh ${STAGEDIR}${PREFIX}/env .include Index: head/devel/smokegen/Makefile =================================================================== --- head/devel/smokegen/Makefile (revision 420773) +++ head/devel/smokegen/Makefile (revision 420774) @@ -1,22 +1,21 @@ # $FreeBSD$ PORTNAME= smokegen PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= SMOKE bindings for KDE -USE_KDE4= # blank, needed to get KDE4_VERSION +USES= cmake:outsource kde:4 tar:xz USE_QT4= corelib xml qmake_build moc_build uic_build rcc_build -USES= cmake:outsource tar:xz CMAKE_ARGS+= -DSMOKE_CMAKE_MODULE_DIR:PATH=${PREFIX}/lib/cmake/smoke USE_LDCONFIG= yes pre-configure: ${REINPLACE_CMD} -e 's|share/smoke/cmake|lib/cmake/smoke|g' \ ${WRKSRC}/smokebase/CMakeLists.txt .include Index: head/devel/smokekde/Makefile =================================================================== --- head/devel/smokekde/Makefile (revision 420773) +++ head/devel/smokekde/Makefile (revision 420774) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= smokekde PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= SMOKE bindings for KDE -USE_KDE4= kate kdelibs okular pimlibs \ +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kate kdelibs okular pimlibs \ smokegen smokeqt akonadi automoc4 soprano USE_QT4= corelib dbus designer_build gui network opengl sql svg xml \ qmake_build moc_build uic_build rcc_build -USES= cmake:outsource tar:xz USE_LDCONFIG= yes OPTIONS_DEFINE= ATTICA OPTIONS_SUB= yes # Attica bindings often cause the build to coredump. ATTICA_DESC= Bindings for libattica (may crash build) ATTICA_CMAKE_OFF= -DWITH_LibAttica:BOOL=FALSE pre-configure: ${REINPLACE_CMD} -e '/kde-config.xml/ s|$${SMOKE_GEN_BIN}|smokegen|' \ ${WRKSRC}/kdecore/CMakeLists.txt .include Index: head/devel/smokeqt/Makefile =================================================================== --- head/devel/smokeqt/Makefile (revision 420773) +++ head/devel/smokeqt/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= smokeqt PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= SMOKE bindings for Qt LIB_DEPENDS= libqscintilla2.so:devel/qscintilla2 \ libqwt.so:x11-toolkits/qwt5 -USE_KDE4= smokegen qimageblitz +USES= cmake:outsource kde:4 pkgconfig tar:xz +USE_KDE= smokegen qimageblitz USE_QT4= corelib dbus declarative designer_build gui help \ multimedia network opengl phonon qtestlib script \ sql svg webkit xml xmlpatterns \ qmake_build moc_build uic_build rcc_build -USES= cmake:outsource pkgconfig tar:xz USE_LDCONFIG= yes .include Index: head/devel/umbrello/Makefile =================================================================== --- head/devel/umbrello/Makefile (revision 420773) +++ head/devel/umbrello/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= umbrello PORTVERSION= ${KDE4_VERSION} CATEGORIES= devel kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= UML modeller for KDE LIB_DEPENDS= libboost_thread.so:devel/boost-libs -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_GNOME= libxml2 libxslt -USES= cmake:outsource tar:xz USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/editors/calligra/Makefile =================================================================== --- head/editors/calligra/Makefile (revision 420773) +++ head/editors/calligra/Makefile (revision 420774) @@ -1,98 +1,98 @@ # $FreeBSD$ PORTNAME= calligra PORTVERSION= ${CALLIGRA_VERSION} PORTREVISION= 2 CATEGORIES= editors kde MASTER_SITES= KDE/${CALLIGRA_BRANCH}/${PORTNAME}-${PORTVERSION}/ DIST_SUBDIR= KDE/${PORTNAME}/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE graphic art and office suite LIB_DEPENDS= libpng.so:graphics/png \ libIlmImf.so:graphics/OpenEXR \ libboost_thread.so:devel/boost-libs \ libqca.so:devel/qca \ libexiv2.so:graphics/exiv2 \ liblcms2.so:graphics/lcms2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libwpd-0.10.so:textproc/libwpd010 \ libwpg-0.3.so:graphics/libwpg03 \ libpoppler-qt4.so:graphics/poppler-qt4 \ libopenjpeg.so:graphics/openjpeg15 \ libfftw3.so:math/fftw3 \ libtiff.so:graphics/tiff \ libgsl.so:math/gsl \ libwps-0.3.so:textproc/libwps03 \ libvisio-0.1.so:textproc/libvisio01 \ libOpenColorIO.so:graphics/opencolorio \ libodfgen-0.1.so:textproc/libodfgen01 \ libetonyek-0.1.so:graphics/libetonyek01 \ librevenge-0.0.so:textproc/librevenge BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3 \ pstoedit:graphics/pstoedit RUN_DEPENDS= pstoedit:graphics/pstoedit USE_GL= glew USE_GNOME= glib20 libxml2 libxslt -USE_KDE4= kactivities kdelibs libkdcraw \ +USE_KDE= kactivities kdelibs libkdcraw \ okular pimlibs attica automoc4 soprano USE_QT4= corelib dbus designer_build gui opengl phonon \ qtestlib_build script sql svg webkit xml \ moc_build qmake_build rcc_build uic_build USES= cmake:outsource cpe compiler:c++11-lang iconv:translit jpeg \ - perl5 pkgconfig shared-mime-info sqlite tar:xz + kde:4 perl5 pkgconfig shared-mime-info sqlite tar:xz CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:STRING="${QT_INCDIR} ${LOCALBASE}/include" \ -DPRODUCTSET:STRING="DESKTOP" USE_LDCONFIG= yes PLIST_SUB+= SHLIB_VER=14.0.0 \ SHLIB_SHVER=14 OPTIONS_DEFINE= GMIC MARBLE MYSQL PGSQL SYBASE OPTIONS_DEFAULT=MARBLE MYSQL PGSQL OPTIONS_SUB= yes # GMIC does not mix well with clang as compiler. It needs >20GB of memory to be # built, which is not sensible on most systems # See bug report: https://llvm.org/bugs/show_bug.cgi?id=22199 GMIC_DESC= Build the G'Mic plugin (needs lots and lots of RAM) GMIC_CMAKE_ON= -DWITH_GMIC:BOOL=ON GMIC_CMAKE_OFF= -DWITH_GMIC:BOOL=OFF MARBLE_DESC= World globe widget support via Marble -MARBLE_USE= KDE4=marble +MARBLE_USE= KDE=marble MARBLE_CMAKE_OFF=-DWITH_Marble:BOOL=FALSE MYSQL_DESC= MySQL database support in Kexi MYSQL_USE= MYSQL=yes MYSQL_CMAKE_OFF=-DWITH_MySQL:BOOL=FALSE PGSQL_DESC= PostgreSQL database support in Kexi PGSQL_LIB_DEPENDS=libpqxx-3.1.so:databases/postgresql-libpqxx3 PGSQL_USES= pgsql PGSQL_CMAKE_OFF=-DWITH_PostgreSQL:BOOL=FALSE SYBASE_DESC= Sybase database support in Kexi SYBASE_LIB_DEPENDS=libsybdb.so:databases/freetds SYBASE_CMAKE_OFF=-DWITH_FreeTDS:BOOL=FALSE post-patch: # They require memalign() to build; as they're not installed, they're just a # waste of CPU cycles. @${REINPLACE_CMD} -e '/add_subdirectory.*benchmarks/ d' \ ${PATCH_WRKSRC}/krita/CMakeLists.txt # Prevent updating MIME during build/install. @${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ ${PATCH_WRKSRC}/filters/libmsooxml/CMakeLists.txt \ ${PATCH_WRKSRC}/filters/plan/mpxj/import/CMakeLists.txt \ ${PATCH_WRKSRC}/filters/stage/keynote/import/CMakeLists.txt \ ${PATCH_WRKSRC}/filters/words/wiki/CMakeLists.txt \ ${PATCH_WRKSRC}/krita/data/CMakeLists.txt \ ${PATCH_WRKSRC}/krita/plugins/formats/ora/CMakeLists.txt \ ${PATCH_WRKSRC}/krita/plugins/formats/ora/CMakeLists.txt \ ${PATCH_WRKSRC}/plugins/vectorshape/CMakeLists.txt .include Index: head/editors/calligra-l10n/Makefile =================================================================== --- head/editors/calligra-l10n/Makefile (revision 420773) +++ head/editors/calligra-l10n/Makefile (revision 420774) @@ -1,51 +1,50 @@ # $FreeBSD$ PORTNAME= calligra-l10n PORTVERSION= ${CALLIGRA_VERSION} CATEGORIES= editors kde MAINTAINER= kde@FreeBSD.org COMMENT= Localized messages and documentation for Calligra -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport CALLIGRA_LANG_ALL= bs ca ca@valencia cs da de el en_GB es et fi fr \ gl hu it ja kk nb nl pl pt pt_BR ru sk \ sv tr uk zh_CN zh_TW de_PORT= german/calligra-l10n fr_PORT= french/calligra-l10n hu_PORT= hungarian/calligra-l10n ja_PORT= japanese/calligra-l10n pl_PORT= polish/calligra-l10n pt_PORT= portuguese/calligra-l10n pt_BR_PORT= portuguese/calligra-l10n-pt_BR ru_PORT= russian/calligra-l10n uk_PORT= ukrainian/calligra-l10n zh_CN_PORT= chinese/calligra-l10n-zh_CN zh_TW_PORT= chinese/calligra-l10n-zh_TW .include "${.CURDIR:H:H}/misc/kde4-l10n/files/kde4-lang-names" nb_NAME= Norwegian Bokmal OPTIONS_DEFINE= ALL ${LANG_OPT_ALL} OPTIONS_DEFAULT=ALL ALL_DESC= All localizations ALL_RUN_DEPENDS=# empty .for lang in ${CALLIGRA_LANG_ALL} -${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/LC_MESSAGES/calligra.mo +${lang}_DETECT?= ${KDE_PREFIX}/share/locale/${lang}/LC_MESSAGES/calligra.mo ${lang}_PORT?= editors/calligra-l10n-${lang:S/@/_/} ${lang}_NAME?= ${lang} ${lang}_OPT= ${lang:S/@/_/} LANG_OPT_ALL+= ${${lang}_OPT} ${${lang}_OPT}_DESC= ${${lang}_NAME} localization ${${lang}_OPT}_RUN_DEPENDS=${${lang}_DETECT}:${${lang}_PORT} ALL_RUN_DEPENDS+= ${${${lang}_OPT}_RUN_DEPENDS} .endfor .include Index: head/editors/calligra-l10n/files/bsd.l10n.mk =================================================================== --- head/editors/calligra-l10n/files/bsd.l10n.mk (revision 420773) +++ head/editors/calligra-l10n/files/bsd.l10n.mk (revision 420774) @@ -1,13 +1,13 @@ .if defined(CALLIGRA_L10N) MASTER_SITES?= KDE/${CALLIGRA_BRANCH}/calligra-${PORTVERSION}/calligra-l10n PKGNAMEPREFIX= ${CALLIGRA_L10N:S/@/_/}- DISTNAME= ${PORTNAME}-${CALLIGRA_L10N}-${PORTVERSION} DIST_SUBDIR= KDE/calligra/${PORTVERSION}/l10n PLIST_SUB+= LANG=${CALLIGRA_L10N} -USE_KDE4= kdelibs automoc4 +USE_KDE= kdelibs automoc4 USE_QT4= corelib xml moc_build qmake_build rcc_build uic_build -USES+= cmake gettext tar:xz +USES+= cmake gettext kde:4 tar:xz NO_ARCH= yes .endif Index: head/editors/kate/Makefile =================================================================== --- head/editors/kate/Makefile (revision 420773) +++ head/editors/kate/Makefile (revision 420774) @@ -1,26 +1,26 @@ # Created by: fluffy@ # $FreeBSD$ PORTNAME= kate PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= editors kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Basic editor framework for the KDE system LIB_DEPENDS= libqjson.so:devel/qjson -USE_KDE4= kdelibs automoc4 kactivities -USES= cmake:outsource gettext perl5 tar:xz +USES= cmake:outsource gettext kde:4 perl5 tar:xz +USE_KDE= kdelibs automoc4 kactivities USE_PERL5= build USE_QT4= dbus gui script sql webkit xml \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes # editors/kate-plugin-pate installs pate CMAKE_ARGS+= -DBUILD_pate=off .include Index: head/editors/kate-plugin-pate/Makefile =================================================================== --- head/editors/kate-plugin-pate/Makefile (revision 420773) +++ head/editors/kate-plugin-pate/Makefile (revision 420774) @@ -1,32 +1,32 @@ # $FreeBSD$ PORTNAME= kate-plugin-pate PORTVERSION= ${KDE4_VERSION} CATEGORIES= editors kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DISTNAME= kate-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Support for Python plugins in Kate -USES= cmake:outsource python tar:xz -USE_KDE4= kdelibs automoc4 kate \ +USES= cmake:outsource kde:4 python tar:xz +USE_KDE= kdelibs automoc4 kate \ pykde4_build pykde4_run USE_QT4= gui webkit \ moc_build qmake_build rcc_build uic_build DISTINFO_FILE= ${.CURDIR:H:H}/editors/kate/distinfo # cmake.mk doesn't allow to overwrite BUILD_WRKSRC for out-of-source builds _pate_WRKSRC= ${BUILD_WRKSRC}/addons/kate/pate do-build: cd ${_pate_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET} do-install: cd ${_pate_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} .include Index: head/editors/kile-kde4/Makefile =================================================================== --- head/editors/kile-kde4/Makefile (revision 420773) +++ head/editors/kile-kde4/Makefile (revision 420774) @@ -1,24 +1,24 @@ # Created by: Stefan Jahn # $FreeBSD$ PORTNAME= kile PORTVERSION= 2.1.3 PORTREVISION= 4 CATEGORIES= editors kde MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${DISTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= LaTeX source editor for KDE RUN_DEPENDS= identify:graphics/ImageMagick -USES= cmake gettext-tools shared-mime-info tar:bzip2 +USES= cmake gettext-tools kde:4 shared-mime-info tar:bzip2 USE_QT4= qmake_build moc_build rcc_build uic_build -USE_KDE4= kdelibs automoc4 kate_run +USE_KDE= kdelibs automoc4 kate_run USE_TEX= latex OPTIONS_DEFINE= OKULAR OKULAR_DESC= Use Okular for viewing -OKULAR_USE= KDE4=okular_run +OKULAR_USE= KDE=okular_run .include Index: head/editors/klat4/Makefile =================================================================== --- head/editors/klat4/Makefile (revision 420773) +++ head/editors/klat4/Makefile (revision 420774) @@ -1,19 +1,19 @@ # Created by: laddassm # $FreeBSD$ PORTNAME= klat4 PORTVERSION= 0.6.1 PORTREVISION= 13 CATEGORIES= editors MASTER_SITES= http://klat.algebraical.info/ MAINTAINER= anna.ladilova@gmail.com COMMENT= LaTeX source editor for KDE4 LICENSE= GPLv2+ -USES= cmake gettext-tools tar:bzip2 -USE_KDE4= automoc4 kate kdelibs +USES= cmake gettext-tools kde:4 tar:bzip2 +USE_KDE= automoc4 kate kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/editors/libreoffice/Makefile =================================================================== --- head/editors/libreoffice/Makefile (revision 420773) +++ head/editors/libreoffice/Makefile (revision 420774) @@ -1,317 +1,318 @@ # $FreeBSD$ .include "${.CURDIR}/Makefile.common" 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 BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ zip:archivers/zip \ ${LOCALBASE}/include/sqlext.h:databases/unixODBC \ cppunit-config:devel/cppunit \ dmake:devel/dmake \ ${LOCALBASE}/bin/gperf:devel/gperf \ ${LOCALBASE}/include/mdds/global.hpp:devel/mdds0 \ 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.10.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 \ 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 \ 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.3.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 \ 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= ${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/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+= 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz:src \ 4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2:src .if defined(PRERELEASE) MASTER_SITES+= http://dev-builds.libreoffice.org/pre-releases/src/ .endif CONFLICTS_INSTALL= libreoffice4-4.* INSTALL_TARGET= distro-pack-install WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION} GNU_CONFIGURE= yes USE_AUTOTOOLS= autoconf aclocal USE_GL= gl glew glu USE_OPENLDAP= yes USE_PERL5= build USE_QT4= # empty but required USE_XORG= xaw xrandr USES= bison compiler:c++11-lib cpe firebird 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 VERBOSE WEBDAV OPTIONS_DEFAULT= CUPS GTK2 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 VERBOSE_DESC= Increase build verbosity WEBDAV_DESC= Enable webdav protocol CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups GNOME_CONFIGURE_ENABLE= dbus gconf lockdown GNOME_IMPLIES= GTK2 GNOME_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib GNOME_USE= GNOME=gconf2 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 \ 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \ 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \ 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="${KDE4_PREFIX}" \ +KDE4_CONFIGURE_ENV= KDE4DIR="${KDE_PREFIX}" \ QT4DIR="${QT_PREFIX}" \ QT4INC="${QT_INCDIR}" \ QT4LIB="${QT_LIBDIR}" -KDE4_USE= KDE4=kdelibs QT4=moc_build,qmake_build +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_CONFIGURE_ENABLE= cve-tests VERBOSE_CONFIGURE_ON= --enable-verbose 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-gnome-vfs \ --disable-kde \ --disable-kdeab \ --disable-mergelibs \ --disable-online-update \ --disable-packagekit \ --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-npapi-headers CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ FIREBIRD_CFLAGS="-isystem ${LOCALBASE}/include" \ FIREBIRD_LIBS="-L${LOCALBASE}/lib -lfbembed" \ GNUTAR="${TAR}" \ GPERF=${LOCALBASE}/bin/gperf \ OPENCOLLADA_CFLAGS="${COLLADA_CFLAGS}" \ OPENCOLLADA_LIBS="${COLLADA_LIBS}" \ PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \ PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`" MAKE_ENV+= CXXFLAGS_WARN="${CXXFLAGS_WARN}" MAKE_ENV+= GNUSED=${LOCALBASE}/bin/gsed MAKE_ENV+= DISPLAY= LANG=C LC_ALL=C _MAKE_JOBS= # .include .if ${OPSYS} == FreeBSD .if ${COMPILER_FEATURES:Mlibstdc++} BROKEN= Build with system libstdc++ is unsupported .endif .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex CONFIGURE_ENV+= FLEX=${LOCALBASE}/bin/flex .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 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 etc lib man -not -type d >> ${TMPPLIST} .for subdir in application-registry applications 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} "@exec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} .endfor .include Index: head/editors/libreoffice4/Makefile =================================================================== --- head/editors/libreoffice4/Makefile (revision 420773) +++ head/editors/libreoffice4/Makefile (revision 420774) @@ -1,379 +1,380 @@ # $FreeBSD$ PORTNAME= libreoffice PORTVERSION= 4.3.7 PORTREVISION= 5 CATEGORIES= editors MASTER_SITES= http://download.documentfoundation.org/libreoffice/ \ http://dev-www.libreoffice.org/extern/:ext \ http://dev-www.libreoffice.org/src/:src PKGNAMESUFFIX= 4 DISTFILES= ${PORTNAME}-${LOVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-help-${LOVERSION}${EXTRACT_SUFX} DIST_SUBDIR= libreoffice EXTRACT_ONLY:= ${DISTFILES} MAINTAINER= office@FreeBSD.org COMMENT= Full integrated office productivity suite LICENSE= LGPL3 MPL LICENSE_COMB= dual BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ zip:archivers/zip \ ${LOCALBASE}/lib/libboost_regex.a:devel/boost-libs \ cppunit-config:devel/cppunit \ dmake:devel/dmake \ ${LOCALBASE}/bin/gperf:devel/gperf \ ${LOCALBASE}/include/mdds/global.hpp:devel/mdds0 \ gpatch:devel/patch \ ucpp:devel/ucpp \ vigra-config:graphics/vigra \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ bash:shells/bash \ gsed:textproc/gsed LIB_DEPENDS= libapr-1.so:devel/apr1 \ libicutu.so:devel/icu \ liblangtag.so:devel/liblangtag \ liborcus-0.8.so:devel/liborcus07 \ 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 \ libGeneratedSaxParser.so:graphics/opencollada \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ liblpsolve55.so:math/lp_solve \ libcmis-0.5.so:net/libcmis \ libharfbuzz.so:print/harfbuzz \ libmspub-0.1.so:print/libmspub01 \ libnss3.so:security/nss \ libclucene-core.so:textproc/clucene \ libexpat.so:textproc/expat2 \ libhunspell-1.3.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 \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.3.so:textproc/libwps03 \ 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= ${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/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 CONFLICTS_INSTALL= libreoffice-5.* ONLY_FOR_ARCHS= amd64 i386 _MAKE_JOBS= # GNU_CONFIGURE= yes USE_AUTOTOOLS= autoconf aclocal USE_GL= gl glew glu USE_OPENLDAP= yes USE_PERL5= build USE_QT4= # empty but required USE_XORG= xaw xrandr USES= bison compiler:c++11-lang cpe gmake jpeg perl5 pkgconfig python shared-mime-info tar:xz WANT_GNOME= yes LOVERSION= ${PORTVERSION}.${RCVER} RCVER= 2 DISTFILES+= 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz:src \ 4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2:src EXTRA_PATCHES= ${FILESDIR}/enable-opencollada:-p1 WRKSRC= ${WRKDIR}/${PORTNAME}-${LOVERSION} COLLADA_MODS= COLLADABaseUtils COLLADAFramework \ COLLADASaxFrameworkLoader GeneratedSaxParser COLLADA_CFLAGS= ${COLLADA_MODS:S|^|-I${LOCALBASE}/include/opencollada/|} COLLADA_LIBS= -L${LOCALBASE}/lib/opencollada \ ${COLLADA_MODS:S|^COLLADA|OpenCOLLADA|:S|^|-l|} CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ GNUTAR="${TAR}" \ GPERF=${LOCALBASE}/bin/gperf \ OPENCOLLADA_CFLAGS="${COLLADA_CFLAGS}" \ OPENCOLLADA_LIBS="${COLLADA_LIBS}" \ PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \ PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`" CONFIGURE_ARGS+= --disable-dependency-tracking \ --disable-fetch-external \ --disable-online-update \ --exec-prefix=${PREFIX} \ --with-build-version="FreeBSD ports ${PKGVERSION}" \ --with-external-tar=${DISTDIR}/${DIST_SUBDIR} \ --with-gnu-patch=${LOCALBASE}/bin/gpatch \ --with-os-version=${OSVERSION} \ --with-parallelism=${MAKE_JOBS_NUMBER} \ --with-vendor="FreeBSD ports" CONFIGURE_ARGS+= --disable-coinmp \ --disable-epm \ --disable-firebird-sdbc \ --disable-gnome-vfs \ --disable-gstreamer-0-10 \ --disable-kde \ --disable-kdeab \ --disable-mergelibs \ --disable-packagekit \ --enable-cairo-canvas \ --enable-graphite \ --enable-python=system \ --with-alloc=system \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-system-altlinuxhyph \ --with-system-apr \ --with-system-boost \ --with-system-cairo \ --with-system-clucene \ --with-system-cppunit \ --with-system-curl \ --with-system-dicts \ --with-system-expat \ --with-system-glew \ --with-system-glm \ --with-system-graphite \ --with-system-harfbuzz \ --with-system-hunspell \ --with-system-icu \ --with-system-jpeg \ --with-system-lcms2 \ --with-system-libabw \ --with-system-libcdr \ --with-system-libcmis \ --with-system-libebook \ --with-system-libetonyek \ --with-system-libexttextcat \ --with-system-libfreehand \ --with-system-libgltf \ --with-system-liblangtag \ --with-system-libmspub \ --with-system-libmwaw \ --with-system-libodfgen \ --with-system-libpng \ --with-system-librevenge \ --with-system-libvisio \ --with-system-libwpd \ --with-system-libwpg \ --with-system-libwps \ --with-system-libxml \ --with-system-lpsolve \ --with-system-mdds \ --with-system-mesa-headers \ --with-system-mythes \ --with-system-neon \ --with-system-nss \ --with-system-opencollada \ --with-system-openldap \ --with-system-openssl \ --with-system-orcus \ --with-system-poppler \ --with-system-postgresql \ --with-system-redland \ --with-system-serf \ --with-system-ucpp \ --with-system-vigra \ --with-system-zlib \ --without-fonts \ --without-myspell-dicts \ --without-system-npapi-headers #XXX add: --with-system-libeot or --with-system-libatomic_ops OPTIONS_DEFINE= CUPS DEBUG GNOME GTK2 GTK3 JAVA KDE4 MMEDIA PGSQL SDK \ SYSTRAY TEST VERBOSE WEBDAV OPTIONS_DEFAULT=CUPS GTK2 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 VERBOSE_DESC= Increase build verbosity WEBDAV_DESC= Enable webdav protocol CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CONFIGURE_ENABLE= cups DEBUG_CONFIGURE_ON= --enable-crashdump --enable-dbgutil --enable-debug DEBUG_CONFIGURE_OFF= --enable-release-build GNOME_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib GNOME_USE= GNOME=gconf2 GNOME_CONFIGURE_ENABLE= dbus gconf lockdown GTK3_USE= GNOME=gtk30 GTK3_CONFIGURE_ENABLE= gtk3 JAVA_CATEGORIES= java JAVA_DISTFILES= 048751f3271906db5126ab76870444c4-commons-codec-1.9-src.zip:src \ 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \ 2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz: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 \ 8ab049135b2d15313da5d9f0656894a1-commons-lang3-3.3.1-src.tar.gz:src \ 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \ 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \ a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip:src \ 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 \ e8e197d628436490886d17cffa108fe3-commons-logging-1.1.3-src.tar.gz:src \ ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz:src \ eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip:src \ f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip:src JAVA_BUILD_DEPENDS= ant:devel/apache-ant \ ${JAVAJARDIR}/junit.jar:java/junit # XXX jni.h from GNU classpath causes ABI conflicts. JAVA_CONFLICTS_BUILD= classpath-[0-9]* JAVA_CONFIGURE_ON= --enable-ext-wiki-publisher \ --enable-report-builder \ --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-jdk-home="${JAVA_HOME}" \ --with-junit=${JAVAJARDIR}/junit.jar \ --with-hamcrest=${JAVAJARDIR}/hamcrest.jar JAVA_CONFIGURE_OFF= --without-java JAVA_USE= JAVA=yes JAVA_VARS= JAVA_BUILD=yes -KDE4_USE= KDE4=kdelibs QT4=moc_build,qmake_build +KDE4_USES= kde:4 +KDE4_USE= KDE=kdelibs QT4=moc_build,qmake_build KDE4_CONFIGURE_ENABLE= kde4 -KDE4_CONFIGURE_ENV= KDE4DIR="${KDE4_PREFIX}" \ +KDE4_CONFIGURE_ENV= KDE4DIR="${KDE_PREFIX}" \ QT4DIR="${QT_PREFIX}" \ QT4INC="${QT_INCDIR}" \ QT4LIB="${QT_LIBDIR}" MMEDIA_USE= GSTREAMER1=yes MMEDIA_CONFIGURE_ENABLE= gstreamer PGSQL_USES= pgsql:9.0+ PGSQL_CONFIGURE_ENABLE= postgresql-sdbc PGSQL_CONFIGURE_WITH= gssapi krb5 SDK_DISTFILES= 185d60944ea767075d27247c3162b3bc-unowinreg.dll:ext SDK_BUILD_DEPENDS= doxygen:devel/doxygen SDK_CONFIGURE_ENABLE= odk SDK_CONFIGURE_ON= --with-doxygen=${LOCALBASE}/bin/doxygen SDK_CONFIGURE_OFF= --without-doxygen SYSTRAY_CONFIGURE_ENABLE= systray TEST_CONFIGURE_ENABLE= cve-tests WEBDAV_LIB_DEPENDS= libneon.so:www/neon WEBDAV_CONFIGURE_ENABLE= neon # for dynamic plist generation PLISTD?= ${WRKDIR}/plist_dirs PLISTF?= ${WRKDIR}/plist_files .include .if ${PORT_OPTIONS:MDEBUG} IGNORE= is broken with DEBUG option .else EXTRA_PATCHES+= ${FILESDIR}/extra-Makefile.in .endif .if ${PORT_OPTIONS:MDEBUG} || ${PORT_OPTIONS:MVERBOSE} CONFIGURE_ARGS+= --enable-verbose .endif .if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 CONFIGURE_ARGS+= --enable-gtk .else CONFIGURE_ARGS+= --disable-gtk .endif .if ${PORT_OPTIONS:MGNOME} || ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3} USES+= desktop-file-utils CONFIGURE_ARGS+= --enable-gio INSTALLS_ICONS= yes .else CONFIGURE_ARGS+= --disable-gio .endif .if empty(PORT_OPTIONS:MTEST) EXTRA_PATCHES+= ${FILESDIR}/disable-cppunittester .endif .include .if ${COMPILER_FEATURES:Mlibc++} EXTRA_PATCHES+= ${FILESDIR}/extra-libc++:-p1 EXTRA_PATCHES+= ${FILESDIR}/extra-libc++.i386:-p0 .endif .if ${COMPILER_FEATURES:Mlibstdc++} EXTRA_PATCHES+= ${FILESDIR}/extra-configure.ac .endif .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex CONFIGURE_ENV+= FLEX=${LOCALBASE}/bin/flex .endif ACLOCAL_ARGS= -I "${WRKSRC}/m4" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV+= ENVCFLAGS="${CFLAGS}" ENVCFLAGSCXX="${CXXFLAGS}" MAKE_ENV+= ENVLINKFLAGS="${LDFLAGS}" MAKE_ENV+= GNUSED=${LOCALBASE}/bin/gsed MAKE_ENV+= LANG=C LC_ALL=C pre-configure: @${TOUCH} ${WRKSRC}/autogen.lastrun post-configure: @${TOUCH} ${WRKSRC}/src.downloaded do-install: @cd ${WRKSRC} && ${MAKE_CMD} ${MAKE_ARGS} distro-pack-install @${RM} -f ${PLISTD} ${PLISTF} @cd ${STAGEDIR}${PREFIX} && ${FIND} -d lib/libreoffice -type d \ -empty -exec ${ECHO_CMD} "@dir {}" \; >> ${PLISTD} @cd ${STAGEDIR}${PREFIX} && ${FIND} -H -s bin etc lib man \ \( -type f -o -type l \) -print >> ${PLISTF} .for subdir in application-registry applications icons mime mime-info mimelnk @cd ${STAGEDIR}${PREFIX} && ${FIND} -H -s share/${subdir} \ \( -type f -o -type l \) -print >> ${PLISTF} .endfor .if ${PORT_OPTIONS:MSDK} .for subdir in include share share/doc share/idl @cd ${STAGEDIR}${PREFIX} && ${FIND} -H -s ${subdir}/libreoffice \ \( -type f -o -type l \) -print >> ${PLISTF} .endfor .endif @${SORT} -u ${PLISTF} >> ${TMPPLIST} @${SORT} -u ${PLISTD} >> ${TMPPLIST} .include Index: head/editors/yzis/Makefile =================================================================== --- head/editors/yzis/Makefile (revision 420773) +++ head/editors/yzis/Makefile (revision 420774) @@ -1,55 +1,56 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= yzis PORTVERSION= 1.0.a.1 PORTREVISION= 11 CATEGORIES= editors MASTER_SITES= http://labs.freehackers.org/attachments/download/45/ \ http://contribs.martymac.org/FreeBSD-ports/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a.1/-alpha1/} MAINTAINER= martymac@FreeBSD.org COMMENT= Vi-like editor LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi USES= tar:bzip2 cmake gettext perl5 lua:51 USE_XORG= x11 xext ice USE_QT4= qtestlib qmake_build rcc_build uic_build moc_build gui xml CMAKE_ARGS+= -DLOCALBASE:STRING="${LOCALBASE}" \ -DLUA_INCDIR:STRING="${LUA_INCDIR}" \ -DLUA_LIBDIR:STRING="${LUA_LIBDIR}" \ -DENABLE_QYZIS:BOOL=ON \ -DENABLE_LIBYZISRUNNER:BOOL=OFF \ -DENABLE_TESTS:BOOL=OFF USE_GCC= any INSTALLS_ICONS= yes USE_LDCONFIG= yes OPTIONS_DEFINE= KYZIS NYZIS DOCS OPTIONS_SUB= yes KYZIS_DESC= Build kyzis and Yzis kpart -KYZIS_USE= KDE4=kdeprefix,kdelibs,automoc4 QT4=phonon +KYZIS_USES= kde:4 +KYZIS_USE= KDE=kdeprefix,kdelibs,automoc4 QT4=phonon KYZIS_CMAKE_ON= -DENABLE_KYZIS:BOOL=ON -DENABLE_KPART_YZIS:BOOL=ON KYZIS_CMAKE_OFF= -DENABLE_KYZIS:BOOL=OFF -DENABLE_KPART_YZIS:BOOL=OFF NYZIS_DESC= Build nyzis (ncurses frontend) NYZIS_CPPFLAGS= -D_XOPEN_SOURCE_EXTENDED NYZIS_CMAKE_ON= -DENABLE_NYZIS:BOOL=ON NYZIS_CMAKE_OFF= -DENABLE_NYZIS:BOOL=OFF DOCS_BUILD_DEPENDS= dot:graphics/graphviz \ doxygen:devel/doxygen DOCS_CMAKE_ON= -DENABLE_DOCUMENTATION:BOOL=ON DOCS_CMAKE_OFF= -DENABLE_DOCUMENTATION:BOOL=OFF .include .if ${PORT_OPTIONS:MKYZIS} PLIST_SUB+= QYZIS="@comment " .else PLIST_SUB+= QYZIS="" .endif .include Index: head/finance/kmymoney-kde4/Makefile =================================================================== --- head/finance/kmymoney-kde4/Makefile (revision 420773) +++ head/finance/kmymoney-kde4/Makefile (revision 420774) @@ -1,60 +1,60 @@ # $FreeBSD$ PORTNAME= kmymoney PORTVERSION= 4.7.2 PORTREVISION= 1 CATEGORIES= finance kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 personal finance manager LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_graph.so:devel/boost-libs \ libalkimia.so:finance/libalkimia -USES= cmake pkgconfig shared-mime-info shebangfix tar:xz +USES= cmake kde:4 pkgconfig shared-mime-info shebangfix tar:xz USE_QT4= gui dbus network phonon sql svg xml \ qmake_build moc_build rcc_build uic_build -USE_KDE4= automoc4 kdelibs pimlibs +USE_KDE= automoc4 kdelibs pimlibs USE_LDCONFIG= yes SHEBANG_FILES= kmymoney/misc/financequote.pl OPTIONS_DEFINE= NLS CALENDAR KBANKING OFX QUOTES OPTIONS_DEFAULT= CALENDAR OPTIONS_SUB= yes NO_OPTIONS_SORT= yes NLS_USES= gettext NLS_CMAKE_ON= -DBUILD_po:BOOL=ON NLS_CMAKE_OFF= -DBUILD_po:BOOL=OFF CALENDAR_DESC= Enable Calendar plugin CALENDAR_LIB_DEPENDS= libical.so:devel/libical CALENDAR_CMAKE_ON= -DENABLE_LIBICAL:BOOL=ON CALENDAR_CMAKE_OFF= -DENABLE_LIBICAL:BOOL=OFF KBANKING_DESC= Enable KBanking plugin KBANKING_LIB_DEPENDS= libgwengui-qt4.so:devel/gwenhywfar-qt4 \ libaqbanking.so:finance/aqbanking KBANKING_CMAKE_ON= -DENABLE_KBANKING:BOOL=ON KBANKING_CMAKE_OFF= -DENABLE_KBANKING:BOOL=OFF OFX_DESC= Enable OFX plugin OFX_LIB_DEPENDS= libofx.so:finance/libofx OFX_CMAKE_ON= -DENABLE_LIBOFX:BOOL=ON OFX_CMAKE_OFF= -DENABLE_LIBOFX:BOOL=OFF QUOTES_DESC= Enable online price quotes QUOTES_USES= perl5 QUOTES_USE= PERL5=run QUOTES_RUN_DEPENDS= p5-Date-Manip>=0:devel/p5-Date-Manip \ p5-Finance-Quote>=0:finance/p5-Finance-Quote \ p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-XML-Writer>=0:textproc/p5-XML-Writer \ p5-libwww>=0:www/p5-libwww .include Index: head/finance/libalkimia/Makefile =================================================================== --- head/finance/libalkimia/Makefile (revision 420773) +++ head/finance/libalkimia/Makefile (revision 420774) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= libalkimia PORTVERSION= 5.0.0 PORTREVISION= 1 CATEGORIES= finance kde MASTER_SITES= KDE/stable/alkimia/${PORTVERSION}/src MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 financial data handling library LICENSE= LGPL21 LIB_DEPENDS= libgmp.so:math/gmp -USES= cmake:outsource pathfix tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 pathfix tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e 's|KDE4_LIB_DIR|LIB_INSTALL_DIR|g' \ ${WRKSRC}/${PORTNAME}/libalkimia.pc.in .include Index: head/finance/skrooge/Makefile =================================================================== --- head/finance/skrooge/Makefile (revision 420773) +++ head/finance/skrooge/Makefile (revision 420774) @@ -1,30 +1,31 @@ # $FreeBSD$ PORTNAME= skrooge PORTVERSION= 1.12.5 CATEGORIES= finance kde MASTER_SITES= KDE/stable/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= KDE4 personal finance manager BUILD_DEPENDS= xsltproc:textproc/libxslt LIB_DEPENDS= libofx.so:finance/libofx \ libqca.so:devel/qca \ libkactivities.so:x11/kactivities -USES= cmake:outsource gettext grantlee:4 shared-mime-info sqlite:3 tar:xz +USES= cmake:outsource gettext grantlee:4 kde:4 shared-mime-info \ + sqlite:3 tar:xz USE_QT4= qmake_build moc_build uic_build rcc_build designer_build \ corelib dbus gui script sql webkit xml sql-sqlite3_run -USE_KDE4= automoc4 kdelibs pimlibs +USE_KDE= automoc4 kdelibs pimlibs USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION} # Skrooge creates several empty directories due to how it calls CMake's # install(DIRECTORY ...) function, so we need some code to remove them. post-install: ${FIND} ${STAGEDIR}${PREFIX}/share/apps/skrooge/html \ -type d -empty -delete .include Index: head/ftp/plasma-applet-ftpmonitor/Makefile =================================================================== --- head/ftp/plasma-applet-ftpmonitor/Makefile (revision 420773) +++ head/ftp/plasma-applet-ftpmonitor/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= ftpmonitor PORTVERSION= 1.1 PORTREVISION= 6 CATEGORIES= ftp kde MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= plasma-applet- MAINTAINER= makc@FreeBSD.org COMMENT= KDE4 Plasma applet, which monitors connections to ftp daemons -USES= cmake tar:bzip2 -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build post-patch: ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${WRKSRC}/src/ftpserver/*.h .include Index: head/games/blinken/Makefile =================================================================== --- head/games/blinken/Makefile (revision 420773) +++ head/games/blinken/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= blinken PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Memory enhancement game for KDE 4 -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/games/bomber/Makefile =================================================================== --- head/games/bomber/Makefile (revision 420773) +++ head/games/bomber/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= bomber PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/bovo/Makefile =================================================================== --- head/games/bovo/Makefile (revision 420773) +++ head/games/bovo/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= bovo PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/granatier/Makefile =================================================================== --- head/games/granatier/Makefile (revision 420773) +++ head/games/granatier/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= granatier PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui xml \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kajongg/Makefile =================================================================== --- head/games/kajongg/Makefile (revision 420773) +++ head/games/kajongg/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kajongg PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USES= cmake:outsource python tar:xz twisted:run sqlite -USE_KDE4= kdelibs pykde4 automoc4 +USES= cmake:outsource kde:4 python tar:xz twisted:run sqlite +USE_KDE= kdelibs pykde4 automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build CMAKE_ARGS= -DINSTALL_KAJONGG:BOOL=TRUE .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kanagram/Makefile =================================================================== --- head/games/kanagram/Makefile (revision 420773) +++ head/games/kanagram/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kanagram PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Letter order game for KDE 4 -USE_KDE4= kdelibs libkdeedu automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdeedu automoc4 USE_QT4= xml corelib declarative gui opengl script xml \ moc_build qmake_build rcc_build uic_build .include Index: head/games/kapman/Makefile =================================================================== --- head/games/kapman/Makefile (revision 420773) +++ head/games/kapman/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kapman PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui xml \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/katomic/Makefile =================================================================== --- head/games/katomic/Makefile (revision 420773) +++ head/games/katomic/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= katomic PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource shebangfix tar:xz +USES= cmake:outsource kde:4 shebangfix tar:xz +USE_KDE= kdelibs libkdegames automoc4 SHEBANG_FILES= katomic-levelset-upd.pl USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kblackbox/Makefile =================================================================== --- head/games/kblackbox/Makefile (revision 420773) +++ head/games/kblackbox/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kblackbox PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui xml \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kblocks/Makefile =================================================================== --- head/games/kblocks/Makefile (revision 420773) +++ head/games/kblocks/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kblocks PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui network \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kbounce/Makefile =================================================================== --- head/games/kbounce/Makefile (revision 420773) +++ head/games/kbounce/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kbounce PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kbreakout/Makefile =================================================================== --- head/games/kbreakout/Makefile (revision 420773) +++ head/games/kbreakout/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kbreakout PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui xml \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kdegames4/Makefile =================================================================== --- head/games/kdegames4/Makefile (revision 420773) +++ head/games/kdegames4/Makefile (revision 420774) @@ -1,27 +1,26 @@ # $FreeBSD$ PORTNAME= kdegames PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MAINTAINER= kde@FreeBSD.org COMMENT= Games for KDE 4 (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= ALL ${KDE4_GAMES_ALL} OPTIONS_DEFAULT= ALL .include <${.CURDIR}/Makefile.common> .for game in ${KDE4_GAMES_ALL} # _PORT, _DETECT, and _DESC are defined in Makefile.common ${game}_PORT?= games/${game} -${game}_DETECT?= ${KDE4_PREFIX}/bin/${game} +${game}_DETECT?= ${KDE_PREFIX}/bin/${game} ${game}_DESC?= Please fix a typo in option name/desc! ${game}_RUN_DEPENDS= ${${game}_DETECT}:${${game}_PORT} ALL_RUN_DEPENDS+= ${${game}_RUN_DEPENDS} .endfor .include Index: head/games/kdegames4/Makefile.common =================================================================== --- head/games/kdegames4/Makefile.common (revision 420773) +++ head/games/kdegames4/Makefile.common (revision 420774) @@ -1,85 +1,85 @@ # KDE4_GAMES_ALL entry must be a portname, port directory can be overridden # if needed. Option description is also used as port's COMMENT # (use COMMENT= ${${PORTNAME}_DESC} for new ports) KDE4_GAMES_ALL= bomber \ bovo \ granatier \ kajongg \ kapman \ katomic \ kblackbox \ kblocks \ kbounce \ kbreakout \ kdiamond \ kfourinline \ kgoldrunner \ kigo \ killbots \ kiriki \ kjumpingcube \ klines \ klickety \ kmahjongg \ kmines \ knavalbattle \ knetwalk \ kolf \ kollision \ konquest \ kpat \ kreversi \ kshisen \ ksirk \ ksnakeduel \ kspaceduel \ ksquares \ ksudoku \ ktuberling \ kubrick \ lskat \ palapeli \ picmi -ksnakeduel_DETECT= ${KDE4_PREFIX}/bin/ktron +ksnakeduel_DETECT= ${KDE_PREFIX}/bin/ktron bomber_DESC= Arcade Bombing game bovo_DESC= Five-in-a-row Board game granatier_DESC= Bomberman clone kajongg_DESC= Ancient Chinese board game for 4 players kapman_DESC= Pac-Man Clone katomic_DESC= Sokoban-like Logic game kblackbox_DESC= Blackbox Logic game kblocks_DESC= Falling Blocks game kbounce_DESC= Ball Bouncing game kbreakout_DESC= Breakout-like game kdiamond_DESC= Three-in-a-row game kfourinline_DESC= Four-in-a-row Board game kgoldrunner_DESC= Hunt Gold, Dodge Enemies and Solve Puzzles kigo_DESC= Go Board game killbots_DESC= Evade killer robots kiriki_DESC= Yahtzee-like Dice game kjumpingcube_DESC= Territory Capture game klines_DESC= Tactical game klickety_DESC= Tetris themed solitaire kmahjongg_DESC= Mahjongg Solitaire kmines_DESC= Minesweeper-like game knavalbattle_DESC= Ship Sinking game knetwalk_DESC= Network Construction game kolf_DESC= Miniature Golf kollision_DESC= Simple ball dodging game konquest_DESC= Galactic Strategy game kpat_DESC= Patience Card game kreversi_DESC= Reversi Board game kshisen_DESC= Shisen-Sho Mahjongg-like Tile game ksirk_DESC= World Domination Strategy game ksnakeduel_DESC= Snake-like game kspaceduel_DESC= Space Arcade game ksquares_DESC= Connect the dots to create squares ksudoku_DESC= Sudoku game ktuberling_DESC= Picture game for Children kubrick_DESC= 3-D game based on Rubik's Cube lskat_DESC= Card game palapeli_DESC= Jigsaw puzzle game picmi_DESC= Single player logic-based puzzle game Index: head/games/kdiamond/Makefile =================================================================== --- head/games/kdiamond/Makefile (revision 420773) +++ head/games/kdiamond/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kdiamond PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kfourinline/Makefile =================================================================== --- head/games/kfourinline/Makefile (revision 420773) +++ head/games/kfourinline/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kfourinline PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kgoldrunner/Makefile =================================================================== --- head/games/kgoldrunner/Makefile (revision 420773) +++ head/games/kgoldrunner/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kgoldrunner PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/khangman/Makefile =================================================================== --- head/games/khangman/Makefile (revision 420773) +++ head/games/khangman/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= khangman PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Hangman game for KDE 4 -USE_KDE4= kdelibs libkdeedu automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdeedu automoc4 USE_QT4= corelib declarative gui opengl script xml \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/games/kigo/Makefile =================================================================== --- head/games/kigo/Makefile (revision 420773) +++ head/games/kigo/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kigo PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/killbots/Makefile =================================================================== --- head/games/killbots/Makefile (revision 420773) +++ head/games/killbots/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= killbots PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui qtestlib xml \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kiriki/Makefile =================================================================== --- head/games/kiriki/Makefile (revision 420773) +++ head/games/kiriki/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kiriki PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kjumpingcube/Makefile =================================================================== --- head/games/kjumpingcube/Makefile (revision 420773) +++ head/games/kjumpingcube/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kjumpingcube PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/klickety/Makefile =================================================================== --- head/games/klickety/Makefile (revision 420773) +++ head/games/klickety/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= klickety PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource shebangfix tar:xz +USES= cmake:outsource kde:4 shebangfix tar:xz +USE_KDE= kdelibs libkdegames automoc4 SHEBANG_FILES= klickety-2.0-inherit-ksame-highscore.pl USE_QT4= corelib gui xml \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/klines/Makefile =================================================================== --- head/games/klines/Makefile (revision 420773) +++ head/games/klines/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= klines PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kmahjongg/Makefile =================================================================== --- head/games/kmahjongg/Makefile (revision 420773) +++ head/games/kmahjongg/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kmahjongg PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} LIB_DEPENDS= libkmahjongglib.so:games/libkmahjongg -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kmines/Makefile =================================================================== --- head/games/kmines/Makefile (revision 420773) +++ head/games/kmines/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kmines PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/knavalbattle/Makefile =================================================================== --- head/games/knavalbattle/Makefile (revision 420773) +++ head/games/knavalbattle/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= knavalbattle PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui network xml \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/knetwalk/Makefile =================================================================== --- head/games/knetwalk/Makefile (revision 420773) +++ head/games/knetwalk/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= knetwalk PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/knights-kde4/Makefile =================================================================== --- head/games/knights-kde4/Makefile (revision 420773) +++ head/games/knights-kde4/Makefile (revision 420774) @@ -1,43 +1,43 @@ # Created by: Stefan Jahn # $FreeBSD$ PORTNAME= knights PORTVERSION= 2.5.0 PORTREVISION= 6 CATEGORIES= games kde MASTER_SITES= http://dl.dropbox.com/u/2888238/Knights/ MAINTAINER= syncer@gmail.com COMMENT= KDE4 chess interface RUN_DEPENDS= ${LOCALBASE}/bin/gnuchess:games/gnuchess LICENSE= GPLv2 -USES= cmake:outsource tar:bzip2 -USE_KDE4= kdelibs automoc4 workspace libkdegames +USES= cmake:outsource kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 workspace libkdegames USE_QT4= qmake_build moc_build rcc_build uic_build OPTIONS_DEFINE= DOCS NLS .include .if ! ${PORT_OPTIONS:MDOCS} CMAKE_ARGS+= -DBUILD_doc=FALSE .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " CMAKE_ARGS+= -DBUILD_po=FALSE .endif post-patch: .if empty(PORT_OPTIONS:MDOCS) ${REINPLACE_CMD} "s/^add_subdirectory( doc )//g" \ ${WRKSRC}/CMakeLists.txt .endif .include Index: head/games/kolf/Makefile =================================================================== --- head/games/kolf/Makefile (revision 420773) +++ head/games/kolf/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kolf PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kollision/Makefile =================================================================== --- head/games/kollision/Makefile (revision 420773) +++ head/games/kollision/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kollision PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/konquest/Makefile =================================================================== --- head/games/konquest/Makefile (revision 420773) +++ head/games/konquest/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= konquest PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kpat/Makefile =================================================================== --- head/games/kpat/Makefile (revision 420773) +++ head/games/kpat/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= kpat PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource shared-mime-info tar:xz +USES= cmake:outsource kde:4 shared-mime-info tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build post-patch: ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ ${WRKSRC}/mimetypes/CMakeLists.txt .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kreversi/Makefile =================================================================== --- head/games/kreversi/Makefile (revision 420773) +++ head/games/kreversi/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kreversi PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kshisen/Makefile =================================================================== --- head/games/kshisen/Makefile (revision 420773) +++ head/games/kshisen/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kshisen PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} LIB_DEPENDS= libkmahjongglib.so:games/libkmahjongg -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/ksirk/Makefile =================================================================== --- head/games/ksirk/Makefile (revision 420773) +++ head/games/ksirk/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= ksirk PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} LIB_DEPENDS= libqca.so:devel/qca -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui corelib gui network qt3support svg xml \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/ksnakeduel/Makefile =================================================================== --- head/games/ksnakeduel/Makefile (revision 420773) +++ head/games/ksnakeduel/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= ksnakeduel PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kspaceduel/Makefile =================================================================== --- head/games/kspaceduel/Makefile (revision 420773) +++ head/games/kspaceduel/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kspaceduel PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/ksquares/Makefile =================================================================== --- head/games/ksquares/Makefile (revision 420773) +++ head/games/ksquares/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= ksquares PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/ksudoku/Makefile =================================================================== --- head/games/ksudoku/Makefile (revision 420773) +++ head/games/ksudoku/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= ksudoku PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} +USES= cmake:outsource kde:4 tar:xz USE_GL= glu -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui corelib gui opengl \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/ktuberling/Makefile =================================================================== --- head/games/ktuberling/Makefile (revision 420773) +++ head/games/ktuberling/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= ktuberling PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/kubrick/Makefile =================================================================== --- head/games/kubrick/Makefile (revision 420773) +++ head/games/kubrick/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kubrick PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} +USES= cmake:outsource kde:4 tar:xz USE_GL= glu -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui opengl \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/libkdegames/Makefile =================================================================== --- head/games/libkdegames/Makefile (revision 420773) +++ head/games/libkdegames/Makefile (revision 420774) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= libkdegames PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Libraries used by KDE 4 games -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= network phonon xml moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= LOWLATENCY OPTIONS_DEFAULT= LOWLATENCY LOWLATENCY_DESC= Use OpenAL and libsndfile for lower latency LOWLATENCY_LIB_DEPENDS= libsndfile.so:audio/libsndfile LOWLATENCY_USES= openal LOWLATENCY_CMAKE_ON= -DWITH_OpenAL=on \ -DWITH_SndFile=on LOWLATENCY_CMAKE_OFF= -DWITH_OpenAL=off \ -DWITH_SndFile=off .include Index: head/games/libkmahjongg/Makefile =================================================================== --- head/games/libkmahjongg/Makefile (revision 420773) +++ head/games/libkmahjongg/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= libkmahjongg PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Library for the Mahjongg Solitaire for KDE 4 -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/games/lskat/Makefile =================================================================== --- head/games/lskat/Makefile (revision 420773) +++ head/games/lskat/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= lskat PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui gui svg \ moc_build qmake_build rcc_build uic_build .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/pairs/Makefile =================================================================== --- head/games/pairs/Makefile (revision 420773) +++ head/games/pairs/Makefile (revision 420774) @@ -1,20 +1,20 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= pairs PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Memory and pairs game for KDE LICENSE= GPLv2 -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= declarative opengl phonon xmlpatterns \ moc_build qmake_build rcc_build uic_build .include Index: head/games/palapeli/Makefile =================================================================== --- head/games/palapeli/Makefile (revision 420773) +++ head/games/palapeli/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= palapeli PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USE_KDE4= kdelibs libkdegames automoc4 -USES= cmake:outsource shared-mime-info tar:xz +USES= cmake:outsource kde:4 shared-mime-info tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= corelib gui gui \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ ${WRKSRC}/mime/CMakeLists.txt .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/games/picmi/Makefile =================================================================== --- head/games/picmi/Makefile (revision 420773) +++ head/games/picmi/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= picmi PORTVERSION= ${KDE4_VERSION} CATEGORIES= games kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= ${${PORTNAME}_DESC} -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs libkdegames automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdegames automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build \ svg xml .include <${.CURDIR}/../kdegames4/Makefile.common> .include Index: head/graphics/digikam-kde4/Makefile =================================================================== --- head/graphics/digikam-kde4/Makefile (revision 420773) +++ head/graphics/digikam-kde4/Makefile (revision 420774) @@ -1,63 +1,63 @@ # Created by: Arjan van Leeuwen # $FreeBSD$ PORTNAME= digikam PORTVERSION= ${DIGIKAM_VER} PORTEPOCH= 2 CATEGORIES= graphics kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE4 digital photo management application .include "${.CURDIR}/Makefile.common" BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:math/eigen3 LIB_DEPENDS= libtiff.so:graphics/tiff \ liblcms.so:graphics/lcms \ libpng.so:graphics/png \ libjasper.so:graphics/jasper \ liblensfun.so:graphics/lensfun \ liblqr-1.so:graphics/liblqr-1 \ libkface.so:graphics/libkface \ libpgf.so:graphics/libpgf \ libkgeomap.so:astro/libkgeomap \ libboost_graph.so:devel/boost-libs USES+= pkgconfig shebangfix -USE_KDE4+= libkdcraw libkexiv2 libkipi runtime_run +USE_KDE+= libkdcraw libkexiv2 libkipi runtime_run USE_QT4+= sql-sqlite3_run USE_LDCONFIG= yes CMAKE_ARGS+= -DWITH_Sqlite2:BOOL=OFF WRKSRC= ${WRKDIR}/${DISTNAME}/core SHEBANG_FILES= data/scripts/digitaglinktree/digitaglinktree OPTIONS_DEFINE= DOCS NLS GPHOTO2 PIMLIBS MYSQL OPTIONS_DEFAULT= GPHOTO2 PIMLIBS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes # MYSQL DOCS_RUN_DEPENDS= digikam-doc>=${DIGIKAM_VER}:graphics/digikam-kde4-doc NLS_RUN_DEPENDS= digikam-l10n>=${DIGIKAM_VER}:graphics/digikam-kde4-l10n GPHOTO2_DESC= Gphoto2 camera support GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 GPHOTO2_CMAKE_ON= -DWITH_Gphoto2:BOOL=ON GPHOTO2_CMAKE_OFF= -DWITH_Gphoto2:BOOL=OFF PIMLIBS_DESC= Address book support -PIMLIBS_USE= KDE4=pimlibs baloo +PIMLIBS_USE= KDE=pimlibs baloo PIMLIBS_CMAKE_ON= -DENABLE_KDEPIMLIBSSUPPORT:BOOL=ON PIMLIBS_CMAKE_OFF= -DENABLE_KDEPIMLIBSSUPPORT:BOOL=OFF MYSQL_USE= MYSQL=server QT4=sql-mysql_run MYSQL_BUILD_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqld.a:${_MYSQL_SERVER} MYSQL_CMAKE_ON= -DMYSQLD_PATH:PATH=${LOCALBASE}/libexec \ -DMYSQL_TOOLS_PATH:PATH=${LOCALBASE}/bin \ -DENABLE_INTERNALMYSQL:BOOL=ON \ -DENABLE_MYSQLSUPPORT:BOOL=ON MYSQL_CMAKE_OFF= -DENABLE_INTERNALMYSQL:BOOL=OFF \ -DENABLE_MYSQLSUPPORT:BOOL=OFF .include Index: head/graphics/digikam-kde4/Makefile.common =================================================================== --- head/graphics/digikam-kde4/Makefile.common (revision 420773) +++ head/graphics/digikam-kde4/Makefile.common (revision 420774) @@ -1,148 +1,148 @@ # $FreeBSD$ # # Make sure when DIGIKAM_VER is updated that the following ports are updated: # graphics/digikam-kde4 # graphics/digikam-kde4-doc # graphics/digikam-kde4-l10n # graphics/kipi-plugin-* # graphics/kipi-plugins-kde4 # graphics/libkface # graphics/libkipiplugins # These ports now lead independent lives: # astro/libkgeomap (part of KDE Applications) # net/libkvkontakte (part of KDE Applications) # net/libmediawiki (part of digiKam 4.12) DIGIKAM_VER= 4.14.0 MASTER_SITES= KDE/stable/digikam KIPI_PLUGINS_ALL= acquireimages \ advancedslideshow \ batchprocess \ calendar \ debianscreenshots \ dngconverter \ dropbox \ expoblending \ facebook \ flashexport \ flickrexport \ galleryexport \ googleservices \ gpssync \ htmlexport \ imageshackexport \ imageviewer \ imgurexport \ ipodexport \ jalbumexport \ jpeglossless \ kioexport \ kmlexport \ kopete \ mediawiki \ metadataedit \ panorama \ photolayoutseditor \ piwigoexport \ printimages \ rajceexport \ rawconverter \ removeredeyes \ sendimages \ shwup \ smug \ timeadjust \ videoslideshow \ vkontakte \ yandexfotki # libkipiplugins is special: it's not listed in KIPI_PLUGINS_ALL, # and every plugin depends on it libkipiplugins_DIR= common libkipiplugins_DESC= Common library for kipi plugins batchprocess_DIR= batchprocessimages kioexport_DIR= kioexportimport acquireimages_DESC= Acquire images using flat scanner advancedslideshow_DESC= Slide images with 2D and 3D effects using OpenGL batchprocess_DESC= Batch process images (convert, resize, rename, etc.) calendar_DESC= Create calendars debianscreenshots_DESC= Export images to Debian Screenshots web service dngconverter_DESC= Convert Raw Image to Digital NeGative dropbox_DESC= Export images to Dropbox cloud service expoblending_DESC= Create pseudo HDR image with a stack of bracketed images facebook_DESC= Import/export images to/from a remote Facebook web service flashexport_DESC= Export images to Flash using SimpleViewer flickrexport_DESC= Export images to a remote Flickr based web service galleryexport_DESC= Export images to a remote Gallery googleservices_DESC= Export images to Google Services (drive/picasa) gpssync_DESC= Geolocalize images htmlexport_DESC= Export images collections into a static XHTML page imageshackexport_DESC= Export images to ImageShack web service imageviewer_DESC= Preview images using OpenGL imgurexport_DESC= Export images to ImgUr web service ipodexport_DESC= Export images to an Ipod device jalbumexport_DESC= Export images to jAlbum jpeglossless_DESC= Rotate/flip images without losing quality kioexport_DESC= Export images to remote computer using network protocol kmlexport_DESC= Create KML files to present images with coordinates kopete_DESC= Export images to an instant messaging contact mediawiki_DESC= Export images to Mediawiki based web service metadataedit_DESC= Edit EXIF, IPTC and XMP metadata panorama_DESC= Assemble panoramic photo automatically # not ready for production yet # photivointegration_DESC= Integration of the Photivo RAW-Processor photolayoutseditor_DESC=Assemble images together piwigoexport_DESC= Export images to a remote Piwigo (PHPWebGallery) server printimages_DESC= Print images in various format rajceexport_DESC= Export images to Rajce web service rawconverter_DESC= Convert Raw Image to JPEG/PNG/TIFF removeredeyes_DESC= Remove red eyes on image automatically sendimages_DESC= Send images by e-mail shwup_DESC= Export images to Shwup web service smug_DESC= Import/export images to/from a remote SmugMug web service timeadjust_DESC= Adjust date and time videoslideshow_DESC= Export images as Video Slide Show vkontakte_DESC= Export images to VKontakte web service # Requires https://bugs.kde.org/show_bug.cgi?id=217950 # wallpaper_DESC= Set image as background on desktop yandexfotki_DESC= Export images to Yandex web service DISTNAME= digikam-${DIGIKAM_VER} DISTINFO_FILE= ${.CURDIR:H:H}/graphics/digikam-kde4/distinfo LICENSE?= GPLv2 USES+= tar:bzip2 .if !defined(NO_BUILD) -USES+= cmake -USE_KDE4+= automoc4 kdelibs +USES+= cmake kde:4 +USE_KDE+= automoc4 kdelibs USE_QT4+= qmake_build moc_build rcc_build uic_build WRKSRC?= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME} PLIST_SUB+= SHLIB_VER=${DIGIKAM_VER} . if defined(KIPI_PLUGIN) CONFLICTS_INSTALL= kipi-plugins-2.* DESCR= ${.CURDIR:H:H}/graphics/kipi-plugins-kde4/pkg-descr USES+= pkgconfig .if ${KIPI_PLUGIN} != "libkipiplugins" EXTRA_PATCHES= ${.CURDIR:H:H}/graphics/kipi-plugins-kde4/files/extrapatch-CMakeLists.txt LIB_DEPENDS+= libkipiplugins.so:graphics/libkipiplugins .endif EXTRA_PATCHES+= ${.CURDIR:H:H}/graphics/kipi-plugins-kde4/files/extrapatch-extra_kipi_plugins_cmakelists.patch EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions ${DISTNAME}/extra/kipi-plugins WRKSRC= ${WRKDIR}/${DISTNAME}/extra/kipi-plugins BUILD_WRKSRC= ${WRKSRC}/${${KIPI_PLUGIN}_DIR} INSTALL_WRKSRC= ${BUILD_WRKSRC} ${KIPI_PLUGIN}_DIR?= ${KIPI_PLUGIN} . endif # defined(KIPI_PLUGIN) .endif # !defined(NO_BUILD) Index: head/graphics/gnash/Makefile =================================================================== --- head/graphics/gnash/Makefile (revision 420773) +++ head/graphics/gnash/Makefile (revision 420774) @@ -1,245 +1,245 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= gnash PORTVERSION= 0.8.10 PORTREVISION= 16 CATEGORIES= graphics MASTER_SITES= GNU/${PORTNAME}/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= GNU Flash movie player LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libltdl.so:devel/libltdl \ libcurl.so:ftp/curl \ libgif.so:graphics/giflib \ libspeex.so:audio/speex \ libnspr4.so:devel/nspr CONFLICTS= gnash-devel-[0-9]* -USES= cpe gmake jpeg libtool pkgconfig tar:bzip2 +USES= cpe gmake jpeg kde:4 libtool pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_GCC= any WANT_GSTREAMER= yes USE_GNOME= libxml2 USE_XORG= x11 xau xdmcp xext xi xinerama ice sm xv INSTALLS_ICONS= yes SYSCONFIGDIR= ${PREFIX}/etc CPE_VENDOR= gnu # jemalloc leads to infinite recursion on FreeBSD CONFIGURE_ARGS= --with-boost-incl="${LOCALBASE}/include" \ --with-boost-lib="${LOCALBASE}/lib" \ --disable-testsuite \ --with-plugins-install=prefix \ --sysconfdir="${SYSCONFIGDIR}" \ --disable-kparts3 \ --disable-jemalloc \ --disable-silent-rules GNASHVER= ${PORTVERSION} CONFIG_FILES= gnashpluginrc gnashrc WRKSRC= ${WRKDIR}/${PORTNAME}-${GNASHVER} PLIST_SUB+= GNASHVER="${GNASHVER}" USE_LDCONFIG= ${PREFIX}/lib/gnash OPTIONS_DEFINE= PLUGIN CYGNAL VAAPI DOCS OPTIONS_SINGLE= MEDIA GUI RENDERER OPTIONS_SINGLE_MEDIA= FFMPEG FFMPEG2 GSTREAMER OPTIONS_SINGLE_GUI= GTK2 KDE4 OPTIONS_SINGLE_RENDERER=AGG OPENGL CAIRO OPTIONS_DEFAULT=GTK2 PLUGIN AGG FFMPEG VAAPI NO_OPTIONS_SORT=yes OPTIONS_SUB= yes PLUGIN_DESC= browser plugin CYGNAL_DESC= Cygnal media server AGG_DESC= AGG renderer OPENGL_DESC= OpenGL renderer CAIRO_DESC= Cairo renderer (experimental) FFMPEG_DESC= ffmpeg0 media handler FFMPEG2_DESC= ffmpeg2 media handler (broken) GSTREAMER_DESC= GStreamer media handler VAAPI_DESC= VAAPI support (requires FFMPEG) CYGNAL_CONFIGURE_ENABLE= cygnal .include .if ${OSVERSION} > 1000000 BROKEN= unable to link in libboost_system .endif # Cygnal option processing .if ${PORT_OPTIONS:MCYGNAL} CONFIG_FILES+= cygnalrc .endif # NLS option processing (not sure if --disable-nls actually has any effect) .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif # # Plugin configuration # .if ${PORT_OPTIONS:MGTK2} && ${PORT_OPTIONS:MPLUGIN} USES+= webplugin:native WEBPLUGIN_NAME= gnash WEBPLUGIN_FILES= libgnashplugin.so WEBPLUGIN_DIR=${_WEBPLUGIN_LIBDIR:S,^${LOCALBASE}/,${PREFIX}/,}/${WEBPLUGIN_NAME} PLIST_SUB+= NPAPI="" CONFIGURE_ARGS+=--with-npapi-plugindir="${WEBPLUGIN_DIR}" BUILD_DEPENDS+= ${LOCALBASE}/bin/xulrunner:www/libxul RUN_DEPENDS+= ${LOCALBASE}/bin/xulrunner:www/libxul .else PLIST_SUB+= NPAPI="@comment " CONFIGURE_ARGS+= --disable-npapi .endif .if ${PORT_OPTIONS:MKDE4} && ${PORT_OPTIONS:MPLUGIN} -PLIST_SUB+= KPARTS4="${KDE4_PREFIX}" -CONFIGURE_ARGS+= --with-kde4_prefix=${KDE4_PREFIX} +PLIST_SUB+= KPARTS4="${KDE_PREFIX}" +CONFIGURE_ARGS+= --with-kde4_prefix=${KDE_PREFIX} .else PLIST_SUB+= KPARTS4="@comment " CONFIGURE_ARGS+= --disable-kparts4 .endif # # GUI options processing # GNASH_GUIS= .if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 atk gconf2 GNASH_GUIS+= gtk .endif .if ${PORT_OPTIONS:MKDE4} GNASH_GUIS+= kde4 USE_QT4= moc_build QT_NONSTANDARD= yes -USE_KDE4= kdelibs -CONFIGURE_ENV+= KDE4_CONFIG="${KDE4_PREFIX}/bin/kde4-config" +USE_KDE= kdelibs +CONFIGURE_ENV+= KDE4_CONFIG="${KDE_PREFIX}/bin/kde4-config" .endif .if ${GNASH_GUIS} == "" IGNORE= needs at least one GUI enabled. Please rerun 'make config' and enable GTK or KDE4 .endif CONFIGURE_ARGS+=--enable-gui=`${ECHO} ${GNASH_GUIS} | ${TR} ' ' ,` # # Renderer options processing # GNASH_RENDERERS= .if ${PORT_OPTIONS:MAGG} LIB_DEPENDS+= libagg.so:graphics/agg GNASH_RENDERERS+= agg .endif .if ${PORT_OPTIONS:MOPENGL} USE_GL= yes GNASH_RENDERERS+= ogl .if ${PORT_OPTIONS:MGTK2} LIB_DEPENDS+= libgdkglext-x11-1.0.so:x11-toolkits/gtkglext .endif .endif .if ${PORT_OPTIONS:MCAIRO} .if ${PORT_OPTIONS:MKDE4} IGNORE= doesn't support Cairo renderer with KDE4 gui. Please rerun 'make config' and select different renderer or disable KDE4 GUI .endif LIB_DEPENDS+= libcairo.so:graphics/cairo GNASH_RENDERERS+= cairo .endif .if ${GNASH_RENDERERS} == "" IGNORE= needs at least one renderer enabled. Please rerun 'make config' and enable AGG, OPENGL or CAIRO .endif CONFIGURE_ARGS+= --enable-renderer=`${ECHO} ${GNASH_RENDERERS} | ${TR} ' ' ,` # # Hardware acceleration options processing # .if ${PORT_OPTIONS:MVAAPI} .if empty(PORT_OPTIONS:MFFMPEG) && empty(PORT_OPTIONS:MFFMPEG2) IGNORE= VAAPI currently works only with FFMPEG. Please rerun 'make config' and enable FFMPEG .endif LIB_DEPENDS+= libva.so:multimedia/libva .else CONFIGURE_ARGS+= --enable-hwaccel=none # XVideo .endif # # Media handler options processing # .if ${PORT_OPTIONS:MFFMPEG2} && empty(PORT_OPTIONS:MFFMPEG) && empty(PORT_OPTIONS:MGSTREAMER) LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg CONFIGURE_ARGS+= --enable-media=ffmpeg \ --with-ffmpeg-incl=${LOCALBASE}/include/libavcodec \ --with-ffmpeg-lib=${LOCALBASE}/lib USE_SDL+= sdl MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg" .elif ${PORT_OPTIONS:MFFMPEG} && empty(PORT_OPTIONS:MFFMPEG2) && empty(PORT_OPTIONS:MGSTREAMER) EXTRA_PATCHES+= ${FILESDIR}/ffmpeg0.patch LIB_DEPENDS+= libavcodec0.so:multimedia/ffmpeg0 CONFIGURE_ARGS+= --enable-media=ffmpeg \ --with-ffmpeg-incl=${LOCALBASE}/include/ffmpeg0/libavcodec \ --with-ffmpeg-lib=${LOCALBASE}/lib/ffmpeg0 USE_SDL+= sdl MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/ffmpeg0" .elif ${PORT_OPTIONS:MGSTREAMER} && empty(PORT_OPTIONS:MFFMPEG) && empty(PORT_OPTIONS:MFFMPEG2) USE_GSTREAMER= yes CONFIGURE_ARGS+= --enable-media=gst USE_SDL+= sdl .else CONFIGURE_ARGS+= --enable-media=none IGNORE= can't be built with multiple media handlers enabled. Please rerun 'make config' and leave one or none of them (ffmpeg|gstreamer) .endif .include pre-everything:: .if ${PORT_OPTIONS:MOPENGL} @${ECHO_CMD} "OpenGL support is currently broken (Gnash hangs using 100% CPU). Use at your own risk" @sleep 3 .endif post-patch: ${REINPLACE_CMD} -e '/KDE4_APPSDATADIR=/ s|share/kde4|share|' \ -e 's|/usr/local|${LOCALBASE}|g; \ s|/lib64|/lib|g; \ s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/configure \ ${WRKSRC}/macros/libslist ${WRKSRC}/macros/incllist ${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|libdir)|exec_prefix)/libdata|' \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e '/^man1dir =/ s|=.*|= ${MAN1PREFIX}/man/man1|' \ ${WRKSRC}/doc/C/Makefile.in post-install: .for conf in ${CONFIG_FILES} ${MV} ${STAGEDIR}/${SYSCONFIGDIR}/${conf} ${STAGEDIR}${SYSCONFIGDIR}/${conf}.dist .endfor .if ${PORT_OPTIONS:MPLUGIN} .if ${PORT_OPTIONS:MGTK2} cd ${INSTALL_WRKSRC}/plugin && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-plugin .endif .if ${PORT_OPTIONS:MKDE4} cd ${INSTALL_WRKSRC}/plugin/klash4 && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-plugin .endif .endif .include Index: head/graphics/gwenview-kde4/Makefile =================================================================== --- head/graphics/gwenview-kde4/Makefile (revision 420773) +++ head/graphics/gwenview-kde4/Makefile (revision 420774) @@ -1,22 +1,22 @@ # $FreeBSD$ PORTNAME= gwenview PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Image viewer and browser for KDE 4 LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libpng.so:graphics/png -USE_KDE4= kactivities kdelibs baloo kfilemetadata \ +USES= cmake:outsource jpeg kde:4 pkgconfig tar:xz +USE_KDE= kactivities kdelibs baloo kfilemetadata \ libkdcraw libkipi libkonq automoc4 soprano -USES= cmake:outsource jpeg pkgconfig tar:xz USE_QT4= corelib gui opengl qmake_build moc_build uic_build rcc_build USE_LDCONFIG= yes .include Index: head/graphics/kamera-kde4/Makefile =================================================================== --- head/graphics/kamera-kde4/Makefile (revision 420773) +++ head/graphics/kamera-kde4/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kamera PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Digital camera manager for KDE 4 LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/graphics/kcolorchooser/Makefile =================================================================== --- head/graphics/kcolorchooser/Makefile (revision 420773) +++ head/graphics/kcolorchooser/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kcolorchooser PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 application to select colors from the screen or from a palette -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/graphics/kcoloredit/Makefile =================================================================== --- head/graphics/kcoloredit/Makefile (revision 420773) +++ head/graphics/kcoloredit/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= kcoloredit PORTVERSION= ${APP_VER}.${EXTRA_VER} PORTREVISION= 5 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/extragear DISTNAME= ${PORTNAME}-${APP_VER}-kde${EXTRA_VER} DIST_SUBDIR= KDE/extragear MAINTAINER= kde@FreeBSD.org COMMENT= Palette files editor for KDE -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USES= cmake gettext tar:bzip2 APP_VER= 2.0.0 EXTRA_VER= 4.4.0 .include Index: head/graphics/kdegraphics4/Makefile =================================================================== --- head/graphics/kdegraphics4/Makefile (revision 420773) +++ head/graphics/kdegraphics4/Makefile (revision 420774) @@ -1,64 +1,63 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdegraphics PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MAINTAINER= kde@FreeBSD.org COMMENT= Graphics utilities for KDE 4 (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= GPHOTO \ GWENVIEW \ KCOLORCHOOSER \ KGAMMA \ KOLOURPAINT \ KRULER \ KSNAPSHOT \ MOBIPOCKET \ SANE \ STRIGI \ SVG \ THUMBNAILER OPTIONS_DEFAULT= ${OPTIONS_DEFINE} GPHOTO_DESC= Digital camera manager -GPHOTO_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kio_kamera.so:graphics/kamera-kde4 +GPHOTO_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kio_kamera.so:graphics/kamera-kde4 GWENVIEW_DESC= Image viewer and browser -GWENVIEW_RUN_DEPENDS= ${KDE4_PREFIX}/bin/gwenview:graphics/gwenview-kde4 +GWENVIEW_RUN_DEPENDS= ${KDE_PREFIX}/bin/gwenview:graphics/gwenview-kde4 KCOLORCHOOSER_DESC= Utility for colors selection -KCOLORCHOOSER_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kcolorchooser:graphics/kcolorchooser +KCOLORCHOOSER_RUN_DEPENDS= ${KDE_PREFIX}/bin/kcolorchooser:graphics/kcolorchooser KGAMMA_DESC= Monitor calibration tool -KGAMMA_RUN_DEPENDS= ${KDE4_PREFIX}/bin/xf86gammacfg:x11/kgamma +KGAMMA_RUN_DEPENDS= ${KDE_PREFIX}/bin/xf86gammacfg:x11/kgamma KOLOURPAINT_DESC= Paint application -KOLOURPAINT_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kolourpaint:graphics/kolourpaint +KOLOURPAINT_RUN_DEPENDS= ${KDE_PREFIX}/bin/kolourpaint:graphics/kolourpaint KRULER_DESC= Screen ruler -KRULER_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kruler:deskutils/kruler +KRULER_RUN_DEPENDS= ${KDE_PREFIX}/bin/kruler:deskutils/kruler KSNAPSHOT_DESC= Screen capture program -KSNAPSHOT_RUN_DEPENDS= ${KDE4_PREFIX}/bin/ksnapshot:graphics/ksnapshot +KSNAPSHOT_RUN_DEPENDS= ${KDE_PREFIX}/bin/ksnapshot:graphics/ksnapshot MOBIPOCKET_DESC= Mobipocket plugins for Strigi indexing and thumbnailers -MOBIPOCKET_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/mobithumbnail.so:graphics/kdegraphics4-mobipocket \ +MOBIPOCKET_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/mobithumbnail.so:graphics/kdegraphics4-mobipocket \ SANE_DESC= Plugin for scanning on KDE -SANE_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/ksaneplugin.so:graphics/ksaneplugin +SANE_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/ksaneplugin.so:graphics/ksaneplugin STRIGI_DESC= Strigi analyzers for graphics file formats -STRIGI_RUN_DEPENDS= ${KDE4_PREFIX}/lib/strigi/strigiea_dvi.so:graphics/kdegraphics4-strigi-analyzer +STRIGI_RUN_DEPENDS= ${KDE_PREFIX}/lib/strigi/strigiea_dvi.so:graphics/kdegraphics4-strigi-analyzer SVG_DESC= SVG KPart -SVG_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/svgpart.so:graphics/kdegraphics4-svgpart +SVG_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/svgpart.so:graphics/kdegraphics4-svgpart THUMBNAILER_DESC= Thumbnail generator for graphics file formats -THUMBNAILER_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/gsthumbnail.so:graphics/kdegraphics4-thumbnailers +THUMBNAILER_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/gsthumbnail.so:graphics/kdegraphics4-thumbnailers .include Index: head/graphics/kdegraphics4-mobipocket/Makefile =================================================================== --- head/graphics/kdegraphics4-mobipocket/Makefile (revision 420773) +++ head/graphics/kdegraphics4-mobipocket/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kdegraphics-mobipocket PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Mobipocket plugins for Strigi indexing and thumbnails -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 strigi +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 strigi USE_QT4= corelib gui qmake_build moc_build uic_build rcc_build USE_LDCONFIG= yes .include Index: head/graphics/kdegraphics4-strigi-analyzer/Makefile =================================================================== --- head/graphics/kdegraphics4-strigi-analyzer/Makefile (revision 420773) +++ head/graphics/kdegraphics4-strigi-analyzer/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kdegraphics-strigi-analyzer PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Strigi analyzers for various graphics file formats LIB_DEPENDS= libtiff.so:graphics/tiff -USE_KDE4= kdelibs automoc4 strigi -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 strigi USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/graphics/kdegraphics4-svgpart/Makefile =================================================================== --- head/graphics/kdegraphics4-svgpart/Makefile (revision 420773) +++ head/graphics/kdegraphics4-svgpart/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= svgpart PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= kdegraphics- DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= SVG KPart -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/graphics/kdegraphics4-thumbnailers/Makefile =================================================================== --- head/graphics/kdegraphics4-thumbnailers/Makefile (revision 420773) +++ head/graphics/kdegraphics4-thumbnailers/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kdegraphics-thumbnailers PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Thumbnailers for various graphics file formats -USE_KDE4= kdelibs libkdcraw libkexiv2 automoc4 -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource kde:4 pkgconfig tar:xz +USE_KDE= kdelibs libkdcraw libkexiv2 automoc4 USE_QT4= gui qmake_build moc_build uic_build rcc_build .include Index: head/graphics/kiconedit/Makefile =================================================================== --- head/graphics/kiconedit/Makefile (revision 420773) +++ head/graphics/kiconedit/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= kiconedit PORTVERSION= ${EXTRA_VER} PORTREVISION= 5 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/extragear DIST_SUBDIR= KDE/extragear MAINTAINER= kde@FreeBSD.org COMMENT= KDE icon editor -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USES= cmake gettext tar:bzip2 EXTRA_VER= 4.4.0 post-patch: #Fix build with kdelibs>=4.5.0 ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \ ${WRKSRC}/doc-translations/hu_kiconedit/kiconedit/index.docbook .include Index: head/graphics/kipi-plugin-acquireimages/Makefile =================================================================== --- head/graphics/kipi-plugin-acquireimages/Makefile (revision 420773) +++ head/graphics/kipi-plugin-acquireimages/Makefile (revision 420774) @@ -1,14 +1,14 @@ # $FreeBSD$ PORTNAME= kipi-plugin-${KIPI_PLUGIN} PORTVERSION= ${DIGIKAM_VER} CATEGORIES= graphics kde MAINTAINER= kde@FreeBSD.org COMMENT= ${${KIPI_PLUGIN}_DESC} -USE_KDE4= libksane +USE_KDE= libksane KIPI_PLUGIN= acquireimages .include "${.CURDIR}/../digikam-kde4/Makefile.common" .include Index: head/graphics/kipi-plugin-calendar/Makefile =================================================================== --- head/graphics/kipi-plugin-calendar/Makefile (revision 420773) +++ head/graphics/kipi-plugin-calendar/Makefile (revision 420774) @@ -1,14 +1,14 @@ # $FreeBSD$ PORTNAME= kipi-plugin-${KIPI_PLUGIN} PORTVERSION= ${DIGIKAM_VER} CATEGORIES= graphics kde MAINTAINER= kde@FreeBSD.org COMMENT= ${${KIPI_PLUGIN}_DESC} -USE_KDE4= pimlibs +USE_KDE= pimlibs KIPI_PLUGIN= calendar .include "${.CURDIR}/../digikam-kde4/Makefile.common" .include Index: head/graphics/kolourpaint/Makefile =================================================================== --- head/graphics/kolourpaint/Makefile (revision 420773) +++ head/graphics/kolourpaint/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kolourpaint PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 paint program -USE_KDE4= kdelibs automoc4 qimageblitz -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 qimageblitz USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/graphics/kphotoalbum-kde4/Makefile =================================================================== --- head/graphics/kphotoalbum-kde4/Makefile (revision 420773) +++ head/graphics/kphotoalbum-kde4/Makefile (revision 420774) @@ -1,33 +1,34 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kphotoalbum PORTVERSION= 4.4 PORTREVISION= 8 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Image viewer and organizer for KDE LIB_DEPENDS= libexiv2.so:graphics/exiv2 -USES= cmake:outsource jpeg pkgconfig shebangfix tar:bzip2 SHEBANG_FILES= script/open-raw.pl script/kpa-backup.sh -USE_KDE4= kdelibs libkdcraw libkipi automoc4 + +USES= cmake:outsource jpeg kde:4 pkgconfig shebangfix tar:bzip2 +USE_KDE= kdelibs libkdcraw libkipi automoc4 USE_QT4= phonon sql \ qmake_build moc_build rcc_build uic_build OPTIONS_DEFINE= MARBLE NLS OPTIONS_DEFAULT= MARBLE OPTIONS_SUB= yes # NLS MARBLE_DESC= Geolocation support -MARBLE_USE= KDE4=marble +MARBLE_USE= KDE=marble MARBLE_CMAKE_OFF= -DWITH_Marble:BOOL=Off NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off .include Index: head/graphics/kpovmodeler/Makefile =================================================================== --- head/graphics/kpovmodeler/Makefile (revision 420773) +++ head/graphics/kpovmodeler/Makefile (revision 420774) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= kpovmodeler PORTVERSION= ${APP_VER}.${EXTRA_VER} PORTREVISION= 12 CATEGORIES= graphics kde MASTER_SITES= KDE/Attic/${EXTRA_VER}/src/extragear DISTNAME= ${PORTNAME}-${APP_VER}-kde${EXTRA_VER} DIST_SUBDIR= KDE/extragear MAINTAINER= kde@FreeBSD.org COMMENT= KDE editor/frontend for Povray RUN_DEPENDS= povray:graphics/povray-meta +USES= cmake gettext kde:4 tar:bzip2 USE_GL= glu -USE_KDE4= kdelibs automoc4 +USE_KDE= kdelibs automoc4 USE_QT4= corelib opengl qmake_build moc_build rcc_build uic_build -USES= cmake gettext tar:bzip2 APP_VER= 1.1.3 EXTRA_VER= 4.3.1 post-patch: #Fix build with kdelibs>=4.5.0 ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \ ${WRKSRC}/doc-translations/hu_kpovmodeler/kpovmodeler/index.docbook .include Index: head/graphics/kqtquickcharts/Makefile =================================================================== --- head/graphics/kqtquickcharts/Makefile (revision 420773) +++ head/graphics/kqtquickcharts/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kqtquickcharts PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= QtQuick plugin to render interactive charts -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/graphics/ksaneplugin/Makefile =================================================================== --- head/graphics/ksaneplugin/Makefile (revision 420773) +++ head/graphics/ksaneplugin/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= ksaneplugin PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 plugin for scanning through libksane -USE_KDE4= kdelibs libksane automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libksane automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/graphics/ksnapshot/Makefile =================================================================== --- head/graphics/ksnapshot/Makefile (revision 420773) +++ head/graphics/ksnapshot/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= ksnapshot PORTVERSION= ${KDE4_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 screen capture program -USE_KDE4= kdelibs libkipi automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkipi automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_XORG= x11 xext xfixes .include Index: head/graphics/libkdcraw-kde4/Makefile =================================================================== --- head/graphics/libkdcraw-kde4/Makefile (revision 420773) +++ head/graphics/libkdcraw-kde4/Makefile (revision 420774) @@ -1,31 +1,31 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= libkdcraw PORTVERSION= ${KDE4_VERSION} PORTREVISION= 4 CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= LibRaw interface for KDE LIB_DEPENDS= liblcms.so:graphics/lcms \ libxml2.so:textproc/libxml2 \ libraw.so:graphics/libraw CMAKE_ARGS+= -DWITH_OpenMP:BOOL=False \ -DENABLE_RAWSPEED=True -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource jpeg pkgconfig tar:xz +USES= cmake:outsource jpeg kde:4 pkgconfig tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ -e 's/${PORTNAME}.pc\([^.]\)/${PORTNAME}-kde4.pc\1/g' \ ${WRKSRC}/CMakeLists.txt .include Index: head/graphics/libkexiv2-kde4/Makefile =================================================================== --- head/graphics/libkexiv2-kde4/Makefile (revision 420773) +++ head/graphics/libkexiv2-kde4/Makefile (revision 420774) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= libkexiv2 PORTVERSION= ${KDE4_VERSION} PORTREVISION= 2 CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Exiv2 library interface for KDE LIB_DEPENDS= libexiv2.so:graphics/exiv2 -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= corelib gui xml \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ -e 's/${PORTNAME}.pc\([^.]\)/${PORTNAME}-kde4.pc\1/g' \ ${WRKSRC}/CMakeLists.txt .include Index: head/graphics/libkface/Makefile =================================================================== --- head/graphics/libkface/Makefile (revision 420773) +++ head/graphics/libkface/Makefile (revision 420774) @@ -1,22 +1,22 @@ # $FreeBSD$ PORTNAME= libkface PORTVERSION= ${KDE4_APPLICATIONS_VERSION} CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE4 library for face recognition LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LIB_DEPENDS= libopencv_legacy.so:graphics/opencv -USE_KDE4= kdelibs automoc4 marble -USES= cmake:outsource pathfix pkgconfig tar:xz +USES= cmake:outsource kde:4 pathfix pkgconfig tar:xz +USE_KDE= kdelibs automoc4 marble USE_LDCONFIG= yes USE_QT4= network phonon xml moc_build qmake_build rcc_build uic_build .include Index: head/graphics/libkipi-kde4/Makefile =================================================================== --- head/graphics/libkipi-kde4/Makefile (revision 420773) +++ head/graphics/libkipi-kde4/Makefile (revision 420774) @@ -1,27 +1,27 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= libkipi PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Image Plugin Interface -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= gui moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ -e 's/${PORTNAME}.pc\([^.]\)/${PORTNAME}-kde4.pc\1/g' \ ${WRKSRC}/CMakeLists.txt # remove BOM: ${REINPLACE_CMD} -e '1 s|^.*/|/|g' \ ${WRKSRC}/tests/kipitestmainwindow.cpp .include Index: head/graphics/libkipiplugins/Makefile =================================================================== --- head/graphics/libkipiplugins/Makefile (revision 420773) +++ head/graphics/libkipiplugins/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= libkipiplugins PORTVERSION= ${DIGIKAM_VER} CATEGORIES= graphics kde MAINTAINER= kde@FreeBSD.org COMMENT= ${${KIPI_PLUGIN}_DESC} KIPI_PLUGIN= libkipiplugins .include "${.CURDIR}/../digikam-kde4/Makefile.common" -USE_KDE4+= libkdcraw libkexiv2 libkipi +USE_KDE+= libkdcraw libkexiv2 libkipi USE_LDCONFIG= yes .include Index: head/graphics/libksane/Makefile =================================================================== --- head/graphics/libksane/Makefile (revision 420773) +++ head/graphics/libksane/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= libksane PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= SANE library interface for KDE LIB_DEPENDS= libsane.so:graphics/sane-backends -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ ${WRKSRC}/CMakeLists.txt .include Index: head/graphics/libkscreen/Makefile =================================================================== --- head/graphics/libkscreen/Makefile (revision 420773) +++ head/graphics/libkscreen/Makefile (revision 420774) @@ -1,30 +1,30 @@ # Created by: alonso@ # $FreeBSD$ PORTNAME= libkscreen PORTVERSION= 1.0.5 PORTREVISION= 2 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE screen management library LIB_DEPENDS= libqjson.so:devel/qjson \ libxcb.so:x11/libxcb \ libxcb-image.so:x11/xcb-util-image \ libxcb-render-util.so:x11/xcb-util-renderutil -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource kde:4 pkgconfig tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib dbus gui script \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes PLIST_SUB+= PORTVERSION="${PORTVERSION}" pre-configure: ${REINPLACE_CMD} -e 's,$${LIB_INSTALL_DIR}/pkgconfig,libdata/pkgconfig,' \ ${WRKSRC}/src/CMakeLists.txt .include Index: head/graphics/okular/Makefile =================================================================== --- head/graphics/okular/Makefile (revision 420773) +++ head/graphics/okular/Makefile (revision 420774) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= okular PORTVERSION= ${KDE4_VERSION} PORTREVISION= 4 CATEGORIES= graphics kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 universal document viewer LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre \ libkscreen.so:graphics/libkscreen \ libqca.so:devel/qca \ libtiff.so:graphics/tiff \ libpoppler-qt4.so:graphics/poppler-qt4 \ libspectre.so:print/libspectre \ libchm.so:misc/chmlib \ libfreetype.so:print/freetype2 \ libepub.so:textproc/ebook-tools \ libqmobipocket.so:graphics/kdegraphics4-mobipocket -USE_KDE4= kdelibs automoc4 qimageblitz kactivities \ +USES= cmake:outsource jpeg kde:4 pkgconfig tar:xz +USE_KDE= kdelibs automoc4 qimageblitz kactivities \ libkexiv2 USE_QT4= corelib declarative gui opengl xml \ qmake_build moc_build uic_build rcc_build -USES= cmake:outsource jpeg pkgconfig tar:xz USE_LDCONFIG= yes OPTIONS_DEFINE= DVI DVI_DESC= Device independent TeX files support (requires teTeX) DVI_USE= TEX=latex .include Index: head/graphics/showimage/Makefile =================================================================== --- head/graphics/showimage/Makefile (revision 420773) +++ head/graphics/showimage/Makefile (revision 420774) @@ -1,27 +1,27 @@ # Created by: Rusty Nejdl # $FreeBSD$ PORTNAME= showimage PORTVERSION= 1.8.2 CATEGORIES= graphics kde MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ DISTNAME= 143977-${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple KDE based image viewer LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake:outsource tar:bzip2 -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} # Rename binary to avoid conflict with graphics/sdl_image PLIST_FILES= bin/${PORTNAME}-kde4 \ share/applications/kde4/${PORTNAME}.desktop \ share/icons/hicolor/32x32/apps/${PORTNAME}.png .include Index: head/graphics/skanlite/Makefile =================================================================== --- head/graphics/skanlite/Makefile (revision 420773) +++ head/graphics/skanlite/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= skanlite PORTVERSION= 1.1 PORTREVISION= 3 CATEGORIES= graphics kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src DIST_SUBDIR= KDE/extragear MAINTAINER= kde@FreeBSD.org COMMENT= Simple image scanning application for KDE LIB_DEPENDS= libksane.so:graphics/libksane -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build -USES= cmake:outsource gettext tar:xz .include Index: head/irc/konversation-kde4/Makefile =================================================================== --- head/irc/konversation-kde4/Makefile (revision 420773) +++ head/irc/konversation-kde4/Makefile (revision 420774) @@ -1,22 +1,22 @@ # Created by: Kirill Ponomarew # $FreeBSD$ PORTNAME= konversation PORTVERSION= 1.5.1 PORTREVISION= 1 CATEGORIES= irc kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/src MAINTAINER= makc@FreeBSD.org COMMENT= User friendly IRC client for KDE LIB_DEPENDS= libqca.so:devel/qca -USES= cmake:outsource gettext shebangfix tar:xz -USE_KDE4= pimlibs automoc4 +USES= cmake:outsource gettext kde:4 shebangfix tar:xz +USE_KDE= pimlibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build SHEBANG_FILES= data/scripts/mail \ data/updaters/*.pl .include Index: head/irc/kvirc/Makefile =================================================================== --- head/irc/kvirc/Makefile (revision 420773) +++ head/irc/kvirc/Makefile (revision 420774) @@ -1,82 +1,82 @@ # Created by: Michael Ranner # $FreeBSD$ PORTNAME= kvirc PORTVERSION= 4.2.0 PORTREVISION= 4 CATEGORIES= irc kde MASTER_SITES= ftp://ftp.kvirc.de/pub/kvirc/%SUBDIR%/ \ http://kvirc.gmake.de/pub/kvirc/%SUBDIR%/ \ http://kvirc-ftp.visualscripts.com/%SUBDIR%/ \ ftp://dedimarbo.ath.cx/pub/kvirc/%SUBDIR%/ \ ftp://kvirc.eban-meban.com/%SUBDIR%/ \ http://kvirc.tradebit.com/%SUBDIR%/ \ http://kvirc.imsam.info/%SUBDIR%/ \ http://kvirc.bcoos.net/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTVERSION}/source MAINTAINER= makc@FreeBSD.org COMMENT?= IRC client for KDE 4 USE_OPENSSL= yes USE_PERL5= build USE_QT4= moc_build qmake_build rcc_build uic_build \ dbus gui network sql xml USES= cmake cpe gettext perl5 tar:bzip2 CMAKE_ARGS= -DWANT_ESD=no -DWANT_DOXYGEN=no \ -DMANDIR=${MANPREFIX} USE_LDCONFIG= yes OPTIONS_DEFINE= AUDIOFILE GSM PERL PYTHON DEBUG OPTIONS_SUB= yes AUDIOFILE_DESC= Support for various audio formats AUDIOFILE_LIB_DEPENDS= libaudiofile.so:audio/libaudiofile AUDIOFILE_CMAKE_OFF= -DWITHOUT_AUDIOFILE=yes GSM_DESC= u-law to gsm audio converter support GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CMAKE_OFF= -DWANT_GSM=no PERL_DESC= Perl scripting support PERL_USE= PERL5=run PERL_CMAKE_OFF= -DWANT_PERL=no PYTHON_DESC= Python scripting support PYTHON_USES= python PYTHON_CMAKE_OFF= -DWANT_PYTHON=no DEBUG_CMAKE_ON= -DWITH_DEBUG=yes -DVERBOSE=yes .if defined(PKGNAMESUFFIX) CONFLICTS_INSTALL= kvirc-4.* CMAKE_ARGS+= -DWITHOUT_KDE4=yes PLIST_SUB+= QT="" KDE="@comment " OPTIONS_DEFINE+= PHONON WEBKIT PHONON_DESC= Build with Phonon support PHONON_USE= QT4=phonon PHONON_CMAKE_OFF= -DWITHOUT_PHONON=yes WEBKIT_DESC= Build with QtWebkit support WEBKIT_USE= QT4=webkit WEBKIT_CMAKE_OFF= -DWITHOUT_QTWEBKIT=yes .else #defined(PKGNAMESUFFIX) CONFLICTS_INSTALL= kvirc-qt4-4.* -USES+= shared-mime-info -USE_KDE4= kdelibs automoc4 +USES+= kde:4 shared-mime-info +USE_KDE= kdelibs automoc4 PLIST_SUB+= QT="@comment " KDE="" .endif #defined(PKGNAMESUFFIX) PLIST_SUB+= VER="${PORTVERSION:R}" pre-fetch-PERL-on: @${ECHO_CMD} "=====================================================" @${ECHO_CMD} " Perl scripting requires perl with multiplicity" @${ECHO_CMD} " support (enabled in ports by default)." @${ECHO_CMD} "=====================================================" .include Index: head/japanese/kiten/Makefile =================================================================== --- head/japanese/kiten/Makefile (revision 420773) +++ head/japanese/kiten/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kiten PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= japanese kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Japanese reference/study tool for KDE 4 -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/lang/kturtle/Makefile =================================================================== --- head/lang/kturtle/Makefile (revision 420773) +++ head/lang/kturtle/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kturtle PORTVERSION= ${KDE4_VERSION} CATEGORIES= lang kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Educational programming environment for KDE 4 -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui xml moc_build qmake_build rcc_build uic_build .include Index: head/mail/kbiff/Makefile =================================================================== --- head/mail/kbiff/Makefile (revision 420773) +++ head/mail/kbiff/Makefile (revision 420774) @@ -1,21 +1,21 @@ # Created by: andreas # $FreeBSD$ PORTNAME= kbiff PORTVERSION= 4.0 PORTREVISION= 4 CATEGORIES= mail kde MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Mail notification utility for KDE with nice features LICENSE= GPLv2 -USE_KDE4= automoc4 kdelibs +USES= cmake gettext kde:4 perl5 tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= corelib dbus gui network svg xml \ qmake_build uic_build rcc_build USE_PERL5= build -USES= cmake gettext perl5 tar:bzip2 .include Index: head/mail/kshowmail/Makefile =================================================================== --- head/mail/kshowmail/Makefile (revision 420773) +++ head/mail/kshowmail/Makefile (revision 420774) @@ -1,21 +1,21 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kshowmail PORTVERSION= 4.1 PORTREVISION= 4 CATEGORIES= mail kde MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20for%20KDE4/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= POP3 mail checker for KDE LICENSE= GPLv2 -USE_KDE4= automoc4 kdelibs pimlibs +USES= cmake gettext kde:4 perl5 +USE_KDE= automoc4 kdelibs pimlibs USE_QT4= corelib dbus gui network svg xml \ qmake_build uic_build rcc_build USE_PERL5= build -USES= cmake gettext perl5 .include Index: head/math/abakus/Makefile =================================================================== --- head/math/abakus/Makefile (revision 420773) +++ head/math/abakus/Makefile (revision 420774) @@ -1,27 +1,27 @@ # Created by: Andy Fawcett # $FreeBSD$ PORTNAME= abakus PORTVERSION= 0.92 PORTREVISION= 3 CATEGORIES= math kde MASTER_SITES= http://purinchu.net/abakus/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple KDE Calculator LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex LIB_DEPENDS= libmpfr.so:math/mpfr -USE_KDE4= automoc4 kdelibs +USES= bison cmake kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build -USES= bison cmake tar:bzip2 CMAKE_ARGS= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" \ -DCMAKE_REQUIRED_FLAGS:STRING="${LDFLAGS}" \ -DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex LDFLAGS+= -L${LOCALBASE}/lib .include Index: head/math/analitza/Makefile =================================================================== --- head/math/analitza/Makefile (revision 420773) +++ head/math/analitza/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= analitza PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Library from KDE Education project -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui opengl svg xml \ moc_build qmake_build rcc_build uic_build USE_GL= glu USE_LDCONFIG= yes .include Index: head/math/cantor/Makefile =================================================================== --- head/math/cantor/Makefile (revision 420773) +++ head/math/cantor/Makefile (revision 420774) @@ -1,53 +1,53 @@ # $FreeBSD$ PORTNAME= cantor PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 frontend to mathematical software LIB_DEPENDS= libspectre.so:print/libspectre \ libqalculate.so:math/libqalculate \ libanalitza.so:math/analitza -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource pkgconfig python:2 tar:xz +USES= cmake:outsource kde:4 pkgconfig python:2 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib qtestlib_build xml xmlpatterns \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= LUAJIT MAXIMA OCTAVE R SAGE SCILAB OPTIONS_SUB= yes # R LUAJIT LUAJIT_DESC= Build LuaJIT backend and install LuaJIT LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_CMAKE_OFF= -DWITH_LuaJIT:BOOL=FALSE MAXIMA_DESC= Install Maxima MAXIMA_RUN_DEPENDS= maxima:math/maxima OCTAVE_DESC= Install Octave OCTAVE_RUN_DEPENDS= octave:math/octave R_DESC= Build R backend and install R R_BUILD_DEPENDS= R:math/R R_RUN_DEPENDS= R:math/R # Required to set CFLAGS for -lgfortran. R_USES= fortran R_CMAKE_OFF= -DWITH_R:BOOL=FALSE SAGE_DESC= Install Sage SAGE_RUN_DEPENDS= sage:math/sage SCILAB_DESC= Install Scilab SCILAB_RUN_DEPENDS= scilab:math/scilab post-patch: ${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \ ${WRKSRC}/cmake/FindR.cmake .include Index: head/math/kalgebra/Makefile =================================================================== --- head/math/kalgebra/Makefile (revision 420773) +++ head/math/kalgebra/Makefile (revision 420774) @@ -1,21 +1,22 @@ # $FreeBSD$ PORTNAME= kalgebra PORTVERSION= ${KDE4_VERSION} CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE graph calculator LIB_DEPENDS= libanalitza.so:math/analitza CMAKE_ARGS= -DBUILD_mobile:BOOL=FALSE + +USES= cmake:outsource kde:4 tar:xz USE_GL= glu -USE_KDE4= kdelibs libkdeedu automoc4 -USES= cmake:outsource tar:xz +USE_KDE= kdelibs libkdeedu automoc4 USE_QT4= corelib declarative gui opengl \ moc_build qmake_build rcc_build uic_build .include Index: head/math/kbruch/Makefile =================================================================== --- head/math/kbruch/Makefile (revision 420773) +++ head/math/kbruch/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kbruch PORTVERSION= ${KDE4_VERSION} CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 application to exercise fractions -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/math/kcalc/Makefile =================================================================== --- head/math/kcalc/Makefile (revision 420773) +++ head/math/kcalc/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kcalc PORTVERSION= ${KDE4_VERSION} CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Scientific calculator for KDE LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= xml qmake_build moc_build rcc_build uic_build .include Index: head/math/kig/Makefile =================================================================== --- head/math/kig/Makefile (revision 420773) +++ head/math/kig/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kig PORTVERSION= ${KDE4_VERSION} CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 interactive geometry application LIB_DEPENDS= libboost_python.so:devel/boost-python-libs -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource compiler:c++11-lib tar:xz +USES= cmake:outsource compiler:c++11-lib kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= gui xml moc_build qmake_build rcc_build uic_build .include Index: head/math/kmplot/Makefile =================================================================== --- head/math/kmplot/Makefile (revision 420773) +++ head/math/kmplot/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kmplot PORTVERSION= ${KDE4_VERSION} CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Mathematical function plotter for KDE 4 -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= xml moc_build qmake_build rcc_build uic_build .include Index: head/math/labplot/Makefile =================================================================== --- head/math/labplot/Makefile (revision 420773) +++ head/math/labplot/Makefile (revision 420774) @@ -1,34 +1,34 @@ # Created by: Kay Lehmann # $FreeBSD$ PORTNAME= labplot PORTVERSION= 2.0.1 PORTREVISION= 3 CATEGORIES= math kde MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}.0 MAINTAINER= ports@FreeBSD.org COMMENT= Data plotting and function analysis tool for KDE LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsl.so:math/gsl -USES= cmake shared-mime-info tar:bzip2 +USES= cmake kde:4 shared-mime-info tar:bzip2 USE_XORG= xft xpm USE_GCC= yes -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build post-patch: @${REINPLACE_CMD} -e \ 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|i->\(children\)|\1|' \ ${WRKSRC}/src/backend/core/AbstractAspect.h @${REINPLACE_CMD} -e \ 's|!isnan|!std::isnan|' \ ${WRKSRC}/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp .include Index: head/math/rkward-kde4/Makefile =================================================================== --- head/math/rkward-kde4/Makefile (revision 420773) +++ head/math/rkward-kde4/Makefile (revision 420774) @@ -1,84 +1,84 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= rkward PORTVERSION= 0.6.5 CATEGORIES= math MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src PKGNAMESUFFIX= -kde4 MAINTAINER= thierry@FreeBSD.org COMMENT= IDE/GUI for the R-project LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/bin/R:math/R LIB_DEPENDS= libsoprano.so:textproc/soprano RUN_DEPENDS= ${LOCALBASE}/bin/R:math/R \ - ${KDE4_PREFIX}/lib/kde4/katepart.so:editors/kate + ${KDE_PREFIX}/lib/kde4/katepart.so:editors/kate +USES= cmake gettext fortran kde:4 php:cli shared-mime-info USE_QT4= corelib dbus gui qmake_build moc_build network phonon rcc_build \ script svg uic_build webkit xml USE_XORG= x11 -USE_KDE4= automoc4 kdelibs -USES= cmake gettext fortran php:cli shared-mime-info +USE_KDE= automoc4 kdelibs INSTALLS_ICONS= yes CFLAGS+= -I${LOCALBASE}/include DOCSDIR= ${PREFIX}/share/doc/HTML/en/rkward OPTIONS_DEFINE= RECDEP DOCS NLS RECDEP_DESC= Recommended runtime dependencies OPTIONS_DEFAULT=RECDEP .include .if ${PORT_OPTIONS:MNLS} NLS= "" .else NLS= "@comment " .endif PLIST_SUB+= NLS=${NLS} .if ${PORT_OPTIONS:MRECDEP} LR_MOD_DIR= ${LOCALBASE}/lib/R/library RUN_DEPENDS+= ${LR_MOD_DIR}/R2HTML/INDEX:textproc/R-cran-R2HTML \ ${LR_MOD_DIR}/XML/INDEX:textproc/R-cran-XML \ ${LR_MOD_DIR}/gdata/INDEX:devel/R-cran-gdata \ ${LR_MOD_DIR}/mvtnorm/INDEX:math/R-cran-mvtnorm \ ${LR_MOD_DIR}/outliers/INDEX:math/R-cran-outliers \ ${LR_MOD_DIR}/tseries/INDEX:finance/R-cran-tseries \ ${LR_MOD_DIR}/car/INDEX:math/R-cran-car .endif pre-configure: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/rkward/rbackend/rkfrontendtransmitter.cpp .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(doc)|#ADD_SUBDIRECTORY(doc)|' \ ${WRKSRC}/CMakeLists.txt .else #Fix build with kdelibs>=4.5.0 ${REINPLACE_CMD} -e 's,V4.1-Based Variant V1.0,V4.2-Based Variant V1.1,g' \ ${WRKSRC}/doc/rkward/index.docbook .endif .if ! ${PORT_OPTIONS:MNLS} ${REINPLACE_CMD} -e 's|ADD_SUBDIRECTORY(po)|#ADD_SUBDIRECTORY(po)|' \ ${WRKSRC}/CMakeLists.txt .endif @(if [ ! -e ${LOCALBASE}/lib/R/lib/libR.so ] ; then \ ${ECHO_MSG} "==> ${PKGNAME} requires math/R to be built WITH_LIBR" ; \ exit 1; fi) post-install: ${RM} ${STAGEDIR}${PREFIX}/share/apps/katepart/syntax/r.xml # Conflicts with kate .if defined(MAINTAINER_MODE) regression-test: install @${ECHO_MSG} "To pass the tests, some CRAN packages like R2HTML" @${ECHO_MSG} "must be installed." (cd ${WRKSRC}/tests && KDE_LANG=en_US make plugintests) .endif .include Index: head/math/rocs/Makefile =================================================================== --- head/math/rocs/Makefile (revision 420773) +++ head/math/rocs/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= rocs PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= math kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Graph theory IDE LIB_DEPENDS= libboost_thread.so:devel/boost-libs -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource grantlee:4 tar:xz +USES= cmake:outsource grantlee:4 kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= gui qtestlib script scripttools webkit xml \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/misc/artikulate/Makefile =================================================================== --- head/misc/artikulate/Makefile (revision 420773) +++ head/misc/artikulate/Makefile (revision 420774) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= artikulate PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Pronunciation trainer for KDE LIB_DEPENDS= libQtGStreamer-1.0.so:multimedia/gstreamer1-qt4 \ libboost_thread.so:devel/boost-libs RUN_DEPENDS= ${LOCALBASE}/lib/kde4/imports/org/kde/charts/qmldir:graphics/kqtquickcharts IGNORE= not usable, links to both GStreamer 0.10.x and 1.x -USE_KDE4= automoc4 kdelibs libkdeedu runtime_run -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs libkdeedu runtime_run USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/misc/kde-thumbnailer-chm/Makefile =================================================================== --- head/misc/kde-thumbnailer-chm/Makefile (revision 420773) +++ head/misc/kde-thumbnailer-chm/Makefile (revision 420774) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= kde-thumbnailer-chm PORTVERSION= 0.2 PORTREVISION= 3 CATEGORIES= misc kde MASTER_SITES= http://kde-apps.org/CONTENT/content-files/ DISTNAME= 153410-${PORTNAME}-${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= KDE thumbnail generator for CHM files LIB_DEPENDS= libchm.so:misc/chmlib -USES= cmake -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= lib/kde4/chmthumbnail.so \ share/kde4/services/chmthumbnail.desktop .include Index: head/misc/kde-thumbnailer-epub/Makefile =================================================================== --- head/misc/kde-thumbnailer-epub/Makefile (revision 420773) +++ head/misc/kde-thumbnailer-epub/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= kde-thumbnailer-epub PORTVERSION= 1.0 CATEGORIES= misc kde MASTER_SITES= http://kde-apps.org/CONTENT/content-files/ DISTNAME= 151210-${PORTNAME}-${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= KDE thumbnail generator for ePub files -USES= cmake:outsource -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= lib/kde4/epubthumbnail.so \ share/kde4/services/epubthumbnail.desktop .include Index: head/misc/kde-thumbnailer-fb2/Makefile =================================================================== --- head/misc/kde-thumbnailer-fb2/Makefile (revision 420773) +++ head/misc/kde-thumbnailer-fb2/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= kde-thumbnailer-fb2 PORTVERSION= 0.2 CATEGORIES= misc kde MASTER_SITES= http://kde-apps.org/CONTENT/content-files/ DISTNAME= 160180-${PORTNAME}-${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= KDE thumbnail generator for fb2 files -USES= cmake:outsource -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= lib/kde4/fb2thumbnail.so \ share/kde4/services/fb2thumbnail.desktop .include Index: head/misc/kde4-l10n/Makefile =================================================================== --- head/misc/kde4-l10n/Makefile (revision 420773) +++ head/misc/kde4-l10n/Makefile (revision 420774) @@ -1,60 +1,59 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kde-l10n PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MAINTAINER= kde@FreeBSD.org COMMENT= Localized messages and documentation for KDE SC 4 -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport KDE4_LANG_ALL= ar bg bs ca ca@valencia cs da de el en_GB es et eu fa \ fi fr ga gl he hi hr hu ia id is it ja kk km ko lt lv mr nb \ nds nl nn pa pl pt pt_BR ro ru sk sl sr sv tr ug \ uk wa zh_CN zh_TW ar_PORT= arabic/kde4-l10n ca@valencia_PORT= misc/kde4-l10n-ca_valencia de_PORT= german/kde4-l10n fr_PORT= french/kde4-l10n he_PORT= hebrew/kde4-l10n hu_PORT= hungarian/kde4-l10n ja_PORT= japanese/kde4-l10n ko_PORT= korean/kde4-l10n pl_PORT= polish/kde4-l10n pt_BR_PORT= portuguese/kde4-l10n-pt_BR pt_PORT= portuguese/kde4-l10n ru_PORT= russian/kde4-l10n uk_PORT= ukrainian/kde4-l10n vi_PORT= vietnamese/kde4-l10n zh_CN_PORT= chinese/kde4-l10n-zh_CN zh_TW_PORT= chinese/kde4-l10n-zh_TW .include <${.CURDIR}/files/kde4-lang-names> # kde4-lang-names is encoded in UTF, override with plain ASCII: nb_NAME= Norwegian Bokmal OPTIONS_DEFINE= ALL ${LANG_OPT_ALL} OPTIONS_DEFAULT= ALL ALL_DESC= All localizations .for lang in ${KDE4_LANG_ALL} -${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/entry.desktop +${lang}_DETECT?= ${KDE_PREFIX}/share/locale/${lang}/entry.desktop ${lang}_PORT?= misc/kde4-l10n-${lang} ${lang}_NAME?= ${lang} ${lang}_OPT= ${lang:S/@/_/} LANG_OPT_ALL+= ${${lang}_OPT} ${${lang}_OPT}_DESC= ${${lang}_NAME} localization ${${lang}_OPT}_RUN_DEPENDS= ${${lang}_DETECT}:${${lang}_PORT} .endfor .for opt in ${LANG_OPT_ALL} ALL_RUN_DEPENDS+= ${${opt}_RUN_DEPENDS} .endfor .include Index: head/misc/kde4-l10n/files/bsd.l10n.mk =================================================================== --- head/misc/kde4-l10n/files/bsd.l10n.mk (revision 420773) +++ head/misc/kde4-l10n/files/bsd.l10n.mk (revision 420774) @@ -1,70 +1,70 @@ MASTER_SITES?= KDE/${KDE4_BRANCH}/${PORTVERSION}/src/kde-l10n/ PKGNAMEPREFIX= ${KDE4_L10N:S/@/_/}- DISTNAME= ${PORTNAME}-${KDE4_L10N}-${PORTVERSION} DIST_SUBDIR?= KDE/${PORTVERSION}/kde-l10n USE_QT4= uic_build moc_build qmake_build rcc_build xml -USE_KDE4= kdelibs automoc4 -USES= cmake gettext tar:xz +USE_KDE= kdelibs automoc4 +USES= cmake gettext kde:4 tar:xz # Support for spelling dictionaries ${KDE4_L10N}_CATEGORY?= textproc ar_CATEGORY= arabic de_CATEGORY= german fr_CATEGORY= french he_CATEGORY= hebrew hu_CATEGORY= hungarian ko_CATEGORY= korean pl_CATEGORY= polish pt_BR_CATEGORY= portuguese pt_CATEGORY= portuguese ru_CATEGORY= russian uk_CATEGORY= ukrainian vi_CATEGORY= vietnamese en_GB_aspell_PORT_PREFIX= en- en_GB_aspell_DETECT_PREFIX= en- en_GB_hunspell_PORT_PREFIX= en- en_GB_hunspell_DETECT_PREFIX= en- ca@valencia_aspell_PORT_PREFIX= ca- ca@valencia_aspell_DETECT_PREFIX= ca- he_aspell_DETECT_PREFIX= iw- he_hunspell_DETECT_PREFIX= iw- pt_BR_aspell_PORT_SUFFIX= -pt_BR pt_BR_hunspell_DETECT_PREFIX= pt- pt_aspell_PORT_SUFFIX= -pt_PT pt_aspell_DETECT_PREFIX= pt_PT- .for i in ar de fr he hu ko pl pt_BR pt ru uk vi ${i}_aspell_PORT_PREFIX= # ${i}_hunspell_PORT_PREFIX= # .endfor .for i in aspell hunspell ${KDE4_L10N}_${i}_DETECT_PREFIX?= ${KDE4_L10N}- ${KDE4_L10N}_${i}_DETECT_SUFFIX?= # ${KDE4_L10N}_${i}_DETECT?= ${${KDE4_L10N}_${i}_DETECT_PREFIX}${i}${${KDE4_L10N}_${i}_DETECT_SUFFIX}>=0 ${KDE4_L10N}_${i}_PORT_PREFIX?= ${KDE4_L10N}- ${KDE4_L10N}_${i}_PORT_SUFFIX?= # ${KDE4_L10N}_${i}_PORT?= ${${KDE4_L10N}_CATEGORY}/${${KDE4_L10N}_${i}_PORT_PREFIX}${i}${${KDE4_L10N}_${i}_PORT_SUFFIX} .endfor .if exists(${.CURDIR}/../../${${KDE4_L10N}_aspell_PORT}/Makefile) OPTIONS_DEFINE+= ASPELL ASPELL_DESC= Install aspell dictionary .endif .if exists(${.CURDIR}/../../${${KDE4_L10N}_hunspell_PORT}/Makefile) OPTIONS_DEFINE+= HUNSPELL HUNSPELL_DESC= Install hunspell dictionary .endif ASPELL_RUN_DEPENDS+= ${${KDE4_L10N}_aspell_DETECT}:${${KDE4_L10N}_aspell_PORT} HUNSPELL_RUN_DEPENDS+= ${${KDE4_L10N}_hunspell_DETECT}:${${KDE4_L10N}_hunspell_PORT} Index: head/misc/kdeedu4/Makefile =================================================================== --- head/misc/kdeedu4/Makefile (revision 420773) +++ head/misc/kdeedu4/Makefile (revision 420774) @@ -1,85 +1,84 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdeedu PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MAINTAINER= kde@FreeBSD.org COMMENT= Entertaining and educational programs for KDE 4 (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= ARTIKULATE BLINKEN CANTOR KALGEBRA KALZIUM KANAGRAM KBRUCH KGEOGRAPHY \ KHANGMAN KIG KITEN KLETTRES KMPLOT KSTARS KTOUCH KTURTLE \ KWORDQUIZ MARBLE PAIRS PARLEY ROCS STEP OPTIONS_DEFAULT= ${OPTIONS_DEFINE:NARTIKULATE} ARTIKULATE_DESC= Pronunciation trainer -ARTIKULATE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/artikulate:misc/artikulate +ARTIKULATE_RUN_DEPENDS= ${KDE_PREFIX}/bin/artikulate:misc/artikulate BLINKEN_DESC= Memory enhancement game -BLINKEN_RUN_DEPENDS= ${KDE4_PREFIX}/bin/blinken:games/blinken +BLINKEN_RUN_DEPENDS= ${KDE_PREFIX}/bin/blinken:games/blinken CANTOR_DESC= Frontend to mathematical software -CANTOR_RUN_DEPENDS= ${KDE4_PREFIX}/bin/cantor:math/cantor +CANTOR_RUN_DEPENDS= ${KDE_PREFIX}/bin/cantor:math/cantor KALGEBRA_DESC= Graph calculator -KALGEBRA_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kalgebra:math/kalgebra +KALGEBRA_RUN_DEPENDS= ${KDE_PREFIX}/bin/kalgebra:math/kalgebra KALZIUM_DESC= Periodic table of elements -KALZIUM_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kalzium:science/kalzium +KALZIUM_RUN_DEPENDS= ${KDE_PREFIX}/bin/kalzium:science/kalzium KANAGRAM_DESC= Letter order game -KANAGRAM_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kanagram:games/kanagram +KANAGRAM_RUN_DEPENDS= ${KDE_PREFIX}/bin/kanagram:games/kanagram KBRUCH_DESC= Application to exercise fractions -KBRUCH_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kbruch:math/kbruch +KBRUCH_RUN_DEPENDS= ${KDE_PREFIX}/bin/kbruch:math/kbruch KGEOGRAPHY_DESC= Geography trainer -KGEOGRAPHY_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kgeography:misc/kgeography +KGEOGRAPHY_RUN_DEPENDS= ${KDE_PREFIX}/bin/kgeography:misc/kgeography KHANGMAN_DESC= Hangman game -KHANGMAN_RUN_DEPENDS= ${KDE4_PREFIX}/bin/khangman:games/khangman +KHANGMAN_RUN_DEPENDS= ${KDE_PREFIX}/bin/khangman:games/khangman KIG_DESC= Interactive geometry application -KIG_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kig:math/kig +KIG_RUN_DEPENDS= ${KDE_PREFIX}/bin/kig:math/kig KITEN_DESC= Japanese reference/study tool -KITEN_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kiten:japanese/kiten +KITEN_RUN_DEPENDS= ${KDE_PREFIX}/bin/kiten:japanese/kiten KLETTRES_DESC= Alphabet learning tool -KLETTRES_RUN_DEPENDS= ${KDE4_PREFIX}/bin/klettres:misc/klettres +KLETTRES_RUN_DEPENDS= ${KDE_PREFIX}/bin/klettres:misc/klettres KMPLOT_DESC= Mathematical function plotter -KMPLOT_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kmplot:math/kmplot +KMPLOT_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmplot:math/kmplot KSTARS_DESC= Desktop planetarium -KSTARS_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kstars:astro/kstars +KSTARS_RUN_DEPENDS= ${KDE_PREFIX}/bin/kstars:astro/kstars KTOUCH_DESC= Touch typing tutor -KTOUCH_RUN_DEPENDS= ${KDE4_PREFIX}/bin/ktouch:misc/ktouch +KTOUCH_RUN_DEPENDS= ${KDE_PREFIX}/bin/ktouch:misc/ktouch KTURTLE_DESC= Educational programming environment -KTURTLE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kturtle:lang/kturtle +KTURTLE_RUN_DEPENDS= ${KDE_PREFIX}/bin/kturtle:lang/kturtle KWORDQUIZ_DESC= Flash card trainer -KWORDQUIZ_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kwordquiz:misc/kwordquiz +KWORDQUIZ_RUN_DEPENDS= ${KDE_PREFIX}/bin/kwordquiz:misc/kwordquiz MARBLE_DESC= Virtual globe and world atlas -MARBLE_USE= KDE4=marble_run +MARBLE_USE= KDE=marble_run PAIRS_DESC= Memory and pairs game -PAIRS_RUN_DEPENDS= ${KDE4_PREFIX}/bin/pairs:games/pairs +PAIRS_RUN_DEPENDS= ${KDE_PREFIX}/bin/pairs:games/pairs PARLEY_DESC= Vocabulary trainer -PARLEY_RUN_DEPENDS= ${KDE4_PREFIX}/bin/parley:misc/parley +PARLEY_RUN_DEPENDS= ${KDE_PREFIX}/bin/parley:misc/parley ROCS_DESC= Graph teory IDE -ROCS_RUN_DEPENDS= ${KDE4_PREFIX}/bin/rocs:math/rocs +ROCS_RUN_DEPENDS= ${KDE_PREFIX}/bin/rocs:math/rocs STEP_DESC= Interactive physics simulator -STEP_RUN_DEPENDS= ${KDE4_PREFIX}/bin/step:science/step +STEP_RUN_DEPENDS= ${KDE_PREFIX}/bin/step:science/step .include Index: head/misc/kdeutils4/Makefile =================================================================== --- head/misc/kdeutils4/Makefile (revision 420773) +++ head/misc/kdeutils4/Makefile (revision 420774) @@ -1,58 +1,57 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdeutils PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MAINTAINER= kde@FreeBSD.org COMMENT= Collection of utilities for KDE 4 -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= ARK FILELIGHT KCALC KCHARSELECT KDF KFLOPPY KGPG \ KREMOTECONTROL KTIMER KWALLET PRINTMANAGER \ SUPERKARAMBA SWEEPER OPTIONS_DEFAULT= ${OPTIONS_DEFINE} ARK_DESC= Archiving tool Ark -ARK_RUN_DEPENDS= ${KDE4_PREFIX}/bin/ark:archivers/ark +ARK_RUN_DEPENDS= ${KDE_PREFIX}/bin/ark:archivers/ark FILELIGHT_DESC= File system viewer Filelight -FILELIGHT_RUN_DEPENDS= ${KDE4_PREFIX}/bin/filelight:sysutils/filelight-kde4 +FILELIGHT_RUN_DEPENDS= ${KDE_PREFIX}/bin/filelight:sysutils/filelight-kde4 KCALC_DESC= Scientific calculator KCalc -KCALC_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kcalc:math/kcalc +KCALC_RUN_DEPENDS= ${KDE_PREFIX}/bin/kcalc:math/kcalc KCHARSELECT_DESC= Character selector KCharSelect -KCHARSELECT_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kcharselect:deskutils/kcharselect +KCHARSELECT_RUN_DEPENDS= ${KDE_PREFIX}/bin/kcharselect:deskutils/kcharselect KDF_DESC= Disk usage tool KDiskFree -KDF_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kdf:sysutils/kdf +KDF_RUN_DEPENDS= ${KDE_PREFIX}/bin/kdf:sysutils/kdf KFLOPPY_DESC= Floppy formatter KFloppy -KFLOPPY_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kfloppy:sysutils/kfloppy +KFLOPPY_RUN_DEPENDS= ${KDE_PREFIX}/bin/kfloppy:sysutils/kfloppy KGPG_DESC= Encryption tool KGpg -KGPG_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kgpg:security/kgpg-kde4 +KGPG_RUN_DEPENDS= ${KDE_PREFIX}/bin/kgpg:security/kgpg-kde4 KREMOTECONTROL_DESC= KRemoteControl -KREMOTECONTROL_RUN_DEPENDS= ${KDE4_PREFIX}/bin/krcdnotifieritem:comms/kremotecontrol +KREMOTECONTROL_RUN_DEPENDS= ${KDE_PREFIX}/bin/krcdnotifieritem:comms/kremotecontrol KTIMER_DESC= Countdown launcher KTimer -KTIMER_RUN_DEPENDS= ${KDE4_PREFIX}/bin/ktimer:x11-clocks/ktimer +KTIMER_RUN_DEPENDS= ${KDE_PREFIX}/bin/ktimer:x11-clocks/ktimer KWALLET_DESC= Password manager KWallet -KWALLET_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kwalletmanager:security/kwalletmanager +KWALLET_RUN_DEPENDS= ${KDE_PREFIX}/bin/kwalletmanager:security/kwalletmanager PRINTMANAGER_DESC= Print manager -PRINTMANAGER_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kcm_printer_manager.so:print/kde4-print-manager +PRINTMANAGER_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kcm_printer_manager.so:print/kde4-print-manager SUPERKARAMBA_DESC= Widget framework SuperKaramba -SUPERKARAMBA_RUN_DEPENDS= ${KDE4_PREFIX}/bin/superkaramba:deskutils/superkaramba +SUPERKARAMBA_RUN_DEPENDS= ${KDE_PREFIX}/bin/superkaramba:deskutils/superkaramba SWEEPER_DESC= System cleaner Sweeper -SWEEPER_RUN_DEPENDS= ${KDE4_PREFIX}/bin/sweeper:sysutils/sweeper +SWEEPER_RUN_DEPENDS= ${KDE_PREFIX}/bin/sweeper:sysutils/sweeper .include Index: head/misc/kgeography/Makefile =================================================================== --- head/misc/kgeography/Makefile (revision 420773) +++ head/misc/kgeography/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kgeography PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 geography trainer -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= xml moc_build qmake_build rcc_build uic_build .include Index: head/misc/klettres/Makefile =================================================================== --- head/misc/klettres/Makefile (revision 420773) +++ head/misc/klettres/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= klettres PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Alphabet learning tool for KDE 4 -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= xml moc_build qmake_build rcc_build uic_build .include Index: head/misc/krecipes-kde4/Makefile =================================================================== --- head/misc/krecipes-kde4/Makefile (revision 420773) +++ head/misc/krecipes-kde4/Makefile (revision 420774) @@ -1,32 +1,32 @@ # $FreeBSD$ PORTNAME= krecipes DISTVERSION= 2.0-beta2 PORTREVISION= 6 CATEGORIES= misc kde MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 recipe database LICENSE= GPLv2 -USES= cmake gettext shared-mime-info +USES= cmake gettext kde:4 shared-mime-info USE_QT4= moc_build qmake_build rcc_build uic_build -USE_KDE4= automoc4 kdelibs qimageblitz +USE_KDE= automoc4 kdelibs qimageblitz OPTIONS_MULTI= DB OPTIONS_MULTI_DB= SQLITE MYSQL PGSQL OPTIONS_DEFAULT= SQLITE SQLITE_USES= sqlite SQLITE_USE= QT4=sql-sqlite3_run SQLITE_CMAKE_OFF= -DWITH_Sqlite:BOOL=OFF MYSQL_USE= MYSQL=yes \ QT4=sql-mysql_run PGSQL_USES= pgsql PGSQL_USE= QT4=sql-pgsql_run .include Index: head/misc/ktouch/Makefile =================================================================== --- head/misc/ktouch/Makefile (revision 420773) +++ head/misc/ktouch/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= ktouch PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Touch typing tutor for KDE 4 RUN_DEPENDS= ${LOCALBASE}/lib/kde4/imports/org/kde/charts/qmldir:graphics/kqtquickcharts -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib declarative opengl phonon script sql xmlpatterns \ moc_build qmake_build rcc_build uic_build USE_XORG= xkbfile .include Index: head/misc/kwordquiz/Makefile =================================================================== --- head/misc/kwordquiz/Makefile (revision 420773) +++ head/misc/kwordquiz/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kwordquiz PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Flash card trainer for KDE 4 -USE_KDE4= kdelibs libkdeedu automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkdeedu automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/misc/libkdeedu/Makefile =================================================================== --- head/misc/libkdeedu/Makefile (revision 420773) +++ head/misc/libkdeedu/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= libkdeedu PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Libraries used by KDE educational applications -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui xml moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/misc/parley/Makefile =================================================================== --- head/misc/parley/Makefile (revision 420773) +++ head/misc/parley/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= parley PORTVERSION= ${KDE4_VERSION} CATEGORIES= misc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Vocabulary trainer for KDE 4 +USES= cmake:outsource kde:4 tar:xz USE_GNOME= libxml2 libxslt -USE_KDE4= kdelibs libkdeedu attica automoc4 -USES= cmake:outsource tar:xz +USE_KDE= kdelibs libkdeedu attica automoc4 USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build USE_XORG= x11 xrender .include Index: head/misc/tellico-kde4/Makefile =================================================================== --- head/misc/tellico-kde4/Makefile (revision 420773) +++ head/misc/tellico-kde4/Makefile (revision 420774) @@ -1,26 +1,26 @@ # Created by: Kirill Ponomarew # $FreeBSD$ PORTNAME= tellico PORTVERSION= 2.3.11 PORTREVISION= 1 CATEGORIES= misc kde MASTER_SITES= http://tellico-project.org/files/ MAINTAINER= kde@FreeBSD.org COMMENT= Collection manager for KDE LICENSE= GPLv2 LIB_DEPENDS= libtag.so:audio/taglib \ libpoppler-qt4.so:graphics/poppler-qt4 \ libyaz.so:net/yaz \ libexempi.so:textproc/exempi \ libqjson.so:devel/qjson -USE_KDE4= kdelibs libksane pimlibs \ +USES= cmake gettext kde:4 pkgconfig shared-mime-info tar:bzip2 +USE_KDE= kdelibs libksane pimlibs \ automoc4 qimageblitz libkcddb libkcompactdisc USE_QT4= qmake_build moc_build uic_build rcc_build -USES= cmake gettext pkgconfig shared-mime-info tar:bzip2 .include Index: head/multimedia/bangarang/Makefile =================================================================== --- head/multimedia/bangarang/Makefile (revision 420773) +++ head/multimedia/bangarang/Makefile (revision 420774) @@ -1,25 +1,25 @@ # Created by: Daniel Nebdal # $FreeBSD$ PORTNAME= bangarang PORTVERSION= 2.1 PORTREVISION= 5 CATEGORIES= multimedia kde MASTER_SITES= GOOGLE_CODE MAINTAINER= dnebdal@gmail.com COMMENT= Media player for KDE 4 LICENSE= GPLv3 LIB_DEPENDS= libtag.so:audio/taglib PROJECTHOST= bangarangissuetracking -USES= cmake:outsource gettext +USES= cmake:outsource gettext kde:4 USE_QT4= qmake_build moc_build rcc_build uic_build \ corelib gui phonon -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME} .include Index: head/multimedia/dragon/Makefile =================================================================== --- head/multimedia/dragon/Makefile (revision 420773) +++ head/multimedia/dragon/Makefile (revision 420774) @@ -1,21 +1,21 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= dragon PORTVERSION= ${KDE4_VERSION} CATEGORIES= multimedia kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src # Avoid clash with devel/dragon PKGNAMESUFFIX= -player DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE multimedia player with a focus on simplicity LICENSE= GPLv2 -USES= cmake:outsource tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= phonon moc_build qmake_build rcc_build uic_build .include Index: head/multimedia/gstreamer-qt4/Makefile =================================================================== --- head/multimedia/gstreamer-qt4/Makefile (revision 420773) +++ head/multimedia/gstreamer-qt4/Makefile (revision 420774) @@ -1,39 +1,39 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= gstreamer PORTVERSION= 0.10.3 PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/ PKGNAMESUFFIX= -qt4 DISTNAME= qt-${PORTNAME}-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Qt4 bindings for GStreamer multimedia library LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_thread.so:devel/boost-libs -USES= bison cmake gmake pkgconfig tar:bzip2 +USES= bison cmake gmake kde:4 pkgconfig tar:bzip2 USE_LDCONFIG= yes USE_GSTREAMER= yes USE_GNOME= glib20 -USE_KDE4= automoc4 +USE_KDE= automoc4 USE_QT4= corelib gui opengl declarative \ qmake_build moc_build rcc_build uic_build qtestlib_build PLIST_SUB= VERSION="${PORTVERSION}" GST_VERSION="${GST_VERSION}" GST_VERSION= ${PORTVERSION:C/..$//} CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include" LDFLAGS+= -L${LOCALBASE}/lib post-extract: @${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt .include Index: head/multimedia/k9copy-kde4/Makefile =================================================================== --- head/multimedia/k9copy-kde4/Makefile (revision 420773) +++ head/multimedia/k9copy-kde4/Makefile (revision 420774) @@ -1,41 +1,41 @@ # Created by: Alexander V. Ribchansky # $FreeBSD$ PORTNAME= k9copy PORTVERSION= 2.3.4 PORTREVISION= 14 CATEGORIES= multimedia kde MASTER_SITES= LOCAL/rakuco DISTNAME= ${PORTNAME}-${PORTVERSION}-Source MAINTAINER= egoliveira@gmail.com COMMENT= DVD-9 to DVD-5 shrinking application for KDE LICENSE= GPLv2 LIB_DEPENDS= libxine.so:multimedia/libxine \ libmpeg2.so:multimedia/libmpeg2 \ libavcodec0.so:multimedia/ffmpeg0 -USES= cmake gettext -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build OPTIONS_DEFINE= MENCODER MPLAYER DVDAUTHOR MENCODER_DESC= MEncoder support MPLAYER_DESC= MPlayer support DVDAUTHOR_DESC= DVD Author support MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer DVDAUTHOR_RUN_DEPENDS= dvdauthor:multimedia/dvdauthor post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/cmake/*.cmake @${REINPLACE_CMD} \ -e 's,swscale,swscale0,' \ -e 's,avcodec,avcodec0,' \ -e 's,avformat,avformat0,' \ ${WRKSRC}/CMakeLists.txt .include Index: head/multimedia/kaffeine/Makefile =================================================================== --- head/multimedia/kaffeine/Makefile (revision 420773) +++ head/multimedia/kaffeine/Makefile (revision 420774) @@ -1,28 +1,28 @@ # Created by: arved # $FreeBSD$ PORTNAME= kaffeine PORTVERSION= 1.3.1 PORTREVISION= 2 CATEGORIES= multimedia kde MASTER_SITES= SF/kaffeine/current MAINTAINER= arved@FreeBSD.org COMMENT= Multimedia player based on KDE and VLC LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat LIB_DEPENDS= libvlc.so:multimedia/vlc-qt4 -USES= cmake cpe gettext pkgconfig -USE_KDE4= automoc4 kdelibs +USES= cmake kde:4 cpe gettext pkgconfig +USE_KDE= automoc4 kdelibs USE_QT4= corelib dbus gui network phonon sql svg xml \ moc_build qmake_build rcc_build uic_build USE_XORG= xscrnsaver CPE_VENDOR= kaffeine CPE_PRODUCT= kaffeine_player .include Index: head/multimedia/kdemultimedia4/Makefile =================================================================== --- head/multimedia/kdemultimedia4/Makefile (revision 420773) +++ head/multimedia/kdemultimedia4/Makefile (revision 420774) @@ -1,38 +1,37 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdemultimedia PORTVERSION= ${KDE4_VERSION} CATEGORIES= multimedia kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE Multimedia applications (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= DRAGON FFMPEG JUK KIO_AUDIOCD KMIX KSCD MPLAYER OPTIONS_DEFAULT= DRAGON FFMPEG JUK KIO_AUDIOCD KMIX KSCD DRAGON_DESC= Simple video player -DRAGON_RUN_DEPENDS= ${KDE4_PREFIX}/bin/dragon:multimedia/dragon +DRAGON_RUN_DEPENDS= ${KDE_PREFIX}/bin/dragon:multimedia/dragon FFMPEG_DESC= FFMPEG-based video thumbnailer -FFMPEG_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/ffmpegthumbs.so:multimedia/kdemultimedia4-ffmpegthumbs +FFMPEG_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/ffmpegthumbs.so:multimedia/kdemultimedia4-ffmpegthumbs JUK_DESC= Audio player -JUK_RUN_DEPENDS= ${KDE4_PREFIX}/bin/juk:audio/juk +JUK_RUN_DEPENDS= ${KDE_PREFIX}/bin/juk:audio/juk KIO_AUDIOCD_DESC= Audio CD IOSlave -KIO_AUDIOCD_RUN_DEPENDS= ${KDE4_PREFIX}/lib/libaudiocdplugins.so:audio/kio-audiocd +KIO_AUDIOCD_RUN_DEPENDS= ${KDE_PREFIX}/lib/libaudiocdplugins.so:audio/kio-audiocd KMIX_DESC= Audio mixer -KMIX_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kmix:audio/kmix +KMIX_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmix:audio/kmix KSCD_DESC= CD Player -KSCD_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kscd:audio/kscd +KSCD_RUN_DEPENDS= ${KDE_PREFIX}/bin/kscd:audio/kscd MPLAYER_DESC= MPlayer-based video thumbnailer -MPLAYER_RUN_DEPENDS= ${KDE4_PREFIX}/bin/mplayerthumbsconfig:multimedia/kdemultimedia4-mplayerthumbs +MPLAYER_RUN_DEPENDS= ${KDE_PREFIX}/bin/mplayerthumbsconfig:multimedia/kdemultimedia4-mplayerthumbs .include Index: head/multimedia/kdemultimedia4-ffmpegthumbs/Makefile =================================================================== --- head/multimedia/kdemultimedia4-ffmpegthumbs/Makefile (revision 420773) +++ head/multimedia/kdemultimedia4-ffmpegthumbs/Makefile (revision 420774) @@ -1,22 +1,22 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= ffmpegthumbs PORTVERSION= ${KDE4_VERSION} CATEGORIES= multimedia kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= kdemultimedia- DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= FFmpeg-based thumbnail generator for video files LICENSE= GPLv2 LIB_DEPENDS= libswscale.so:multimedia/ffmpeg -USES= cmake:outsource pkgconfig tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 pkgconfig tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/multimedia/kdemultimedia4-mplayerthumbs/Makefile =================================================================== --- head/multimedia/kdemultimedia4-mplayerthumbs/Makefile (revision 420773) +++ head/multimedia/kdemultimedia4-mplayerthumbs/Makefile (revision 420774) @@ -1,22 +1,22 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= mplayerthumbs PORTVERSION= ${KDE4_VERSION} CATEGORIES= multimedia kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= kdemultimedia- DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= MPlayer-based thumbnail generator for video files LICENSE= LGPL21 RUN_DEPENDS= mplayer:multimedia/mplayer -USES= cmake:outsource tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= phonon moc_build qmake_build rcc_build uic_build .include Index: head/multimedia/kdenlive/Makefile =================================================================== --- head/multimedia/kdenlive/Makefile (revision 420773) +++ head/multimedia/kdenlive/Makefile (revision 420774) @@ -1,61 +1,61 @@ # $FreeBSD$ PORTNAME= kdenlive PORTVERSION= 0.9.10 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src/ MAINTAINER= avilla@FreeBSD.org COMMENT= KDE professional quality non-linear video editing suite LICENSE= GPLv2 LIB_DEPENDS= libmlt.so:multimedia/mlt \ libqjson.so:devel/qjson RUN_DEPENDS= ffmpeg${FFMPEG_SUFX}:multimedia/ffmpeg${FFMPEG_SUFX} -USE_KDE4= automoc4 kdelibs nepomuk-core +USES= cmake kde:4 pkgconfig shared-mime-info tar:bzip2 +USE_KDE= automoc4 kdelibs nepomuk-core USE_QT4= corelib dbus gui opengl script svg xml \ moc_build qmake_build rcc_build uic_build USE_XORG= x11 -USES= cmake pkgconfig shared-mime-info tar:bzip2 CMAKE_ARGS= -DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFX}" # Keep in sync with multimedia/mlt, possibly. FFMPEG_SUFX= # Currently empty. OPTIONS_DEFINE= DOCS DVDWIZARD FREI0R LADSPA NLS SCREENCAST V4L XINE OPTIONS_DEFAULT=DVDWIZARD FREI0R LADSPA SCREENCAST V4L XINE OPTIONS_SUB= yes DVDWIZARD_DESC= DVD authoring via DVDAuthor and cdrtools SCREENCAST_DESC=Screen capture support via recordMyDesktop V4L_DESC= Webcam support via Video4Linux XINE_DESC= DVD preview support via xine DOCS_CMAKE_OFF= -DBUILD_doc:BOOL=FALSE DVDWIZARD_RUN_DEPENDS= dvdauthor:multimedia/dvdauthor \ cdrecord:sysutils/cdrtools FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE SCREENCAST_RUN_DEPENDS= recordmydesktop:multimedia/recordmydesktop V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CMAKE_OFF= -DWITH_LibV4L2:BOOL=FALSE XINE_RUN_DEPENDS= xine:multimedia/xine post-patch: @${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/ d' \ -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/data/CMakeLists.txt .include Index: head/multimedia/kmplayer-kde4/Makefile =================================================================== --- head/multimedia/kmplayer-kde4/Makefile (revision 420773) +++ head/multimedia/kmplayer-kde4/Makefile (revision 420774) @@ -1,27 +1,27 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= kmplayer PORTVERSION= 0.11.5 PORTEPOCH= 3 CATEGORIES= multimedia audio kde PKGNAMESUFFIX= -kde4 MAINTAINER= ports@FreeBSD.org COMMENT= KDE frontend to Phonon / KDE4 LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib RUN_DEPENDS= mplayer:multimedia/mplayer -USES= cmake:outsource pkgconfig +USES= cmake:outsource kde:4 pkgconfig USE_GNOME= cairo gtk20 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs USE_GITHUB= yes GH_ACCOUNT= KDE .include Index: head/multimedia/kplayer-kde4/Makefile =================================================================== --- head/multimedia/kplayer-kde4/Makefile (revision 420773) +++ head/multimedia/kplayer-kde4/Makefile (revision 420774) @@ -1,29 +1,29 @@ -# Created by: Stefan Eßer +# Created by: Stefan Esser # $FreeBSD$ PORTNAME= kplayer PORTVERSION= 0.7 PORTREVISION= 7 CATEGORIES= multimedia kde MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Movie player based on mplayer RUN_DEPENDS= mplayer:multimedia/mplayer -USES= cmake gettext tar:bzip2 +USES= cmake gettext kde:4 tar:bzip2 USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USE_KDE4= kdelibs automoc4 +USE_KDE= kdelibs automoc4 LDFLAGS+= -L${LOCALBASE}/lib -lX11 -L${LOCALBASE}/kde4/lib -lsolid post-patch: .for lang in da en es it pt sv ${REINPLACE_CMD} -e "s,HTML_INSTALL_DIR},HTML_INSTALL_DIR}/${lang} SUBDIR kplayer,g" \ ${WRKSRC}/doc/${lang}/CMakeLists.txt .endfor #Fix build with kdelibs>=4.5.0 ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \ ${WRKSRC}/doc/*/index.docbook .include Index: head/multimedia/mlt/Makefile =================================================================== --- head/multimedia/mlt/Makefile (revision 420773) +++ head/multimedia/mlt/Makefile (revision 420774) @@ -1,145 +1,146 @@ # $FreeBSD$ PORTNAME= mlt PORTVERSION= 6.2.0 PORTREVISION?= 2 CATEGORIES?= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER?= avilla@FreeBSD.org COMMENT?= Multimedia framework for TV broadcasting LICENSE?= GPLv2 GPLv3 LGPL21 LICENSE_COMB?= multi SLAVE_PORT?= no .if ${SLAVE_PORT} == "no" # They both install bin/melt. CONFLICTS_INSTALL= freeze-[0-9]* USE_GNOME= libxml2 USE_SDL= image USE_XORG= x11 USES= alias gmake iconv pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-gpl --enable-gpl3 --target-os=FreeBSD USE_LDCONFIG= yes .ifndef(WITH_DEBUG) CONFIGURE_ARGS+=--disable-debug .else CONFIGURE_ARGS+=--enable-debug .endif PLIST_SUB= PORTVERSION="${PORTVERSION}" PORTDOCS= AUTHORS ChangeLog NEWS README docs PORTEXAMPLES= demo OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG FREI0R GTK2 JACK KDE4 \ SAMPLERATE SOX SWFDEC VDPAU VIDSTAB OPTIONS_RADIO= QT OPTIONS_RADIO_QT= QT4 QT5 OPTIONS_DEFAULT=FFMPEG FREI0R GTK2 QT4 SAMPLERATE SOX SWFDEC VDPAU VIDSTAB OPTIONS_SUB= yes GTK2_DESC= Images and text rendering via GTK+ 2 KDE4_DESC= Qt extra image formats support QT4_DESC= Kdenlive titles and images support via Qt 4 SOX_DESC= SoX audio effects support VIDSTAB_DESC= Video stabilization support via Vid.Stab FFMPEG_SUFX= # Currently empty. FFMPEG_LIB_DEPENDS= libavformat${FFMPEG_SUFX}.so:multimedia/ffmpeg${FFMPEG_SUFX} FFMPEG_CONFIGURE_ENABLE=avformat FFMPEG_CONFIGURE_ON= --avformat-suffix="${FFMPEG_SUFX}" FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE=frei0r GTK2_LIB_DEPENDS= libexif.so:graphics/libexif GTK2_USE= GNOME=gdkpixbuf2,gtk20,pango GTK2_CONFIGURE_ENABLE= gtk2 JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa JACK_CONFIGURE_ENABLE= jackrack JACK_USE= GNOME=glib20 -KDE4_CONFIGURE_ENV= PATH="${KDE4_PREFIX}/bin:$$PATH" +KDE4_CONFIGURE_ENV= PATH="${KDE_PREFIX}/bin:$$PATH" KDE4_CONFIGURE_WITH= kde -KDE4_USE= kde4=kdelibs +KDE4_USES= kde:4 +KDE4_USE= KDE=kdelibs KDE4_IMPLIES= QT4 QT4_USE= QT4=corelib,gui,opengl,svg,xml QT5_USE= QT5=core,gui,opengl,svg,xml SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE=resample SOX_LIB_DEPENDS= libsox.so:audio/sox SOX_CONFIGURE_ENABLE= sox SWFDEC_LIB_DEPENDS= libswfdec-0.8.so:graphics/swfdec SWFDEC_CONFIGURE_ENABLE=swfdec SWFDEC_USE= GNOME=glib20,cairo VDPAU_CONFIGURE_ON= --avformat-vdpau VDPAU_CONFIGURE_OFF= --avformat-no-vdpau VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE=vid.stab .include .if ${ARCH} == "sparc64" BROKEN= does not compile on sparc64 (invokes i386 asm) .endif .if ${PORT_OPTIONS:MQT[45]} LIB_DEPENDS+= libexif.so:graphics/libexif CONFIGURE_ARGS+= --enable-qt \ --qt-libdir="${QT_LIBDIR}" \ --qt-includedir="${QT_INCDIR}" PLIST_SUB+= QT="" .else CONFIGURE_ARGS+= --disable-qt PLIST_SUB+= QT="@comment " .endif pre-configure: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ ${WRKSRC}/src/modules/avformat/vdpau.c \ ${WRKSRC}/src/modules/frei0r/factory.c \ ${WRKSRC}/src/modules/jackrack/plugin_mgr.c @${REINPLACE_CMD} -e 's,-lpthread,-pthread,' \ -e 's,-liconv,${ICONV_LIB},' \ ${WRKSRC}/src/framework/Makefile \ ${WRKSRC}/src/melt/Makefile \ ${WRKSRC}/src/modules/*/Makefile @${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,' \ ${WRKSRC}/Makefile post-install: ${INSTALL_MAN} ${WRKSRC}/docs/melt.1 ${STAGEDIR}${MANPREFIX}/man/man1/melt.1 @${RM} -f ${WRKSRC}/docs/melt.1 .if ${PORT_OPTIONS:MDOCS} . for f in ${PORTDOCS} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR} . endfor .endif .if ${PORT_OPTIONS:MEXAMPLES} . for f in ${PORTEXAMPLES} cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${EXAMPLESDIR} . endfor .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/melt ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmlt++.so.${PORTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mlt/* .endif # ${SLAVE_PORT} == "no" .include Index: head/multimedia/phonon/Makefile =================================================================== --- head/multimedia/phonon/Makefile (revision 420773) +++ head/multimedia/phonon/Makefile (revision 420774) @@ -1,46 +1,46 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= phonon PORTVERSION= 4.8.3 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= KDE multimedia framework LICENSE= LGPL21 LIB_DEPENDS= libqzeitgeist.so:sysutils/qzeitgeist -USE_KDE4= automoc4 +USES= cmake kde:4 tar:xz +USE_KDE= automoc4 USE_QT4= corelib dbus gui \ qmake_build moc_build rcc_build uic_build -USES= cmake tar:xz CMAKE_ARGS= -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:BOOL=TRUE \ -DPHONON_NO_PLATFORMPLUGIN:BOOL=TRUE \ -DPHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF USE_LDCONFIG= yes PLIST_SUB= SHLIB_VER=${PORTVERSION} OPTIONS_DEFINE= PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_ON= -DWITH_PulseAudio:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DWITH_PulseAudio:BOOL=OFF post-install: ${MKDIR} ${STAGEDIR}${QT_INCDIR} ${MKDIR} ${STAGEDIR}${QT_LIBDIR} ${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/phonon ${LN} -sf ${PREFIX}/include/phonon ${STAGEDIR}${QT_INCDIR}/Phonon ${LN} -sf ${PREFIX}/include/KDE/Phonon ${STAGEDIR}${PREFIX}/include/phonon/Phonon .for lib in phonon phononexperimental ${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so ${LN} -sf ${PREFIX}/lib/lib${lib}.so.${PORTVERSION} ${STAGEDIR}${QT_LIBDIR}/lib${lib}.so.4 .endfor .include Index: head/multimedia/phonon-gstreamer/Makefile =================================================================== --- head/multimedia/phonon-gstreamer/Makefile (revision 420773) +++ head/multimedia/phonon-gstreamer/Makefile (revision 420774) @@ -1,38 +1,38 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= phonon PORTVERSION= 4.8.2 PORTREVISION= 1 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}/src PKGNAMESUFFIX= -gstreamer DISTNAME= ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION} DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= GStreamer backend for Phonon LICENSE= LGPL21 +USES= cmake kde:4 pkgconfig tar:xz USE_GL= gl USE_GNOME= glib20 libxml2 USE_GSTREAMER1= yes -USE_KDE4= automoc4 +USE_KDE= automoc4 USE_QT4= corelib gui opengl phonon \ qmake_build moc_build rcc_build uic_build USE_XORG= x11 -USES= cmake pkgconfig tar:xz SUB_FILES= pkg-message OPTIONS_DEFINE= GST_PLUGINS GST_PLUGINS_DESC= Install GStreamer plugins GST_PLUGINS_RUN_DEPENDS= gstreamer1-plugins-all>=0:multimedia/gstreamer1-plugins-all post-install: ${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend ${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so \ ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_gstreamer.so .include Index: head/multimedia/phonon-vlc/Makefile =================================================================== --- head/multimedia/phonon-vlc/Makefile (revision 420773) +++ head/multimedia/phonon-vlc/Makefile (revision 420774) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= phonon PORTVERSION= 0.8.2 PORTREVISION= 1 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}/src PKGNAMESUFFIX= -vlc DISTNAME= ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION} DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= VLC backend for Phonon LIB_DEPENDS= libvlc.so:multimedia/vlc-qt4 -USE_KDE4= automoc4 +USES= cmake kde:4 pkgconfig tar:xz +USE_KDE= automoc4 USE_QT4= corelib gui phonon \ qmake_build moc_build rcc_build uic_build -USES= cmake pkgconfig tar:xz post-install: ${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend ${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_vlc.so \ ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_vlc.so .include Index: head/multimedia/phonon-xine/Makefile =================================================================== --- head/multimedia/phonon-xine/Makefile (revision 420773) +++ head/multimedia/phonon-xine/Makefile (revision 420774) @@ -1,29 +1,29 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= phonon PORTVERSION= 4.4.4 PORTREVISION= 9 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend${PKGNAMESUFFIX}/${PORTVERSION}/src PKGNAMESUFFIX= -xine DISTNAME= ${PORTNAME}-backend${PKGNAMESUFFIX}-${PORTVERSION} DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= The xine backend for Phonon LIB_DEPENDS= libxine.so:multimedia/libxine -USES= cmake pkgconfig tar:bzip2 -USE_KDE4= automoc4 +USES= cmake kde:4 pkgconfig tar:bzip2 +USE_KDE= automoc4 USE_QT4= corelib dbus gui phonon \ qmake_build moc_build rcc_build uic_build USE_XORG= xcb post-install: ${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend ${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_xine.so \ ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_xine.so .include Index: head/multimedia/subtitlecomposer-kde4/Makefile =================================================================== --- head/multimedia/subtitlecomposer-kde4/Makefile (revision 420773) +++ head/multimedia/subtitlecomposer-kde4/Makefile (revision 420774) @@ -1,40 +1,40 @@ # $FreeBSD$ PORTNAME= subtitlecomposer PORTVERSION= 0.5.7 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= multimedia kde MAINTAINER= makc@FreeBSD.org COMMENT= Subtitle editor for KDE LIB_DEPENDS= libicui18n.so:devel/icu -USES= cmake:outsource gettext shared-mime-info -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext kde:4 shared-mime-info +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build phonon USE_GITHUB= yes GH_ACCOUNT= maxrd2 OPTIONS_GROUP= BACKEND BACKEND_DESC= Additional video backens OPTIONS_GROUP_BACKEND= GSTREAMER MPLAYER XINE MPLAYER_DESC= Install MPlayer MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer XINE_DESC= Build Xine backend XINE_LIB_DEPENDS= libxine.so:multimedia/libxine XINE_CMAKE_OFF= -DWITH_Xine:Bool=Off GSTREAMER_DESC= Build GStreamer 1.x backend GSTREAMER_USE= GSTREAMER1=yes GSTREAMER_CMAKE_OFF= -DWITH_GStreamer:Bool=Off post-patch: ${REINPLACE_CMD} '/GStreamer/s,find_package,macro_optional_find_package,' \ ${WRKSRC}/src/services/CMakeLists.txt .include Index: head/net/cagibi/Makefile =================================================================== --- head/net/cagibi/Makefile (revision 420773) +++ head/net/cagibi/Makefile (revision 420774) @@ -1,17 +1,17 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= cagibi PORTVERSION= 0.2.0 CATEGORIES= net devel MASTER_SITES= KDE/stable/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= KDE SSDP/uPNP proxy -USES= cmake tar:bzip2 -USE_KDE4= automoc4 +USES= cmake kde:4 tar:bzip2 +USE_KDE= automoc4 USE_QT4= corelib network xml dbus \ qmake_build moc_build rcc_build uic_build .include Index: head/net/kdenetwork4/Makefile =================================================================== --- head/net/kdenetwork4/Makefile (revision 420773) +++ head/net/kdenetwork4/Makefile (revision 420774) @@ -1,37 +1,36 @@ # $FreeBSD$ PORTNAME= kdenetwork PORTVERSION= ${KDE4_VERSION} CATEGORIES= net kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE Network applications (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= FILESHARING KDNSSD KGET KOPETE KRDC KRFB STRIGI OPTIONS_DEFAULT= ${OPTIONS_DEFINE} FILESHARING_DESC= Network file sharing via Samba -FILESHARING_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/sambausershareplugin.so:net/kdenetwork4-filesharing +FILESHARING_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/sambausershareplugin.so:net/kdenetwork4-filesharing KDNSSD_DESC= Network monitor for DNS-SD services (Zeroconf) -KDNSSD_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kded_dnssdwatcher.so:net/zeroconf-ioslave +KDNSSD_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kded_dnssdwatcher.so:net/zeroconf-ioslave KGET_DESC= Download manager -KGET_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kget:net/kget +KGET_RUN_DEPENDS= ${KDE_PREFIX}/bin/kget:net/kget KOPETE_DESC= Multi-protocol instant messenger -KOPETE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kopete:net-im/kopete-kde4 +KOPETE_RUN_DEPENDS= ${KDE_PREFIX}/bin/kopete:net-im/kopete-kde4 KRDC_DESC= RDP and VNC client -KRDC_RUN_DEPENDS= ${KDE4_PREFIX}/bin/krdc:net/krdc +KRDC_RUN_DEPENDS= ${KDE_PREFIX}/bin/krdc:net/krdc KRFB_DESC= Desktop Sharing (VNC server) -KRFB_RUN_DEPENDS= ${KDE4_PREFIX}/bin/krfb:net/krfb +KRFB_RUN_DEPENDS= ${KDE_PREFIX}/bin/krfb:net/krfb STRIGI_DESC= Strigi analyzers for network-related file formats -STRIGI_RUN_DEPENDS= ${KDE4_PREFIX}/lib/strigi/strigita_torrent_analyzer.so:net/kdenetwork4-strigi-analyzers +STRIGI_RUN_DEPENDS= ${KDE_PREFIX}/lib/strigi/strigita_torrent_analyzer.so:net/kdenetwork4-strigi-analyzers .include Index: head/net/kdenetwork4-filesharing/Makefile =================================================================== --- head/net/kdenetwork4-filesharing/Makefile (revision 420773) +++ head/net/kdenetwork4-filesharing/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kdenetwork-filesharing PORTVERSION= ${KDE4_VERSION} CATEGORIES= net kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Filesharing via Samba -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/net/kdenetwork4-strigi-analyzers/Makefile =================================================================== --- head/net/kdenetwork4-strigi-analyzers/Makefile (revision 420773) +++ head/net/kdenetwork4-strigi-analyzers/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kdenetwork-strigi-analyzers PORTVERSION= ${KDE4_VERSION} CATEGORIES= net kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Strigi analyzers for network-related file formats LIB_DEPENDS= libboost_thread.so:devel/boost-libs -USE_KDE4= kdelibs strigi automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs strigi automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/net/kget/Makefile =================================================================== --- head/net/kget/Makefile (revision 420773) +++ head/net/kget/Makefile (revision 420774) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= kget PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= net kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE download manager LIB_DEPENDS= libgpgme.so:security/gpgme \ libktorrent.so:net-p2p/libktorrent \ libmms.so:net/libmms \ libqca.so:devel/qca \ libboost_thread.so:devel/boost-libs -USE_KDE4= kdelibs workspace libkonq \ +USES= cmake:outsource kde:4 shebangfix sqlite tar:xz +USE_KDE= kdelibs workspace libkonq \ nepomuk-core nepomuk-widgets automoc4 ontologies \ soprano -USES= cmake:outsource shebangfix sqlite tar:xz SHEBANG_FILES= conf/*.pl USE_QT4= gui sql moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null CONFIGURE_ENV= XDG_CONFIG_HOME=/dev/null .include Index: head/net/kio-upnp-ms/Makefile =================================================================== --- head/net/kio-upnp-ms/Makefile (revision 420773) +++ head/net/kio-upnp-ms/Makefile (revision 420774) @@ -1,27 +1,27 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= kio-upnp-ms DISTVERSION= 1.0.0.git20110808 PORTREVISION= 6 CATEGORIES= net devel #MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src MASTER_SITES= LOCAL/fluffy MAINTAINER= kde@FreeBSD.org COMMENT= KIO slave to access UPnP MediaServers LIB_DEPENDS= libHUpnp.so:net/hupnp -USES= cmake tar:bzip2 -USE_KDE4= automoc4 kdelibs +USES= cmake kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= corelib network xml dbus gui \ qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${DISTNAME:C/.[^.]*$//} PLIST_FILES= include/kde4/kio/upnp-ms-types.h \ lib/kde4/kio_upnp_ms.so \ share/kde4/services/kio_upnp_ms.protocol .include Index: head/net/knemo-kde4/Makefile =================================================================== --- head/net/knemo-kde4/Makefile (revision 420773) +++ head/net/knemo-kde4/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= knemo PORTVERSION= 0.7.7 CATEGORIES= net kde MASTER_SITES= http://kde-apps.org/CONTENT/content-files/ DISTNAME= 12956-${PORTNAME}-${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= KDE network monitor -USES= cmake gettext shebangfix tar:xz +USES= cmake gettext kde:4 shebangfix tar:xz SHEBANG_FILES= src/kconf_update/*.pl USE_QT4= qmake_build moc_build uic_build rcc_build -USE_KDE4= kdelibs workspace automoc4 +USE_KDE= kdelibs workspace automoc4 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include Index: head/net/krdc/Makefile =================================================================== --- head/net/krdc/Makefile (revision 420773) +++ head/net/krdc/Makefile (revision 420774) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= krdc PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= net kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= RDP and VNC client for KDE LIB_DEPENDS= libvncserver.so:net/libvncserver \ libtelepathy-qt4.so:net-im/telepathy-qt4 -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= FREERDP FREERDP_DESC= Remote Desktop support via FreeRDP FREERDP_RUN_DEPENDS= xfreerdp:net/freerdp .include Index: head/net/krfb/Makefile =================================================================== --- head/net/krfb/Makefile (revision 420773) +++ head/net/krfb/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= krfb PORTVERSION= ${KDE4_VERSION} CATEGORIES= net kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= VNC server for KDE LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 -USES= alias cmake:outsource jpeg tar:xz -USE_KDE4= kdelibs automoc4 +USES= alias cmake:outsource jpeg kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui network \ moc_build qmake_build rcc_build uic_build .include Index: head/net/kwooty/Makefile =================================================================== --- head/net/kwooty/Makefile (revision 420773) +++ head/net/kwooty/Makefile (revision 420774) @@ -1,29 +1,29 @@ # Created by: Mina R Waheeb # $FreeBSD$ PORTNAME= kwooty PORTVERSION= 0.8.3 PORTREVISION= 4 CATEGORIES= net kde MASTER_SITES= SF/${PORTNAME} MAINTAINER= syncer@gmail.com COMMENT= Usenet binary downloader for KDE4 RUN_DEPENDS= ${LOCALBASE}/bin/unrar:archivers/unrar \ ${LOCALBASE}/bin/par2:archivers/par2cmdline \ ${LOCALBASE}/bin/7z:archivers/p7zip -USE_KDE4= kdelibs automoc4 workspace +USES= cmake gettext kde:4 +USE_KDE= kdelibs automoc4 workspace USE_QT4= qmake_build moc_build rcc_build uic_build -USES= cmake gettext USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' \ ${WRKSRC}/src/preferences/kwootysettings.kcfg ${REINPLACE_CMD} -e 's|PreferencesServer::MAX_SERVERS|5|g' \ ${WRKSRC}/src/preferences/*.cpp \ ${WRKSRC}/src/widgets/*.cpp .include Index: head/net/libkfbapi/Makefile =================================================================== --- head/net/libkfbapi/Makefile (revision 420773) +++ head/net/libkfbapi/Makefile (revision 420774) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= libkfbapi PORTVERSION= 1.0 PORTREVISION= 4 CATEGORIES= net kde MASTER_SITES= KDE/stable/libkfbapi/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Library for accessing Facebook services LICENSE= LGPL20 LIB_DEPENDS= libqjson.so:devel/qjson -USES= cmake:outsource gettext tar:bzip2 -USE_KDE4= automoc4 kdelibs pimlibs +USES= cmake:outsource gettext kde:4 tar:bzip2 +USE_KDE= automoc4 kdelibs pimlibs USE_LDCONFIG= yes USE_QT4= gui webkit \ qmake_build moc_build rcc_build uic_build pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ ${WRKSRC}/CMakeLists.txt .include Index: head/net/libkvkontakte/Makefile =================================================================== --- head/net/libkvkontakte/Makefile (revision 420773) +++ head/net/libkvkontakte/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= libkvkontakte PORTVERSION= 4.12.0 CATEGORIES= net kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src DIST_SUBDIR= KDE/digikam MAINTAINER= kde@FreeBSD.org COMMENT= KDE library for accessing vk.com LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libqjson.so:devel/qjson -USES= cmake:outsource gettext pkgconfig tar:xz +USES= cmake:outsource gettext kde:4 pkgconfig tar:xz USE_QT4= moc_build qmake_build rcc_build uic_build -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs USE_LDCONFIG= yes PLIST_SUB+= SHLIB_VER="${PORTVERSION}" .include Index: head/net/libproxy-kde/Makefile =================================================================== --- head/net/libproxy-kde/Makefile (revision 420773) +++ head/net/libproxy-kde/Makefile (revision 420774) @@ -1,28 +1,29 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/net/libproxy-kde/Makefile,v 1.1 2011/01/12 13:10:53 kwm Exp $ PORTREVISION= 0 CATEGORIES= net devel PKGNAMESUFFIX= -kde MAINTAINER= gnome@FreeBSD.org COMMENT= KDE plug-in for libproxy LIB_DEPENDS= libproxy.so:net/libproxy MASTERDIR= ${.CURDIR}/../libproxy DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist ALL_TARGET= config_kde -USE_KDE4= runtime +USE_KDE= runtime +USES+= kde:4 LIBPROXY_SLAVE= kde do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/ ${INSTALL_LIB} ${BUILD_WRKSRC}/libproxy/config_kde.so \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/ .include "${MASTERDIR}/Makefile" Index: head/net/smb4k-kde4/Makefile =================================================================== --- head/net/smb4k-kde4/Makefile (revision 420773) +++ head/net/smb4k-kde4/Makefile (revision 420774) @@ -1,55 +1,55 @@ # Created by: Josh Paetzel # $FreeBSD$ PORTNAME= smb4k-kde4 PORTVERSION= 0.10.9 PORTREVISION= 11 CATEGORIES= net kde MASTER_SITES= SF/smb4k DISTNAME= smb4k-${PORTVERSION} MAINTAINER= jpaetzel@FreeBSD.org COMMENT= KDE 4.x SMB Network browser and SMB shares mounting center RUN_DEPENDS= sudo:security/sudo \ smbstatus:${SAMBA_PORT} SAMBA_PORT?= net/samba36 -USES= cmake gettext tar:bzip2 +USES= cmake gettext kde:4 tar:bzip2 USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/kde4 -USE_KDE4= kdelibs automoc4 runtime +USE_KDE= kdelibs automoc4 runtime USE_QT4= corelib gui network opengl script svg webkit \ qmake_build moc_build rcc_build uic_build phonon DOCSDIR= ${PREFIX}/share/doc/HTML/en/smb4k SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS NLS .include .if ${PORT_OPTIONS:MNLS} NLS= "" .else NLS= "@comment " .endif PLIST_SUB+= NLS=${NLS} pre-configure: .if ! ${PORT_OPTIONS:MNLS} ${REINPLACE_CMD} -e 's|add_subdirectory( po )|#add_subdirectory( po )|' \ ${WRKSRC}/CMakeLists.txt .endif .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's|add_subdirectory( doc )|#add_subdirectory( doc )|' \ ${WRKSRC}/CMakeLists.txt .endif post-install: .for i in smb2awk smb2nsmbrc ${INSTALL_SCRIPT} ${FILESDIR}/${i} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${STAGEDIR}${DOCSDIR} .include Index: head/net/zeroconf-ioslave/Makefile =================================================================== --- head/net/zeroconf-ioslave/Makefile (revision 420773) +++ head/net/zeroconf-ioslave/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= zeroconf-ioslave PORTVERSION= ${KDE4_VERSION} CATEGORIES= net kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Network monitor for DNS-SD services (Zeroconf) -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/net-im/ekiga/Makefile =================================================================== --- head/net-im/ekiga/Makefile (revision 420773) +++ head/net-im/ekiga/Makefile (revision 420774) @@ -1,169 +1,169 @@ # Created by: Charlie & # $FreeBSD$ # $MCom: ports/trunk/net-im/ekiga/Makefile 19954 2014-10-15 10:03:57Z kwm $ PORTNAME= ekiga PORTVERSION= 4.0.1 PORTREVISION= 8 CATEGORIES= net-im MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= VoIP and video conferencing application BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat \ gnome-icon-theme>=3.0.0:misc/gnome-icon-theme LIB_DEPENDS= libboost_signals.so:devel/boost-libs \ libopal.so:net/opal \ libv4l2.so:multimedia/libv4l RUN_DEPENDS= gnome-icon-theme>=3.0.0:misc/gnome-icon-theme GNU_CONFIGURE= yes -USES= cpe gettext gmake libtool pathfix perl5 pkgconfig \ +USES= cpe gettext gmake kde:4 libtool pathfix perl5 pkgconfig \ tar:xz USE_XORG= xv USE_GNOME= gtk20 intlhack libxml2 INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -I${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_DEFINE= LDAP NOTIFY EVOLUTION GCONF DBUS AVAHI GNOMEHELP OPTIONS_DEFAULT=NOTIFY DBUS GCONF AVAHI EVOLUTION_DESC= Evolution data server support GNOMEHELP_DESC= Build Ekiga help files #OPTIONS_GROUP= EXP #OPTIONS_GROUP_EXP= KDE KAB GSTREAMER XCAP LOUDMOUTH EXP_DESC= Experimental features KDE_DESC= KDE 4 support KAB_DESC= KAddressBook support (implies KDE option) GSTREAMER_DESC= Gstreamer support XCAP_DESC= Remote contact storage via HTTP in xml format LOUDMOUTH_DESC= XMPP (jabber) support # Note that h.323 support is enabled when opal is build with it. .include PLIST_SUB+= VERSION=${PORTVERSION} .if ${PORT_OPTIONS:MKDE} || ${PORT_OPTIONS:MKAB} -USE_KDE4= kdelibs +USE_KDE= kdelibs USE_QT4= corelib CONFIGURE_ARGS+=--enable-kde -#CONFIGURE_ENV+=KDE_CFLAGS="-I${KDE4_PREFIX}/include -I${QT_INCDIR} \ -# -I${LOCALBASE}/include" KDE_LIBS="-L${KDE4_PREFIX}/lib" -CPPFLAGS+= -I${KDE4_PREFIX}/include -LDFLAGS+= -L${KDE4_PREFIX}/lib +#CONFIGURE_ENV+=KDE_CFLAGS="-I${KDE_PREFIX}/include -I${QT_INCDIR} \ +# -I${LOCALBASE}/include" KDE_LIBS="-L${KDE_PREFIX}/lib" +CPPFLAGS+= -I${KDE_PREFIX}/include +LDFLAGS+= -L${KDE_PREFIX}/lib .else CONFIGURE_ARGS+=--disable-kde .endif .if ${PORT_OPTIONS:MKAB} CONFIGURE_ARGS+=--enable-kab -USE_KDE4+= pimlibs +USE_KDE+= pimlibs .else CONFIGURE_ARGS+=--disable-kab .endif .if ${PORT_OPTIONS:MGSTREAMER} CONFIGURE_ARGS+=--enable-gstreamer USE_GSTREAMER= yes .else CONFIGURE_ARGS+=--disable-gstreamer .endif .if ${PORT_OPTIONS:MXCAP} CONFIGURE_ARGS+=--enable-xcap LIB_DEPENDS+= libsoup-2.4.so:devel/libsoup .else CONFIGURE_ARGS+=--disable-xcap .endif .if ${PORT_OPTIONS:MLOUDMOUTH} CONFIGURE_ARGS+=--enable-loudmouth LIB_DEPENDS+= libloudmouth-1.so:net-im/loudmouth .else CONFIGURE_ARGS+=--disable-loudmouth .endif .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 CONFIGURE_ARGS+=--enable-ldap --with-ldap-dir="${LOCALBASE}" --with-libsasl2-dir="${LOCALBASE}" PLIST_SUB+= LDAP="" WITH_PLUGINS= 1 .else CONFIGURE_ARGS+=--disable-ldap PLIST_SUB+= LDAP="@comment " .endif .if defined(WITH_PLUGINS) PLIST_SUB+= PLUGINS="" .else PLIST_SUB+= PLUGINS="@comment " .endif .if ${PORT_OPTIONS:MNOTIFY} LIB_DEPENDS+= libnotify.so:devel/libnotify CONFIGURE_ARGS+=--enable-notify PLIST_SUB+= NOTIFY="" WITH_PLUGINS= 1 .else CONFIGURE_ARGS+=--disable-notify PLIST_SUB+= NOTIFY="@comment " .endif .if ${PORT_OPTIONS:MDBUS} LIB_DEPENDS+= libdbus-1.so:devel/dbus CONFIGURE_ARGS+=--enable-dbus --enable-dbus-service PLIST_SUB+= DBUS="" .else CONFIGURE_ARGS+=--disable-dbus --disable-dbus-service PLIST_SUB+= DBUS="@comment " .endif .if ${PORT_OPTIONS:MGCONF} USE_GNOME+= gconf2 CONFIGURE_ARGS+=--enable-gconf GCONF_SCHEMAS= ekiga.schemas PLIST_SUB+= GCONF="@comment " .else CONFIGURE_ARGS+=--disable-gconf PLIST_SUB+= GCONF="" .endif .if ${PORT_OPTIONS:MEVOLUTION} USE_GNOME+= evolutiondataserver3 LIB_DEPENDS+= libgcr-3.so:security/gcr CONFIGURE_ARGS+=--enable-eds PLIST_SUB+= EVOLUTION="" WITH_PLUGINS= 1 .else CONFIGURE_ARGS+=--disable-eds PLIST_SUB+= EVOLUTION="@comment " .endif .if ${PORT_OPTIONS:MAVAHI} CONFIGURE_ARGS+=--enable-avahi LIB_DEPENDS+= libavahi-client.so:net/avahi-app PLIST_SUB+= AVAHI="" WITH_PLUGINS= 1 .else CONFIGURE_ARGS+=--disable-avahi PLIST_SUB+= AVAHI="@comment " .endif .if ${PORT_OPTIONS:MGNOMEHELP} INSTALLS_OMF= yes PLIST_SUB+= GNOMEHELP="" USE_GNOME+= gnomedocutils .else CONFIGURE_ARGS+=--disable-gdu PLIST_SUB+= GNOMEHELP="@comment " .endif .include Index: head/net-im/hotot/Makefile =================================================================== --- head/net-im/hotot/Makefile (revision 420773) +++ head/net-im/hotot/Makefile (revision 420774) @@ -1,69 +1,69 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= hotot PORTVERSION= 0.9.8.14 PORTREVISION= 2 CATEGORIES= net-im www MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight, flexible microblogging client LICENSE= LGPL3 USE_GITHUB= yes GH_ACCOUNT= lyricat GH_PROJECT= Hotot -USES= cmake gettext python +USES= cmake gettext kde:4 python USE_GNOME= intltool INSTALLS_ICONS= yes CFLAGS+= -I${LOCALBASE}/include # does not uphold CPPFLAGS LDFLAGS+= -L${LOCALBASE}/lib -lintl OPTIONS_DEFINE= GTK2 QT4 KDE4 OPTIONS_DEFAULT= GTK2 QT4 KDE4_DESC= KDE 4 integration (implies Qt 4) .include .if ${PORT_OPTIONS:MGTK2} RUN_DEPENDS= ${PYTHON_SITELIBDIR}/webkit/__init__.py:www/py-webkitgtk \ ${PYTHON_SITELIBDIR}/keybinder/__init__.py:x11/keybinder PLIST_SUB+= GTK2="" .else CMAKE_ARGS+= -DWITH_GTK=off PLIST_SUB+= GTK2="@comment " .endif .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MKDE4} USE_QT4= moc_build qmake_build rcc_build uic_build \ corelib gui sql webkit PLIST_SUB+= QT4="" .else CMAKE_ARGS+= -DWITH_QT=off INSTALL_TARGET= install PLIST_SUB+= QT4="@comment " .endif .if ${PORT_OPTIONS:MKDE4} -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs .else CMAKE_ARGS+= -DWITH_KDE=off .endif post-patch: # Fix hardcoded platform name (it is not always Linux) @${REINPLACE_CMD} -e 's,Linux,${OPSYS},' ${WRKSRC}/data/js/conf.js \ ${WRKSRC}/data/js/util.js ${WRKSRC}/qt/mainwindow.cpp # Strip shlib versions from the library filenames @${REINPLACE_CMD} -E 's,so\.[0-9]+,so,' ${WRKSRC}/hotot/utils.py # Remove `sourceid' parameter from Google search string @${REINPLACE_CMD} -e 's,sourceid=chrome&,,' \ ${WRKSRC}/data/js/ui.context_menu.js # Sanitize font selection list @${REINPLACE_CMD} -e "/font_list/s/\[.*/['DejaVu Sans', 'Bitstream Vera Sans', 'Droid Sans', 'Verdana', 'Arial', 'Helvetica']/" \ ${WRKSRC}/data/js/conf.js .include Index: head/net-im/kde-telepathy/Makefile =================================================================== --- head/net-im/kde-telepathy/Makefile (revision 420773) +++ head/net-im/kde-telepathy/Makefile (revision 420774) @@ -1,38 +1,37 @@ # $FreeBSD$ PORTNAME= kde-telepathy PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE integrated instant messaging framework -RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kcm_ktp_accounts.so:net-im/ktp-accounts-kcm \ - ${KDE4_PREFIX}/lib/kde4/kded_ktp_approver.so:net-im/ktp-approver \ - ${KDE4_PREFIX}/lib/kde4/libexec/ktp-auth-handler:net-im/ktp-auth-handler \ - ${KDE4_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list \ - ${KDE4_PREFIX}/lib/kde4/krunner_ktp_contacts.so:net-im/ktp-contact-runner \ - ${KDE4_PREFIX}/lib/kde4/libexec/ktp-filetransfer-handler:net-im/ktp-filetransfer-handler \ - ${KDE4_PREFIX}/lib/kde4/kded_ktp_integration_module.so:net-im/ktp-kded-integration-module \ - ${KDE4_PREFIX}/lib/kde4/libexec/ktp-text-ui:net-im/ktp-text-ui +RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kcm_ktp_accounts.so:net-im/ktp-accounts-kcm \ + ${KDE_PREFIX}/lib/kde4/kded_ktp_approver.so:net-im/ktp-approver \ + ${KDE_PREFIX}/lib/kde4/libexec/ktp-auth-handler:net-im/ktp-auth-handler \ + ${KDE_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list \ + ${KDE_PREFIX}/lib/kde4/krunner_ktp_contacts.so:net-im/ktp-contact-runner \ + ${KDE_PREFIX}/lib/kde4/libexec/ktp-filetransfer-handler:net-im/ktp-filetransfer-handler \ + ${KDE_PREFIX}/lib/kde4/kded_ktp_integration_module.so:net-im/ktp-kded-integration-module \ + ${KDE_PREFIX}/lib/kde4/libexec/ktp-text-ui:net-im/ktp-text-ui -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= PLASMA SEND_FILE OPTIONS_DEFAULT=PLASMA SEND_FILE PLASMA_DESC= Applets for KDE Plasma Desktop integration SEND_FILE_DESC= Context menu plugin for sending files .include .if ${PORT_OPTIONS:MPLASMA} -RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/plasma_applet_ktp_presence.so:net-im/plasma-applet-ktp +RUN_DEPENDS+= ${KDE_PREFIX}/lib/kde4/plasma_applet_ktp_presence.so:net-im/plasma-applet-ktp .endif .if ${PORT_OPTIONS:MSEND_FILE} -RUN_DEPENDS+= ${KDE4_PREFIX}/bin/ktp-send-file:net-im/ktp-send-file +RUN_DEPENDS+= ${KDE_PREFIX}/bin/ktp-send-file:net-im/ktp-send-file .endif .include Index: head/net-im/kmess-kde4/Makefile =================================================================== --- head/net-im/kmess-kde4/Makefile (revision 420773) +++ head/net-im/kmess-kde4/Makefile (revision 420774) @@ -1,21 +1,21 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= kmess PORTVERSION= 2.0.6.2 PORTREVISION= 11 CATEGORIES= net-im kde MASTER_SITES= SF/${PORTNAME}/Latest%20versions/${PORTVERSION}/ MAINTAINER= syncer@gmail.com COMMENT= MSN Messenger client for KDE LIB_DEPENDS= libqca.so:devel/qca \ libgif.so:graphics/giflib +USES= cmake gettext kde:4 tar:bzip2 USE_GNOME= libxml2 libxslt -USE_KDE4= kdelibs libkonq automoc4 +USE_KDE= kdelibs libkonq automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/kopete-kde4/Makefile =================================================================== --- head/net-im/kopete-kde4/Makefile (revision 420773) +++ head/net-im/kopete-kde4/Makefile (revision 420774) @@ -1,63 +1,63 @@ # $FreeBSD$ PORTNAME= kopete PORTVERSION= ${KDE4_VERSION} PORTREVISION= 3 CATEGORIES= net-im kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE multi-protocol instant messenger LIB_DEPENDS= libidn.so:dns/libidn \ libqca.so:devel/qca \ libotr.so.5:security/libotr \ libgadu.so:polish/libgadu \ libkleo.so:deskutils/kdepim4 \ libmeanwhile.so:net-im/meanwhile \ libv4l2.so:multimedia/libv4l \ libjasper.so:graphics/jasper BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat -USES= cmake:outsource jpeg pkgconfig shebangfix sqlite tar:xz \ +USES= cmake:outsource jpeg kde:4 pkgconfig shebangfix sqlite tar:xz \ webplugin:native USE_GNOME= libxml2 libxslt -USE_KDE4= kdelibs pimlibs \ +USE_KDE= kdelibs pimlibs \ automoc4 qimageblitz USE_QT4= corelib gui network qt3support sql xml \ moc_build qmake_build rcc_build uic_build uic3_build USE_XORG= x11 xdamage xext xscrnsaver xtst USE_LDCONFIG= yes SHEBANG_FILES= protocols/winpopup/winpopup-install \ protocols/winpopup/winpopup-send \ kopete/kconf_update/*.pl WEBPLUGIN_NAME= # empty WEBPLUGIN_FILES= skypebuttons.so # Explicitly disable ALSA, as it's not used (Jabber Jingle support is # not built). CMAKE_ARGS+= -DWITH_Alsa:BOOL=OFF # Route Mozilla plugin by standard path. CMAKE_ARGS+= -DMOZPLUGIN_INSTALL_DIR:PATH="${WEBPLUGIN_DIR}" # Forcefully disable net-im/libmsn which was deprecated on 2013-07-27. CMAKE_ARGS+= -DWITH_wlm:BOOL=OFF # Fix build with fresh multimedia/v4l_compat installed. CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES=1 OPTIONS_DEFINE= XMMS XMMS_DESC= XMMS Kopete nowlistening plugin XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms XMMS_CMAKE_ON= -DWITH_Xmms:BOOL=ON XMMS_CMAKE_OFF= -DWITH_Xmms:BOOL=OFF post-patch: ${REINPLACE_CMD} 's,-std=gnu90,-std=gnu89,' \ ${WRKSRC}/protocols/jabber/libiris/CMakeLists.txt .include Index: head/net-im/ktp-accounts-kcm/Makefile =================================================================== --- head/net-im/ktp-accounts-kcm/Makefile (revision 420773) +++ head/net-im/ktp-accounts-kcm/Makefile (revision 420774) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= ktp-accounts-kcm PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE instant messaging account management module LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libtelepathy-logger-qt4.so:net-im/telepathy-logger-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -RUN_DEPENDS= ${KDE4_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list +RUN_DEPENDS= ${KDE_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 USE_LDCONFIG= yes OPTIONS_DEFINE= HAZE IRC JABBER SALUT OPTIONS_DEFAULT=JABBER HAZE_DESC= libpurple protocols support HAZE_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-haze:net-im/telepathy-haze IRC_DESC= Internet Relay Chat support IRC_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-idle:net-im/telepathy-idle JABBER_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-gabble:net-im/telepathy-gabble SALUT_DESC= Link-local (serverless) XMPP support SALUT_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-salut:net-im/telepathy-salut .include Index: head/net-im/ktp-approver/Makefile =================================================================== --- head/net-im/ktp-approver/Makefile (revision 420773) +++ head/net-im/ktp-approver/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= ktp-approver PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE instant messaging notifier LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -RUN_DEPENDS= ${KDE4_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list +RUN_DEPENDS= ${KDE_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-auth-handler/Makefile =================================================================== --- head/net-im/ktp-auth-handler/Makefile (revision 420773) +++ head/net-im/ktp-auth-handler/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= ktp-auth-handler PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KWallet integration module for KDE Telepathy LIB_DEPENDS= libqjson.so:devel/qjson \ libqca.so:devel/qca \ libtelepathy-qt4.so:net-im/telepathy-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib dbus gui xml webkit \ moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-common-internals/Makefile =================================================================== --- head/net-im/ktp-common-internals/Makefile (revision 420773) +++ head/net-im/ktp-common-internals/Makefile (revision 420774) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= ktp-common-internals PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE Telepathy internal library LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libtelepathy-logger-qt4.so:net-im/telepathy-logger-qt4 RUN_DEPENDS= ${LOCALBASE}/libexec/mission-control-5:net-im/telepathy-mission-control -USE_KDE4= kdelibs pimlibs automoc4 +USES= cmake compiler:c++11-lang gettext kde:4 tar:bzip2 +USE_KDE= kdelibs pimlibs automoc4 USE_QT4= declarative script \ moc_build qmake_build rcc_build uic_build -USES= cmake compiler:c++11-lang gettext tar:bzip2 USE_LDCONFIG= yes PLIST_SUB= KTP_VERSION=${KTP_VERSION} .include Index: head/net-im/ktp-contact-list/Makefile =================================================================== --- head/net-im/ktp-contact-list/Makefile (revision 420773) +++ head/net-im/ktp-contact-list/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= ktp-contact-list PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE instant messaging contact list application LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libtelepathy-logger-qt4.so:net-im/telepathy-logger-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-contact-runner/Makefile =================================================================== --- head/net-im/ktp-contact-runner/Makefile (revision 420773) +++ head/net-im/ktp-contact-runner/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= ktp-contact-runner PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KRunner integration module for KDE Telepathy LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-desktop-applets/Makefile =================================================================== --- head/net-im/ktp-desktop-applets/Makefile (revision 420773) +++ head/net-im/ktp-desktop-applets/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= ktp-desktop-applets PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE instant messaging plasma widgets LIB_DEPENDS= libktpcommoninternalsprivate.so:net-im/ktp-common-internals -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-filetransfer-handler/Makefile =================================================================== --- head/net-im/ktp-filetransfer-handler/Makefile (revision 420773) +++ head/net-im/ktp-filetransfer-handler/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= ktp-filetransfer-handler PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE instant messaging file transfer handler LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-kded-integration-module/Makefile =================================================================== --- head/net-im/ktp-kded-integration-module/Makefile (revision 420773) +++ head/net-im/ktp-kded-integration-module/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= ktp-kded-integration-module PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= Module for integration of instant messaging into KDE Workspaces LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-send-file/Makefile =================================================================== --- head/net-im/ktp-send-file/Makefile (revision 420773) +++ head/net-im/ktp-send-file/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= ktp-send-file PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE instant messaging file transfer application LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/libexec/ktp-filetransfer-handler:net-im/ktp-filetransfer-handler \ - ${KDE4_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list +RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/libexec/ktp-filetransfer-handler:net-im/ktp-filetransfer-handler \ + ${KDE_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/ktp-text-ui/Makefile =================================================================== --- head/net-im/ktp-text-ui/Makefile (revision 420773) +++ head/net-im/ktp-text-ui/Makefile (revision 420774) @@ -1,22 +1,22 @@ # $FreeBSD$ PORTNAME= ktp-text-ui PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE chat window application LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libtelepathy-logger-qt4.so:net-im/telepathy-logger-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -RUN_DEPENDS= ${KDE4_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list +RUN_DEPENDS= ${KDE_PREFIX}/bin/ktp-contactlist:net-im/ktp-contact-list -USE_KDE4= automoc4 +USES= cmake compiler:c++11-lang gettext kde:4 tar:bzip2 +USE_KDE= automoc4 USE_QT4= corelib webkit xml \ moc_build qmake_build rcc_build uic_build -USES= cmake compiler:c++11-lang gettext tar:bzip2 USE_LDCONFIG= yes .include Index: head/net-im/licq-qt-gui/Makefile =================================================================== --- head/net-im/licq-qt-gui/Makefile (revision 420773) +++ head/net-im/licq-qt-gui/Makefile (revision 420774) @@ -1,49 +1,50 @@ # Created by: Jeremy Norris # $FreeBSD$ PORTNAME= qt4-gui PORTVERSION= 1.8.2 PORTREVISION= 1 CATEGORIES= net-im PKGNAMESUFFIX?= ${KDE_SUFFIX}${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= Qt plugin for licq LICENSE= GPLv2 LIB_DEPENDS= libboost_regex.so:devel/boost-libs RUN_DEPENDS= ${LOCALBASE}/lib/licq/protocol_icq.so:${LICQ_PORT}-icq USE_XORG= x11 xext ice xscrnsaver USES= cmake USE_QT4= qmake_build moc_build rcc_build uic_build linguisttools_build \ corelib xml gui OPTIONS_DEFINE= HUNSPELL KDE4 OPTIONS_DEFAULT=HUNSPELL LICQ_PORT?= net-im/licq HUNSPELL_LIB_DEPENDS= libhunspell-1.3.so:textproc/hunspell HUNSPELL_CMAKE_ON= -DHUNSPELL_INCLUDE_DIRS=${LOCALBASE}/include/hunspell \ -DHUNSPELL_LIBRARIES=${LOCALBASE}/lib/libhunspell-1.3.so \ -DHUNSPELL_FOUND:BOOL=ON HUNSPELL_CMAKE_OFF= -DHUNSPELL_FOUND:BOOL=OFF -KDE4_USE= KDE4=kdelibs,automoc4 +KDE4_USES= kde:4 +KDE4_USE= KDE=kdelibs,automoc4 KDE4_PREVENTS= HUNSPELL KDE4_CMAKE_ON= -DWITH_KDE:BOOL=ON KDE4_CMAKE_OFF= -DWITH_KDE:BOOL=OFF KDE4_PLIST_SUB= GUI_NAME=kde4 WITH_KDE="" WITH_QT="@comment " KDE4_PLIST_SUB_OFF= GUI_NAME=qt4 WITH_KDE="@comment " WITH_QT="" .include .include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc" .if ${PORT_OPTIONS:MKDE4} KDE_SUFFIX= -kde .endif .include Index: head/net-im/plasma-applet-ktp/Makefile =================================================================== --- head/net-im/plasma-applet-ktp/Makefile (revision 420773) +++ head/net-im/plasma-applet-ktp/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= ktp PORTVERSION= ${KTP_VERSION} CATEGORIES= net-im kde MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src PKGNAMEPREFIX= plasma-applet- DISTNAME= ${PORTNAME}-desktop-applets-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE instant messaging Plasma applets LIB_DEPENDS= libtelepathy-qt4.so:net-im/telepathy-qt4 \ libktpcommoninternalsprivate.so:net-im/ktp-common-internals -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib declarative \ moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/net-im/telepathy-logger-qt4/Makefile =================================================================== --- head/net-im/telepathy-logger-qt4/Makefile (revision 420773) +++ head/net-im/telepathy-logger-qt4/Makefile (revision 420774) @@ -1,37 +1,37 @@ # $FreeBSD$ PORTNAME= telepathy-logger-qt4 PORTVERSION= 0.8.0 CATEGORIES= net-im MASTER_SITES= KDE/stable/${PORTNAME:C/4$//}/${PORTVERSION}/src DISTNAME= ${PORTNAME:C/4$//}-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Qt binding for Telepathy Logger LICENSE= LGPL21 LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libtelepathy-glib.so:net-im/telepathy-glib \ libtelepathy-logger.so:net-im/telepathy-logger \ libtelepathy-qt4.so:net-im/telepathy-qt4 +USES= bison:build cmake kde:4 pkgconfig python:build tar:bzip2 USE_GNOME= glib20 libxml2 USE_GSTREAMER= qt4 -USE_KDE4= # empty +USE_KDE= # empty USE_QT4= corelib dbus moc_build qmake_build rcc_build uic_build -USES= bison:build cmake pkgconfig python:build tar:bzip2 CMAKE_ARGS= -DUSE_COMMON_CMAKE_PACKAGE_CONFIG_DIR:BOOL=True USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e '/FIND_PROGRAM/ s,qmake ,,' \ ${WRKSRC}/cmake/modules/FindQt.cmake @${REINPLACE_CMD} -e '/$${QTGLIB_INCLUDE_DIR}/ s,)$$, ${LOCALBASE}/include),' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/$${GOBJECT_LIBRARIES}/ s,$$, -L${LOCALBASE}/lib,' \ -e 's,$${LIB_INSTALL_DIR}/pkgconfig,libdata/pkgconfig,' \ ${WRKSRC}/TelepathyLoggerQt4/CMakeLists.txt .include Index: head/net-p2p/amule/Makefile =================================================================== --- head/net-p2p/amule/Makefile (revision 420773) +++ head/net-p2p/amule/Makefile (revision 420774) @@ -1,136 +1,137 @@ # Created by: Ganael LAPLANCHE # $FreeBSD$ PORTNAME= amule PORTVERSION= 2.3.1 PORTREVISION= 15 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/aMule/${PORTVERSION} DISTNAME= aMule-${PORTVERSION} MAINTAINER= bar@FreeBSD.org COMMENT= All-platform eMule p2p client LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libcryptopp.so:security/cryptopp CONFLICTS= amule-devel-[0-9]* USES= bison desktop-file-utils gmake perl5 pkgconfig shebangfix \ tar:bzip2 USE_PERL5= build USE_WX= 2.8 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-denoise-level=0 CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \ docdir='$${prefix}/${DOCSDIR_REL}' CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS DEBUG DOCS ED2K \ FILEVIEW GEOIP MMAP MONOLITHIC NLS PLASMAMULE UPNP \ WEBSERVER WXCAS XAS ALC_DESC= Compile aMule Link Creator for GUI ALCC_DESC= Compile aMule Link Creator for console AMULECMD_DESC= Compile aMule command line client AMULEDAEMON_DESC= Compile aMule daemon version AMULEGUI_DESC= Compile aMule remote GUI CAS_DESC= Compile aMule Statistics for console ED2K_DESC= Compile aMule ed2k links handler FILEVIEW_DESC= Compile file viewer for console (EXPERIMENTAL) MMAP_DESC= Use mapped memory MONOLITHIC_DESC= Compile monolithic aMule PLASMAMULE_DESC= Compile aMule plasma applet and engine WXCAS_DESC= Compile aMule Statistics for GUI XAS_DESC= Install XChat2 plugin OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \ FILEVIEW MONOLITHIC WEBSERVER WXCAS XAS OPTIONS_SUB= yes SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING DEBUG_CONFIGURE_ON= --enable-debug NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls ALC_CONFIGURE_ON= --enable-alc ALCC_CONFIGURE_ON= --enable-alcc AMULECMD_CONFIGURE_ON= --enable-amulecmd AMULEDAEMON_CONFIGURE_ON= --enable-amule-daemon AMULEDAEMON_USE= RC_SUBR=amuled AMULEGUI_CONFIGURE_ON= --enable-amule-gui CAS_CONFIGURE_ON= --enable-cas CAS_LIB_DEPENDS= libgd.so:graphics/gd ED2K_CONFIGURE_OFF= --disable-ed2k FILEVIEW_CONFIGURE_ON= --enable-fileview GEOIP_CONFIGURE_ON= --enable-geoip GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP MMAP_CONFIGURE_ON= --enable-mmap MONOLITHIC_CONFIGURE_OFF= --disable-monolithic PLASMAMULE_CONFIGURE_ON= --enable-plasmamule -PLASMAMULE_USE= KDE4=kdelibs QT4=dbus,gui,moc_build +PLASMAMULE_USES= kde:4 +PLASMAMULE_USE= KDE=kdelibs QT4=dbus,gui,moc_build PLASMAMULE_CONFIGURE_ENV= \ - ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config \ - KBUILDSYCOCA=${KDE4_PREFIX}/bin/kbuildsycoca4 \ + ac_cv_path_KDE4_CONFIG=${KDE_PREFIX}/bin/kde4-config \ + KBUILDSYCOCA=${KDE_PREFIX}/bin/kbuildsycoca4 \ UPDATE_MIME_DATABASE=/usr/bin/true UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_OFF= --disable-upnp WEBSERVER_CONFIGURE_ON= --enable-webserver WXCAS_CONFIGURE_ON= --enable-wxcas XAS_CONFIGURE_ON= --enable-xas XAS_USE= PERL5+=run .include .if ${ARCH} == "i386" && ( ${OSVERSION} >= 1000024 || ${CXX:T} == "clang++" ) CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM .endif .if ${PORT_OPTIONS:MED2K} CONFLICTS+= ed2k-hash* .endif post-patch: .SILENT ${REINPLACE_CMD} -e 's/test.*-print-file-name.*`/true/' \ -e '/if.*test/s/==/=/' \ ${WRKSRC}/configure .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ ${WRKSRC}/docs/Makefile.in .endif .if ${PORT_OPTIONS:MPLASMAMULE} - ${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \ - -e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \ + ${REINPLACE_CMD} -e 's|@prefix@|${KDE_PREFIX}|' \ + -e 's|LDFLAGS =|& -L${KDE_PREFIX}/lib |' \ ${WRKSRC}/src/utils/plasmamule/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MFILEVIEW} ${INSTALL_PROGRAM} ${WRKSRC}/src/utils/fileview/mulefileview ${STAGEDIR}${PREFIX}/bin .endif .include Index: head/net-p2p/amule/pkg-plist =================================================================== --- head/net-p2p/amule/pkg-plist (revision 420773) +++ head/net-p2p/amule/pkg-plist (revision 420774) @@ -1,241 +1,241 @@ -%%PLASMAMULE%%%%KDE4_PREFIX%%/bin/plasmamule-engine-feeder -%%PLASMAMULE%%%%KDE4_PREFIX%%/lib/kde4/plasma-applet-plasmamule.so -%%PLASMAMULE%%%%KDE4_PREFIX%%/lib/kde4/plasma-engine-plasmamule.so -%%PLASMAMULE%%%%KDE4_PREFIX%%/share/applications/plasmamule-engine-feeder.desktop -%%PLASMAMULE%%%%KDE4_PREFIX%%/share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg -%%PLASMAMULE%%%%KDE4_PREFIX%%/share/kde4/services/ed2k.protocol -%%PLASMAMULE%%%%KDE4_PREFIX%%/share/kde4/services/magnet.protocol -%%PLASMAMULE%%%%KDE4_PREFIX%%/share/kde4/services/plasma-applet-plasmamule.desktop -%%PLASMAMULE%%%%KDE4_PREFIX%%/share/kde4/services/plasma-engine-plasmamule.desktop -%%PLASMAMULE%%%%KDE4_PREFIX%%/share/mime/amule.xml -%%PLASMAMULE%%@postexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE4_PREFIX%%/share/mime >/dev/null 2>&1 || true -%%PLASMAMULE%%@postunexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE4_PREFIX%%/share/mime >/dev/null 2>&1 || true +%%PLASMAMULE%%%%KDE_PREFIX%%/bin/plasmamule-engine-feeder +%%PLASMAMULE%%%%KDE_PREFIX%%/lib/kde4/plasma-applet-plasmamule.so +%%PLASMAMULE%%%%KDE_PREFIX%%/lib/kde4/plasma-engine-plasmamule.so +%%PLASMAMULE%%%%KDE_PREFIX%%/share/applications/plasmamule-engine-feeder.desktop +%%PLASMAMULE%%%%KDE_PREFIX%%/share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg +%%PLASMAMULE%%%%KDE_PREFIX%%/share/kde4/services/ed2k.protocol +%%PLASMAMULE%%%%KDE_PREFIX%%/share/kde4/services/magnet.protocol +%%PLASMAMULE%%%%KDE_PREFIX%%/share/kde4/services/plasma-applet-plasmamule.desktop +%%PLASMAMULE%%%%KDE_PREFIX%%/share/kde4/services/plasma-engine-plasmamule.desktop +%%PLASMAMULE%%%%KDE_PREFIX%%/share/mime/amule.xml +%%PLASMAMULE%%@postexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE_PREFIX%%/share/mime >/dev/null 2>&1 || true +%%PLASMAMULE%%@postunexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %%KDE_PREFIX%%/share/mime >/dev/null 2>&1 || true %%ALC%%bin/alc %%ALCC%%bin/alcc %%MONOLITHIC%%bin/amule %%AMULECMD%%bin/amulecmd %%AMULEDAEMON%%bin/amuled %%AMULEGUI%%bin/amulegui %%WEBSERVER%%bin/amuleweb %%XAS%%bin/autostart-xas %%CAS%%bin/cas %%ED2K%%bin/ed2k %%FILEVIEW%%bin/mulefileview %%WXCAS%%bin/wxcas %%XAS%%lib/xchat/plugins/xas.pl %%NLS%%%%ALC%%man/de/man1/alc.1.gz %%NLS%%%%ALCC%%man/de/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/de/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/de/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/de/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/de/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/de/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/de/man1/cas.1.gz %%NLS%%%%ED2K%%man/de/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/de/man1/wxcas.1.gz %%NLS%%%%XAS%%man/de/man1/xas.1.gz %%NLS%%%%ALC%%man/es/man1/alc.1.gz %%NLS%%%%ALCC%%man/es/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/es/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/es/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/es/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/es/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/es/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/es/man1/cas.1.gz %%NLS%%%%ED2K%%man/es/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/es/man1/wxcas.1.gz %%NLS%%%%XAS%%man/es/man1/xas.1.gz %%NLS%%%%ALC%%man/fr/man1/alc.1.gz %%NLS%%%%ALCC%%man/fr/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/fr/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/fr/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/fr/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/fr/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/fr/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/fr/man1/cas.1.gz %%NLS%%%%ED2K%%man/fr/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/fr/man1/wxcas.1.gz %%NLS%%%%XAS%%man/fr/man1/xas.1.gz %%NLS%%%%ALC%%man/hu/man1/alc.1.gz %%NLS%%%%ALCC%%man/hu/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/hu/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/hu/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/hu/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/hu/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/hu/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/hu/man1/cas.1.gz %%NLS%%%%ED2K%%man/hu/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/hu/man1/wxcas.1.gz %%NLS%%%%XAS%%man/hu/man1/xas.1.gz %%NLS%%%%ALC%%man/it/man1/alc.1.gz %%NLS%%%%ALCC%%man/it/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/it/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/it/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/it/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/it/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/it/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/it/man1/cas.1.gz %%NLS%%%%ED2K%%man/it/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/it/man1/wxcas.1.gz %%NLS%%%%XAS%%man/it/man1/xas.1.gz %%ALC%%man/man1/alc.1.gz %%ALCC%%man/man1/alcc.1.gz %%MONOLITHIC%%man/man1/amule.1.gz %%AMULECMD%%man/man1/amulecmd.1.gz %%AMULEDAEMON%%man/man1/amuled.1.gz %%AMULEGUI%%man/man1/amulegui.1.gz %%WEBSERVER%%man/man1/amuleweb.1.gz %%CAS%%man/man1/cas.1.gz %%ED2K%%man/man1/ed2k.1.gz %%WXCAS%%man/man1/wxcas.1.gz %%XAS%%man/man1/xas.1.gz %%NLS%%%%ALC%%man/ru/man1/alc.1.gz %%NLS%%%%ALCC%%man/ru/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/ru/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/ru/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/ru/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/ru/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/ru/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/ru/man1/cas.1.gz %%NLS%%%%ED2K%%man/ru/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/ru/man1/wxcas.1.gz %%NLS%%%%XAS%%man/ru/man1/xas.1.gz %%NLS%%%%ALC%%man/tr/man1/alc.1.gz %%NLS%%%%ALCC%%man/tr/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/tr/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/tr/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/tr/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/tr/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/tr/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/tr/man1/cas.1.gz %%NLS%%%%ED2K%%man/tr/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/tr/man1/wxcas.1.gz %%NLS%%%%XAS%%man/tr/man1/xas.1.gz %%DATADIR%%/skins/Mac_Gray.zip %%DATADIR%%/skins/gnome.zip %%DATADIR%%/skins/kde4.zip %%DATADIR%%/skins/priscilla.zip %%DATADIR%%/skins/tango.zip %%DATADIR%%/skins/xfce.zip %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-dload.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-kad.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-log.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-prefs.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-search.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-servers.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-shared.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-stats.php %%WEBSERVER%%%%DATADIR%%/webserver/default/black.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blank1x1.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue1.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue2.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue3.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue4.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue5.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue6.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/cancel.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/close.png %%WEBSERVER%%%%DATADIR%%/webserver/default/col.png %%WEBSERVER%%%%DATADIR%%/webserver/default/connect.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/down.png %%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/favicon.ico %%WEBSERVER%%%%DATADIR%%/webserver/default/filter.png %%WEBSERVER%%%%DATADIR%%/webserver/default/fond.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/fond_haut.png %%WEBSERVER%%%%DATADIR%%/webserver/default/footer.php %%WEBSERVER%%%%DATADIR%%/webserver/default/index.html %%WEBSERVER%%%%DATADIR%%/webserver/default/log.php %%WEBSERVER%%%%DATADIR%%/webserver/default/login.php %%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond_haut.png %%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.jpg %%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.png %%WEBSERVER%%%%DATADIR%%/webserver/default/logo.png %%WEBSERVER%%%%DATADIR%%/webserver/default/maquette.dwt %%WEBSERVER%%%%DATADIR%%/webserver/default/ok.png %%WEBSERVER%%%%DATADIR%%/webserver/default/pause.png %%WEBSERVER%%%%DATADIR%%/webserver/default/play.png %%WEBSERVER%%%%DATADIR%%/webserver/default/red.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/refresh.png %%WEBSERVER%%%%DATADIR%%/webserver/default/search_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/search_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/shared_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/shared_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/stats.php %%WEBSERVER%%%%DATADIR%%/webserver/default/stats_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/stats_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/stats_tree.php %%WEBSERVER%%%%DATADIR%%/webserver/default/style.css %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_left.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_right.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_left.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_right.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_left.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_right.png %%WEBSERVER%%%%DATADIR%%/webserver/default/transf_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/transf_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tree-closed.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/tree-leaf.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/tree-open.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/up.png %%WEBSERVER%%%%DATADIR%%/webserver/default/yellow.gif %%ALC%%share/applications/alc.desktop %%MONOLITHIC%%share/applications/amule.desktop %%AMULEGUI%%share/applications/amulegui.desktop %%WXCAS%%share/applications/wxcas.desktop %%CAS%%share/cas/stat.png %%CAS%%share/cas/tmp.html %%PORTDOCS%%%%DOCSDIR%%/ABOUT-NLS %%PORTDOCS%%%%DOCSDIR%%/Changelog %%PORTDOCS%%%%DOCSDIR%%/EC_Protocol.txt %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/amulesig.txt %%PORTDOCS%%%%DOCSDIR%%/license.txt %%NLS%%share/locale/ar/LC_MESSAGES/amule.mo %%NLS%%share/locale/ast/LC_MESSAGES/amule.mo %%NLS%%share/locale/bg/LC_MESSAGES/amule.mo %%NLS%%share/locale/ca/LC_MESSAGES/amule.mo %%NLS%%share/locale/cs/LC_MESSAGES/amule.mo %%NLS%%share/locale/da/LC_MESSAGES/amule.mo %%NLS%%share/locale/de/LC_MESSAGES/amule.mo %%NLS%%share/locale/el/LC_MESSAGES/amule.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/amule.mo %%NLS%%share/locale/es/LC_MESSAGES/amule.mo %%NLS%%share/locale/et_EE/LC_MESSAGES/amule.mo %%NLS%%share/locale/eu/LC_MESSAGES/amule.mo %%NLS%%share/locale/fi/LC_MESSAGES/amule.mo %%NLS%%share/locale/fr/LC_MESSAGES/amule.mo %%NLS%%share/locale/gl/LC_MESSAGES/amule.mo %%NLS%%share/locale/he/LC_MESSAGES/amule.mo %%NLS%%share/locale/hr/LC_MESSAGES/amule.mo %%NLS%%share/locale/hu/LC_MESSAGES/amule.mo %%NLS%%share/locale/it/LC_MESSAGES/amule.mo %%NLS%%share/locale/it_CH/LC_MESSAGES/amule.mo %%NLS%%share/locale/ja/LC_MESSAGES/amule.mo %%NLS%%share/locale/ko_KR/LC_MESSAGES/amule.mo %%NLS%%share/locale/lt/LC_MESSAGES/amule.mo %%NLS%%share/locale/nl/LC_MESSAGES/amule.mo %%NLS%%share/locale/nn/LC_MESSAGES/amule.mo %%NLS%%share/locale/pl/LC_MESSAGES/amule.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/amule.mo %%NLS%%share/locale/pt_PT/LC_MESSAGES/amule.mo %%NLS%%share/locale/ru/LC_MESSAGES/amule.mo %%NLS%%share/locale/sl/LC_MESSAGES/amule.mo %%NLS%%share/locale/sq/LC_MESSAGES/amule.mo %%NLS%%share/locale/sv/LC_MESSAGES/amule.mo %%NLS%%share/locale/tr/LC_MESSAGES/amule.mo %%NLS%%share/locale/uk/LC_MESSAGES/amule.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/amule.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/amule.mo %%ALC%%share/pixmaps/alc.xpm %%MONOLITHIC%%share/pixmaps/amule.xpm %%AMULEGUI%%share/pixmaps/amulegui.xpm %%WXCAS%%share/pixmaps/wxcas.xpm Index: head/net-p2p/amule-devel/Makefile =================================================================== --- head/net-p2p/amule-devel/Makefile (revision 420773) +++ head/net-p2p/amule-devel/Makefile (revision 420774) @@ -1,142 +1,143 @@ # Created by: Ganael LAPLANCHE # $FreeBSD$ PORTNAME= amule PORTVERSION= 10933 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= http://amule.sourceforge.net/tarballs/ PKGNAMESUFFIX= -devel DISTNAME= aMule-SVN-r${PORTVERSION} MAINTAINER= bar@FreeBSD.org COMMENT= All-platform eMule p2p client LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual LIB_DEPENDS= libcryptopp.so:security/cryptopp CONFLICTS= amule-[0-9]* USES= bison desktop-file-utils gmake perl5 pkgconfig shebangfix \ tar:bzip2 USE_PERL5= build USE_WX= 2.8 WX_CONF_ARGS= absolute GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-denoise-level=0 CONFIGURE_ENV= LEX="${FLEX}" PKG_CONFIG="${PKG_CONFIG}" \ docdir='$${prefix}/${DOCSDIR_REL}' CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib OPTIONS_DEFINE= ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS DEBUG DOCS ED2K \ FILEVIEW GEOIP MMAP MONOLITHIC NLS OPTIMIZED_CFLAGS PLASMAMULE UPNP \ WEBSERVER WXCAS XAS ALC_DESC= Compile aMule Link Creator for GUI ALCC_DESC= Compile aMule Link Creator for console AMULECMD_DESC= Compile aMule command line client AMULEDAEMON_DESC= Compile aMule daemon version AMULEGUI_DESC= Compile aMule remote GUI CAS_DESC= Compile aMule Statistics for console ED2K_DESC= Compile aMule ed2k links handler FILEVIEW_DESC= Compile file viewer for console (EXPERIMENTAL) MMAP_DESC= Use mapped memory MONOLITHIC_DESC= Compile monolithic aMule PLASMAMULE_DESC= Compile aMule plasma applet and engine WXCAS_DESC= Compile aMule Statistics for GUI XAS_DESC= Install XChat2 plugin OPTIONS_DEFAULT=ALC ALCC AMULECMD AMULEDAEMON AMULEGUI CAS ED2K \ FILEVIEW MONOLITHIC WEBSERVER WXCAS XAS OPTIONS_SUB= yes SHEBANG_FILES= src/utils/scripts/*.pl src/utils/xas/*.pl src/libs/ec/*.pl LICENSE_FILE_GPLv2=${WRKSRC}/docs/COPYING DEBUG_CONFIGURE_ON= --enable-debug NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls ALC_CONFIGURE_ON= --enable-alc ALCC_CONFIGURE_ON= --enable-alcc AMULECMD_CONFIGURE_ON= --enable-amulecmd AMULEDAEMON_CONFIGURE_ON= --enable-amule-daemon AMULEDAEMON_USE= RC_SUBR=amuled AMULEGUI_CONFIGURE_ON= --enable-amule-gui CAS_CONFIGURE_ON= --enable-cas CAS_LIB_DEPENDS= libgd.so:graphics/gd ED2K_CONFIGURE_OFF= --disable-ed2k FILEVIEW_CONFIGURE_ON= --enable-fileview GEOIP_CONFIGURE_ON= --enable-geoip GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP MMAP_CONFIGURE_ON= --enable-mmap MONOLITHIC_CONFIGURE_OFF= --disable-monolithic PLASMAMULE_CONFIGURE_ON= --enable-plasmamule -PLASMAMULE_USE= KDE4=kdelibs QT4=dbus,gui,moc_build +PLASMAMULE_USES= kde:4 +PLASMAMULE_USE= KDE=kdelibs QT4=dbus,gui,moc_build PLASMAMULE_CONFIGURE_ENV= \ - ac_cv_path_KDE4_CONFIG=${KDE4_PREFIX}/bin/kde4-config \ - KBUILDSYCOCA=${KDE4_PREFIX}/bin/kbuildsycoca4 \ + ac_cv_path_KDE4_CONFIG=${KDE_PREFIX}/bin/kde4-config \ + KBUILDSYCOCA=${KDE_PREFIX}/bin/kbuildsycoca4 \ UPDATE_MIME_DATABASE=/usr/bin/true UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_OFF= --disable-upnp WEBSERVER_CONFIGURE_ON= --enable-webserver WXCAS_CONFIGURE_ON= --enable-wxcas XAS_CONFIGURE_ON= --enable-xas XAS_USE= PERL5+=run .include .if ${ARCH} == "i386" && ( ${OSVERSION} >= 1000024 || ${CXX:T} == "clang++" ) CPPFLAGS+= -DCRYPTOPP_DISABLE_ASM .endif .if ${PORT_OPTIONS:MED2K} CONFLICTS+= ed2k-hash* .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CONFIGURE_ARGS+= --enable-optimize .endif post-patch: .SILENT ${REINPLACE_CMD} -e 's/test.*-print-file-name.*`/true/' \ -e '/if.*test/s/==/=/' \ ${WRKSRC}/configure .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} 's/install-data-am:.*/install-data-am:/' \ ${WRKSRC}/docs/Makefile.in .endif .if ${PORT_OPTIONS:MPLASMAMULE} - ${REINPLACE_CMD} -e 's|@prefix@|${KDE4_PREFIX}|' \ - -e 's|LDFLAGS =|& -L${KDE4_PREFIX}/lib |' \ + ${REINPLACE_CMD} -e 's|@prefix@|${KDE_PREFIX}|' \ + -e 's|LDFLAGS =|& -L${KDE_PREFIX}/lib |' \ ${WRKSRC}/src/utils/plasmamule/Makefile.in .endif post-install: .if ${PORT_OPTIONS:MFILEVIEW} ${INSTALL_PROGRAM} ${WRKSRC}/src/utils/fileview/mulefileview ${STAGEDIR}${PREFIX}/bin .endif .include Index: head/net-p2p/amule-devel/pkg-plist =================================================================== --- head/net-p2p/amule-devel/pkg-plist (revision 420773) +++ head/net-p2p/amule-devel/pkg-plist (revision 420774) @@ -1,266 +1,266 @@ -%%PLASMAMULE%%@cwd %%KDE4_PREFIX%% +%%PLASMAMULE%%@cwd %%KDE_PREFIX%% %%PLASMAMULE%%bin/plasmamule-engine-feeder %%PLASMAMULE%%lib/kde4/plasma-applet-plasmamule.so %%PLASMAMULE%%lib/kde4/plasma-engine-plasmamule.so %%PLASMAMULE%%share/applications/plasmamule-engine-feeder.desktop %%PLASMAMULE%%share/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg %%PLASMAMULE%%share/kde4/services/ed2k.protocol %%PLASMAMULE%%share/kde4/services/magnet.protocol %%PLASMAMULE%%share/kde4/services/plasma-applet-plasmamule.desktop %%PLASMAMULE%%share/kde4/services/plasma-engine-plasmamule.desktop %%PLASMAMULE%%share/mime/amule.xml %%PLASMAMULE%%@postexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true %%PLASMAMULE%%@postunexec [ -f %%LOCALBASE%%/bin/update-mime-database ] && %%LOCALBASE%%/bin/update-mime-database %D/share/mime >/dev/null 2>&1 || true %%PLASMAMULE%%@cwd %%RESETPREFIX%% %%ALC%%bin/alc %%ALCC%%bin/alcc %%MONOLITHIC%%bin/amule %%AMULECMD%%bin/amulecmd %%AMULEDAEMON%%bin/amuled %%AMULEGUI%%bin/amulegui %%WEBSERVER%%bin/amuleweb %%XAS%%bin/autostart-xas %%CAS%%bin/cas %%ED2K%%bin/ed2k %%FILEVIEW%%bin/mulefileview %%WXCAS%%bin/wxcas %%XAS%%lib/xchat/plugins/xas.pl %%NLS%%%%ALC%%man/de/man1/alc.1.gz %%NLS%%%%ALCC%%man/de/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/de/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/de/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/de/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/de/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/de/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/de/man1/cas.1.gz %%NLS%%%%ED2K%%man/de/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/de/man1/wxcas.1.gz %%NLS%%%%XAS%%man/de/man1/xas.1.gz %%NLS%%%%ALC%%man/es/man1/alc.1.gz %%NLS%%%%ALCC%%man/es/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/es/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/es/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/es/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/es/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/es/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/es/man1/cas.1.gz %%NLS%%%%ED2K%%man/es/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/es/man1/wxcas.1.gz %%NLS%%%%XAS%%man/es/man1/xas.1.gz %%NLS%%%%ALC%%man/fr/man1/alc.1.gz %%NLS%%%%ALCC%%man/fr/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/fr/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/fr/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/fr/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/fr/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/fr/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/fr/man1/cas.1.gz %%NLS%%%%ED2K%%man/fr/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/fr/man1/wxcas.1.gz %%NLS%%%%XAS%%man/fr/man1/xas.1.gz %%NLS%%%%ALC%%man/hu/man1/alc.1.gz %%NLS%%%%ALCC%%man/hu/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/hu/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/hu/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/hu/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/hu/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/hu/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/hu/man1/cas.1.gz %%NLS%%%%ED2K%%man/hu/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/hu/man1/wxcas.1.gz %%NLS%%%%XAS%%man/hu/man1/xas.1.gz %%NLS%%%%ALC%%man/it/man1/alc.1.gz %%NLS%%%%ALCC%%man/it/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/it/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/it/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/it/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/it/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/it/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/it/man1/cas.1.gz %%NLS%%%%ED2K%%man/it/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/it/man1/wxcas.1.gz %%NLS%%%%XAS%%man/it/man1/xas.1.gz %%ALC%%man/man1/alc.1.gz %%ALCC%%man/man1/alcc.1.gz %%MONOLITHIC%%man/man1/amule.1.gz %%AMULECMD%%man/man1/amulecmd.1.gz %%AMULEDAEMON%%man/man1/amuled.1.gz %%AMULEGUI%%man/man1/amulegui.1.gz %%WEBSERVER%%man/man1/amuleweb.1.gz %%CAS%%man/man1/cas.1.gz %%ED2K%%man/man1/ed2k.1.gz %%WXCAS%%man/man1/wxcas.1.gz %%XAS%%man/man1/xas.1.gz %%NLS%%%%ALC%%man/ro/man1/alc.1.gz %%NLS%%%%ALCC%%man/ro/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/ro/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/ro/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/ro/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/ro/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/ro/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/ro/man1/cas.1.gz %%NLS%%%%ED2K%%man/ro/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/ro/man1/wxcas.1.gz %%NLS%%%%XAS%%man/ro/man1/xas.1.gz %%NLS%%%%ALC%%man/ru/man1/alc.1.gz %%NLS%%%%ALCC%%man/ru/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/ru/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/ru/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/ru/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/ru/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/ru/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/ru/man1/cas.1.gz %%NLS%%%%ED2K%%man/ru/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/ru/man1/wxcas.1.gz %%NLS%%%%XAS%%man/ru/man1/xas.1.gz %%NLS%%%%ALC%%man/tr/man1/alc.1.gz %%NLS%%%%ALCC%%man/tr/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/tr/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/tr/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/tr/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/tr/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/tr/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/tr/man1/cas.1.gz %%NLS%%%%ED2K%%man/tr/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/tr/man1/wxcas.1.gz %%NLS%%%%XAS%%man/tr/man1/xas.1.gz %%NLS%%%%ALC%%man/zh_TW/man1/alc.1.gz %%NLS%%%%ALCC%%man/zh_TW/man1/alcc.1.gz %%NLS%%%%MONOLITHIC%%man/zh_TW/man1/amule.1.gz %%NLS%%%%AMULECMD%%man/zh_TW/man1/amulecmd.1.gz %%NLS%%%%AMULEDAEMON%%man/zh_TW/man1/amuled.1.gz %%NLS%%%%AMULEGUI%%man/zh_TW/man1/amulegui.1.gz %%NLS%%%%WEBSERVER%%man/zh_TW/man1/amuleweb.1.gz %%NLS%%%%CAS%%man/zh_TW/man1/cas.1.gz %%NLS%%%%ED2K%%man/zh_TW/man1/ed2k.1.gz %%NLS%%%%WXCAS%%man/zh_TW/man1/wxcas.1.gz %%NLS%%%%XAS%%man/zh_TW/man1/xas.1.gz %%DATADIR%%/skins/Mac_Gray.zip %%DATADIR%%/skins/gnome.zip %%DATADIR%%/skins/kde4.zip %%DATADIR%%/skins/priscilla.zip %%DATADIR%%/skins/tango.zip %%DATADIR%%/skins/xfce.zip %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-dload.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-kad.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-log.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-prefs.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-search.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-servers.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-shared.php %%WEBSERVER%%%%DATADIR%%/webserver/default/amuleweb-main-stats.php %%WEBSERVER%%%%DATADIR%%/webserver/default/black.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blank1x1.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue1.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue2.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue3.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue4.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue5.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/blue6.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/cancel.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/close.png %%WEBSERVER%%%%DATADIR%%/webserver/default/col.png %%WEBSERVER%%%%DATADIR%%/webserver/default/connect.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/down.png %%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/edkserv_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/favicon.ico %%WEBSERVER%%%%DATADIR%%/webserver/default/filter.png %%WEBSERVER%%%%DATADIR%%/webserver/default/fond.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/fond_haut.png %%WEBSERVER%%%%DATADIR%%/webserver/default/footer.php %%WEBSERVER%%%%DATADIR%%/webserver/default/index.html %%WEBSERVER%%%%DATADIR%%/webserver/default/log.php %%WEBSERVER%%%%DATADIR%%/webserver/default/login.php %%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/loginfond_haut.png %%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.jpg %%WEBSERVER%%%%DATADIR%%/webserver/default/loginlogo.png %%WEBSERVER%%%%DATADIR%%/webserver/default/logo.png %%WEBSERVER%%%%DATADIR%%/webserver/default/maquette.dwt %%WEBSERVER%%%%DATADIR%%/webserver/default/ok.png %%WEBSERVER%%%%DATADIR%%/webserver/default/pause.png %%WEBSERVER%%%%DATADIR%%/webserver/default/play.png %%WEBSERVER%%%%DATADIR%%/webserver/default/red.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/refresh.png %%WEBSERVER%%%%DATADIR%%/webserver/default/search_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/search_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/shared_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/shared_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/sheserv_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/stats.php %%WEBSERVER%%%%DATADIR%%/webserver/default/stats_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/stats_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/stats_tree.php %%WEBSERVER%%%%DATADIR%%/webserver/default/style.css %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_left.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_bottom_right.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_left.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_right.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_left.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tab_top_right.png %%WEBSERVER%%%%DATADIR%%/webserver/default/transf_0.png %%WEBSERVER%%%%DATADIR%%/webserver/default/transf_1.png %%WEBSERVER%%%%DATADIR%%/webserver/default/tree-closed.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/tree-leaf.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/tree-open.gif %%WEBSERVER%%%%DATADIR%%/webserver/default/up.png %%WEBSERVER%%%%DATADIR%%/webserver/default/yellow.gif %%ALC%%share/applications/alc.desktop %%MONOLITHIC%%share/applications/amule.desktop %%AMULEGUI%%share/applications/amulegui.desktop %%WXCAS%%share/applications/wxcas.desktop %%CAS%%share/cas/stat.png %%CAS%%share/cas/tmp.html %%PORTDOCS%%%%DOCSDIR%%/ABOUT-NLS %%PORTDOCS%%%%DOCSDIR%%/Changelog %%PORTDOCS%%%%DOCSDIR%%/EC_Protocol.txt %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/amulesig.txt %%PORTDOCS%%%%DOCSDIR%%/license.txt %%NLS%%share/locale/ar/LC_MESSAGES/amule.mo %%NLS%%share/locale/ast/LC_MESSAGES/amule.mo %%NLS%%share/locale/bg/LC_MESSAGES/amule.mo %%NLS%%share/locale/ca/LC_MESSAGES/amule.mo %%NLS%%share/locale/cs/LC_MESSAGES/amule.mo %%NLS%%share/locale/da/LC_MESSAGES/amule.mo %%NLS%%share/locale/de/LC_MESSAGES/amule.mo %%NLS%%share/locale/el/LC_MESSAGES/amule.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/amule.mo %%NLS%%share/locale/es/LC_MESSAGES/amule.mo %%NLS%%share/locale/et_EE/LC_MESSAGES/amule.mo %%NLS%%share/locale/eu/LC_MESSAGES/amule.mo %%NLS%%share/locale/fi/LC_MESSAGES/amule.mo %%NLS%%share/locale/fr/LC_MESSAGES/amule.mo %%NLS%%share/locale/gl/LC_MESSAGES/amule.mo %%NLS%%share/locale/he/LC_MESSAGES/amule.mo %%NLS%%share/locale/hr/LC_MESSAGES/amule.mo %%NLS%%share/locale/hu/LC_MESSAGES/amule.mo %%NLS%%share/locale/it/LC_MESSAGES/amule.mo %%NLS%%share/locale/it_CH/LC_MESSAGES/amule.mo %%NLS%%share/locale/ja/LC_MESSAGES/amule.mo %%NLS%%share/locale/ko_KR/LC_MESSAGES/amule.mo %%NLS%%share/locale/lt/LC_MESSAGES/amule.mo %%NLS%%share/locale/nl/LC_MESSAGES/amule.mo %%NLS%%share/locale/nn/LC_MESSAGES/amule.mo %%NLS%%share/locale/pl/LC_MESSAGES/amule.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/amule.mo %%NLS%%share/locale/pt_PT/LC_MESSAGES/amule.mo %%NLS%%share/locale/ro/LC_MESSAGES/amule.mo %%NLS%%share/locale/ru/LC_MESSAGES/amule.mo %%NLS%%share/locale/sl/LC_MESSAGES/amule.mo %%NLS%%share/locale/sq/LC_MESSAGES/amule.mo %%NLS%%share/locale/sv/LC_MESSAGES/amule.mo %%NLS%%share/locale/tr/LC_MESSAGES/amule.mo %%NLS%%share/locale/uk/LC_MESSAGES/amule.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/amule.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/amule.mo %%ALC%%share/pixmaps/alc.xpm %%MONOLITHIC%%share/pixmaps/amule.xpm %%AMULEGUI%%share/pixmaps/amulegui.xpm %%WXCAS%%share/pixmaps/wxcas.xpm Index: head/net-p2p/ktorrent/Makefile =================================================================== --- head/net-p2p/ktorrent/Makefile (revision 420773) +++ head/net-p2p/ktorrent/Makefile (revision 420774) @@ -1,36 +1,36 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= ktorrent DISTVERSION= 4.3.1 PORTREVISION= 5 CATEGORIES= net-p2p kde MASTER_SITES= http://ktorrent.org/downloads/${DISTVERSION}/ MAINTAINER= makc@FreeBSD.org COMMENT= BitTorrent client for KDE BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs LIB_DEPENDS= libtag.so:audio/taglib \ libgmp.so:math/gmp \ libktorrent.so:net-p2p/libktorrent -USE_KDE4= kdelibs automoc4 pimlibs workspace +USES= cmake:outsource gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 pimlibs workspace USE_QT4= corelib gui network qt3support qtestlib webkit \ qmake_build moc_build rcc_build uic_build -USES= cmake:outsource gettext tar:bzip2 USE_LDCONFIG= yes CONFLICTS_BUILD= ktorrent-2* SHLIB_VER= 15.0.0 PLIST_SUB+= SHLIB_VER=${SHLIB_VER} \ SHLIB_SHVER=${SHLIB_VER:R:R} CMAKE_ARGS+= -DENABLE_KIO_MAGNET=1 post-patch: ${REINPLACE_CMD} -e 's,ktorrent,$${LIBKTORRENT_LIBRARIES},' \ ${WRKSRC}/plugins/ipfilter/tests/CMakeLists.txt .include Index: head/net-p2p/libktorrent/Makefile =================================================================== --- head/net-p2p/libktorrent/Makefile (revision 420773) +++ head/net-p2p/libktorrent/Makefile (revision 420774) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= libktorrent DISTVERSION= 1.3.1 PORTREVISION= 8 CATEGORIES= net-p2p kde MASTER_SITES= http://ktorrent.org/downloads/${DISTVERSION:C,^1,4,:C,-.*,,}/ MAINTAINER= makc@FreeBSD.org COMMENT= Torrent library from KTorrent project BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgmp.so:math/gmp \ libqca.so:devel/qca -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= qtestlib_build qmake_build moc_build rcc_build uic_build -USES= cmake:outsource gettext tar:bzip2 USE_LDCONFIG= yes SHLIB_VER= 5.0.1 PLIST_SUB+= SHLIB_VER=${SHLIB_VER} \ SHLIB_SHVER=${SHLIB_VER:R:R} .include Index: head/ports-mgmt/kpackagekit/Makefile =================================================================== --- head/ports-mgmt/kpackagekit/Makefile (revision 420773) +++ head/ports-mgmt/kpackagekit/Makefile (revision 420774) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= KPackageKit PORTVERSION= 0.6.3.3 PORTREVISION= 5 CATEGORIES= ports-mgmt sysutils kde MASTER_SITES= http://opendesktop.org/CONTENT/content-files/ DISTNAME= 84745-${PORTNAME:tl}-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE interface for PackageKit LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpackagekit-qt.so:ports-mgmt/packagekit-qt4 -USE_KDE4= automoc4 kdelibs +USES= cmake gettext kde:4 pkgconfig tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build -USES= cmake gettext pkgconfig tar:bzip2 LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION} .include Index: head/print/frescobaldi/Makefile =================================================================== --- head/print/frescobaldi/Makefile (revision 420773) +++ head/print/frescobaldi/Makefile (revision 420774) @@ -1,27 +1,27 @@ # Created by: martin.dieringer@gmx.de # $FreeBSD$ PORTNAME= frescobaldi PORTVERSION= 2.0.15 PORTREVISION= 2 CATEGORIES= print kde MASTER_SITES= https://github.com/wbsoft/frescobaldi/releases/download/v${PORTVERSION}/ MAINTAINER= martin.dieringer@gmx.de COMMENT= Music score editor for lilypond LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual RUN_DEPENDS= lilypond:print/lilypond \ ${PYTHON_PKGNAMEPREFIX}poppler-qt4>=0:graphics/py-poppler-qt4 -USES= gettext python +USES= gettext kde:4 python INSTALLS_ICONS= yes -USE_KDE4= kdelibs pykde4_build pykde4_run +USE_KDE= kdelibs pykde4_build pykde4_run USE_PYTHON= distutils autoplist post-patch: @${REINPLACE_CMD} '/install-script=frescobaldi-wininst.py/d' ${WRKSRC}/setup.cfg .include Index: head/print/kde4-print-manager/Makefile =================================================================== --- head/print/kde4-print-manager/Makefile (revision 420773) +++ head/print/kde4-print-manager/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= print-manager PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= print kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Printer manager for KDE 4 LIB_DEPENDS= libcups.so:print/cups -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= designer network \ qmake_build moc_build uic_build rcc_build .include Index: head/print/kover/Makefile =================================================================== --- head/print/kover/Makefile (revision 420773) +++ head/print/kover/Makefile (revision 420774) @@ -1,29 +1,29 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kover PORTVERSION= 6 PORTREVISION= 6 CATEGORIES= print kde MASTER_SITES= https://lisas.de/kover/ MAINTAINER= ports@FreeBSD.org COMMENT= WYSIWYG CD cover printer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcddb.so:audio/libcddb \ libcdio.so:sysutils/libcdio -USE_KDE4= automoc4 kdelibs +USES= cmake gettext kde:4 perl5 pkgconfig shared-mime-info tar:bzip2 +USE_KDE= automoc4 kdelibs USE_QT4= corelib dbus gui network svg xml \ qmake_build uic_build rcc_build USE_PERL5= build -USES= cmake gettext perl5 pkgconfig shared-mime-info tar:bzip2 post-patch: @${REINPLACE_CMD} -e \ '/libcdio/s|>=.*)|)|' ${WRKSRC}/src/CMakeLists.txt .include Index: head/science/kalzium/Makefile =================================================================== --- head/science/kalzium/Makefile (revision 420773) +++ head/science/kalzium/Makefile (revision 420774) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= kalzium PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= science kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Periodic table of elements for KDE 4 LIB_DEPENDS= libopenbabel.so:science/openbabel \ libavogadro.so:science/avogadro BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:math/eigen2 \ ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3 \ ${LOCALBASE}/lib/ocaml/facile/facile.a:math/facile \ ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:science/chemical-mime-data RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:science/chemical-mime-data -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource kde:4 pkgconfig tar:xz +USE_KDE= kdelibs automoc4 USE_OCAML= yes NO_OCAML_RUNDEPENDS= yes USE_QT4= corelib declarative designer opengl script xml \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/science/step/Makefile =================================================================== --- head/science/step/Makefile (revision 420773) +++ head/science/step/Makefile (revision 420774) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= step PORTVERSION= ${KDE4_VERSION} CATEGORIES= science kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 interactive physics simulator BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:math/eigen2 LIB_DEPENDS= libqalculate.so:math/libqalculate \ libgsl.so:math/gsl -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource kde:4 pkgconfig tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= opengl moc_build qmake_build rcc_build uic_build pre-configure: # Avoid building translations, should the user pass # CURRENT_LANG to CMake. ${REINPLACE_CMD} -e '/set(STEP_BUILD_TRANSLATIONS 1)/ d' \ ${WRKSRC}/${PORTNAME}/data/CMakeLists.txt .include Index: head/security/kgpg-kde4/Makefile =================================================================== --- head/security/kgpg-kde4/Makefile (revision 420773) +++ head/security/kgpg-kde4/Makefile (revision 420774) @@ -1,19 +1,19 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kgpg PORTVERSION= ${KDE4_VERSION} CATEGORIES= security kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Encryption tool for KDE RUN_DEPENDS= gpg2:security/gnupg -USE_KDE4= automoc4 kdelibs pimlibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs pimlibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/security/kwalletmanager/Makefile =================================================================== --- head/security/kwalletmanager/Makefile (revision 420773) +++ head/security/kwalletmanager/Makefile (revision 420774) @@ -1,17 +1,17 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kwalletmanager PORTVERSION= ${KDE4_VERSION} CATEGORIES= security kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Password manager for KDE -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource gmake tar:xz +USES= cmake:outsource gmake kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/security/py-keyrings.alt/Makefile =================================================================== --- head/security/py-keyrings.alt/Makefile (revision 420773) +++ head/security/py-keyrings.alt/Makefile (revision 420774) @@ -1,34 +1,35 @@ # Created by: Douglas Thrift # $FreeBSD$ PORTNAME= keyrings.alt PORTVERSION= 1.1.1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= douglas@douglasthrift.net COMMENT= Alternate Python keyring implementations LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.9:devel/py-setuptools_scm NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils OPTIONS_DEFINE= ENCRYPTED_FILE GNOME_KEYRING KDE_KWALLET KEYCZAR PYFS ENCRYPTED_FILE_DESC= Install pycrypto to support the Encrypted File backend GNOME_KEYRING_DESC= Install GNOME Keyring to support the Gnome backend KDE_KWALLET_DESC= Install KDE KWallet to support the kwallet backend KEYCZAR_DESC= Install keyczar to support keyring encryption PYFS_DESC= Install pyfilesystem to support the pyfs backend ENCRYPTED_FILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:security/py-pycrypto GNOME_KEYRING_USE= GNOME=pygobject3 -KDE_KWALLET_USE= KDE4=pykde4 +KDE_KWALLET_USES= kde:4 +KDE_KWALLET_USE= KDE=pykde4 KEYCZAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyczar>=0.71c:security/py-keyczar PYFS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs .include Index: head/security/subversion-kwallet/Makefile =================================================================== --- head/security/subversion-kwallet/Makefile (revision 420773) +++ head/security/subversion-kwallet/Makefile (revision 420774) @@ -1,32 +1,33 @@ # Created by: Autrijus Tang # $FreeBSD$ PKGNAMESUFFIX= -kwallet CATEGORIES= security kde MAINTAINER= lev@FreeBSD.org COMMENT= KDE KWallet integration for Version control system .if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 18 PORTREVISION= 2 MASTERDIR= ${.CURDIR}/../../devel/subversion18 .else MASTERDIR= ${.CURDIR}/../../devel/subversion .endif PKGDIR= ${.CURDIR} SVN_BUILD_ADDONS= yes -USE_KDE4= kdelibs runtime +USE_KDE= kdelibs runtime +USES+= kde:4 .include "${MASTERDIR}/Makefile.common" -CONFIGURE_ARGS+= --with-kwallet=${KDE4_PREFIX} +CONFIGURE_ARGS+= --with-kwallet=${KDE_PREFIX} ALL_TARGET= kwallet-lib INSTALL_TARGET= install-kwallet-lib post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include Index: head/sysutils/baloo/Makefile =================================================================== --- head/sysutils/baloo/Makefile (revision 420773) +++ head/sysutils/baloo/Makefile (revision 420774) @@ -1,25 +1,24 @@ # $FreeBSD$ PORTNAME= baloo PORTVERSION= ${KDE4_VERSION} PORTREVISION= 2 CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE framework for searching and managing user metadata CONFLICTS_INSTALL= kde-runtime-4.12.* LIB_DEPENDS= libxapian.so:databases/xapian-core \ libqjson.so:devel/qjson -USE_KDE4= akonadi automoc4 kdelibs kfilemetadata \ +USES= cmake:outsource gmake kde:4 tar:xz +USE_KDE= akonadi automoc4 kdelibs kfilemetadata \ pimlibs - -USES= cmake:outsource gmake tar:xz USE_QT4= corelib qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/sysutils/baloo-widgets/Makefile =================================================================== --- head/sysutils/baloo-widgets/Makefile (revision 420773) +++ head/sysutils/baloo-widgets/Makefile (revision 420774) @@ -1,19 +1,18 @@ # $FreeBSD$ PORTNAME= baloo-widgets PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= The BalooWidgets library -USE_KDE4= automoc4 baloo kfilemetadata - -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 baloo kfilemetadata USE_QT4= corelib qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/sysutils/filelight-kde4/Makefile =================================================================== --- head/sysutils/filelight-kde4/Makefile (revision 420773) +++ head/sysutils/filelight-kde4/Makefile (revision 420774) @@ -1,17 +1,17 @@ # Created by: Rusty Nejdl # $FreeBSD$ PORTNAME= filelight PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Map of concentric segmented-rings representing file system -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/sysutils/k3b-kde4/Makefile =================================================================== --- head/sysutils/k3b-kde4/Makefile (revision 420773) +++ head/sysutils/k3b-kde4/Makefile (revision 420774) @@ -1,98 +1,98 @@ # Created by: Heiner Eichmann # $FreeBSD$ PORTNAME= k3b PORTVERSION= 2.0.3 PORTREVISION= 1 CATEGORIES= sysutils multimedia kde MASTER_SITES= KDE/stable/${PORTNAME} DISTFILES= ${DISTNAME}a${EXTRACT_SUFX} MAINTAINER= kde@FreeBSD.org COMMENT= KDE CD/DVD writing suite LIB_DEPENDS= libcdda_paranoia.so:audio/cdparanoia \ libsamplerate.so:audio/libsamplerate RUN_DEPENDS= cdrecord:sysutils/cdrtools BUILD_DEPENDS= cdrecord:sysutils/cdrtools -USES= cmake gettext pkgconfig shared-mime-info tar:xz +USES= cmake gettext kde:4 pkgconfig shared-mime-info tar:xz CMAKE_ARGS= -DK3B_BUILD_K3BSETUP:BOOL=OFF \ -DK3B_ENABLE_MUSICBRAINZ:BOOL=OFF -USE_KDE4= automoc4 kdelibs libkcddb +USE_KDE= automoc4 kdelibs libkcddb USE_QT4= gui phonon qt3support webkit \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= CDRDAO DVDPLUSRW EMOVIX VCDIMAGER FFMPEG FLAC MAD \ MUSEPACK SNDFILE VORBIS_DEC LAME SOX VORBIS_ENC \ LIBDVDREAD NORMALIZE TAGLIB TRANSCODE OPTIONS_DEFAULT=CDRDAO DVDPLUSRW FFMPEG FLAC MAD MUSEPACK SNDFILE \ VORBIS_DEC VORBIS_ENC LIBDVDREAD TAGLIB NO_OPTIONS_SORT=yes OPTIONS_SUB= yes # FFMPEG FLAC MAD MUSEPACK SNDFILE VORBIS_ENC VORBIS_DEC LIBDVDREAD TAGLIB CDRDAO_DESC= Burning: cdrdao CDRDAO_RUN_DEPENDS= cdrdao:sysutils/cdrdao DVDPLUSRW_DESC= Burning: DVD+RW tools (DVD+/-R(W)) DVDPLUSRW_RUN_DEPENDS= dvd+rw-format:sysutils/dvd+rw-tools EMOVIX_DESC= Burning: eMovix (bootable video CDs) EMOVIX_RUN_DEPENDS= mkmovixiso:multimedia/emovix VCDIMAGER_DESC= Burning: VCDImager (video CDs) VCDIMAGER_RUN_DEPENDS= vcdxrip:multimedia/vcdimager FFMPEG_DESC= Decoder: various (multimedia/ffmpeg) FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_OFF= -DK3B_BUILD_FFMPEG_DECODER_PLUGIN:BOOL=OFF FLAC_DESC= Decoder: FLAC (audio/flac) FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_OFF= -DK3B_BUILD_FLAC_DECODER_PLUGIN:BOOL=OFF MAD_DESC= Decoder: MP3 (audio/libmad) MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CMAKE_OFF= -DK3B_BUILD_MAD_DECODER_PLUGIN:BOOL=OFF MUSEPACK_DESC= Decoder: Musepack (audio/musepack) MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack MUSEPACK_CMAKE_ON= -DMUSE_INCLUDE_DIR:STRING="${LOCALBASE}/include" MUSEPACK_CMAKE_OFF= -DK3B_BUILD_MUSE_DECODER_PLUGIN:BOOL=OFF SNDFILE_DESC= Decoder: various (audio/libsndfile) SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_ARGS= -DK3B_BUILD_SNDFILE_DECODER_PLUGIN:BOOL=OFF VORBIS_DEC_DESC= Decoder: Ogg Vorbis VORBIS_DEC_LIB_DEPENDS= libogg.so:audio/libogg VORBIS_DEC_CMAKE_OFF= -DK3B_BUILD_OGGVORBIS_DECODER_PLUGIN:BOOL=OFF LAME_DESC= Encoder: MP3 (audio/lame) LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CMAKE_OFF= -DK3B_BUILD_LAME_ENCODER_PLUGIN:BOOL=OFF SOX_DESC= Encoder: various (audio/sox) SOX_RUN_DEPENDS= sox:audio/sox SOX_CMAKE_OFF= -DK3B_BUILD_SOX_ENCODER_PLUGIN:BOOL=OFF VORBIS_ENC_DESC= Encoder: Ogg Vorbis VORBIS_ENC_LIB_DEPENDS= libogg.so:audio/libogg VORBIS_ENC_CMAKE_OFF= -DK3B_BUILD_OGGVORBIS_ENCODER_PLUGIN:BOOL=OFF LIBDVDREAD_DESC= Misc: libdvdread (video DVD ripping) LIBDVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread LIBDVDREAD_CMAKE_OFF= -DK3B_ENABLE_DVD_RIPPING:BOOL=OFF NORMALIZE_DESC= Misc: normalize (adjust audio to a std. level) NORMALIZE_RUN_DEPENDS= normalize:audio/normalize TAGLIB_DESC= Misc: TagLib (reading/writing audio metadata) TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib TAGLIB_CMAKE_OFF= -DK3B_ENABLE_TAGLIB:BOOL=OFF TRANSCODE_DESC= Misc: Transcode (DVD ripping) TRANSCODE_RUN_DEPENDS= transcode:multimedia/transcode .include Index: head/sysutils/kcm-polkit-kde/Makefile =================================================================== --- head/sysutils/kcm-polkit-kde/Makefile (revision 420773) +++ head/sysutils/kcm-polkit-kde/Makefile (revision 420774) @@ -1,33 +1,33 @@ # $FreeBSD$ PORTNAME= polkit-kde DISTVERSION= 0.0-${PORTDATE} PORTREVISION= 3 CATEGORIES= sysutils kde MASTER_SITES= LOCAL/avilla PKGNAMEPREFIX= kcm- DISTNAME= ${PORTNAME}-kcmodules-1-${PORTDATE} MAINTAINER= kde@FreeBSD.org COMMENT= Polkit-KDE configuration module LIB_DEPENDS= libpolkit-qt-agent-1.so:sysutils/polkit-qt -RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde +RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde -USE_KDE4= kdelibs automoc4 +USES= cmake gmake kde:4 pkgconfig tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= dbus xml moc_build qmake_build rcc_build uic_build -USES= cmake gmake pkgconfig tar:bzip2 USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-kcmodules-1 PORTDATE= 20121008 post-patch: - ${REINPLACE_CMD} -e 's,/usr,${KDE4_PREFIX},' \ - -e 's,/etc,${KDE4_PREFIX}/etc,' \ + ${REINPLACE_CMD} -e 's,/usr,${KDE_PREFIX},' \ + -e 's,/etc,${KDE_PREFIX}/etc,' \ ${WRKSRC}/helper/polkitkde1helper.cpp \ ${WRKSRC}/polkitactions/ActionWidget.cpp \ ${WRKSRC}/polkitconfig/kcmpolkitconfig.cpp .include Index: head/sysutils/kcron/Makefile =================================================================== --- head/sysutils/kcron/Makefile (revision 420773) +++ head/sysutils/kcron/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kcron PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE task scheduler -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/sysutils/kdeadmin4/Makefile =================================================================== --- head/sysutils/kdeadmin4/Makefile (revision 420773) +++ head/sysutils/kdeadmin4/Makefile (revision 420774) @@ -1,25 +1,24 @@ # $FreeBSD$ PORTNAME= kdeadmin PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE Administration applications (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= KCRON KSYSTEMLOG KUSER OPTIONS_DEFAULT= ${OPTIONS_DEFINE} KCRON_DESC= Task scheduler -KCRON_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kcm_cron.so:sysutils/kcron +KCRON_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kcm_cron.so:sysutils/kcron KSYSTEMLOG_DESC= System log viewer -KSYSTEMLOG_RUN_DEPENDS= ${KDE4_PREFIX}/bin/ksystemlog:sysutils/ksystemlog +KSYSTEMLOG_RUN_DEPENDS= ${KDE_PREFIX}/bin/ksystemlog:sysutils/ksystemlog KUSER_DESC= User management application -KUSER_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kuser:sysutils/kuser +KUSER_RUN_DEPENDS= ${KDE_PREFIX}/bin/kuser:sysutils/kuser .include Index: head/sysutils/kdf/Makefile =================================================================== --- head/sysutils/kdf/Makefile (revision 420773) +++ head/sysutils/kdf/Makefile (revision 420774) @@ -1,17 +1,17 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdf PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Shows free space of devices for KDE -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/sysutils/kdirstat/Makefile =================================================================== --- head/sysutils/kdirstat/Makefile (revision 420773) +++ head/sysutils/kdirstat/Makefile (revision 420774) @@ -1,35 +1,35 @@ # Created by: Stefan Jahn # $FreeBSD$ PORTNAME= kdirstat PORTVERSION= 2.7.8 CATEGORIES= sysutils kde MASTER_SITES= https://bitbucket.org/jeromerobert/k4dirstat/get/ DISTNAME= k4dirstat-${PORTVERSION} MAINTAINER= danilo@FreeBSD.org COMMENT= KDE utility that sums up disk usage for directory trees LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/jeromerobert-k4dirstat-3a4663ee20e7 -USES= cmake cpe desktop-file-utils gettext-tools tar:bzip2 +USES= cmake cpe desktop-file-utils gettext-tools kde:4 tar:bzip2 CPE_VENDOR= kdirstat_project -USE_KDE4= automoc4 kdelibs libkonq +USE_KDE= automoc4 kdelibs libkonq USE_QT4= moc_build qmake_build rcc_build uic_build INSTALLS_ICONS= yes post-patch: @${REINPLACE_CMD} -e \ '/^Categories/s|=.*|=Qt;KDE;Utility;|' \ ${WRKSRC}/src/k4dirstat.desktop @${REINPLACE_CMD} -e \ 's|||' \ ${WRKSRC}/src/kdirreadjob.cpp post-install: @${LN} -sf k4dirstat ${STAGEDIR}${PREFIX}/bin/kdirstat .include Index: head/sysutils/kfilemetadata/Makefile =================================================================== --- head/sysutils/kfilemetadata/Makefile (revision 420773) +++ head/sysutils/kfilemetadata/Makefile (revision 420774) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= kfilemetadata PORTVERSION= ${KDE4_VERSION} PORTREVISION= 6 CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Library for extracting file metadata LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 \ libtag.so:audio/taglib \ libexiv2.so:graphics/exiv2 \ libswscale.so:multimedia/ffmpeg \ libepub.so:textproc/ebook-tools \ libqmobipocket.so:graphics/kdegraphics4-mobipocket -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource pkgconfig tar:xz +USES= cmake:outsource kde:4 pkgconfig tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= corelib qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/sysutils/kfloppy/Makefile =================================================================== --- head/sysutils/kfloppy/Makefile (revision 420773) +++ head/sysutils/kfloppy/Makefile (revision 420774) @@ -1,17 +1,17 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kfloppy PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Floppy disk formatter for KDE -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/sysutils/knutclient-kde4/Makefile =================================================================== --- head/sysutils/knutclient-kde4/Makefile (revision 420773) +++ head/sysutils/knutclient-kde4/Makefile (revision 420774) @@ -1,26 +1,26 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= knutclient PORTVERSION= 1.0.4 PORTREVISION= 6 CATEGORIES= sysutils kde MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/ \ http://www.ringofsaturn.com/distfiles/ \ http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= Visual client for UPS system NUT LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libqimageblitz.so:x11/qimageblitz CONFLICTS= knutclient-0.* -USES= cmake gettext -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui qmake_build moc_build rcc_build uic_build .include Index: head/sysutils/krename-kde4/Makefile =================================================================== --- head/sysutils/krename-kde4/Makefile (revision 420773) +++ head/sysutils/krename-kde4/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= krename PORTVERSION= 4.0.9 PORTREVISION= 9 CATEGORIES= sysutils kde MASTER_SITES= SF/${PORTNAME}/KDE4%20${PORTNAME}-stable/${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= Powerful batch file renamer for KDE LIB_DEPENDS= libtag.so:audio/taglib \ libexiv2.so:graphics/exiv2 \ libpodofo.so:graphics/podofo -USES= cmake:outsource gettext tar:bzip2 -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build post-patch: ${REINPLACE_CMD} 's,FREETYPE_INCLUDE_DIR,FREETYPE_INCLUDE_DIR_freetype2,' \ ${WRKSRC}/src/CMakeLists.txt .include Index: head/sysutils/kshutdown-kde4/Makefile =================================================================== --- head/sysutils/kshutdown-kde4/Makefile (revision 420773) +++ head/sysutils/kshutdown-kde4/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kshutdown DISTVERSION= 3.2 CATEGORIES= sysutils kde MASTER_SITES= SF/${PORTNAME}/KShutdown/${DISTVERSION}/ DISTNAME= ${PORTNAME}-source-${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Advanced shutdown utility for KDE -USES= alias cmake:outsource compiler:c++0x gettext zip +USES= alias cmake:outsource compiler:c++0x gettext kde:4 zip USE_QT4= moc_build qmake_build rcc_build uic_build -USE_KDE4= automoc4 workspace +USE_KDE= automoc4 workspace WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} .include Index: head/sysutils/ksysguardd/Makefile =================================================================== --- head/sysutils/ksysguardd/Makefile (revision 420773) +++ head/sysutils/ksysguardd/Makefile (revision 420774) @@ -1,32 +1,31 @@ # $FreeBSD$ PORTNAME= ksysguardd PORTVERSION= ${KDE4_WORKSPACE_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DISTNAME= kde-workspace-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE System Guard Daemon DISTINFO_FILE= ${.CURDIR:H:H}/x11/kde4-workspace/distinfo -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= cmake tar:xz +USES= cmake kde:4 tar:xz CMAKE_ARGS+= -DBIN_INSTALL_DIR:STRING="${PREFIX}/bin" \ -DSYSCONF_INSTALL_DIR:STRING="${PREFIX}/etc" EXTRACT_AFTER_ARGS= '${DISTNAME}/ksysguard/${PORTNAME}' \ '${DISTNAME}/ksysguard/example/${PORTNAME}rc' \ '${DISTNAME}/ksysguard/gui/SignalIDs.h' WRKSRC= ${WRKDIR}/${DISTNAME}/ksysguard/${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ etc/${PORTNAME}rc pre-build: ${REINPLACE_CMD} -e 's//"config-${PORTNAME}.h"/' \ ${WRKSRC}/${PORTNAME}.c .include Index: head/sysutils/ksystemlog/Makefile =================================================================== --- head/sysutils/ksystemlog/Makefile (revision 420773) +++ head/sysutils/ksystemlog/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= ksystemlog PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE system log application -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/sysutils/kuser/Makefile =================================================================== --- head/sysutils/kuser/Makefile (revision 420773) +++ head/sysutils/kuser/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kuser PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE user manager -USE_KDE4= kdelibs pimlibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs pimlibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/sysutils/nepomuk-core/Makefile =================================================================== --- head/sysutils/nepomuk-core/Makefile (revision 420773) +++ head/sysutils/nepomuk-core/Makefile (revision 420774) @@ -1,34 +1,34 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= nepomuk-core PORTVERSION= ${KDE4_VERSION} PORTREVISION= 6 CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Core Nepomuk system libraries and services for KDE LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 \ libtag.so:audio/taglib \ libexiv2.so:graphics/exiv2 \ libswscale.so:multimedia/ffmpeg \ libepub.so:textproc/ebook-tools \ libqmobipocket.so:graphics/kdegraphics4-mobipocket -USE_KDE4= automoc4 baloo kdelibs kfilemetadata \ +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 baloo kdelibs kfilemetadata \ ontologies soprano -USES= cmake:outsource tar:xz USE_QT4= corelib dbus gui qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null SUB_FILES= nepomuk-env.sh post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/env ${INSTALL_SCRIPT} ${WRKDIR}/nepomuk-env.sh ${STAGEDIR}${PREFIX}/env .include Index: head/sysutils/nepomuk-widgets/Makefile =================================================================== --- head/sysutils/nepomuk-widgets/Makefile (revision 420773) +++ head/sysutils/nepomuk-widgets/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= nepomuk-widgets PORTVERSION= ${KDE4_VERSION} PORTREVISION= 2 CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= The NepomukWidget libraries -USE_KDE4= kdelibs automoc4 soprano nepomuk-core -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 soprano nepomuk-core USE_QT4= corelib dbus gui moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes .include Index: head/sysutils/plasma-applet-apcups/Makefile =================================================================== --- head/sysutils/plasma-applet-apcups/Makefile (revision 420773) +++ head/sysutils/plasma-applet-apcups/Makefile (revision 420774) @@ -1,20 +1,20 @@ # $FreeBSD$ PORTNAME= apcups PORTVERSION= 0.2.1 PORTREVISION= 3 CATEGORIES= sysutils kde MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= plasma-applet- DISTNAME= plasma-${PORTNAME}-${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= Plasma applet to monitor the status of APC UPS PROJECTHOST= plasma-apcups -USES= cmake gettext -USE_KDE4= automoc4 kdelibs +USES= cmake gettext kde:4 +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/sysutils/policykit-qt/Makefile =================================================================== --- head/sysutils/policykit-qt/Makefile (revision 420773) +++ head/sysutils/policykit-qt/Makefile (revision 420774) @@ -1,28 +1,28 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= policykit-qt PORTVERSION= 0.9.4 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= KDE/stable/apps/KDE4.x/admin/ DISTNAME= polkit-qt-${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= PolicyKit manager for Qt LIB_DEPENDS= libpolkit.so:sysutils/policykit USE_LDCONFIG= yes -USE_KDE4= automoc4 +USES= cmake gettext kde:4 pkgconfig tar:bzip2 +USE_KDE= automoc4 USE_QT4= corelib dbus gui network svg xml \ qmake_build moc_build rcc_build uic_build -USES= cmake gettext pkgconfig tar:bzip2 PORTSCOUT= limit:^0 post-extract: ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt .include Index: head/sysutils/polkit-kde/Makefile =================================================================== --- head/sysutils/polkit-kde/Makefile (revision 420773) +++ head/sysutils/polkit-kde/Makefile (revision 420774) @@ -1,34 +1,34 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= polkit-kde PORTVERSION= 0.99.1 PORTREVISION= 3 CATEGORIES= sysutils kde MASTER_SITES= KDE/stable/apps/KDE4.x/admin/ DISTNAME= ${PORTNAME}-agent-1-${PORTVERSION:C/1$/0/} MAINTAINER= kde@FreeBSD.org COMMENT= Polkit authentication UI for KDE Workspaces LICENSE= GPLv2 LIB_DEPENDS= libpolkit-qt-agent-1.so:sysutils/polkit-qt -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build -USES= cmake tar:bzip2 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE NLS_USES= gettext .include post-patch: ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt .include Index: head/sysutils/polkit-qt/Makefile =================================================================== --- head/sysutils/polkit-qt/Makefile (revision 420773) +++ head/sysutils/polkit-qt/Makefile (revision 420774) @@ -1,33 +1,33 @@ # Created by: Dima Panov # $FreeBSD$ PORTNAME= polkit-qt PORTVERSION= 0.112.0 DISTVERSIONPREFIX= 1- CATEGORIES= sysutils MASTER_SITES= KDE/stable/apps/KDE4.x/admin/ MAINTAINER= kde@FreeBSD.org COMMENT= Qt wrapper around Polkit libraries LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpolkit-agent-1.so:sysutils/polkit CMAKE_ARGS= -DBUILD_EXAMPLES:BOOL=OFF \ -DBUILD_TEST:BOOL=OFF \ -DUSE_QT4:BOOL=ON +USES= cmake:outsource kde:4 pkgconfig tar:bzip2 USE_GNOME= glib20 -USE_KDE4= automoc4 +USE_KDE= automoc4 USE_QT4= corelib dbus gui \ qmake_build moc_build rcc_build uic_build -USES= cmake:outsource pkgconfig tar:bzip2 USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} -e 's|$${LIB_DESTINATION}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt .include Index: head/sysutils/qzeitgeist/Makefile =================================================================== --- head/sysutils/qzeitgeist/Makefile (revision 420773) +++ head/sysutils/qzeitgeist/Makefile (revision 420774) @@ -1,53 +1,53 @@ # $FreeBSD$ PORTNAME= qzeitgeist PORTVERSION= 0.8.0 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= KDE/stable/lib${PORTNAME}/${PORTVERSION}/src/:kde \ http://launchpad.net/zeitgeist/${ZEITGEIST_VERSION:R}/${ZEITGEIST_VERSION}/+download/ DISTNAME= lib${PORTNAME}-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:kde \ zeitgeist-${ZEITGEIST_VERSION}.tar.xz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= avilla@FreeBSD.org COMMENT= Qt 4 wrapper library around the Zeitgeist D-Bus API LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= rapper:textproc/raptor2 \ ${PYTHON_SITELIBDIR}/rdflib/__init__.py:textproc/py-rdflib -USE_KDE4= automoc4 +USES= cmake kde:4 python:build tar:bzip2 +USE_KDE= automoc4 USE_QT4= dbus declarative qtestlib \ moc_build qmake_build rcc_build uic_build -USES= cmake python:build tar:bzip2 USE_LDCONFIG= yes # To be kept in sync with sysutils/zeitgeist. ZEITGEIST_VERSION= 0.9.16 post-extract: @(cd ${WRKDIR} && ${TAR} ${EXTRACT_BEFORE_ARGS} \ ${_DISTDIR}/zeitgeist-${ZEITGEIST_VERSION}.tar.xz \ ${EXTRACT_AFTER_ARGS}) cd ${WRKDIR}/zeitgeist-${ZEITGEIST_VERSION} && \ ${CP} -r python/*.py \ data/ontology \ ${WRKSRC}/scripts post-patch: ${REINPLACE_CMD} -e '/\.pc/ s|pkgconfig|../libdata/pkgconfig|' \ -e 's|share/${PORTNAME}/cmake|lib/cmake/${PORTNAME}|' \ -e "/add_subdirectory(tests)/ d" \ ${WRKSRC}/CMakeLists.txt \ ${WRKSRC}/src/CMakeLists.txt \ ${WRKSRC}/QZeitgeistConfig.cmake.in ${REINPLACE_CMD} -e 's|zeitgeist.datamodel|datamodel|' \ ${WRKSRC}/scripts/onto2cpp.py ${REINPLACE_CMD} -e 's|env python|env ${PYTHON_CMD}|g' \ ${WRKSRC}/scripts/onto2cpp.py .include Index: head/sysutils/sweeper/Makefile =================================================================== --- head/sysutils/sweeper/Makefile (revision 420773) +++ head/sysutils/sweeper/Makefile (revision 420774) @@ -1,17 +1,17 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= sweeper PORTVERSION= ${KDE4_VERSION} CATEGORIES= sysutils kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Cleans temporal files for KDE -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/textproc/dikt/Makefile =================================================================== --- head/textproc/dikt/Makefile (revision 420773) +++ head/textproc/dikt/Makefile (revision 420774) @@ -1,25 +1,25 @@ # Created by: Goran Tal # $FreeBSD$ PORTNAME= dikt PORTVERSION= 2l3 CATEGORIES= textproc net kde MASTER_SITES= https://bitbucket.org/dikt/code/downloads/ MAINTAINER= goran.tal@gmail.com COMMENT= Dictionary for KDE4 -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 tar:txz +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui network svg xml \ qmake_build moc_build rcc_build uic_build -USES= cmake tar:txz PLIST_FILES= bin/dikt \ share/applications/kde4/dikt.desktop \ share/apps/dikt/diktui.rc \ share/apps/dikt/dikt.css \ share/apps/dikt/format.conf \ share/icons/hicolor/128x128/apps/dikt.png \ share/kde4/services/dict.protocol .include Index: head/textproc/kdiff3/Makefile =================================================================== --- head/textproc/kdiff3/Makefile (revision 420773) +++ head/textproc/kdiff3/Makefile (revision 420774) @@ -1,29 +1,29 @@ # Created by: Heiner Eichmann # $FreeBSD$ PORTNAME= kdiff3 PORTVERSION= 0.9.98 CATEGORIES= textproc kde MASTER_SITES= SF MAINTAINER= luca.pizzamiglio@gmail.com COMMENT= KDE4 graphical frontend for diff LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USE_KDE4= kdelibs libkonq automoc4 +USES= cmake:outsource kde:4 +USE_KDE= kdelibs libkonq automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build -USES= cmake:outsource OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE NLS_CMAKE_ON= -DBUILD_po:BOOL=TRUE DOCS_CMAKE_OFF= -DBUILD_doc:BOOL=FALSE DOCS_CMAKE_ON= -DBUILD_doc:BOOL=TRUE .include Index: head/textproc/kompare/Makefile =================================================================== --- head/textproc/kompare/Makefile (revision 420773) +++ head/textproc/kompare/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kompare PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= textproc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Diff/Patch Frontend LIB_DEPENDS= libkomparediff2.so:textproc/libkomparediff2 -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/textproc/libkomparediff2/Makefile =================================================================== --- head/textproc/libkomparediff2/Makefile (revision 420773) +++ head/textproc/libkomparediff2/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= libkomparediff2 PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= textproc kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Library to compare files and strings -USES= cmake:outsource tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build USE_LDCONFIG= yes .include Index: head/textproc/uim-kde4/Makefile =================================================================== --- head/textproc/uim-kde4/Makefile (revision 420773) +++ head/textproc/uim-kde4/Makefile (revision 420774) @@ -1,38 +1,39 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PKGNAMESUFFIX= -kde4 COMMENT= KDE4 panel applet of uim input method BUILD_DEPENDS= cmake:devel/cmake LIB_DEPENDS= libuim.so:textproc/uim RUN_DEPENDS= uim-pref-qt4:textproc/uim-qt4 USE_GCC= any -USE_KDE4= kdelibs automoc4 +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build qt3support uic rcc +USES+= kde:4 MASTERDIR= ${.CURDIR}/../../textproc/uim PKGDIR= ${.CURDIR} CONFIGURE_ARGS= --with-qt4 --enable-pref --enable-default-toolkit=qt4 \ --enable-kde4-applet -CONFIGURE_ENV= KDE4_CONFIG="${KDE4_PREFIX}/bin/kde4-config" +CONFIGURE_ENV= KDE4_CONFIG="${KDE_PREFIX}/bin/kde4-config" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include UIM_SLAVE= yes EXTRA_PATCHES= ${PATCHDIR}/extra-patch-qt4_toolbar_CMakeLists.txt .if defined(WITHOUT_X11) IGNORE= requires X11 .endif do-build: (cd ${WRKSRC}/qt4/toolbar/build && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}) do-install: (cd ${WRKSRC}/qt4/toolbar/build && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} DESTDIR=${STAGEDIR} install) .include "${MASTERDIR}/Makefile" Index: head/www/choqok/Makefile =================================================================== --- head/www/choqok/Makefile (revision 420773) +++ head/www/choqok/Makefile (revision 420774) @@ -1,26 +1,26 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= choqok PORTVERSION= 1.5 PORTREVISION= 1 CATEGORIES= www kde MASTER_SITES= SF/${PORTNAME}/Choqok/ MAINTAINER= kde@FreeBSD.org COMMENT= KDE micro-blogging client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libqjson.so:devel/qjson \ libqoauth.so:net/qoauth \ libtelepathy-qt4.so:net-im/telepathy-qt4 -USE_KDE4= attica automoc4 kdelibs +USES= cmake gettext kde:4 tar:xz +USE_KDE= attica automoc4 kdelibs USE_QT4= gui imageformats_run network \ moc_build qmake_build rcc_build uic_build -USES= cmake gettext tar:xz USE_LDCONFIG= yes .include Index: head/www/kdewebdev4/Makefile =================================================================== --- head/www/kdewebdev4/Makefile (revision 420773) +++ head/www/kdewebdev4/Makefile (revision 420774) @@ -1,24 +1,24 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdewebdev PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= www kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Comprehensive html/website development environment LIB_DEPENDS= libtidy.so:www/tidy-lib \ libboost_thread.so:devel/boost-libs +USES= cmake:outsource kde:4 tar:xz USE_GNOME= libxml2 libxslt -USE_KDE4= kdelibs pimlibs automoc4 -USES= cmake:outsource tar:xz +USE_KDE= kdelibs pimlibs automoc4 USE_QT4= dbus porting_build \ qmake_build moc_build rcc_build uic_build uic3_build USE_LDCONFIG= yes .include Index: head/www/kpartsplugin/Makefile =================================================================== --- head/www/kpartsplugin/Makefile (revision 420773) +++ head/www/kpartsplugin/Makefile (revision 420774) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= kpartsplugin DISTVERSION= 0.0-${PORTDATE} PORTREVISION= 4 CATEGORIES= www kde MASTER_SITES= http://www.unix-ag.uni-kl.de/~fischer/${PORTNAME}/ DISTNAME= ${PORTNAME}-${PORTDATE} MAINTAINER= avilla@FreeBSD.org COMMENT= Browser file viewer using KDE technology -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 webplugin:native tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= corelib gui moc_build qmake_build rcc_build uic_build -USES= cmake webplugin:native tar:bzip2 CMAKE_ARGS= -DNSPLUGIN_INSTALL_DIR:PATH="${WEBPLUGIN_DIR}" PORTDATE= 20120723 WEBPLUGIN_NAME= # empty WEBPLUGIN_FILES=lib${PORTNAME}.so .include Index: head/www/kwebkitpart/Makefile =================================================================== --- head/www/kwebkitpart/Makefile (revision 420773) +++ head/www/kwebkitpart/Makefile (revision 420774) @@ -1,19 +1,19 @@ # $FreeBSD$ PORTNAME= kwebkitpart PORTVERSION= 1.3.2 PORTREVISION= 4 CATEGORIES= www kde MASTER_SITES= LOCAL/makc MAINTAINER= kde@FreeBSD.org COMMENT= Web browser component for KDE SC based on QtWebKit -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 cpe tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= designer gui webkit \ moc_build qmake_build rcc_build uic_build -USES= cmake cpe tar:xz CPE_VENDOR= urs_wolfer .include Index: head/www/opera/Makefile =================================================================== --- head/www/opera/Makefile (revision 420773) +++ head/www/opera/Makefile (revision 420774) @@ -1,109 +1,110 @@ # $FreeBSD$ PORTNAME= opera PORTVERSION= ${OPERA_VER} PORTREVISION= 6 CATEGORIES= www ipv6 MASTER_SITES= ftp://ftp.opera.com/pub/opera/${MASTER_SITES_VER_PATH}/ \ ftp://opera.inode.at/${MASTER_SITES_VER_PATH}/ \ http://gd.tuwien.ac.at/infosys/browsers/opera/${MASTER_SITES_VER_PATH}/ \ ftp://opera.ftp.fu-berlin.de/${MASTER_SITES_VER_PATH}/ \ http://ftp.ntua.gr/pub/www/Opera/${MASTER_SITES_VER_PATH}/ \ http://mirrors.dedipower.com/opera/${MASTER_SITES_VER_PATH}/ \ ftp://ftp.tiscali.nl/pub/mirrors/opera/${MASTER_SITES_VER_PATH}/ DISTNAME= ${PORTNAME}-${OPERA_VER}-${OPERA_BUILD}.${ARCH}.freebsd MAINTAINER= ak@FreeBSD.org COMMENT= Blazingly fast, full-featured, standards-compliant browser LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig BUILD_DEPENDS= ${LOCALBASE}/bin/update-mime-database:misc/shared-mime-info RUN_DEPENDS= ${LOCALBASE}/bin/update-mime-database:misc/shared-mime-info BUNDLE_LIBS= yes ONLY_FOR_ARCHS= i386 amd64 OPERA_VER?= 12.16 OPERA_BUILD?= 1860 MASTER_SITES_VER_PATH= unix/${OPERA_VER:S/.//} USES= tar:xz desktop-file-utils shared-mime-info USE_XORG= x11 xext sm ice xft xrender REINPLACE_ARGS= -i '' # no .bak files WEBPLUGIN_SUBDIR= ${LOCALBASE}/lib/browser_plugins/symlinks/opera OPTIONS_DEFINE= CUPS VIDEO GTK2 KDE4 OPTIONS_DEFAULT= CUPS VIDEO NO_OPTIONS_SORT=yes CUPS_DESC= support for printing (requires CUPS) VIDEO_DESC= support for HTML5 video (requires GStreamer) CUPS_LIB_DEPENDS= libcups.so:print/cups VIDEO_USE= gstreamer=vorbis,ogg,theora,vp8,good GTK2_USE= gnome=gtk20,libxml2 -KDE4_USE= kde4=kdelibs +KDE4_USES= kde:4 +KDE4_USE= KDE=kdelibs .include .if defined(FETCH_ALL) # distfiles for both arch .if ${ARCH} == i386 DISTFILES= ${PORTNAME}-${OPERA_VER}-${OPERA_BUILD}.amd64.freebsd${EXTRACT_SUFX} \ ${DISTNAME}${EXTRACT_SUFX} .else DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-${OPERA_VER}-${OPERA_BUILD}.i386.freebsd${EXTRACT_SUFX} .endif .endif .if ${PORT_OPTIONS:MGTK2} INSTALLS_ICONS= yes .endif OPERA_ARCH= ${ARCH:S,i386,intel,} .if ${OSVERSION} >= 1000054 BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x PLIST_SUB+= LIBSTDC="" .else PLIST_SUB+= LIBSTDC="@comment " .endif post-extract: ${GUNZIP_CMD} ${WRKSRC}/share/man/man1/opera.1.gz do-build: .if ${OSVERSION} >= 1000054 ${CP} ${LOCALBASE}/lib/compat/libstdc++.so.6 ${WRKSRC} .endif do-configure: @${MV} ${WRKSRC}/share/man ${WRKSRC}/man @${REINPLACE_CMD} -e 's|"$${0%/.}"|${PREFIX}|g' \ -e 's|/usr/local/profile|$$HOME/.opera|' \ ${WRKSRC}/opera @${REINPLACE_CMD} -e 's|@@{PREFIX}|${PREFIX}|g' \ -e 's|@@{_SUFFIX}||g' -e 's|@@{SUFFIX}||g' \ -e 's|@@{USUFFIX}||g' \ ${WRKSRC}/share/applications/opera-browser.desktop \ ${WRKSRC}/share/mime/packages/opera-extension.xml \ ${WRKSRC}/man/man1/opera.1 @${REINPLACE_CMD} -e 's|/usr/X11R6/lib/browser_plugins|${WEBPLUGIN_SUBDIR}|g' \ ${WRKSRC}/share/opera/defaults/pluginpath.ini do-install: ${INSTALL_SCRIPT} ${WRKSRC}/opera ${STAGEDIR}${PREFIX}/bin/ ${TAR} -C ${WRKSRC} -cf - lib man share | ${TAR} -C ${STAGEDIR}${PREFIX} -xf - .if ${OSVERSION} >= 1000054 ${INSTALL_LIB} ${WRKSRC}/libstdc++.so.6 ${STAGEDIR}${PREFIX}/lib/opera .endif @${MKDIR} ${STAGEDIR}${PREFIX}/etc/libmap.d ${INSTALL_DATA} ${FILESDIR}/libmap.conf \ ${STAGEDIR}${PREFIX}/etc/libmap.d/opera.conf .include Index: head/www/qupzilla-qt4/Makefile =================================================================== --- head/www/qupzilla-qt4/Makefile (revision 420773) +++ head/www/qupzilla-qt4/Makefile (revision 420774) @@ -1,52 +1,53 @@ # $FreeBSD$ PORTNAME= qupzilla PORTVERSION= 1.8.9 CATEGORIES= www MASTER_SITES= https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX= -qt4 DISTNAME= QupZilla-${PORTVERSION} MAINTAINER= matthew@reztek.cz COMMENT= Web browser based on WebKit engine and Qt Framework LICENSE= GPLv3 LIB_DEPENDS= libhunspell-1.3.so:textproc/hunspell CONFLICTS_INSTALL= ${PORTNAME}-qt5* USES= desktop-file-utils execinfo pkgconfig qmake tar:xz USE_QT4= corelib gui network script sql webkit xml \ linguisttools_build moc_build rcc_build uic_build \ imageformats_run sql-sqlite3_run USE_XORG= x11 USE_OPENSSL= yes CONFIGURE_ENV= QUPZILLA_PREFIX=${PREFIX}/ USE_LDCONFIG= yes INSTALLS_ICONS= yes PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE= DBUS DEBUG GNOMEKEYRING KWALLET OPTIONS_DEFAULT=DBUS OPTIONS_SUB= yes DBUS_USE= QT4=dbus DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true" GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:security/libgnome-keyring GNOMEKEYRING_CONFIGURE_ENV= GNOME_INTEGRATION="true" -KWALLET_USE= KDE4=kdelibs +KWALLET_USES= kde:4 +KWALLET_USE= KDE=kdelibs KWALLET_CONFIGURE_ENV= KDE_INTEGRATION="true" post-patch: @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ ${WRKSRC}/tests/autotests/qztoolstest.cpp \ ${WRKSRC}/src/lib/plugins/qtwebkit/spellcheck/speller.cpp @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ ${WRKSRC}/src/install.pri \ ${WRKSRC}/src/defines.pri \ ${WRKSRC}/src/lib/plugins/plugins.cpp .include Index: head/www/rekonq/Makefile =================================================================== --- head/www/rekonq/Makefile (revision 420773) +++ head/www/rekonq/Makefile (revision 420774) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= rekonq PORTVERSION= 2.4.2 PORTREVISION= 3 CATEGORIES= www kde MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:C,\..*,.0,}/ MAINTAINER= makc@FreeBSD.org COMMENT= Lightweight KDE browser based on WebKit -USES= cmake:outsource gettext tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= script webkit \ moc_build qmake_build rcc_build uic_build OPTIONS_DEFINE= OPERA NEPOMUK OPTIONS_DEFAULT= NEPOMUK OPERA_DESC= Support for Opera Sync service OPERA_LIB_DEPENDS= libqca.so:devel/qca \ libqoauth.so:net/qoauth OPERA_CMAKE_OFF= -DWITH_QCA2=off \ -DWITH_QtOAuth=off NEPOMUK_DESC= Bookmarks tagging via Nepomuk -NEPOMUK_USE= KDE4=nepomuk-core +NEPOMUK_USE= KDE=nepomuk-core NEPOMUK_CMAKE_OFF= -DWITH_NepomukCore=off post-patch: ${REINPLACE_CMD} -e \ 's,FIND_PACKAGE(NepomukCore,MACRO_OPTIONAL_FIND_PACKAGE(NepomukCore,' \ ${WRKSRC}/CMakeLists.txt .include Index: head/x11/kactivities/Makefile =================================================================== --- head/x11/kactivities/Makefile (revision 420773) +++ head/x11/kactivities/Makefile (revision 420774) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= kactivities -PORTVERSION= ${KDE4_ACTIVITES_VERSION} +PORTVERSION= ${KDE4_ACTIVITIES_VERSION} PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= KDE/Attic/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Kactivities library -USE_KDE4= automoc4 kdelibs soprano nepomuk-core -USES= cmake:outsource compiler:c++11-lib tar:xz +USES= cmake:outsource compiler:c++11-lib kde:4 tar:xz +USE_KDE= automoc4 kdelibs soprano nepomuk-core USE_QT4= declarative moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes post-patch: ${REINPLACE_CMD} -e '/pkgconfig/s,$${LIB_INSTALL_DIR},libdata,' \ ${WRKSRC}/src/lib/core/CMakeLists.txt \ ${WRKSRC}/src/lib/models/CMakeLists.txt # Disable kactivitymanagerd ${REINPLACE_CMD} -e "/add_subdirectory (service)/d" \ -e "/add_subdirectory (workspace)/d" \ ${WRKSRC}/src/CMakeLists.txt \ .include Index: head/x11/kactivitymanagerd/Makefile =================================================================== --- head/x11/kactivitymanagerd/Makefile (revision 420773) +++ head/x11/kactivitymanagerd/Makefile (revision 420774) @@ -1,38 +1,38 @@ # $FreeBSD$ PORTNAME= kactivitymanagerd -PORTVERSION= ${KDE4_ACTIVITES_VERSION} +PORTVERSION= ${KDE4_ACTIVITIES_VERSION} CATEGORIES= x11 kde MASTER_SITES= KDE/Attic/${PORTVERSION}/src DISTNAME= kactivities-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Activity Manager daemon -USE_KDE4= automoc4 kdelibs soprano nepomuk-core \ +USES= cmake:outsource compiler:c++11-lib kde:4 tar:xz +USE_KDE= automoc4 kdelibs soprano nepomuk-core \ kactivities -USES= cmake:outsource compiler:c++11-lib tar:xz USE_QT4= declarative opengl script sql \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes DISTINFO_FILE= ${.CURDIR}/../kactivities/distinfo MAKE_ENV= XDG_CONFIG_HOME=/dev/null # https://bugs.kde.org/show_bug.cgi?id=305529#c10 CMAKE_ARGS+= -DCMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS=-rdynamic .include # Workaround to keep kactivitymanagerd from crashing: # http://lists.freebsd.org/pipermail/freebsd-current/2012-May/033972.html .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000 CXXFLAGS+= -fno-use-cxa-atexit .endif post-patch: ${REINPLACE_CMD} -e "/add_subdirectory (lib)/d" \ -e "/add_subdirectory (ontologies)/d" \ ${WRKSRC}/src/CMakeLists.txt \ .include Index: head/x11/kde4/Makefile =================================================================== --- head/x11/kde4/Makefile (revision 420773) +++ head/x11/kde4/Makefile (revision 420774) @@ -1,64 +1,64 @@ # Created by: Will Andrews # $FreeBSD$ PORTNAME= kde PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11 kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE Software Compilation 4 (meta port) -USE_KDE4= baseapps_run runtime_run workspace_run -USES= metaport +USES= kde:4 metaport +USE_KDE= baseapps_run runtime_run workspace_run OPTIONS_DEFINE= KDEACCESSIBILITY KDEADMIN KDEARTWORK KDEBINDINGS KDEEDU \ KDEGAMES KDEGRAPHICS KDEMULTIMEDIA KDENETWORK \ KDEPLASMA KDEPIM KDESDK KDETOYS KDEUTILS KDEWEBDEV OPTIONS_DEFAULT=${OPTIONS_DEFINE:NKDEBINDINGS} KDEACCESSIBILITY_DESC= Accessibility applications KDEACCESSIBILITY_RUN_DEPENDS= kdeaccessibility>=${KDE4_VERSION}:accessibility/kdeaccessibility4 KDEADMIN_DESC= Administration utilities KDEADMIN_RUN_DEPENDS= kdeadmin>=${KDE4_VERSION}:sysutils/kdeadmin4 KDEARTWORK_DESC= Additional screensavers and wallpapers -KDEARTWORK_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kxsconfig:x11-themes/kdeartwork4 +KDEARTWORK_RUN_DEPENDS= ${KDE_PREFIX}/bin/kxsconfig:x11-themes/kdeartwork4 KDEBINDINGS_DESC= Bindings for programming languages KDEBINDINGS_RUN_DEPENDS= kdebindings>=${KDE4_VERSION}:devel/kdebindings4 KDEEDU_DESC= Entertaining, educational programs KDEEDU_RUN_DEPENDS= kdeedu>=${KDE4_VERSION}:misc/kdeedu4 KDEGAMES_DESC= Collection of games KDEGAMES_RUN_DEPENDS= kdegames>=${KDE4_VERSION}:games/kdegames4 KDEGRAPHICS_DESC= Graphics utilities KDEGRAPHICS_RUN_DEPENDS= kdegraphics>=${KDE4_VERSION}:graphics/kdegraphics4 KDEMULTIMEDIA_DESC= Multimedia applications KDEMULTIMEDIA_RUN_DEPENDS= kdemultimedia>=${KDE4_VERSION}:multimedia/kdemultimedia4 KDENETWORK_DESC= Network-related programs KDENETWORK_RUN_DEPENDS= kdenetwork>=${KDE4_VERSION}:net/kdenetwork4 KDEPIM_DESC= Personal information management -KDEPIM_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kmail:deskutils/kdepim4 +KDEPIM_RUN_DEPENDS= ${KDE_PREFIX}/bin/kmail:deskutils/kdepim4 KDEPLASMA_DESC= Extra plasmoids and plugins for Plasma -KDEPLASMA_RUN_DEPENDS= ${KDE4_PREFIX}/bin/lancelot:deskutils/kdeplasma-addons +KDEPLASMA_RUN_DEPENDS= ${KDE_PREFIX}/bin/lancelot:deskutils/kdeplasma-addons KDESDK_DESC= Software development kit KDESDK_RUN_DEPENDS= kdesdk>=${KDE4_VERSION}:devel/kdesdk4 KDETOYS_DESC= Miscellaneous small applications KDETOYS_RUN_DEPENDS= kdetoys>=${KDE4_VERSION}:x11-clocks/kdetoys4 KDEUTILS_DESC= Set of generic utilities KDEUTILS_RUN_DEPENDS= kdeutils>=${KDE4_VERSION}:misc/kdeutils4 KDEWEBDEV_DESC= Web development environment -KDEWEBDEV_RUN_DEPENDS= ${KDE4_PREFIX}/bin/klinkstatus:www/kdewebdev4 +KDEWEBDEV_RUN_DEPENDS= ${KDE_PREFIX}/bin/klinkstatus:www/kdewebdev4 .include Index: head/x11/kde4-baseapps/Makefile =================================================================== --- head/x11/kde4-baseapps/Makefile (revision 420773) +++ head/x11/kde4-baseapps/Makefile (revision 420774) @@ -1,42 +1,42 @@ # $FreeBSD$ PORTNAME= kde-baseapps PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Basic applications for KDE LIB_DEPENDS= libtidy.so:www/tidy-lib +USES= cmake:outsource gettext kde:4 tar:xz USE_GNOME= glib20 -USE_KDE4= kdelibs baloo baloo-widgets libkonq \ +USE_KDE= kdelibs baloo baloo-widgets libkonq \ automoc4 kactivities -USES= cmake:outsource gettext tar:xz USE_QT4= corelib dbus gui script xml \ moc_build qmake_build rcc_build uic_build USE_XORG= x11 xt USE_LDCONFIG= yes CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" OPTIONS_DEFINE= KONSOLE KWRITE OPTIONS_DEFAULT= ${OPTIONS_DEFINE} KONSOLE_DESC= Install Konsole terminal emulator -KONSOLE_RUN_DEPENDS= ${KDE4_PREFIX}/bin/konsole:x11/konsole +KONSOLE_RUN_DEPENDS= ${KDE_PREFIX}/bin/konsole:x11/konsole KWRITE_DESC= Install KWrite text editor -KWRITE_USE= KDE4=kate_run +KWRITE_USE= KDE=kate_run pre-configure: # Quick hack to avoid building libkonq here ${REINPLACE_CMD} -e '/add_subdirectory (konq)/d' \ ${WRKSRC}/lib/CMakeLists.txt ${MKDIR} ${BUILD_WRKSRC}/lib && \ - ${LN} -s ${KDE4_PREFIX}/lib/libkonq.so ${BUILD_WRKSRC}/lib + ${LN} -s ${KDE_PREFIX}/lib/libkonq.so ${BUILD_WRKSRC}/lib .include Index: head/x11/kde4-runtime/Makefile =================================================================== --- head/x11/kde4-runtime/Makefile (revision 420773) +++ head/x11/kde4-runtime/Makefile (revision 420774) @@ -1,71 +1,71 @@ # $FreeBSD$ PORTNAME= kde-runtime PORTVERSION= ${KDE4_VERSION} PORTREVISION= 3 CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Runtime components for KDE Plasma Desktop LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR \ libexiv2.so:graphics/exiv2 \ libwebp.so:graphics/webp \ libslp.so:net/openslp \ libsmbclient.so:net/samba-libsmbclient \ libssh.so:security/libssh \ libqzeitgeist.so:sysutils/qzeitgeist # Explicitly depend on libssh to avoid interference with ssh.4 from # compat7x. BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:security/libssh RUN_DEPENDS= cagibid:net/cagibi -USE_KDE4= kactivities kdelibs oxygen \ +USES= cmake:outsource gettext gmake jpeg kde:4 shared-mime-info \ + shebangfix tar:xz +USE_KDE= kactivities kdelibs oxygen-icons4 \ attica automoc4 pimlibs strigi nepomuk-core -USES= cmake:outsource gettext gmake jpeg shared-mime-info shebangfix \ - tar:xz USE_QT4= corelib dbus declarative designer_build gui phonon \ network qtestlib script svg webkit xml \ moc_build qmake_build rcc_build uic_build USE_XORG= x11 xcursor USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null SHEBANG_FILES= khelpcenter/searchhandlers/*.pl \ khelpcenter/searchhandlers/*.pl.cmake \ kioslave/info/kde-info2html OPTIONS_DEFINE= PULSEAUDIO ZEITGEIST PULSEAUDIO_DESC=Audio configuration via PulseAudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libcanberra.so:audio/libcanberra PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_OFF= -DWITH_PulseAudio:BOOL=OFF ZEITGEIST_DESC= Event logging via Zeitgeist ZEITGEIST_RUN_DEPENDS= zeitgeist-daemon:sysutils/zeitgeist # Explicitly disable ALSA, see for details: # http://mail.kde.org/pipermail/kde-freebsd/2010-March/008015.html CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF post-extract: # Don't install share/icons/hicolor/index.theme to avoid conflcit with # hicolor-icon-theme port ${REINPLACE_CMD} -e '/add_subdirectory.*hicolor/d' \ ${PATCH_WRKSRC}/pics/CMakeLists.txt post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${PATCH_WRKSRC}/khelpcenter/infotree.cpp \ ${PATCH_WRKSRC}/kioslave/info/kde-info2html.conf \ ${PATCH_WRKSRC}/kioslave/man/kio_man.cpp \ ${PATCH_WRKSRC}/kioslave/man/man2html.cpp \ ${PATCH_WRKSRC}/cmake/modules/FindCLucene.cmake ${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \ ${PATCH_WRKSRC}/kimgio/CMakeLists.txt \ ${PATCH_WRKSRC}/kioslave/network/mimetypes/CMakeLists.txt .include Index: head/x11/kde4-workspace/Makefile =================================================================== --- head/x11/kde4-workspace/Makefile (revision 420773) +++ head/x11/kde4-workspace/Makefile (revision 420774) @@ -1,137 +1,137 @@ # $FreeBSD$ PORTNAME= kde-workspace PORTVERSION= ${KDE4_WORKSPACE_VERSION} CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Plasma Desktop LIB_DEPENDS= libdbus-1.so:devel/dbus \ libck-connector.so:sysutils/consolekit \ libpci.so:devel/libpci \ libhal.so:sysutils/hal \ libqalculate.so:math/libqalculate \ libprison.so:graphics/prison \ libboost_thread.so:devel/boost-libs \ libdbusmenu-qt.so:devel/libdbusmenu-qt \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms BUILD_DEPENDS= xrdb:x11/xrdb -RUN_DEPENDS= ${KDE4_PREFIX}/env/xdg-env.sh:misc/kde4-xdg-env \ +RUN_DEPENDS= ${KDE_PREFIX}/env/xdg-env.sh:misc/kde4-xdg-env \ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ xprop:x11/xprop \ xsetroot:x11/xsetroot \ xmessage:x11/xmessage \ xrdb:x11/xrdb \ mkfontdir:x11-fonts/mkfontdir \ xset:x11/xset \ setxkbmap:x11/setxkbmap \ - ${KDE4_PREFIX}/bin/ksysguardd:sysutils/ksysguardd \ - ${KDE4_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde \ - ${KDE4_PREFIX}/lib/kde4/libexec/polkitkde1helper:sysutils/kcm-polkit-kde \ + ${KDE_PREFIX}/bin/ksysguardd:sysutils/ksysguardd \ + ${KDE_PREFIX}/lib/kde4/libexec/polkit-kde-authentication-agent-1:sysutils/polkit-kde \ + ${KDE_PREFIX}/lib/kde4/libexec/polkitkde1helper:sysutils/kcm-polkit-kde \ ${LOCALBASE}/etc/pam.d/kde:security/pam_kde \ - ${KDE4_PREFIX}/share/apps/ksplash/Themes/Default/Theme.rc:x11-themes/kde4-base-artwork + ${KDE_PREFIX}/share/apps/ksplash/Themes/Default/Theme.rc:x11-themes/kde4-base-artwork +USES= cmake:outsource compiler:c++11-lib gettext gmake jpeg kde:4 \ + pkgconfig shebangfix tar:xz USE_GL= glu USE_GNOME= glib20 -USE_KDE4= kactivities kdelibs nepomuk-core oxygen \ +USE_KDE= kactivities kdelibs nepomuk-core oxygen-icons4 \ pimlibs akonadi automoc4 ontologies qimageblitz soprano strigi -USES= cmake:outsource compiler:c++11-lib gettext gmake jpeg \ - pkgconfig shebangfix tar:xz USE_QT4= corelib dbus declarative designer_build gui network \ opengl phonon qtestlib script sql webkit xml \ moc_build qmake_build rcc_build uic_build USE_XORG= kbproto x11 xau xcomposite xcursor xdamage xdmcp xfixes \ xft xi xinerama xkbfile xrandr xrender xres xscrnsaver xtst SHEBANG_FILES= kwin/clients/oxygen/data/update_oxygen.pl USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \ -DBUILD_python:BOOL=OFF \ -DBUILD_ruby:BOOL=OFF \ -DWITH_Xmms:BOOL=OFF \ -DWITH_UDev:BOOL=OFF SUB_FILES= pkg-message USE_RC_SUBR= kdm4 USERS= kdm GROUPS= kdm OPTIONS_DEFINE= GLES GPS KACTIVITY UPOWER WALLPAPERS OPTIONS_GROUP= PHONON PLASMA OPTIONS_GROUP_PHONON= GSTREAMER VLC OPTIONS_GROUP_PLASMA= PYTHON RUBY OPTIONS_DEFAULT= GLES GPS KACTIVITY UPOWER VLC WALLPAPERS OPTIONS_SUB= yes # GPS GLES GLES_DESC= OpenGL ES 2.0 support in kwin and kinfocenter GLES_USE= GL=egl,glesv2 GLES_CMAKE_OFF= -DWITH_OpenGLES=off GPS_DESC= GPS geolocation via gpsd GPS_LIB_DEPENDS= libgps.so:astro/gpsd GPS_CMAKE_ON= -DWITH_libgps:BOOL=ON GPS_CMAKE_OFF= -DWITH_libgps:BOOL=OFF GSTREAMER_DESC= Multimedia via Phonon-GStreamer GSTREAMER_USE= QT4=phonon-gst_run KACTIVITY_DESC= Activity Manager daemon -KACTIVITY_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kactivitymanagerd:x11/kactivitymanagerd +KACTIVITY_RUN_DEPENDS= ${KDE_PREFIX}/bin/kactivitymanagerd:x11/kactivitymanagerd PYTHON_DESC= Python plasmoids support -PYTHON_RUN_DEPENDS= ${KDE4_PREFIX}/share/apps/plasma_scriptengine_python/plasma_importer.py:x11/plasma-scriptengine-python +PYTHON_RUN_DEPENDS= ${KDE_PREFIX}/share/apps/plasma_scriptengine_python/plasma_importer.py:x11/plasma-scriptengine-python RUBY_DESC= Ruby plasmoids support -RUBY_RUN_DEPENDS= ${KDE4_PREFIX}/share/apps/plasma_scriptengine_ruby/applet.rb:x11/plasma-scriptengine-ruby +RUBY_RUN_DEPENDS= ${KDE_PREFIX}/share/apps/plasma_scriptengine_ruby/applet.rb:x11/plasma-scriptengine-ruby UPOWER_DESC= Power management via UPower UPOWER_RUN_DEPENDS= ${LOCALBASE}/libexec/upowerd:sysutils/upower VLC_DESC= Multimedia via Phonon-VLC -VLC_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/plugins/phonon_backend/phonon_vlc.so:multimedia/phonon-vlc +VLC_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/plugins/phonon_backend/phonon_vlc.so:multimedia/phonon-vlc WALLPAPERS_DESC= Install official KDE wallpapers -WALLPAPERS_RUN_DEPENDS= ${KDE4_PREFIX}/share/wallpapers/Horos/metadata.desktop:x11-themes/kde4-wallpapers \ - ${KDE4_PREFIX}/share/wallpapers/stripes-freebsd-blue/metadata.desktop:x11-themes/kde4-wallpapers-freebsd +WALLPAPERS_RUN_DEPENDS= ${KDE_PREFIX}/share/wallpapers/Horos/metadata.desktop:x11-themes/kde4-wallpapers \ + ${KDE_PREFIX}/share/wallpapers/stripes-freebsd-blue/metadata.desktop:x11-themes/kde4-wallpapers-freebsd .if !exists(/usr/lib/libutempter.so) LIB_DEPENDS+= libutempter.so:sysutils/libutempter .endif post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${PATCH_WRKSRC}/startkde.cmake \ ${PATCH_WRKSRC}/kcontrol/kfontinst/lib/KfiConstants.h \ ${PATCH_WRKSRC}/kcontrol/kfontinst/kio/KioFonts.cpp \ ${PATCH_WRKSRC}/kcontrol/keyboard/x11_helper.cpp \ ${PATCH_WRKSRC}/kdm/backend/client.c \ ${PATCH_WRKSRC}/kdm/kfrontend/genkdmconf.c \ ${PATCH_WRKSRC}/CMakeLists.txt pre-configure: ${REINPLACE_CMD} -e '/ksysguardd/ d' \ ${PATCH_WRKSRC}/ksysguard/CMakeLists.txt \ ${PATCH_WRKSRC}/ksysguard/example/CMakeLists.txt ${REINPLACE_CMD} -e '/PolicyKit/ d' \ ${PATCH_WRKSRC}/doc/CMakeLists.txt post-install: ${LN} -sf ${PREFIX}/bin/startkde ${STAGEDIR}${PREFIX}/bin/startkde4 post-install-GSTREAMER-on: @${HEAD} -1 ${PKGMESSAGE} >> ${PKGMESSAGE} post-install-GSTREAMER-off: @${CAT} ${FILESDIR}/pkg-message.gstreamer >> ${PKGMESSAGE} @${HEAD} -1 ${PKGMESSAGE} >> ${PKGMESSAGE} .include Index: head/x11/kdelibs4/Makefile =================================================================== --- head/x11/kdelibs4/Makefile (revision 420773) +++ head/x11/kdelibs4/Makefile (revision 420774) @@ -1,124 +1,124 @@ # Created by: arved@FreeBSD.org # $FreeBSD$ PORTNAME= kdelibs PORTVERSION= ${KDE4_KDELIBS_VERSION} PORTREVISION= 6 CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Base set of libraries needed by KDE programs LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR \ libjasper.so:graphics/jasper \ libpcre.so:devel/pcre \ libenchant.so:textproc/enchant \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libhal.so:sysutils/hal \ libqca.so:devel/qca \ libpolkit-qt-core-1.so:sysutils/polkit-qt \ libdbusmenu-qt.so:devel/libdbusmenu-qt BUILD_DEPENDS= docbook-xml>0:textproc/docbook-xml \ ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ xauth:x11/xauth \ docbook-xml>0:textproc/docbook-xml \ ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl +USES= cmake:outsource fam gettext grantlee:4 jpeg kde:4 perl5 \ + shared-mime-info shebangfix tar:xz USE_GNOME= libxml2 libxslt -USE_KDE4= oxygen \ +USE_KDE= oxygen-icons4 \ attica automoc4 ontologies soprano strigi -USES= cmake:outsource fam gettext grantlee:4 jpeg perl5 shared-mime-info \ - shebangfix tar:xz USE_OPENSSL= yes USE_QT4= corelib dbus declarative designer_build gui \ network opengl phonon qt3support \ qtestlib script sql svg webkit xml \ moc_build qmake_build rcc_build uic_build \ imageformats_run qdbusviewer_run USE_XORG= sm x11 xcursor xext xfixes xft xpm xrender xtst USE_LDCONFIG= yes MAKE_ENV= XDG_CONFIG_HOME=/dev/null CMAKE_ARGS+= -DWITH_ACL:BOOL=Off \ -DWITH_FAM:BOOL=On \ -DWITH_ASPELL:BOOL=Off \ -DWITH_HSPELL:BOOL=Off \ -DWITH_UDev:BOOL=Off \ -DKDE_DISTRIBUTION_TEXT:STRING="${OPSYS}" \ -DKDE_DEFAULT_HOME:STRING=".kde4" # Do not conflict with KDE Frameworks 5 headers: instead of installing kdelibs4 # headers directly into ${LOCALBASE}/include, put them into include/kde4 (this # also applies to all ports depending on kdelibs4 that derive their header # installation location from it). # If we install the headers directly into ${LOCALBASE}/include, with KDE # Frameworks 5 installed it is possible to end up in a situation where the # compiler is passed this: # -I${LOCALBASE}/include -I${LOCALBASE}/KF5 # which in turn leads to kdelibs4 headers with the same name being used instead # of the KF5 ones, possibly breaking the build. -CMAKE_ARGS+= -DINCLUDE_INSTALL_DIR:PATH="${KDE4_PREFIX}/include/kde4" +CMAKE_ARGS+= -DINCLUDE_INSTALL_DIR:PATH="${KDE_PREFIX}/include/kde4" SHEBANG_FILES= kdecore/kconfig_compiler/checkkcfg.pl \ kdeui/preparetips \ khtml/bindings/scripts/generate-bindings.pl \ kio/misc/fileshareset \ kio/useragent.pl \ kio/proxytype.pl \ kioslave/http/kcookiejar/kcookiescfg.pl OPTIONS_DEFINE= AVAHI UPNP OPTIONS_DEFAULT=AVAHI AVAHI_LIB_DEPENDS= libavahi-core.so:${PORTSDIR}/net/avahi-app UPNP_DESC= UPnP backend for Solid (WARNING: Unstable) UPNP_LIB_DEPENDS= libHUpnp.so:${PORTSDIR}/net/hupnp UPNP_CMAKE_ON= -DHUPNP_ENABLED:BOOL=On post-patch: ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${PATCH_WRKSRC}/kde3support/kdeui/k3sconfig.cpp \ ${PATCH_WRKSRC}/kdecore/network/k3socks.cpp \ ${PATCH_WRKSRC}/kdecore/kernel/kstandarddirs.cpp \ ${PATCH_WRKSRC}/kdeui/dialogs/kcupsoptionswidget_p.cpp \ ${PATCH_WRKSRC}/kdeui/kernel/start-session-bus.sh \ ${PATCH_WRKSRC}/kio/kssl/kopenssl.cpp \ ${PATCH_WRKSRC}/kio/kio/ksambashare.cpp \ ${PATCH_WRKSRC}/kjsembed/qtonly/FindQJSInternal.cmake # Fix rgb named colors database path. ${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/kdeui/colors/kcolordialog.cpp pre-configure: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/cmake/modules/*.cmake \ ${PATCH_WRKSRC}/ConfigureChecks.cmake \ ${PATCH_WRKSRC}/doc/api/doxygen.sh ${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|g' \ ${PATCH_WRKSRC}/cmake/modules/FindDNSSD.cmake ${REINPLACE_CMD} -e 's|soprano/cmake|cmake/Modules|g' \ ${PATCH_WRKSRC}/cmake/modules/FindSoprano.cmake # FindBerkeleyDB.cmake should be rewritten to support multiple version # provided by ports, instead of hardcoding one of them # ${REINPLACE_CMD} -e 's|/usr/local/include/db4|${BDB_INCLUDE_DIR}|' \ # -e 's|NAMES db|NAMES ${BDB_LIB_NAME} ${LOCALBASE}/lib|' \ # ${PATCH_WRKSRC}/cmake/modules/FindBerkeleyDB.cmake # When XSync (xext) is found, xscreensaver is just used as a fallback, # then we can disable it. ${REINPLACE_CMD} -e '/macro_bool_to_01/ s|^.*X11_Xscreensaver.*$$|set(HAVE_XSCREENSAVER 0)|' \ ${PATCH_WRKSRC}/CMakeLists.txt post-install: # workaround for non-standard mime files and directories ${MKDIR} ${STAGEDIR}/${PREFIX}/share/mime/all \ ${STAGEDIR}/${PREFIX}/share/mime/uri .include Index: head/x11/kgamma/Makefile =================================================================== --- head/x11/kgamma/Makefile (revision 420773) +++ head/x11/kgamma/Makefile (revision 420774) @@ -1,17 +1,17 @@ # $FreeBSD$ PORTNAME= kgamma PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 monitor calibration tool -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build USE_XORG= x11 xxf86vm .include Index: head/x11/konsole/Makefile =================================================================== --- head/x11/konsole/Makefile (revision 420773) +++ head/x11/konsole/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= konsole PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE terminal emulator -USE_KDE4= automoc4 libkonq -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 libkonq USE_QT4= xml moc_build qmake_build rcc_build uic_build USE_XORG= x11 xrender CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" .include Index: head/x11/libkonq/Makefile =================================================================== --- head/x11/libkonq/Makefile (revision 420773) +++ head/x11/libkonq/Makefile (revision 420774) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= libkonq PORTVERSION= ${KDE4_VERSION} PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DISTNAME= kde-baseapps-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Core library for Konqueror -USES= cmake tar:xz -USE_KDE4= kdelibs automoc4 +USES= cmake kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= corelib dbus gui \ moc_build qmake_build rcc_build uic_build USE_LDCONFIG= yes DISTINFO_FILE= ${.CURDIR:H:H}/x11/kde4-baseapps/distinfo BUILD_WRKSRC= ${CONFIGURE_WRKSRC}/lib/konq INSTALL_WRKSRC= ${BUILD_WRKSRC} .include Index: head/x11/plasma-scriptengine-python/Makefile =================================================================== --- head/x11/plasma-scriptengine-python/Makefile (revision 420773) +++ head/x11/plasma-scriptengine-python/Makefile (revision 420774) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= plasma-scriptengine-python PORTVERSION= ${KDE4_WORKSPACE_VERSION} CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DISTNAME= kde-workspace-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Plasma scriptengine for Python -USE_KDE4= kdelibs pykde4 automoc4 +USES= cmake:outsource kde:4 python:2 tar:xz +USE_KDE= kdelibs pykde4 automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build DISTINFO_FILE= ${.CURDIR:H:H}/x11/kde4-workspace/distinfo -USES= cmake:outsource python:2 tar:xz CMAKE_SOURCE_PATH= ${WRKSRC}/plasma/generic/scriptengines/python pre-configure: ${REINPLACE_CMD} -e 's,$${PYTHON_SITE_PACKAGES_DIR},${PYTHONPREFIX_SITELIBDIR},g' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt .include Index: head/x11/plasma-scriptengine-ruby/Makefile =================================================================== --- head/x11/plasma-scriptengine-ruby/Makefile (revision 420773) +++ head/x11/plasma-scriptengine-ruby/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= plasma-scriptengine-ruby PORTVERSION= ${KDE4_WORKSPACE_VERSION} CATEGORIES= x11 kde MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src DISTNAME= kde-workspace-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Plasma scriptengine for Ruby -USE_KDE4= kdelibs korundum automoc4 +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs korundum automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build USE_RUBY= yes DISTINFO_FILE= ${.CURDIR:H:H}/x11/kde4-workspace/distinfo -USES= cmake:outsource tar:xz CMAKE_SOURCE_PATH= ${WRKSRC}/plasma/generic/scriptengines/ruby .include Index: head/x11/rsibreak-kde4/Makefile =================================================================== --- head/x11/rsibreak-kde4/Makefile (revision 420773) +++ head/x11/rsibreak-kde4/Makefile (revision 420774) @@ -1,19 +1,19 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= rsibreak DISTVERSION= 0.11 PORTREVISION= 3 CATEGORIES= x11 kde MASTER_SITES= LOCAL/crees/${PORTNAME} \ http://pkgs.fedoraproject.org/repo/pkgs/rsibreak/rsibreak-0.11.tar.bz2/d5dd540efd18900aa508eee381bcaafd/ MAINTAINER= avg@icyb.net.ua COMMENT= KDE RSI prevention tool -USES= cmake gettext tar:bzip2 +USES= cmake gettext kde:4 tar:bzip2 USE_QT4= qmake_build moc_build rcc_build uic_build -USE_KDE4= kdelibs automoc4 +USE_KDE= kdelibs automoc4 INSTALLS_ICONS= yes .include Index: head/x11/yakuake-kde4/Makefile =================================================================== --- head/x11/yakuake-kde4/Makefile (revision 420773) +++ head/x11/yakuake-kde4/Makefile (revision 420774) @@ -1,24 +1,24 @@ # Created by: Shane Bell # $FreeBSD$ PORTNAME= yakuake PORTVERSION= 2.9.9 PORTREVISION= 6 CATEGORIES= x11 kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src PKGNAMESUFFIX= -kde4 MAINTAINER= ports@FreeBSD.org COMMENT= Drop-down terminal emulator for KDE LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake gettext shebangfix tar:xz +USES= cmake gettext kde:4 shebangfix tar:xz SHEBANG_FILES= data/updaters/yakuake-${PORTVERSION}-startupnotification.pl -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build PLIST_SUB= VERSION="${PORTVERSION}" .include Index: head/x11-clocks/amor/Makefile =================================================================== --- head/x11-clocks/amor/Makefile (revision 420773) +++ head/x11-clocks/amor/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= amor PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-clocks kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Small animation which sits on top of active window -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/x11-clocks/kdetoys4/Makefile =================================================================== --- head/x11-clocks/kdetoys4/Makefile (revision 420773) +++ head/x11-clocks/kdetoys4/Makefile (revision 420774) @@ -1,25 +1,24 @@ # $FreeBSD$ PORTNAME= kdetoys PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-clocks kde MAINTAINER= kde@FreeBSD.org COMMENT= KDE miscellaneous applications (meta port) -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= metaport +USES= kde:4 metaport OPTIONS_DEFINE= AMOR KTEATIME KTUX OPTIONS_DEFAULT= ${OPTIONS_DEFINE} AMOR_DESC= Small animation which sits on top of active window -AMOR_RUN_DEPENDS= ${KDE4_PREFIX}/bin/amor:x11-clocks/amor +AMOR_RUN_DEPENDS= ${KDE_PREFIX}/bin/amor:x11-clocks/amor KTEATIME_DESC= Handy timer for steeping tea -KTEATIME_RUN_DEPENDS= ${KDE4_PREFIX}/bin/kteatime:x11-clocks/kteatime +KTEATIME_RUN_DEPENDS= ${KDE_PREFIX}/bin/kteatime:x11-clocks/kteatime KTUX_DESC= Tux-in-a-Spaceship screen saver -KTUX_RUN_DEPENDS= ${KDE4_PREFIX}/bin/ktux:x11-clocks/ktux +KTUX_RUN_DEPENDS= ${KDE_PREFIX}/bin/ktux:x11-clocks/ktux .include Index: head/x11-clocks/kteatime/Makefile =================================================================== --- head/x11-clocks/kteatime/Makefile (revision 420773) +++ head/x11-clocks/kteatime/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= kteatime PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-clocks kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Handy timer for steeping tea -USE_KDE4= kdelibs automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/x11-clocks/ktimer/Makefile =================================================================== --- head/x11-clocks/ktimer/Makefile (revision 420773) +++ head/x11-clocks/ktimer/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= ktimer PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-clocks kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Countdown launcher for KDE -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= qmake_build moc_build rcc_build uic_build .include Index: head/x11-clocks/ktux/Makefile =================================================================== --- head/x11-clocks/ktux/Makefile (revision 420773) +++ head/x11-clocks/ktux/Makefile (revision 420774) @@ -1,16 +1,16 @@ # $FreeBSD$ PORTNAME= ktux PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-clocks kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Tux-in-a-Spaceship screen saver -USE_KDE4= kdelibs workspace automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs workspace automoc4 USE_QT4= qt3support moc_build qmake_build rcc_build uic_build .include Index: head/x11-clocks/plasma-applet-adjustableclock/Makefile =================================================================== --- head/x11-clocks/plasma-applet-adjustableclock/Makefile (revision 420773) +++ head/x11-clocks/plasma-applet-adjustableclock/Makefile (revision 420774) @@ -1,22 +1,22 @@ # $FreeBSD$ PORTNAME= adjustableclock PORTVERSION= 4.1.4 PORTREVISION= 3 CATEGORIES= x11-clocks deskutils kde MASTER_SITES= http://kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= plasma-applet- DISTNAME= 92825-${PORTNAME}-${PORTVERSION} MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 highly configurable clock plasma applet LICENSE= GPLv2 -USES= cmake gettext tar:bzip2 -USE_KDE4= automoc4 workspace +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= automoc4 workspace USE_QT4= qmake_build moc_build rcc_build uic_build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include Index: head/x11-clocks/plasma-applet-geekclock/Makefile =================================================================== --- head/x11-clocks/plasma-applet-geekclock/Makefile (revision 420773) +++ head/x11-clocks/plasma-applet-geekclock/Makefile (revision 420774) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= geekclock PORTVERSION= 1.0 PORTREVISION= 11 CATEGORIES= x11-clocks deskutils kde MASTER_SITES= http://w2f2.com/projects/${PORTNAME}/ PKGNAMEPREFIX= plasma-applet- DISTNAME= geek-clock-plasmoid-${PORTVERSION}-src MAINTAINER= jhale@FreeBSD.org COMMENT= KDE4 geeky analog clock plasma applet -USES= cmake -USE_KDE4= automoc4 kdelibs workspace +USES= cmake kde:4 +USE_KDE= automoc4 kdelibs workspace USE_QT4= gui dbus network opengl svg webkit xml \ qmake_build moc_build rcc_build uic_build PLIST_FILES= lib/kde4/plasma_applet_geekclock.so \ share/apps/desktoptheme/default/widgets/geekclock.svgz \ share/kde4/services/plasma-applet-geekclock.desktop .include Index: head/x11-fm/krusader2/Makefile =================================================================== --- head/x11-fm/krusader2/Makefile (revision 420773) +++ head/x11-fm/krusader2/Makefile (revision 420774) @@ -1,20 +1,20 @@ # Created by: Heiner # $FreeBSD$ PORTNAME= krusader DISTVERSION= 2.4.0-beta3 PORTREVISION= 4 CATEGORIES= x11-fm kde MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Twin panel file manager for KDE, like midnight or norton commander LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake:outsource gettext tar:bzip2 -USE_KDE4= kdelibs automoc4 +USES= cmake:outsource gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build .include Index: head/x11-themes/gtk-qt4-engine/Makefile =================================================================== --- head/x11-themes/gtk-qt4-engine/Makefile (revision 420773) +++ head/x11-themes/gtk-qt4-engine/Makefile (revision 420774) @@ -1,32 +1,32 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= gtk-qt-engine PORTVERSION= 1.1 PORTREVISION= 12 CATEGORIES= x11-themes MASTER_SITES= GOOGLE_CODE MAINTAINER= makc@FreeBSD.org COMMENT= GTK+ 2.x theme engine allowing to use Qt/KDE styles USE_GNOME= gtk20 USE_QT4= corelib gui moc_build rcc_build uic_build qmake_build -USES= cmake gettext pkgconfig tar:bzip2 -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 pkgconfig tar:bzip2 +USE_KDE= kdelibs automoc4 WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= BONOBO BONOBO_DESC= Better support for Bonobo (GNOME) framework BONOBO_USE= GNOME=libbonoboui post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${WRKSRC}/kcm_gtk/searchpaths.cpp \ ${WRKSRC}/src/rcproperties.cpp post-patch-BONOBO-off: ${REINPLACE_CMD} -e '/^PKGCONFIG(libbonoboui/d' \ ${WRKSRC}/CMakeLists.txt .include Index: head/x11-themes/kde-gtk-config/Makefile =================================================================== --- head/x11-themes/kde-gtk-config/Makefile (revision 420773) +++ head/x11-themes/kde-gtk-config/Makefile (revision 420774) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= kde-gtk-config PORTVERSION= 2.2.1 PORTREVISION= 3 CATEGORIES= x11-themes kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= GTK2 and GTK3 Configurator for KDE -USES= cmake:outsource gettext pkgconfig tar:xz +USES= cmake:outsource gettext kde:4 pkgconfig tar:xz USE_GNOME= gtk20 gtk30 -USE_KDE4= automoc4 kdelibs +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build post-patch: ${REINPLACE_CMD} -e '/^install/s,KDE4_LIBEXEC_INSTALL_DIR,LIBEXEC_INSTALL_DIR,g' \ ${WRKSRC}/gtk*proxies/CMakeLists.txt .include Index: head/x11-themes/kde4-base-artwork/Makefile =================================================================== --- head/x11-themes/kde4-base-artwork/Makefile (revision 420773) +++ head/x11-themes/kde4-base-artwork/Makefile (revision 420774) @@ -1,20 +1,20 @@ # Created by: Raphael Kubo da Costa # $FreeBSD$ PORTNAME= kde-base-artwork PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-themes kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Base artwork for the KDE Plasma Desktop LICENSE= GPLv2 -USES= cmake:outsource tar:xz -USE_KDE4= automoc4 kdelibs +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build NO_BUILD= yes .include Index: head/x11-themes/kde4-icons-oxygen/Makefile =================================================================== --- head/x11-themes/kde4-icons-oxygen/Makefile (revision 420773) +++ head/x11-themes/kde4-icons-oxygen/Makefile (revision 420774) @@ -1,19 +1,18 @@ # $FreeBSD$ PORTNAME= oxygen PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-themes kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src PKGNAMEPREFIX= kde4-icons- DISTNAME= ${PORTNAME}-icons-${PORTVERSION} DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= The Oxygen icon theme for KDE -USE_KDE4= # blank, needed to get KDE4_VERSION -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz INSTALL_TARGET= install EXTRACT_AFTER_ARGS= --exclude '${DISTNAME}/scalable' .include Index: head/x11-themes/kde4-style-bespin/Makefile =================================================================== --- head/x11-themes/kde4-style-bespin/Makefile (revision 420773) +++ head/x11-themes/kde4-style-bespin/Makefile (revision 420774) @@ -1,22 +1,23 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= bespin PORTVERSION= 201303202227 PORTREVISION= 4 CATEGORIES= x11-themes kde MASTER_SITES= http://bsd.e-shell.net/local/ PKGNAMEPREFIX= kde4-style- DISTNAME= cloudcity-${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= Configurable KDE4 style LICENSE= LGPL21 WRKSRC= ${WRKDIR}/cloudcity -USE_KDE4= kdelibs automoc4 workspace + +USES= cmake kde:4 +USE_KDE= kdelibs automoc4 workspace USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USES= cmake .include Index: head/x11-themes/kde4-style-nitrogen/Makefile =================================================================== --- head/x11-themes/kde4-style-nitrogen/Makefile (revision 420773) +++ head/x11-themes/kde4-style-nitrogen/Makefile (revision 420774) @@ -1,22 +1,23 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= nitrogen PORTVERSION= 1.0.5 PORTREVISION= 7 CATEGORIES= x11-themes kde MASTER_SITES= http://www.kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= kde4-style- DISTNAME= 112652-kde4-kstyle-nitrogen-${PORTVERSION}-Source MAINTAINER= swills@FreeBSD.org COMMENT= KDE style with animations LICENSE= GPLv2 WRKSRC= ${WRKDIR}/kde4-kstyle-nitrogen-${PORTVERSION}-Source -USE_KDE4= kdelibs automoc4 + +USES= cmake kde:4 +USE_KDE= kdelibs automoc4 USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USES= cmake .include Index: head/x11-themes/kde4-style-oxygen-transparent/Makefile =================================================================== --- head/x11-themes/kde4-style-oxygen-transparent/Makefile (revision 420773) +++ head/x11-themes/kde4-style-oxygen-transparent/Makefile (revision 420774) @@ -1,20 +1,20 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= oxygen-transparent PORTVERSION= 2014.03.10 PORTREVISION= 2 CATEGORIES= x11-themes kde MASTER_SITES= LOCAL/dbn/${PORTNAME} PKGNAMEPREFIX= kde4-style- MAINTAINER= dbn@FreeBSD.org COMMENT= KDE oxygen style with transparency LICENSE= GPLv2 -USE_KDE4= kdelibs workspace automoc4 +USES= cmake kde:4 tar:xz +USE_KDE= kdelibs workspace automoc4 USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USES= cmake tar:xz .include Index: head/x11-themes/kde4-style-polyester/Makefile =================================================================== --- head/x11-themes/kde4-style-polyester/Makefile (revision 420773) +++ head/x11-themes/kde4-style-polyester/Makefile (revision 420774) @@ -1,21 +1,21 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= polyester PORTVERSION= 2.0.0 PORTREVISION= 9 CATEGORIES= x11-themes kde MASTER_SITES= http://www.notmart.org/files/ PKGNAMEPREFIX= kde4-style- MAINTAINER= makc@FreeBSD.org COMMENT= KDE style and window decoration LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB -USE_KDE4= kdelibs automoc4 +USES= cmake gettext kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build -USES= cmake gettext tar:bzip2 .include Index: head/x11-themes/kde4-style-skulpture/Makefile =================================================================== --- head/x11-themes/kde4-style-skulpture/Makefile (revision 420773) +++ head/x11-themes/kde4-style-skulpture/Makefile (revision 420774) @@ -1,20 +1,20 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= skulpture PORTVERSION= 0.2.4 CATEGORIES= x11-themes kde MASTER_SITES= http://www.kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= kde4-style- DISTFILES= 59031-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= swills@FreeBSD.org COMMENT= KDE style featuring 3D artwork and enhanced the visual experience LICENSE= GPLv3 -USE_KDE4= kdelibs automoc4 workspace +USES= cmake kde:4 +USE_KDE= kdelibs automoc4 workspace USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USES= cmake .include Index: head/x11-themes/kde4-wallpapers/Makefile =================================================================== --- head/x11-themes/kde4-wallpapers/Makefile (revision 420773) +++ head/x11-themes/kde4-wallpapers/Makefile (revision 420774) @@ -1,18 +1,18 @@ # $FreeBSD$ PORTNAME= kde-wallpapers PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-themes kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Set of wallpapers for the KDE Plasma workspace -USE_KDE4= automoc4 kdelibs -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= automoc4 kdelibs USE_QT4= moc_build qmake_build rcc_build uic_build NO_BUILD= yes .include Index: head/x11-themes/kde4-windeco-crystal/Makefile =================================================================== --- head/x11-themes/kde4-windeco-crystal/Makefile (revision 420773) +++ head/x11-themes/kde4-windeco-crystal/Makefile (revision 420774) @@ -1,23 +1,23 @@ # Created by: decept # $FreeBSD$ PORTNAME= crystal PORTVERSION= 2.2.1 PORTREVISION= 4 CATEGORIES= x11-themes kde MASTER_SITES= http://www.kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= kde-windeco- DISTNAME= 75140-${PORTNAME}-${PORTVERSION} MAINTAINER= vg@FreeBSD.org COMMENT= Transparent KDE window decoration LICENSE= GPLv2 -USE_KDE4= kdelibs automoc4 workspace +USES= cmake:outsource kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 workspace USE_QT4= qmake_build moc_build rcc_build uic_build \ corelib gui qt3support -USES= cmake:outsource tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include Index: head/x11-themes/kde4-windeco-dekorator/Makefile =================================================================== --- head/x11-themes/kde4-windeco-dekorator/Makefile (revision 420773) +++ head/x11-themes/kde4-windeco-dekorator/Makefile (revision 420774) @@ -1,24 +1,24 @@ # Created by: Gvozdikov Veniamin # $FreeBSD$ PORTNAME= dekorator PORTVERSION= 0.5.1 PORTREVISION= 6 CATEGORIES= x11-themes kde MASTER_SITES= http://www.kde-look.org/CONTENT/content-files/ PKGNAMEPREFIX= kde4-windeco- DISTNAME= 87921-${PORTNAME}-${PORTVERSION} MAINTAINER= vg@FreeBSD.org COMMENT= Transparent KDE4 window decoration LICENSE= GPLv2 LIB_DEPENDS= libqimageblitz.so:x11/qimageblitz -USE_KDE4= kdelibs automoc4 workspace +USES= cmake kde:4 tar:bzip2 +USE_KDE= kdelibs automoc4 workspace USE_QT4= corelib qmake_build moc_build rcc_build uic_build -USES= cmake tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .include Index: head/x11-themes/kdeartwork4/Makefile =================================================================== --- head/x11-themes/kdeartwork4/Makefile (revision 420773) +++ head/x11-themes/kdeartwork4/Makefile (revision 420774) @@ -1,33 +1,33 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= kdeartwork PORTVERSION= ${KDE4_VERSION} CATEGORIES= x11-themes kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Artworks Themes BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3 -USE_KDE4= kdelibs libkexiv2 workspace automoc4 -USES= cmake:outsource tar:xz +USES= cmake:outsource kde:4 tar:xz +USE_KDE= kdelibs libkexiv2 workspace automoc4 USE_QT4= corelib gui opengl \ moc_build qmake_build rcc_build uic_build USE_XORG= x11 xt OPTIONS_DEFINE= GNOME GNOME_DESC= Use Gnome screensavers GNOME_BUILD_DEPENDS= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:x11/xscreensaver-gnome GNOME_RUN_DEPENDS= ${GNOME_BUILD_DEPENDS} GNOME_BUILD_DEPENDS_OFF= xscreensaver:x11/xscreensaver GNOME_RUN_DEPENDS_OFF= ${GNOME_BUILD_DEPENDS_OFF} post-patch: ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}|g' \ -e 's|/usr/share|${LOCALBASE}/share|g' \ ${PATCH_WRKSRC}/cmake/modules/FindXscreensaver.cmake .include Index: head/x11-themes/qtcurve/Makefile =================================================================== --- head/x11-themes/qtcurve/Makefile (revision 420773) +++ head/x11-themes/qtcurve/Makefile (revision 420774) @@ -1,92 +1,93 @@ # $FreeBSD$ PORTNAME= qtcurve PORTVERSION= 1.8.18 CATEGORIES= x11-themes MAINTAINER= makc@FreeBSD.org COMMENT?= Widget styles for Qt and GTK+ toolkits .if !defined(QTCURVE_SLAVE) USES= metaport # There is no NO_PATCH PATCHDIR= ${MASTERDIR}/none OPTIONS_DEFINE= GTK2 KDE4 QT4 QT5 OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} GTK2_RUN_DEPENDS= gtk2-qtcurve-theme>=1.8.18:x11-themes/qtcurve-gtk2 KDE4_RUN_DEPENDS= kde4-style-qtcurve>=1.8.18:x11-themes/qtcurve-kde4 QT4_RUN_DEPENDS= qt4-style-qtcurve>=1.8.18:x11-themes/qtcurve-qt4 QT5_RUN_DEPENDS= qt5-style-qtcurve>=1.8.18:x11-themes/qtcurve-qt5 .else # !defined(QTCURVE_SLAVE) USE_GITHUB= yes GH_ACCOUNT= QtCurve USES= compiler:c++11-lib cmake execinfo pkgconfig USE_XORG= x11 xcb .for i in gtk2 kde4 qt4 qt5 WITH_${i}= Off .endfor WITH_${QTCURVE_SLAVE}= On CMAKE_ARGS+= -DENABLE_GTK2=${WITH_gtk2} \ -DENABLE_QT4=${WITH_qt4} \ -DENABLE_QT5=${WITH_qt5} \ -DQTC_QT4_ENABLE_KDE=${WITH_kde4} LDFLAGS+= -L${LOCALBASE}/lib BUILD_WRKSRC= ${WRKSRC}/${QTCURVE_SLAVE} INSTALL_WRKSRC= ${BUILD_WRKSRC} PLIST= ${PKGDIR}/pkg-plist.${QTCURVE_SLAVE} .if ${QTCURVE_SLAVE} == "utils" PKGNAMESUFFIX= -utils USE_LDCONFIG= yes BUILD_WRKSRC= ${WRKSRC} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-tools:build NLS_CMAKE_OFF= -DQTC_INSTALL_PO=Off .else LIB_DEPENDS+= libqtcurve-utils.so:x11-themes/qtcurve-utils .endif .if ${QTCURVE_SLAVE} == "gtk2" PKGNAMEPREFIX= gtk2- PKGNAMESUFFIX= -theme USE_GNOME= gtk20 cairo pango USE_LDCONFIG= yes post-install: @(cd ${WRKSRC}/lib/cairo && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif .if ${QTCURVE_SLAVE} == "kde4" WITH_qt4= On # required for KDE 4 PKGNAMEPREFIX= kde4-style- -USE_KDE4= kdelibs workspace automoc4 +USE_KDE= kdelibs workspace automoc4 +USES+= kde:4 USE_QT4= moc_build qmake_build rcc_build uic_build BUILD_WRKSRC= ${WRKSRC}/qt4 .endif .if ${QTCURVE_SLAVE} == "qt4" PKGNAMEPREFIX= qt4-style- USE_QT4= dbus gui svg moc_build qmake_build rcc_build uic_build PLIST_FILES= ${QT_PLUGINDIR_REL}/styles/qtcurve.so .endif .if ${QTCURVE_SLAVE} == "qt5" PKGNAMEPREFIX= qt5-style- USE_QT5= dbus gui svg widgets x11extras buildtools_build qmake_build PLIST_FILES= ${QT_PLUGINDIR_REL}/styles/qtcurve.so .endif .endif # !defined(QTCURVE_SLAVE) .include