Index: head/CHANGES =================================================================== --- head/CHANGES (revision 381617) +++ head/CHANGES (revision 381618) @@ -1,2713 +1,2727 @@ 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. +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. + + 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.port.mk =================================================================== --- head/Mk/bsd.port.mk (revision 381617) +++ head/Mk/bsd.port.mk (revision 381618) @@ -1,6034 +1,6038 @@ #-*- 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. # UNIQUENAME - A name for your port that is globally unique. By default, # this is set to ${LATEST_LINK} when LATEST_LINK is set, # and to ${PKGNAMEPREFIX}${PORTNAME} otherwise. # 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 USE_BZIP2 is set, .tar.xz if 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} # Default: # http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ # MASTER_SITE_OVERRIDE # - If set, override the MASTER_SITES setting with this # value. # MASTER_SITE_FREEBSD # - If set, only use ${MASTER_SITE_BACKUP} for # MASTER_SITES. # CD_MOUNTPTS - List of CDROM mountpoints to look for distfiles under. # This variable supercedes CD_MOUNTPT, which is # obsolete. # # 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. # 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. # make will use "ldconfig -r" to search for the library. # lib can contain extended regular expressions. # 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_BZIP2 - If set, this port tarballs use bzip2, not gzip, for # compression. # USE_XZ - If set, this port tarballs use xz (or lzma) # for compression # 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_GHOSTSCRIPT # - If set, this port needs ghostscript to both # build and run. If a number is specified, # the specified version will be used. # The valid value is '7', '8', or '9' in that case. # USE_GHOSTSCRIPT_BUILD # - If set, this port needs ghostscript to build. # USE_GHOSTSCRIPT_RUN # - If set, this port needs ghostscript to run. # GHOSTSCRIPT_PORT # - The port that provides postscript functionality. # Some installations may wish to override the default # to specify a version without X11 and/or localized # versions for their nationality. # Default: print/ghostscript9 # WITH_GHOSTSCRIPT_VER # - If set, the specified version of ghostscript will be # used. The valid value is "7", "8", or "9". Note that # this is for users, not for port maintainers. This # should not be used in Makefile. ## # 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_OPENSSL - If set, this port relies on the OpenSSL package. ## # 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_GNUSTEP - If set, this port relies on the GNUstep system. # Implies the inclusion of bsd.gnustep.mk. # (Also see that file for more information on # USE_GNUSTEP_*). ## # USE_GECKO - If set, this port uses the Gecko/Mozilla product. # See bsd.gecko.mk for more details. ## # USE_GNOME - A list of the Gnome dependencies the port has (e.g., # glib12, gtk12). Implies that the port needs Gnome. # Implies inclusion of bsd.gnome.mk. See bsd.gnome.mk # or http://www.FreeBSD.org/gnome/docs/porting.html # for more details. ## # USE_MATE - A list of the MATE dependencies the port has. Implies # that the port needs MATE. Implies inclusion of # bsd.mate.mk. See bsd.mate.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. # 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. # AUTOMATIC_PLIST # - Set to yes to enable automatic packing list generation. # Currently has no effect unless USE_LINUX_RPM is set. # # 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 and added to the packing list. # USE_RCORDER - List of rc.d startup scripts to be called early in the boot # process. This acts exactly like USE_RC_SUBR except that # scripts are installed in /etc/rc.d. # Because local rc.d scripts are included in the base rcorder # this option is not needed unless the port installs in the base. ## # 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 non-X11 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. # # 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} unless NO_WRKSUBDIR is set, # in which case simply ${WRKDIR} # WRKSRC_SUBDIR - A subdirectory of ${WRKSRC} where the distribution actually # builds in. # Default: not set # NO_WRKSUBDIR - Assume port unpacks directly into ${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. # INSTALL_MAN - A command to install manpages. # 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 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. # # 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. # 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. # 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. # # 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. # # 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_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} # --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 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 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/${UNIQUENAME} 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/${UNIQUENAME} 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! # # For package: # # LATEST_LINK - Install the "Latest" link for the package as ___. Define # this if the "Latest" link name will be incorrectly determined. # # 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. # 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. # # 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?= 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} QA_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LINUXBASE=${LINUXBASE} \ LOCALBASE=${LOCALBASE} \ "STRIP=${STRIP}" \ TMPPLIST=${TMPPLIST} 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}" MINIMAL_PKG_VERSION= 1.3.8 # make sure bmake treats -V as expected .MAKE.EXPAND_VARIABLES= yes .include "${PORTSDIR}/Mk/bsd.commands.mk" .if defined(NO_STAGE) BROKEN= Not staged. DEPRECATED?= Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html EXPIRATION_DATE?= 2014-08-31 .endif .if defined(X_BUILD_FOR) .if !defined(.PARSEDIR) IGNORE= Cross building can only be done when using bmake(1) as make(1) .endif BUILD_DEPENDS= ${X_BUILD_FOR}-cc:${PORTSDIR}/devel/${X_BUILD_FOR}-xdev # Do not define CPP on purpose .if !defined(HCC) HCC:= ${CC} HCXX:= ${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++ PKG_ENV+= ABI_FILE=${X_SYSROOT}/usr/lib/crt1.o NM= ${X_BUILD_FOR}-nm STRIP_CMD= ${X_BUILD_FOR}-strip MAKE_ENV+= NM=${NM} STRIPBIN=${X_BUILD_FOR}-strip PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" CONFIGURE_ENV+= PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" # 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 # Look for files named "*.orig" under ${PATCH_WRKSRC} and (re-)generate # ${PATCHDIR}/patch-* files from them. By popular demand, we currently # use '_' (underscore) to replace path separators in patch file names. # # If a file name happens to contain character which is also a separator # replacement character, it will be doubled in the resulting patch name. # # To minimize gratuitous patch renames, newly generated patches will be # written under existing file names when they use any of the previously # common path separators ([-+_]) or legacy double underscore (__). .if !target(makepatch) PATCH_PATH_SEPARATOR= _ makepatch: @${MKDIR} ${PATCHDIR} @(cd ${PATCH_WRKSRC}; \ for f in `${FIND} -s . -type f -name '*.orig'`; do \ ORIG=$${f#./}; \ NEW=$${ORIG%.orig}; \ cmp -s $${ORIG} $${NEW} && continue; \ ! for _lps in `${ECHO} _ - + | ${SED} -e \ 's|${PATCH_PATH_SEPARATOR}|__|'`; do \ PATCH=`${ECHO} $${NEW} | ${SED} -e "s|/|$${_lps}|g"`; \ test -f "${PATCHDIR}/patch-$${PATCH}" && break; \ done || ${ECHO} $${_SEEN} | ${GREP} -q /$${PATCH} && { \ PATCH=`${ECHO} $${NEW} | ${SED} -e \ 's|${PATCH_PATH_SEPARATOR}|&&|g' -e \ 's|/|${PATCH_PATH_SEPARATOR}|g'`; \ _SEEN=$${_SEEN}/$${PATCH}; \ }; \ OUT=${PATCHDIR}/patch-$${PATCH}; \ ${ECHO} ${DIFF} -udp $${ORIG} $${NEW} '>' $${OUT}; \ TZ=UTC ${DIFF} -udp $${ORIG} $${NEW} | ${SED} -e \ '/^---/s|\.[0-9]* +0000$$| UTC|' -e \ '/^+++/s|\([[:blank:]][-0-9:.+]*\)*$$||' \ > $${OUT} || ${TRUE}; \ done \ ) .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 # Get the operating system type .if !defined(OPSYS) OPSYS!= ${UNAME} -s .endif UNAMER!=${UNAME} -r # Get the operating system revision OSREL?= ${UNAMER:C/-.*//} # 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 # 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. .if ${_OSVERSION_MAJOR} != ${UNAMER:R} .error UNAME_r (${UNAMER}) 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 # Only define tools here (for transition period with between pkg tools) .include "${PORTSDIR}/Mk/bsd.commands.mk" .if 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 .endif 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 .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 auditdistd bin bind daemon games hast kmem mailnull man news nobody operator pop proxy root smmsp sshd toor tty uucp www LDCONFIG_DIR= libdata/ldconfig LDCONFIG32_DIR= libdata/ldconfig32 .if defined(LATEST_LINK) UNIQUENAME?= ${LATEST_LINK} .else UNIQUENAME?= ${PKGNAMEPREFIX}${PORTNAME} .endif .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) # 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) .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) .include "${PORTSDIR}/Mk/bsd.sanity.mk" _PREMKINCLUDED= yes .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} DISTNAME?= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX} 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) .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif .if defined(USE_EMACS) .include "${PORTSDIR}/Mk/bsd.emacs.mk" .endif .if defined(USE_GNUSTEP) .include "${PORTSDIR}/Mk/bsd.gnustep.mk" .endif .if defined(USE_PHP) .include "${PORTSDIR}/Mk/bsd.php.mk" .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) .include "${PORTSDIR}/Mk/bsd.gnome.mk" .endif .if defined(USE_MATE) .include "${PORTSDIR}/Mk/bsd.mate.mk" .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) || defined(WANT_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 .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 # 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 .if defined(USE_BZIP2) EXTRACT_SUFX?= .tar.bz2 .elif defined(USE_XZ) EXTRACT_SUFX?= .tar.xz .else EXTRACT_SUFX?= .tar.gz .endif # 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 # Location of mounted CDROM(s) to search for files CD_MOUNTPTS?= /cdrom ${CD_MOUNTPT} # 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} .if defined(BUNDLE_LIBS) PKG_NOTES+= no_provide_shlib PKG_NOTE_no_provide_shlib= yes .endif .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 WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work .if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) +. if defined(GH_COMMIT) WRKSRC?= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} +. else +WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME} +. endif .endif .if defined(NO_WRKSUBDIR) WRKSRC?= ${WRKDIR} .else WRKSRC?= ${WRKDIR}/${DISTNAME} .endif .if defined(WRKSRC_SUBDIR) WRKSRC:= ${WRKSRC}/${WRKSRC_SUBDIR} .endif PATCH_WRKSRC?= ${WRKSRC} CONFIGURE_WRKSRC?= ${WRKSRC} BUILD_WRKSRC?= ${WRKSRC} INSTALL_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 that are too generic # Remove empty values # Remove @comment values # Remove quotes # Replace . with \. for later sed(1) usage PLIST_SUB_SED_MIN?= 2 PLIST_SUB_SED?= ${PLIST_SUB:C/.*=.{1,${PLIST_SUB_SED_MIN}}$//g:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:NRESETPREFIX=*:N*="":N*="@comment*: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 .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) .if ${PATCHFILES:M*.zip}x != x PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip .endif .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 .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:${PORTSDIR}/${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:${PORTSDIR}/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) && ${USE_RC_SUBR:tu} != "YES" 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 # 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= ${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:${PORTSDIR}/emulators/linux_base-${USE_LINUX} . else . if ${USE_LINUX:tl} == "yes" USE_LINUX= c6 LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/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 RUN_DEPENDS+= ${LINUX_BASE_PORT} .endif PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' _GL_gbm_LIB_DEPENDS= libgbm.so:${PORTSDIR}/graphics/gbm _GL_glesv2_BUILD_DEPENDS= libglesv2>0:${PORTSDIR}/graphics/libglesv2 _GL_glesv2_RUN_DEPENDS= libglesv2>0:${PORTSDIR}/graphics/libglesv2 _GL_egl_BUILD_DEPENDS= libEGL>0:${PORTSDIR}/graphics/libEGL _GL_egl_RUN_DEPENDS= libEGL>0:${PORTSDIR}/graphics/libEGL _GL_gl_BUILD_DEPENDS= libGL>0:${PORTSDIR}/graphics/libGL _GL_gl_RUN_DEPENDS= libGL>0:${PORTSDIR}/graphics/libGL _GL_gl_USE_XORG= glproto dri2proto _GL_glew_LIB_DEPENDS= libGLEW.so:${PORTSDIR}/graphics/glew _GL_glu_LIB_DEPENDS= libGLU.so:${PORTSDIR}/graphics/libGLU _GL_glu_USE_XORG= glproto dri2proto _GL_glw_LIB_DEPENDS= libGLw.so:${PORTSDIR}/graphics/libGLw _GL_glut_LIB_DEPENDS= libglut.so:${PORTSDIR}/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 MANIFESTF= ${METADIR}/+MANIFEST 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(USE_MYSQL) || defined(WANT_MYSQL_VER) || \ defined(USE_BDB) || defined(USE_SQLITE) || defined(USE_FIREBIRD) .include "${PORTSDIR}/Mk/bsd.database.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) || defined(WANT_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif .if defined(USE_PHP) .include "${PORTSDIR}/Mk/bsd.php.mk" .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(WANT_GNOME) || defined(USE_GNOME) .include "${PORTSDIR}/Mk/bsd.gnome.mk" .endif .if defined(USE_MATE) .include "${PORTSDIR}/Mk/bsd.mate.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 # Set the default for the installation of Postscript(TM)- # compatible functionality. .if !defined(USE_GHOSTSCRIPT) . if defined(USE_GHOSTSCRIPT_BUILD) _USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT_BUILD} . elif defined(USE_GHOSTSCRIPT_RUN) _USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT_RUN} . endif .else _USE_GHOSTSCRIPT= ${USE_GHOSTSCRIPT} .endif .if defined(WITH_GHOSTSCRIPT_VER) && !empty(WITH_GHOSTSCRIPT_VER:M[789]) _USE_GHOSTSCRIPT_DEFAULT_VER= ${WITH_GHOSTSCRIPT_VER} .else _USE_GHOSTSCRIPT_DEFAULT_VER= 9 .endif .if defined(_USE_GHOSTSCRIPT) . if !defined(WITHOUT_X11) _USE_GHOSTSCRIPT_PKGNAME_SUFFIX= . else _USE_GHOSTSCRIPT_PKGNAME_SUFFIX=-nox11 . endif . if !empty(_USE_GHOSTSCRIPT:M[789]) _USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT:M[789]} . else _USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER} . endif .else _USE_GHOSTSCRIPT_VER=${_USE_GHOSTSCRIPT_DEFAULT_VER} .endif # Sanity check .if defined(_USE_GHOSTSCRIPT) && defined(WITH_GHOSTSCRIPT_VER) . if empty(WITH_GHOSTSCRIPT_VER:M[789]) . error You set an invalid value "${WITH_GHOSTSCRIPT_VER}" in WITH_GHOSTSCRIPT_VER. Abort. . elif ${_USE_GHOSTSCRIPT_VER} != ${WITH_GHOSTSCRIPT_VER} . error You set WITH_GHOSTSCRIPT_VER as ${WITH_GHOSTSCRIPT_VER} but ${PKGNAME} requires print/ghostscript${_USE_GHOSTSCRIPT_VER}. Abort. . endif .endif GHOSTSCRIPT_PORT?= print/ghostscript${_USE_GHOSTSCRIPT_VER}${_USE_GHOSTSCRIPT_PKGNAME_SUFFIX} # Set up the ghostscript dependencies. .if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) BUILD_DEPENDS+= gs:${PORTSDIR}/${GHOSTSCRIPT_PORT} .endif .if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_RUN) RUN_DEPENDS+= gs:${PORTSDIR}/${GHOSTSCRIPT_PORT} .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?= /usr/bin/make 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 _MAKE_JOBS_NUMBER!= ${SYSCTL} -n kern.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" PTHREAD_CFLAGS?= PTHREAD_LIBS?= -pthread FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1 FETCH_BINARY?= /usr/bin/fetch FETCH_ARGS?= -Fpr FETCH_REGET?= 1 .if !defined(DISABLE_SIZE) FETCH_BEFORE_ARGS+= $${CKSIZE:+-S $$CKSIZE} .endif 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 MTREE_FILE_DEFAULT=yes .endif MTREE_CMD?= /usr/sbin/mtree MTREE_ARGS?= -U ${MTREE_FOLLOWS_SYMLINKS} -f ${MTREE_FILE} -d -e -p READLINK_CMD?= /usr/bin/readlink # Determine whether or not we can use rootly owner/group functions. .if ${UID} == 0 _BINOWNGRP= -o ${BINOWN} -g ${BINGRP} _SHROWNGRP= -o ${SHAREOWN} -g ${SHAREGRP} _MANOWNGRP= -o ${MANOWN} -g ${MANGRP} .else _BINOWNGRP= _SHROWNGRP= _MANOWNGRP= .endif _SHAREMODE?= 0644 # A few aliases for *-install targets INSTALL_PROGRAM= \ ${INSTALL} ${COPY} ${STRIP} ${_BINOWNGRP} -m ${BINMODE} INSTALL_KLD= \ ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} INSTALL_LIB= \ ${INSTALL} ${COPY} ${STRIP} ${_SHROWNGRP} -m ${SHAREMODE} INSTALL_SCRIPT= \ ${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} INSTALL_DATA= \ ${INSTALL} ${COPY} ${_SHROWNGRP} -m ${_SHAREMODE} INSTALL_MAN= \ ${INSTALL} ${COPY} ${_MANOWNGRP} -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 .if ${UID} == 0 COPYTREE_BIN= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${CHOWN} -Rh ${BINOWN}:${BINGRP} $$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) && \ ${CHOWN} -Rh ${SHAREOWN}:${SHAREGRP} $$1 && \ ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' -- .else 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/{} \;' -- .endif # 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 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} == 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} == 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 # Search CDROM first if mounted, symlink instead of copy if # FETCH_SYMLINK_DISTFILES is set .for MOUNTPT in ${CD_MOUNTPTS} .if exists(${MOUNTPT}/ports/distfiles) _MASTER_SITE_OVERRIDE:= file:${MOUNTPT}/ports/distfiles/${DIST_SUBDIR}/ ${_MASTER_SITE_OVERRIDE} .if defined(FETCH_SYMLINK_DISTFILES) FETCH_BEFORE_ARGS+= -l .endif .endif .endfor 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; } SORTED_MASTER_SITES_DEFAULT_CMD= cd ${.CURDIR} && ${MAKE} master-sites-DEFAULT SORTED_PATCH_SITES_DEFAULT_CMD= cd ${.CURDIR} && ${MAKE} patch-sites-DEFAULT SORTED_MASTER_SITES_ALL_CMD= cd ${.CURDIR} && ${MAKE} master-sites-ALL SORTED_PATCH_SITES_ALL_CMD= cd ${.CURDIR} && ${MAKE} patch-sites-ALL # has similar effect to old targets, i.e., access only {MASTER,PATCH}_SITES, not working with the new _n variables master-sites-DEFAULT: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_MASTER_SITES_DEFAULT}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} patch-sites-DEFAULT: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_PATCH_SITES_DEFAULT}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} # # Sort the master site list according to the patterns in MASTER_SORT # according to grouping rules (:something) # # for use in the fetch targets .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/^://:S/,/ /g} . if !target(master-sites-${_group}) SORTED_MASTER_SITES_${_group}_CMD= cd ${.CURDIR} && ${MAKE} master-sites-${_group} master-sites-${_group}: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_MASTER_SITES_${_group}}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} . endif . endfor . endif .endfor .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/^://:S/,/ /g} . if !target(patch-sites-${_group}) SORTED_PATCH_SITES_${_group}_CMD= cd ${.CURDIR} && ${MAKE} patch-sites-${_group} patch-sites-${_group}: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_PATCH_SITES_${_group}}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} . endif . endfor . endif .endfor # # Hackery to enable simple fetch targets with several dynamic MASTER_SITES # _MASTER_SITES_ENV= _MASTER_SITES_DEFAULT="${_MASTER_SITES_DEFAULT}" .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}}" . endif . endfor . endif .endfor _PATCH_SITES_ENV= _PATCH_SITES_DEFAULT="${_PATCH_SITES_DEFAULT}" .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}}" . endif . endfor . endif .endfor master-sites-ALL: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_MASTER_SITES_ALL}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} patch-sites-ALL: @${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} '${_PATCH_SITES_ALL}' | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP} # synonyms, mnemonics master-sites-all: master-sites-ALL patch-sites-all: patch-sites-ALL master-sites-default: master-sites-DEFAULT patch-sites-default: patch-sites-DEFAULT # compatibility with old behavior master-sites: master-sites-DEFAULT patch-sites: patch-sites-DEFAULT 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 # The "latest version" link -- ${PKGNAME} minus everthing after the last '-' PKGLATESTREPOSITORY?= ${PACKAGES}/Latest PKGBASE?= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} LATEST_LINK?= ${PKGBASE} PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${LATEST_LINK}${PKG_SUFX} CONFIGURE_SCRIPT?= configure 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 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_SCRIPT} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \ fi ; \ if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \ fi ; \ if [ -z "`./${CONFIGURE_SCRIPT} --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:${PORTSDIR}/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(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}.;exit 1 .endif _TARGETS= check-sanity fetch checksum extract patch configure all build \ install reinstall 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_${UNIQUENAME: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 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} ${WRKSRC}: @${MKDIR} ${.TARGET} # Warn user about deprecated packages. Advisory only. .if !target(check-deprecated) check-deprecated: .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 _EXTRACT_AUDITFILE= ${CAT} "${AUDITFILE}" check-vulnerable: .if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING) @if [ -f "${AUDITFILE}" ]; then \ if [ -x "${PKG_BIN}" ]; then \ vlist=`${PKG_BIN} audit "${PKGNAME}" || :`; \ if [ "$${vlist}" = "0 problem(s) in the installed packages found." ]; then \ vlist=""; \ fi; \ elif [ "${PORTNAME}" = "pkg" ]; then \ vlist=""; \ fi; \ if [ -n "$$vlist" ]; then \ ${ECHO_MSG} "===> ${PKGNAME} has known vulnerabilities:"; \ ${ECHO_MSG} "$$vlist"; \ ${ECHO_MSG} "=> Please update your ports tree and try again."; \ ${ECHO_MSG} "=> Note: Vulnerable ports are marked as such even if there is no update available."; \ ${ECHO_MSG} "=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'"; \ exit 1; \ fi; \ fi .endif # set alg to any of SIZE, SHA256 (or any other checksum algorithm): DISTINFO_DATA?= if [ \( -n "${DISABLE_SIZE}" -a -n "${NO_CHECKSUM}" \) -o ! -f "${DISTINFO_FILE}" ]; then exit; fi; \ DIR=${DIST_SUBDIR}; ${AWK} -v alg=$$alg -v file=$${DIR:+$$DIR/}$${file} \ '$$1 == alg && $$2 == "(" file ")" {print $$4}' ${DISTINFO_FILE} # Fetch .if !target(do-fetch) do-fetch: @${MKDIR} ${_DISTDIR} @cd ${_DISTDIR};\ ${_MASTER_SITES_ENV} ; \ for _file in ${DISTFILES}; do \ file=$${_file%%:*}; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ force_fetch=false; \ filebasename=$${file##*/}; \ for afile in ${FORCE_FETCH}; do \ afile=$${afile##*/}; \ if [ "x$$afile" = "x$$filebasename" ]; then \ force_fetch=true; \ fi; \ done; \ if [ ! -f $$file -a ! -f $$filebasename -o "$$force_fetch" = "true" ]; then \ if [ -L $$file -o -L $$filebasename ]; then \ ${ECHO_MSG} "=> ${_DISTDIR}/$$file is a broken symlink."; \ ${ECHO_MSG} "=> Perhaps a filesystem (most likely a CD) isn't mounted?"; \ ${ECHO_MSG} "=> Please correct this problem and try again."; \ exit 1; \ fi; \ if [ -f ${DISTINFO_FILE} -a "x${NO_CHECKSUM}" = "x" ]; then \ _sha256sum=`alg=SHA256; ${DISTINFO_DATA}`; \ if [ -z "$$_sha256sum" ]; then \ ${ECHO_MSG} "=> $${DIR:+$$DIR/}$$file is not in ${DISTINFO_FILE}."; \ ${ECHO_MSG} "=> Either ${DISTINFO_FILE} is out of date, or"; \ ${ECHO_MSG} "=> $${DIR:+$$DIR/}$$file is spelled incorrectly."; \ exit 1; \ fi; \ fi; \ ${ECHO_MSG} "=> $$file doesn't seem to exist in ${_DISTDIR}."; \ if [ ! -w ${_DISTDIR} ]; then \ ${ECHO_MSG} "=> ${_DISTDIR} is not writable by you; cannot fetch."; \ exit 1; \ fi; \ if [ ! -z "$$select" ] ; then \ __MASTER_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_MASTER_SITES_$${group}} ] ; then \ eval ___MASTER_SITES_TMP="\$${_MASTER_SITES_$${group}}" ; \ __MASTER_SITES_TMP="$${__MASTER_SITES_TMP} $${___MASTER_SITES_TMP}" ; \ fi; \ done; \ ___MASTER_SITES_TMP= ; \ SORTED_MASTER_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi; \ sites_remaining=0; \ sites="`eval $$SORTED_MASTER_SITES_CMD_TMP ${_RANDOMIZE_SITES}`"; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} + 1)); \ done; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} - 1)); \ ${ECHO_MSG} "=> Attempting to fetch $${site}$${file}"; \ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) ${MKDIR} $${file%/*}; \ args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} ${FETCH_AFTER_ARGS}; then \ actual_size=`stat -f %z "$${file}"`; \ if [ -n "${DISABLE_SIZE}" ] || [ -z "$${CKSIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \ continue 2; \ else \ ${ECHO_MSG} "=> Fetched file size mismatch (expected $${CKSIZE}, actual $${actual_size})"; \ if [ $${sites_remaining} -gt 0 ]; then \ ${ECHO_MSG} "=> Trying next site"; \ ${RM} -f $${file}; \ fi; \ fi; \ fi; \ done; \ ${ECHO_MSG} "=> Couldn't fetch it - please try to retrieve this";\ ${ECHO_MSG} "=> port manually into ${_DISTDIR} and try again."; \ exit 1; \ fi; \ done .if defined(PATCHFILES) @cd ${_DISTDIR};\ ${_PATCH_SITES_ENV} ; \ for _file in ${PATCHFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^-:][^:]*$$//'` ; \ select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 's/,/ /g'` ; \ file=`${ECHO_CMD} $$file | ${SED} -E -e 's/:-[^:]+$$//'` ; \ force_fetch=false; \ filebasename=$${file##*/}; \ for afile in ${FORCE_FETCH}; do \ afile=$${afile##*/}; \ if [ "x$$afile" = "x$$filebasename" ]; then \ force_fetch=true; \ fi; \ done; \ if [ ! -f $$file -a ! -f $$filebasename -o "$$force_fetch" = "true" ]; then \ if [ -L $$file -o -L $${file##*/} ]; then \ ${ECHO_MSG} "=> ${_DISTDIR}/$$file is a broken symlink."; \ ${ECHO_MSG} "=> Perhaps a filesystem (most likely a CD) isn't mounted?"; \ ${ECHO_MSG} "=> Please correct this problem and try again."; \ exit 1; \ fi; \ ${ECHO_MSG} "=> $$file doesn't seem to exist in ${_DISTDIR}."; \ if [ ! -z "$$select" ] ; then \ __PATCH_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_PATCH_SITES_$${group}} ] ; then \ eval ___PATCH_SITES_TMP="\$${_PATCH_SITES_$${group}}" ; \ __PATCH_SITES_TMP="$${__PATCH_SITES_TMP} $${___PATCH_SITES_TMP}" ; \ fi; \ done; \ ___PATCH_SITES_TMP= ; \ SORTED_PATCH_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi; \ sites_remaining=0; \ sites="`eval $$SORTED_PATCH_SITES_CMD_TMP`"; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} + 1)); \ done; \ for site in $${sites}; do \ sites_remaining=$$(($${sites_remaining} - 1)); \ ${ECHO_MSG} "=> Attempting to fetch $${site}$${file}"; \ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) ${MKDIR} $${file%/*}; \ args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} ${FETCH_AFTER_ARGS}; then \ actual_size=`stat -f %z "$${file}"`; \ if [ -n "${DISABLE_SIZE}" ] || [ -z "$${CKSIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \ continue 2; \ else \ ${ECHO_MSG} "=> Fetched file size mismatch (expected $${CKSIZE}, actual $${actual_size})"; \ if [ $${sites_remaining} -gt 1 ]; then \ ${ECHO_MSG} "=> Trying next site"; \ ${RM} -f $${file}; \ fi; \ fi; \ fi; \ done; \ ${ECHO_MSG} "=> Couldn't fetch it - please try to retrieve this";\ ${ECHO_MSG} "=> port manually into ${_DISTDIR} and try again."; \ exit 1; \ fi; \ done .endif .endif # Extract clean-wrkdir: @${RM} -rf ${WRKDIR} .if !target(do-extract) do-extract: @for file in ${EXTRACT_ONLY}; do \ if ! (cd ${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 ;; \ *) ${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 ;; \ *) ${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 \ ${CP} -f ${TEMPLATES}/config.guess $${_D}/config.guess; \ ${CHMOD} a+rx $${_D}/config.guess; \ ${CP} -f ${TEMPLATES}/config.sub $${_D}/config.sub; \ ${CHMOD} a+rx $${_D}/config.sub; \ done .endif .if defined(HAS_CONFIGURE) @(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 ${_BINOWNGRP}" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_LIB="${INSTALL_LIB}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${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 # Package .if !target(do-package) PKG_CREATE_ARGS= -r ${STAGEDIR} -m ${METADIR} -p ${TMPPLIST} 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}/pkg/${PKGNAME}${PKG_SUFX} ${PKGFILE} 2>/dev/null \ || ${CP} -f ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} ${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; \ 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}/pkg/${PKGNAME}${PKG_SUFX} 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}/pkg/${PKGNAME}${PKG_SUFX}"; \ 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) .else .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}/${UNIQUENAME} @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG_DIR}/${UNIQUENAME} >> ${TMPPLIST} .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}/${UNIQUENAME} @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG32_DIR}/${UNIQUENAME} >> ${TMPPLIST} .endif .endif .endif .endif .if !target(create-users-groups) .if defined(GROUPS) || defined(USERS) _UG_OUTPUT= ${WRKDIR}/users-groups.sh PKGPREINSTALL+= ${_UG_OUTPUT} create-users-groups: .if defined(GROUPS) .for _file in ${GID_FILES} .if !exists(${_file}) @${ECHO_CMD} "** ${_file} doesn't exist. Exiting."; exit 1 .endif .endfor @${RM} -f ${_UG_OUTPUT} || ${TRUE} @${ECHO_MSG} "===> Creating users and/or groups." @${ECHO_CMD} "echo \"===> Creating users and/or groups.\"" >> ${_UG_OUTPUT} .for _group in ${GROUPS} # _bgpd:*:130: @if ! ${GREP} -h ^${_group}: ${GID_FILES} >/dev/null 2>&1; then \ ${ECHO_CMD} "** Cannot find any information about group \`${_group}' in ${GID_FILES}."; \ exit 1; \ fi @IFS=":"; ${GREP} -h ^${_group}: ${GID_FILES} | head -n 1 | while read group foo gid members; do \ gid=$$(($$gid+${GID_OFFSET})); \ ${ECHO_CMD} -e "if ! ${PW} groupshow $$group >/dev/null 2>&1; then \n \ echo \"Creating group '$$group' with gid '$$gid'.\" \n \ ${PW} groupadd $$group -g $$gid; else echo \"Using existing group '$$group'.\"\nfi" >> ${_UG_OUTPUT}; \ done .endfor .endif .if defined(USERS) .for _file in ${UID_FILES} .if !exists(${_file}) @${ECHO_CMD} "** ${_file} doesn't exist. Exiting."; exit 1 .endif .endfor .for _user in ${USERS} # _bgpd:*:130:130:BGP Daemon:/var/empty:/sbin/nologin @if ! ${GREP} -h ^${_user}: ${UID_FILES} >/dev/null 2>&1; then \ ${ECHO_CMD} "** Cannot find any information about user \`${_user}' in ${UID_FILES}."; \ exit 1; \ fi @IFS=":"; ${GREP} -h ^${_user}: ${UID_FILES} | head -n 1 | while read login passwd uid gid class change expire gecos homedir shell; do \ uid=$$(($$uid+${UID_OFFSET})); \ gid=$$(($$gid+${GID_OFFSET})); \ class="$${class:+-L }$$class"; \ homedir=$$(echo $$homedir | sed "s|^/usr/local|${PREFIX}|"); \ ${ECHO_CMD} -e "if ! ${PW} usershow $$login >/dev/null 2>&1; then \n \ echo \"Creating user '$$login' with uid '$$uid'.\" \n \ ${PW} useradd $$login -u $$uid -g $$gid $$class -c \"$$gecos\" -d $$homedir -s $$shell \n \ else \necho \"Using existing user '$$login'.\" \nfi" >> ${_UG_OUTPUT}; \ case $$homedir in /|/nonexistent|/var/empty) ;; *) ${ECHO_CMD} "${INSTALL} -d -g $$gid -o $$uid $$homedir" >> ${_UG_OUTPUT};; esac; \ done .endfor .if defined(GROUPS) .for _group in ${GROUPS} # mail:*:6:postfix,clamav @IFS=":"; ${GREP} -h ^${_group}: ${GID_FILES} | head -n 1 | while read group foo gid members; do \ gid=$$(($$gid+${GID_OFFSET})); \ IFS=","; for _login in $$members; do \ for _user in ${USERS}; do \ if [ "x$${_user}" = "x$${_login}" ]; then \ ${ECHO_CMD} -e "if ! ${PW} groupshow ${_group} | ${GREP} -qw $${_login}; then \n \ echo \"Adding user '$${_login}' to group '${_group}'.\" \n \ ${PW} groupmod ${_group} -m $${_login} \nfi" >> ${_UG_OUTPUT}; \ fi; \ done; \ done; \ done .endfor .endif .if defined(USERS) .for _user in ${USERS} @if [ ! ${USERS_BLACKLIST:M${_user}} ]; then \ ${ECHO_CMD} "@unexec if ${PW} usershow ${_user} >/dev/null 2>&1; then \ echo \"==> You should manually remove the \\\"${_user}\\\" user. \"; fi" >> ${TMPPLIST}; \ fi .endfor .endif .endif .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}" 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 defined(NEED_ROOT) && ${UID} != 0 && !defined(INSTALL_AS_USER) && exists(${STAGE_COOKIE}) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}" @${ECHO_MSG} "===> Returning to user credentials" .else @if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \ ${RM} -rf ${WRKDIR}; \ else \ ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ fi; \ fi .endif .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} ${_PATCHFILES}" .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 # Prints out a list of files to fetch (useful to do a batch fetch) .if !target(fetch-list) fetch-list: @${MKDIR} ${_DISTDIR} @(cd ${_DISTDIR}; \ ${_MASTER_SITES_ENV} ; \ for _file in ${DISTFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \ select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 's/,/ /g'` ; \ if [ ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __MASTER_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_MASTER_SITES_$${group}} ] ; then \ eval ___MASTER_SITES_TMP=\$${_MASTER_SITES_$${group}} ; \ __MASTER_SITES_TMP="$${__MASTER_SITES_TMP} $${___MASTER_SITES_TMP}" ; \ fi; \ done; \ ___MASTER_SITES_TMP= ; \ SORTED_MASTER_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi; \ for site in `eval $$SORTED_MASTER_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ if [ ! -z "`${ECHO_CMD} ${NOFETCHFILES} | ${GREP} -w $${file}`" ]; then \ if [ -z "`${ECHO_CMD} ${MASTER_SITE_OVERRIDE} | ${GREP} -w $${site}`" ]; then \ continue; \ fi; \ fi; \ DIR=${DIST_SUBDIR};\ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} -n ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} "${FETCH_AFTER_ARGS}" '|| ' ; \ done; \ ${ECHO_CMD} "${ECHO_CMD} $${file} not fetched" ; \ fi; \ done) .if defined(PATCHFILES) @(cd ${_DISTDIR}; \ ${_PATCH_SITES_ENV} ; \ for _file in ${PATCHFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^-:][^:]*$$//'` ; \ select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 's/,/ /g'` ; \ file=`${ECHO_CMD} $$file | ${SED} -E -e 's/:-[^:]+$$//'` ; \ if [ ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __PATCH_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_PATCH_SITES_$${group}} ] ; then \ eval ___PATCH_SITES_TMP=\$${_PATCH_SITES_$${group}} ; \ __PATCH_SITES_TMP="$${__PATCH_SITES_TMP} $${___PATCH_SITES_TMP}" ; \ fi; \ done; \ ___PATCH_SITES_TMP= ; \ SORTED_PATCH_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi; \ for site in `eval $$SORTED_PATCH_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} -n ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} "${FETCH_AFTER_ARGS}" '|| ' ; \ done; \ ${ECHO_CMD} "${ECHO_CMD} $${file} not fetched" ; \ fi; \ done) .endif .endif .if !target(fetch-url-list-int) fetch-url-list-int: @${MKDIR} ${_DISTDIR} @(cd ${_DISTDIR}; \ ${_MASTER_SITES_ENV}; \ for _file in ${DISTFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \ fileptn=`${ECHO_CMD} $$file | ${SED} 's|/|\\\\/|g;s/\./\\\\./g;s/\+/\\\\+/g;s/\?/\\\\?/g'` ; \ select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 's/,/ /g'` ; \ if [ ! -z "${LISTALL}" -o ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __MASTER_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_MASTER_SITES_$${group}} ] ; then \ eval ___MASTER_SITES_TMP=\$${_MASTER_SITES_$${group}} ; \ __MASTER_SITES_TMP="$${__MASTER_SITES_TMP} $${___MASTER_SITES_TMP}" ; \ fi \ done; \ ___MASTER_SITES_TMP= ; \ SORTED_MASTER_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__MASTER_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \ fi ; \ for site in `eval $$SORTED_MASTER_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} $${args} ; \ done; \ fi \ done) .if defined(PATCHFILES) @(cd ${_DISTDIR}; \ ${_PATCH_SITES_ENV} ; \ for _file in ${PATCHFILES}; do \ file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^-:][^:]*$$//'` ; \ select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 's/,/ /g'` ; \ file=`${ECHO_CMD} $$file | ${SED} -E -e 's/:-[^:]+$$//'` ; \ fileptn=`${ECHO_CMD} $$file | ${SED} 's|/|\\\\/|g;s/\./\\\\./g;s/\+/\\\\+/g;s/\?/\\\\?/g'` ; \ if [ ! -z "${LISTALL}" -o ! -f $$file -a ! -f $${file##*/} ]; then \ if [ ! -z "$$select" ] ; then \ __PATCH_SITES_TMP= ; \ for group in $$select; do \ if [ ! -z \$${_PATCH_SITES_$${group}} ] ; then \ eval ___PATCH_SITES_TMP=\$${_PATCH_SITES_$${group}} ; \ __PATCH_SITES_TMP="$${__PATCH_SITES_TMP} $${___PATCH_SITES_TMP}" ; \ fi \ done; \ ___PATCH_SITES_TMP= ; \ SORTED_PATCH_SITES_CMD_TMP="${ECHO_CMD} ${_MASTER_SITE_OVERRIDE} `${ECHO_CMD} $${__PATCH_SITES_TMP} | ${AWK} '${MASTER_SORT_AWK:S|\\|\\\\|g}'` ${_MASTER_SITE_BACKUP}" ; \ else \ SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \ fi ; \ for site in `eval $$SORTED_PATCH_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \ case $${file} in \ */*) args="-o $${file} $${site}$${file}";; \ *) args=$${site}$${file};; \ esac; \ ${ECHO_CMD} $${args} ; \ done; \ fi \ done) .endif .endif .if !target(fetch-urlall-list) fetch-urlall-list: @cd ${.CURDIR} && LISTALL=yes ${MAKE} fetch-url-list-int .endif .if !target(fetch-url-list) fetch-url-list: @cd ${.CURDIR} && ${MAKE} fetch-url-list-int .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 check-checksum-algorithms: @ \ ${checksum_init} \ \ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \ eval alg_executable=\$$$$alg; \ if [ -z "$$alg_executable" ]; then \ ${ECHO_MSG} "Checksum algorithm $$alg: Couldn't find the executable."; \ ${ECHO_MSG} "Set $$alg=/path/to/$$alg in /etc/make.conf and try again."; \ exit 1; \ fi; \ done; \ checksum_init=\ SHA256=${SHA256}; .if !target(makesum) makesum: check-checksum-algorithms @cd ${.CURDIR} && ${MAKE} fetch NO_CHECKSUM=yes \ DISABLE_SIZE=yes @if [ -f ${DISTINFO_FILE} ]; then ${CAT} /dev/null > ${DISTINFO_FILE}; fi @( \ cd ${DISTDIR}; \ \ ${checksum_init} \ \ for file in ${_CKSUMFILES}; do \ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \ eval alg_executable=\$$$$alg; \ \ if [ $$alg_executable != "NO" ]; then \ $$alg_executable $$file >> ${DISTINFO_FILE}; \ fi; \ done; \ ${ECHO_CMD} "SIZE ($$file) = `${STAT} -f \"%z\" $$file`" >> ${DISTINFO_FILE}; \ done \ ) .endif .if !target(checksum) checksum: fetch check-checksum-algorithms @set -e ; \ ${checksum_init} \ if [ -f ${DISTINFO_FILE} ]; then \ cd ${DISTDIR}; OK="";\ for file in ${_CKSUMFILES}; do \ ignored="true"; \ _file=$${file#${DIST_SUBDIR}/*}; \ for alg in ${CHECKSUM_ALGORITHMS:tu}; do \ ignore="false"; \ eval alg_executable=\$$$$alg; \ \ if [ $$alg_executable != "NO" ]; then \ MKSUM=`$$alg_executable < $$file`; \ CKSUM=`file=$$_file; ${DISTINFO_DATA}`; \ else \ ignore="true"; \ fi; \ \ if [ $$ignore = "false" -a -z "$$CKSUM" ]; then \ ${ECHO_MSG} "=> No $$alg checksum recorded for $$file."; \ ignore="true"; \ fi; \ \ if [ $$ignore = "false" ]; then \ match="false"; \ for chksum in $$CKSUM; do \ if [ "$$chksum" = "$$MKSUM" ]; then \ match="true"; \ break; \ fi; \ done; \ if [ $$match = "true" ]; then \ ${ECHO_MSG} "=> $$alg Checksum OK for $$file."; \ ignored="false"; \ else \ ${ECHO_MSG} "=> $$alg Checksum mismatch for $$file."; \ refetchlist="$$refetchlist$$file "; \ OK="$${OK:-retry}"; \ [ "$${OK}" = "retry" -a ${FETCH_REGET} -gt 0 ] && ${RM} -f $${file}; \ ignored="false"; \ fi; \ fi; \ done; \ \ if [ $$ignored = "true" ]; then \ ${ECHO_MSG} "=> No suitable checksum found for $$file."; \ OK="${FALSE}"; \ fi; \ \ done; \ \ if [ "$${OK:=true}" = "retry" ] && [ ${FETCH_REGET} -gt 0 ]; then \ ${ECHO_MSG} "===> Refetch for ${FETCH_REGET} more times files: $$refetchlist"; \ if ( cd ${.CURDIR} && \ ${MAKE} ${.MAKEFLAGS} FORCE_FETCH="$$refetchlist" FETCH_REGET="`${EXPR} ${FETCH_REGET} - 1`" fetch); then \ if ( cd ${.CURDIR} && \ ${MAKE} ${.MAKEFLAGS} FETCH_REGET="`${EXPR} ${FETCH_REGET} - 1`" checksum ); then \ OK="true"; \ fi; \ fi; \ fi; \ \ if [ "$$OK" != "true" -a ${FETCH_REGET} -eq 0 ]; then \ ${ECHO_MSG} "===> Giving up on fetching files: $$refetchlist"; \ ${ECHO_MSG} "Make sure the Makefile and distinfo file (${DISTINFO_FILE})"; \ ${ECHO_MSG} "are up to date. If you are absolutely sure you want to override this"; \ ${ECHO_MSG} "check, type \"make NO_CHECKSUM=yes [other args]\"."; \ exit 1; \ fi; \ if [ "$$OK" != "true" ]; then \ exit 1; \ fi; \ elif [ -n "${_CKSUMFILES:M*}" ]; then \ ${ECHO_MSG} "=> No checksum file (${DISTINFO_FILE})."; \ exit 1; \ fi .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: @cd ${.CURDIR} && ${MAKE} package .endif ################################################################ # Dependency checking ################################################################ .if !target(depends) depends: pkg-depends extract-depends patch-depends lib-depends fetch-depends build-depends run-depends .if defined(ALWAYS_BUILD_DEPENDS) _DEPEND_ALWAYS= 1 .else _DEPEND_ALWAYS= 0 .endif _INSTALL_DEPENDS= \ if [ -n "${USE_PACKAGE_DEPENDS}" -o -n "${USE_PACKAGE_DEPENDS_ONLY}" ]; then \ subpkgfile=`(cd $$dir; ${MAKE} $$depends_args -V PKGFILE)`; \ subpkgname=$${subpkgfile%-*} ; \ subpkgname=$${subpkgname\#\#*/} ; \ if [ -r "$${subpkgfile}" -a "$$target" = "${DEPENDS_TARGET}" ]; then \ ${ECHO_MSG} "===> Installing existing package $${subpkgfile}"; \ if [ $${subpkgname} = "pkg" ]; then \ [ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR} ; \ ${TAR} xf $${subpkgfile} -C ${WRKDIR} -s ",/.*/,,g" "*/pkg-static" ; \ ${WRKDIR}/pkg-static add $${subpkgfile}; \ ${RM} -f ${WRKDIR}/pkg-static; \ else \ ${PKG_ADD} -A $${subpkgfile}; \ fi; \ elif [ -n "${USE_PACKAGE_DEPENDS_ONLY}" -a "$${target}" = "${DEPENDS_TARGET}" ]; then \ ${ECHO_MSG} "===> ${PKGNAME} depends on package: $${subpkgfile} - not found"; \ ${ECHO_MSG} "===> USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source"; \ exit 1; \ else \ (cd $$dir; ${MAKE} -DINSTALLS_DEPENDS $$target $$depends_args) ; \ fi; \ else \ (cd $$dir; ${MAKE} -DINSTALLS_DEPENDS $$target $$depends_args) ; \ fi; \ ${ECHO_MSG} "===> Returning to build of ${PKGNAME}"; .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN ${deptype:tl}-depends: .if defined(${deptype}_DEPENDS) .if !defined(NO_DEPENDS) @set -e ; for i in `${ECHO_CMD} "${${deptype}_DEPENDS}"`; do \ prog=$${i%%:*}; \ if [ -z "$$prog" ]; then \ ${ECHO_MSG} "Error: there is an empty port dependency in ${deptype}_DEPENDS."; \ break; \ fi; \ dir=`${ECHO_CMD} $$i | ${SED} -e 's/[^:]*://'`; \ if ${EXPR} "$$dir" : '.*:' > /dev/null; then \ target=$${dir##*:}; \ dir=$${dir%%:*}; \ if [ X${DEPENDS_PRECLEAN} != "X" ]; then \ target="clean $$target"; \ depends_args="$$depends_args NOCLEANDEPENDS=yes"; \ fi; \ if [ X${DEPENDS_CLEAN} != "X" ]; then \ target="$$target clean"; \ depends_args="$$depends_args NOCLEANDEPENDS=yes"; \ fi; \ else \ target="${DEPENDS_TARGET}"; \ depends_args="${DEPENDS_ARGS}"; \ fi; \ if ${EXPR} "$$prog" : \\/ >/dev/null; then \ if [ -e "$$prog" ]; then \ if [ "$$prog" = "${NONEXISTENT}" ]; then \ ${ECHO_MSG} "Error: ${NONEXISTENT} exists. Please remove it, and restart the build."; \ ${FALSE}; \ else \ ${ECHO_MSG} "===> ${PKGNAME} depends on file: $$prog - found"; \ if [ ${_DEPEND_ALWAYS} = 1 ]; then \ ${ECHO_MSG} " (but building it anyway)"; \ notfound=1; \ else \ notfound=0; \ fi; \ fi; \ else \ ${ECHO_MSG} "===> ${PKGNAME} depends on file: $$prog - not found"; \ notfound=1; \ fi; \ else \ case $${prog} in \ *\>*|*\<*|*=*) pkg=yes;; \ *) pkg="";; \ esac; \ if [ "$$pkg" != "" ]; then \ if ${PKG_INFO} "$$prog" > /dev/null 2>&1 ; then \ ${ECHO_MSG} "===> ${PKGNAME} depends on package: $$prog - found"; \ if [ ${_DEPEND_ALWAYS} = 1 ]; then \ ${ECHO_MSG} " (but building it anyway)"; \ notfound=1; \ else \ notfound=0; \ fi; \ else \ ${ECHO_MSG} "===> ${PKGNAME} depends on package: $$prog - not found"; \ notfound=1; \ fi; \ if [ $$notfound != 0 ]; then \ inverse_dep=`${ECHO_CMD} $$prog | ${SED} \ -e 's/<=/=gt=/; s/=/=lt=/; s/>/=le=/' \ -e 's/=gt=/>/; s/=ge=/>=/; s/=lt=//dev/null || ${TRUE}`; \ if [ "$$pkg_info" != "" ]; then \ ${ECHO_MSG} "===> Found $$pkg_info, but you need to upgrade to $$prog."; \ exit 1; \ fi; \ fi; \ elif ${WHICH} "$$prog" > /dev/null 2>&1 ; then \ ${ECHO_MSG} "===> ${PKGNAME} depends on executable: $$prog - found"; \ if [ ${_DEPEND_ALWAYS} = 1 ]; then \ ${ECHO_MSG} " (but building it anyway)"; \ notfound=1; \ else \ notfound=0; \ fi; \ else \ ${ECHO_MSG} "===> ${PKGNAME} depends on executable: $$prog - not found"; \ notfound=1; \ fi; \ fi; \ if [ $$notfound != 0 ]; then \ ${ECHO_MSG} "===> Verifying $$target for $$prog in $$dir"; \ if [ ! -d "$$dir" ]; then \ ${ECHO_MSG} " => No directory for $$prog. Skipping.."; \ else \ ${_INSTALL_DEPENDS} \ fi; \ fi; \ done .endif .else @${DO_NADA} .endif .endfor lib-depends: .if defined(LIB_DEPENDS) && !defined(NO_DEPENDS) @set -e ; \ for i in ${LIB_DEPENDS}; do \ lib=$${i%%:*} ; \ dir=$${i#*:} ; \ target="${DEPENDS_TARGET}"; \ depends_args="${DEPENDS_ARGS}"; \ ${ECHO_MSG} -n "===> ${PKGNAME} depends on shared library: $${lib}" ; \ libfile=`${SETENV} LIB_DIRS="${LIB_DIRS}" LOCALBASE="${LOCALBASE}" ${SH} ${SCRIPTSDIR}/find-lib.sh $${lib}` ; \ if [ -z "$${libfile}" ]; then \ ${ECHO_MSG} " - not found"; \ ${ECHO_MSG} "===> Verifying for $$lib in $$dir"; \ if [ ! -d "$$dir" ] ; then \ ${ECHO_MSG} " => No directory for $$lib. Skipping.."; \ else \ ${_INSTALL_DEPENDS} \ fi ; \ else \ ${ECHO_MSG} " - found ($${libfile})"; \ fi ; \ done .endif .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} _DEPEND_DIRS= ${_UNIFIED_DEPENDS:C,^[^:]*:([^:]*).*$,\1,} _DEPEND_SPECIALS= ${_UNIFIED_DEPENDS:M*\:*\:*:C,^[^:]*:([^:]*):.*$,\1,} all-depends-list: @${ALL-DEPENDS-LIST} ALL-DEPENDS-LIST= \ L="${_DEPEND_DIRS}"; \ checked=""; \ while [ -n "$$L" ]; do \ l=""; \ for d in $$L; do \ case $$checked in \ $$d\ *|*\ $$d\ *|*\ $$d) \ continue;; \ esac; \ checked="$$checked $$d"; \ if [ ! -d $$d ]; then \ ${ECHO_MSG} "${PKGNAME}: \"$$d\" non-existent -- dependency list incomplete" >&2; \ continue; \ fi; \ ${ECHO_CMD} $$d; \ if ! children=$$(cd $$d && ${MAKE} -V _DEPEND_DIRS); then\ ${ECHO_MSG} "${PKGNAME}: \"$$d\" erroneous -- dependency list incomplete" >&2; \ continue; \ fi; \ for child in $$children; do \ case "$$checked $$l" in \ $$child\ *|*\ $$child\ *|*\ $$child) \ continue;; \ esac; \ l="$$l $$child"; \ done; \ done; \ L=$$l; \ done CLEAN-DEPENDS-FULL= \ L="${_DEPEND_DIRS}"; \ checked=""; \ while [ -n "$$L" ]; do \ l=""; \ for d in $$L; do \ case $$checked in \ $$d\ *|*\ $$d\ *|*\ $$d) \ continue;; \ esac; \ checked="$$checked $$d"; \ if [ ! -d $$d ]; then \ ${ECHO_MSG} "${PKGNAME}: \"$$d\" non-existent -- dependency list incomplete" >&2; \ continue; \ fi; \ if ! children=$$(cd $$d && ${MAKE} -V WRKDIR -V _DEPEND_DIRS); then \ ${ECHO_MSG} "${PKGNAME}: \"$$d\" erroneous -- dependency list incomplete" >&2; \ continue; \ fi; \ state=0; \ for child in $$children; do \ case $$state in \ 0) \ if [ -d $$child ]; then \ ${ECHO_CMD} $$d; \ fi; \ state=1;; \ 1) \ case "$$checked $$l" in \ $$child\ *|*\ $$child\ *|*\ $$child) \ continue;; \ esac; \ l="$$l $$child";; \ esac; \ done; \ done; \ L=$$l; \ done CLEAN-DEPENDS-LIMITED= \ L="${_DEPEND_DIRS}"; \ checked=""; \ while [ -n "$$L" ]; do \ l=""; \ for d in $$L; do \ case $$checked in \ $$d\ *|*\ $$d\ *|*\ $$d) \ continue;; \ esac; \ checked="$$checked $$d"; \ if [ ! -d $$d ]; then \ ${ECHO_MSG} "${PKGNAME}: \"$$d\" non-existent -- dependency list incomplete" >&2; \ continue; \ fi; \ if ! children=$$(cd $$d && ${MAKE} -V WRKDIR -V _DEPEND_DIRS); then \ ${ECHO_MSG} "${PKGNAME}: \"$$d\" erroneous -- dependency list incomplete" >&2; \ continue; \ fi; \ state=0; \ for child in $$children; do \ case $$state in \ 0) \ if [ ! -d $$child ]; then \ break; \ fi; \ state=1; \ ${ECHO_CMD} $$d;; \ 1) \ case "$$checked $$l" in \ $$child\ *|*\ $$child\ *|*\ $$child) \ continue;; \ esac; \ l="$$l $$child";; \ esac; \ done; \ done; \ L=$$l; \ done .if !target(clean-depends) clean-depends: @for dir in $$(${CLEAN-DEPENDS-FULL}); do \ (cd $$dir; ${MAKE} NOCLEANDEPENDS=yes clean); \ done .endif .if !target(limited-clean-depends) limited-clean-depends: @for dir in $$(${CLEAN-DEPENDS-LIMITED}); 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 \ (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:${PORTSDIR}/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 \ *:*) 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 \ if [ -d $$dir ]; then \ ${ECHO_CMD} $$dir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" 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 \ if [ -d $$dir ]; then \ ${ECHO_CMD} $$dir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done | ${SORT} -u # 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 \ 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"/} create-manifest: @${MKDIR} ${METADIR}; \ (\ echo "name: \"${PKGBASE}\"" ; \ echo "version: \"${PKGVERSION}\"" ; \ echo "origin: ${PKGORIGIN}" ; \ echo "comment: < ${MANIFESTF} @${ECHO_CMD} -n "options: {" >> ${MANIFESTF} .for opt in ${COMPLETE_OPTIONS_LIST} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}: $${match:-off}," >> ${MANIFESTF} .endfor @${ECHO_CMD} "}" >> ${MANIFESTF} .if defined(PKG_NOTES) @${ECHO_CMD} -n "annotations: {" >> ${MANIFESTF} .for note in ${PKG_NOTES} @${ECHO_CMD} -n ' ${note}: "${PKG_NOTE_${note}:S/"/\"/g}",' >> ${MANIFESTF} .endfor @${ECHO_CMD} " }" >> ${MANIFESTF} .endif @[ -f ${PKGINSTALL} ] && ${CP} ${PKGINSTALL} ${METADIR}/+INSTALL; \ ${RM} -f ${METADIR}/+PRE_INSTALL ; \ for a in ${PKGPREINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+PRE_INSTALL ; \ done ; \ ${RM} -f ${METADIR}/+POST_INSTALL ; \ for a in ${PKGPOSTINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+POST_INSTALL ; \ done ; \ [ -f ${PKGDEINSTALL} ] && ${CP} ${PKGDEINSTALL} ${METADIR}/+DEINSTALL; \ ${RM} -f ${METADIR}/+PRE_DEINSTALL ; \ for a in ${PKGPREDEINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+PRE_DEINSTALL ; \ done ; \ ${RM} -f ${METADIR}/+POST_DEINSTALL ; \ for a in ${PKGPOSTDEINSTALL}; do \ [ -f $$a ] && ${CAT} $$a >> ${METADIR}/+POST_DEINSTALL ; \ done ; \ [ -f ${PKGPOSTDEINSTALL} ] && ${CP} ${PKGPOSTDEINSTALL} ${METADIR}/+POST_DEINSTALL; \ [ -f ${PKGUPGRADE} ] && ${CP} ${PKGUPGRADE} ${METADIR}/+UPGRADE; \ [ -f ${PKGPREUPGRADE} ] && ${CP} ${PKGPREUPGRADE} ${METADIR}/+PRE_UPGRADE; \ [ -f ${PKGPOSTUPGRADE} ] && ${CP} ${PKGPOSTUPGRADE} ${METADIR}/+POST_UPGRADE; \ ${CP} ${DESCR} ${METADIR}/+DESC; \ [ -f ${PKGMESSAGE} ] && ${CP} ${PKGMESSAGE} ${METADIR}/+DISPLAY || return 0 # 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: @_origins=$$(${PKG_INFO} -aoq); \ for dir in $$(${ALL-DEPENDS-LIST}); do \ _origin=$${dir##${PORTSDIR}/}; \ if ! $$(${ECHO_CMD} $${_origins} | ${GREP} -q $${_origin}); then \ ${ECHO_CMD} $${_origin}; \ fi; \ 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} _PATCH_DEPENDS=${PATCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} _FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} _LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} _BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} ${_LIB_DEPENDS} _RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} ${_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} `${DIRNAME} ${TMPPLIST}` @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 # Keep PLIST_DIRSTRY as compatibility .for dir in ${PLIST_DIRS} ${PLIST_DIRSTRY} @${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} "@exec ${LDCONFIG_CMD}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG_CMD}" >> ${TMPPLIST} .endif .else .if defined(USE_LDCONFIG) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@exec ${LDCONFIG} -m ${USE_LDCONFIG}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@exec ${LDCONFIG} -m ${USE_LDCONFIG} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .if defined(USE_LDCONFIG32) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@exec ${LDCONFIG} -32 -m ${USE_LDCONFIG32}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -32 -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@exec ${LDCONFIG} -32 -m ${USE_LDCONFIG32} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${LDCONFIG} -32 -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .endif .endif ${TMPPLIST}: @cd ${.CURDIR} && ${MAKE} generate-plist ${TMPPLIST_SORT}: ${TMPPLIST} @${SORT} -u ${TMPPLIST} >${TMPPLIST_SORT} .if !target(add-plist-docs) .if defined(PORTDOCS) && !defined(NOPORTDOCS) add-plist-docs: .for x in ${PORTDOCS} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${DOCSDIR}/${x} ]; then \ ${ECHO_CMD} ${DOCSDIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORTDOCS:S/^/${STAGEDIR}${DOCSDIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .if !target(add-plist-examples) .if defined(PORTEXAMPLES) && !defined(NOPORTEXAMPLES) add-plist-examples: .for x in ${PORTEXAMPLES} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${EXAMPLESDIR}/${x} ]; then \ ${ECHO_CMD} ${EXAMPLESDIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORTEXAMPLES:S/^/${STAGEDIR}${EXAMPLESDIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .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-buildinfo) add-plist-buildinfo: .if defined(PACKAGE_BUILDING) @${ECHO_CMD} "@comment Build details: ${BUILDHOST}|${JAIL}|${BUILD}|${PORTSTREE}|${BUILDDATE}" >> ${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" && !defined(NO_PREFIX_RMDIR)) add-plist-post: @${ECHO_CMD} "@dir ${PREFIX}" >> ${TMPPLIST} .endif .endif .if !target(install-rc-script) .if defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES" install-rc-script: .if defined(USE_RCORDER) @${ECHO_MSG} "===> Staging early rc.d startup script(s)" @for i in ${USE_RCORDER}; do \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}/etc/rc.d/$${i%.sh}; \ ${ECHO_CMD} "/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .endif .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES" @${ECHO_MSG} "===> Staging rc.d startup script(s)" @for i in ${USE_RC_SUBR}; do \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}${PREFIX}/etc/rc.d/$${i%.sh}; \ ${ECHO_CMD} "${PREFIX}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .endif .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 .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. # .if !target(depend) depend: .endif # Same goes for tags .if !target(tags) tags: .endif .if !defined(NOPRECIOUSMAKEVARS) # These won't change, so we can pass them through the environment .MAKEFLAGS: \ ARCH="${ARCH:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ OPSYS="${OPSYS:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ OSREL="${OSREL:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ OSVERSION="${OSVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" \ SYSTEMVERSION="${SYSTEMVERSION:S/"/"'"'"/g:S/\$/\$\$/g:S/\\/\\\\/g}" .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 .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 !empty(OPTIONS_WRONG_MULTI) || !empty(OPTIONS_WRONG_SINGLE) || !empty(OPTIONS_WRONG_RADIO) _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}; \ oldoptionsdir=${OPTIONSFILE:H}; \ if [ ${UID} != 0 -a -z "${INSTALL_AS_USER}" -a ! -w "${PORT_DBDIR}" ] ; then \ ${ECHO_MSG} "===> Switching to root credentials to create $${optionsdir}"; \ (${SU_CMD} "${SH} -c \"if [ -d $${oldoptionsdir} -a ! -d $${optionsdir} ]; then ${MV} $${oldoptionsdir} $${optionsdir}; elif [ -d $${oldoptionsdir} -a -d $${optionsdir} ]; then ${RM} -rf $${oldoptionsdir} ; fi ; ${MKDIR} $${optionsdir} 2> /dev/null\"") || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1); \ ${ECHO_MSG} "===> Returning to user credentials" ; \ else \ if [ -d $${oldoptionsdir} -a ! -d $${optionsdir} ]; then \ ${MV} $${oldoptionsdir} $${optionsdir}; \ elif [ -d $${oldoptionsdir} -a -d $${optionsdir} ]; then \ ${RM} -rf $${oldoptionsdir} ; \ fi ; \ ${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 [ ${UID} != 0 -a -z "${INSTALL_AS_USER}" -a ! -w "${OPTIONS_FILE:H}" ]; 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) .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: .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(${OPTIONSFILE}) -@${ECHO_MSG} "===> Removing user-configured options for ${PKGNAME}"; \ optionsdir=${OPTIONSFILE:H}; \ if [ ${UID} != 0 -a "x${INSTALL_AS_USER}" = "x" -a ! -w "${OPTIONSFILE}" ]; then \ ${ECHO_MSG} "===> Switching to root credentials to remove ${OPTIONSFILE} and $${optionsdir}"; \ ${SU_CMD} "${RM} -f ${OPTIONSFILE} ; \ ${RMDIR} $${optionsdir}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${RM} -f ${OPTIONSFILE}; \ ${RMDIR} $${optionsdir} 2>/dev/null || return 0; \ fi .endif .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 PACKAGE STAGE # Define the SEQ of actions to take when each target is ran, and which targets # it depends on before running its SEQ. _SANITY_SEQ= post-chroot pre-everything check-makefile \ show-warnings show-dev-warnings show-dev-errors \ check-categories check-makevars check-desktop-entries \ check-depends identify-install-conflicts check-deprecated \ check-vulnerable check-license check-config buildanyway-message \ options-message _PKG_DEP= check-sanity _PKG_SEQ= pkg-depends _FETCH_DEP= pkg _FETCH_SEQ= fetch-depends pre-fetch pre-fetch-script \ do-fetch fetch-specials post-fetch post-fetch-script _EXTRACT_DEP= fetch _EXTRACT_SEQ= check-build-conflicts extract-message checksum extract-depends \ clean-wrkdir ${WRKDIR} pre-extract pre-extract-script do-extract \ post-extract post-extract-script _PATCH_DEP= extract _PATCH_SEQ= ask-license patch-message patch-depends pathfix dos2unix fix-shebang \ pre-patch \ pre-patch-script do-patch charsetfix-post-patch post-patch post-patch-script _CONFIGURE_DEP= patch _CONFIGURE_SEQ= build-depends lib-depends configure-message \ pre-configure pre-configure-script \ run-autotools do-autoreconf patch-libtool run-autotools-fixup do-configure \ post-configure post-configure-script _BUILD_DEP= configure _BUILD_SEQ= build-message pre-build pre-build-script do-build \ post-build post-build-script _STAGE_DEP= build _STAGE_SEQ= stage-message stage-dir run-depends lib-depends apply-slist pre-install generate-plist \ pre-su-install # ${POST_PLIST} must be after anything that modifies TMPPLIST .if defined(NEED_ROOT) _STAGE_SUSEQ= create-users-groups do-install \ kmod-post-install fix-perl-things \ webplugin-post-install post-install post-install-script \ move-uniquefiles patch-lafiles post-stage compress-man \ install-rc-script install-ldconfig-file install-license \ install-desktop-entries add-plist-info add-plist-docs \ add-plist-examples add-plist-data add-plist-post \ move-uniquefiles-plist ${POST_PLIST} .if defined(DEVELOPER) _STAGE_SUSEQ+= stage-qa .endif .else _STAGE_SEQ+= create-users-groups do-install \ kmod-post-install fix-perl-things \ webplugin-post-install post-install post-install-script \ move-uniquefiles patch-lafiles post-stage compress-man \ install-rc-script install-ldconfig-file install-license \ install-desktop-entries add-plist-info add-plist-docs \ add-plist-examples add-plist-data add-plist-post \ move-uniquefiles-plist ${POST_PLIST} .if defined(DEVELOPER) _STAGE_SEQ+= stage-qa .endif .endif _INSTALL_DEP= stage _INSTALL_SEQ= install-message run-depends lib-depends check-already-installed _INSTALL_SUSEQ= fake-pkg security-check _PACKAGE_DEP= stage _PACKAGE_SEQ= package-message pre-package pre-package-script do-package post-package-script # Enforce order for -jN builds .for _t in ${_TARGETS_STAGES} . for s in ${_${_t}_SEQ} . if target(${s}) . if ! ${NOTPHONY:M${s}} _PHONY_TARGETS+= ${s} . endif _${_t}_REAL_SEQ+= ${s} . endif . endfor . for s in ${_${_t}_SUSEQ} . 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_${UNIQUENAME: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 .endif # End of post-makefile section. .endif # End of the DESTDIR if statement Index: head/Mk/bsd.sites.mk =================================================================== --- head/Mk/bsd.sites.mk (revision 381617) +++ head/Mk/bsd.sites.mk (revision 381618) @@ -1,1602 +1,1611 @@ # bsd.sites.mk - Popular master sites. # # Sites_MAINTAINER= ports@FreeBSD.org # # This file does not have any designated maintainer, so feel free to # commit to it yourself. However, it is generally a good idea to # notify the principal maintainer in case you have a change to one of # the software environments (KDE, GNOME, etc.). # # Also, this file is included from bsd.port.mk for all invocations, so # committing a syntax error to this file is a cardinal sin, and will # be punished accordingly. DO NOT COMMIT SOMETHING YOU HAVEN'T TESTED. # You have been warned. :) # # Note: because it is included for all invocations, please keep the size # of this file manageable. If a distfile is unfetchable from the first # few dozen locations, it is unlikely to be fetchable from any past that, # and those fetch failures will simply waste time and bandwidth. Please # pick a globally representative subset. # # Note: all entries should terminate with a slash. # # $FreeBSD$ # # Where to put distfiles that don't have any other master site .if !defined(IGNORE_MASTER_SITE_LOCAL) MASTER_SITE_LOCAL+= \ http://distcache.FreeBSD.org/local-distfiles/%SUBDIR%/ \ http://distcache.us-east.FreeBSD.org/local-distfiles/%SUBDIR%/ \ http://distcache.eu.FreeBSD.org/local-distfiles/%SUBDIR%/ \ http://distcache.us-west.FreeBSD.org/local-distfiles/%SUBDIR%/ MASTER_SITE_PORTS_JP+= \ ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ \ ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ \ ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/ports-jp/LOCAL_PORTS/%SUBDIR%/ .endif ## ## KEEP THIS LIST SORTED ## .if !defined(IGNORE_MASTER_SITE_AFTERSTEP) MASTER_SITE_AFTERSTEP+= \ ftp://ftp.afterstep.org/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/X11/AfterStep/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/X/AfterStep/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_ALSA) MASTER_SITE_ALSA+= \ http://alsa.cybermirror.org/%SUBDIR%/ \ ftp://ftp.alsa-project.org/pub/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_APACHE) MASTER_SITE_APACHE+= \ http://www.apache.org/dist/%SUBDIR%/ \ http://archive.apache.org/dist/%SUBDIR%/ \ http://ftp.twaren.net/Unix/Web/apache/%SUBDIR%/ \ http://apache.mirror.uber.com.au/%SUBDIR%/ \ http://apache.spd.co.il/%SUBDIR%/ \ http://ftp.mirrorservice.org/sites/ftp.apache.org/%SUBDIR%/ \ http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.apache.org/dist/%SUBDIR%/ \ ftp://mir1.ovh.net/ftp.apache.org/dist/%SUBDIR%/ \ ftp://ftp.forthnet.gr/pub/www/apache/%SUBDIR%/ \ ftp://xenia.sote.hu/pub/mirrors/www.apache.org/%SUBDIR%/ \ ftp://ftp.heanet.ie/mirrors/www.apache.org/dist/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/apache/&,} \ ftp://ftp.sunet.se/pub/www/servers/apache/dist/%SUBDIR%/ \ http://mirrors.ircam.fr/pub/apache/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_APACHE_COMMONS_BINARIES) MASTER_SITE_APACHE_COMMONS_BINARIES+= \ ${MASTER_SITE_APACHE:S,%SUBDIR%,commons/&/binaries,} .endif .if !defined(IGNORE_MASTER_SITE_APACHE_COMMONS_SOURCE) MASTER_SITE_APACHE_COMMONS_SOURCE+= \ ${MASTER_SITE_APACHE:S,%SUBDIR%,commons/&/source,} .endif .if !defined(IGNORE_MASTER_SITE_APACHE_HTTPD) MASTER_SITE_APACHE_HTTPD+= \ ${MASTER_SITE_APACHE:S,%SUBDIR%,httpd/&,} .endif .if !defined(IGNORE_MASTER_SITE_APACHE_JAKARTA) MASTER_SITE_APACHE_JAKARTA+= \ ${MASTER_SITE_APACHE:S,%SUBDIR%,jakarta/&,} .endif .if !defined(IGNORE_MASTER_SITE_APACHE_TOMCAT) MASTER_SITE_APACHE_TOMCAT+= \ ${MASTER_SITE_APACHE:S,%SUBDIR%,tomcat/&,} .endif .if !defined(IGNORE_MASTER_SITE_APACHE_XML) MASTER_SITE_APACHE_XML+= \ ${MASTER_SITE_APACHE:S,%SUBDIR%,xml/&,} .endif .if !defined(IGNORE_MASTER_SITE_BERLIOS) MASTER_SITE_BERLIOS+= \ ${MASTER_SITE_SOURCEFORGE} .endif .if !defined(IGNORE_MASTER_SITE_CENKES) MASTER_SITE_CENKES+= \ http://bsd2.cenkes.org/%SUBDIR%/ \ http://bsd3.cenkes.org/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_CHEESESHOP) MASTER_SITE_CHEESESHOP+= \ http://pypi.python.org/packages/%SUBDIR%/ \ http://pypi.crate.io/packages/%SUBDIR%/ \ http://pypi.python.jp/${DISTNAME:S/${DISTVERSION}//:S/-//}/ .endif .if !defined(IGNORE_MASTER_SITE_COMP_SOURCES) MASTER_SITE_COMP_SOURCES+= \ ftp://gatekeeper.dec.com/pub/usenet/comp.sources.%SUBDIR%/ \ ftp://ftp.uu.net/usenet/comp.sources.%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_CSME) MASTER_SITE_CSME+= ${MASTER_SITE_CENKES} .endif .if !defined(IGNORE_MASTER_SITE_DEBIAN) MASTER_SITE_DEBIAN+= \ http://cdn.debian.net/debian/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/debian/%SUBDIR%/ \ ftp://ftp.us.debian.org/debian/%SUBDIR%/ \ ${MASTER_SITE_DEBIAN_NON_US:S,/debian-non-US/,/debian/,} .endif .if !defined(IGNORE_MASTER_SITE_DEBIAN_NON_US) MASTER_SITE_DEBIAN_NON_US+= \ ftp://ftp.au.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.bg.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.br.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.cl.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.cz.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.de.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.ee.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.es.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.fi.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.fr.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.hk.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.hr.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.hu.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.ie.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.is.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.it.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.jp.debian.org/debian-non-US/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,linux/debian/debian-non-US/&,} \ ftp://ftp.nl.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.no.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.pl.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.ru.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.se.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.si.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.sk.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.uk.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.wa.au.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp2.de.debian.org/debian-non-US/%SUBDIR%/ \ ftp://ftp.snt.utwente.nl/pub/linux/debian-non-US/%SUBDIR%/ \ ftp://ftp.df.lth.se/pub/debian-non-US/%SUBDIR%/ \ ftp://ftp.acc.umu.se/debian-non-US/%SUBDIR%/ \ ftp://mirror.symnds.com/debian-non-US/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_DEBIAN_POOL) MASTER_SITE_DEBIAN_POOL+= \ ${MASTER_SITE_DEBIAN:C|(/%SUBDIR%/)|/pool/main/${PORTNAME:C/^(.).*$/\1/}/${PORTNAME}/|} .endif .if !defined(IGNORE_MASTER_SITE_EASYSW) MASTER_SITE_EASYSW+= \ http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_ECLIPSE) MASTER_SITE_ECLIPSE+= \ ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse.org/%SUBDIR%/ \ ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/eclipse/%SUBDIR%/ \ http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/%SUBDIR%/ \ ftp://sunsite.cnlab-switch.ch/mirror/eclipse/%SUBDIR%/ \ ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops/%SUBDIR%/ \ ftp://sunsite.cnlab-switch.ch/mirror/eclipse/eclipse/downloads/drops4/%SUBDIR%/ \ http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_EXIM) MASTER_SITE_EXIM+= \ ftp://ftp.exim.org/pub/exim/%SUBDIR%/ \ ftp://exim.inode.at/exim/%SUBDIR%/ \ ftp://exim-ftp.itsoft.at/exim/exim/%SUBDIR%/ \ http://exim-ftp.itsoft.at/exim/%SUBDIR%/ \ ftp://ftp.easynet.be/exim/exim/%SUBDIR%/ \ ftp://mirror.kn.vutbr.cz/pub/ftp.exim.org/exim/%SUBDIR%/ \ http://exim.mirror.fr/exim/%SUBDIR%/ \ http://mirrors.zerg.biz/exim/exim/%SUBDIR%/ \ http://dl.ambiweb.de/mirrors/ftp.exim.org/exim/%SUBDIR%/ \ ftp://exim.noris.de/exim/%SUBDIR%/ \ ftp://ftp.bytemine.net/exim/exim/%SUBDIR%/ \ ftp://exim.mirror.iphh.net/ftp/exim/%SUBDIR%/ \ http://exim.mirror.iphh.net/ftp/exim/%SUBDIR%/ \ ftp://ftp.fu-berlin.de/unix/mail/exim/%SUBDIR%/ \ http://exim-ftp.octet.hu/exim/%SUBDIR%/ \ ftp://ftp.heanet.ie/pub/exim/%SUBDIR%/ \ http://ftp.heanet.ie/pub/exim/%SUBDIR%/ \ http://washitake.com/mail/exim/mirror/exim/%SUBDIR%/ \ ftp://ftp.tin.org/pub/mail/exim/%SUBDIR%/ \ http://exim.psshee.com/ftp/exim/%SUBDIR%/ \ ftp://mirror.hostfuss.com/exim/ftp/exim/%SUBDIR%/ \ http://mirror.hostfuss.com/exim/ftp/exim/%SUBDIR%/ \ ftp://ftp.nl.uu.net/pub/unix/mail/exim/exim/%SUBDIR%/ \ ftp://sunsite.uio.no/pub/mail/exim/exim/%SUBDIR%/ \ http://piotrkosoft.net/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \ ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \ ftp://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \ http://sunsite.icm.edu.pl/pub/unix/mail/exim/exim/%SUBDIR%/ \ ftp://ftp.is.co.za/networking/mail/mta/exim/ftp/exim/%SUBDIR%/ \ ftp://mirrors.dominios.pt/pub/ftp.exim.org/exim/%SUBDIR%/ \ ftp://mirror.switch.ch/mirror/exim/exim/%SUBDIR%/ \ http://mirror.switch.ch/ftp/mirror/exim/exim/%SUBDIR%/ \ ftp://ftp.reaper.org/pub/exim/exim/%SUBDIR%/ \ ftp://sunsite.cnlab-switch.ch/mirror/exim/exim/%SUBDIR%/ \ ftp://ftp.demon.co.uk/pub/mirrors/exim/%SUBDIR%/ \ ftp://mirror.tje.me.uk/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \ http://mirror.tje.me.uk/pub/mirrors/ftp.exim.org/exim/%SUBDIR%/ \ ftp://ftp.fsckit.net/pub/exim/exim/%SUBDIR%/ \ ftp://idcnetwork.org/pub/exim/exim/%SUBDIR%/ \ http://ftp.exim.llorien.org/exim/%SUBDIR% .endif .if !defined(IGNORE_MASTER_SITE_CENTOS_LINUX) MASTER_SITE_CENTOS_LINUX+= \ http://mirror.centos.org/centos/6/os/i386/Packages/ \ http://vault.centos.org/6.6/os/Source/SPackages/ \ http://mirror.centos.org/%SUBDIR%/ \ http://vault.centos.org/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_CENTOS_LINUX) MASTER_SITE_CENTOS_LINUX_UPDATES+= \ http://mirror.centos.org/centos/6/updates/i386/Packages/ \ http://vault.centos.org/${LINUX_DIST_VER}/updates/Source/SPackages/ .endif .if !defined(IGNORE_MASTER_SITE_EPEL) MASTER_SITE_EPEL+= \ http://dl.fedoraproject.org/pub/epel/6/i386/ \ http://dl.fedoraproject.org/pub/epel/6/SRPMS/ .endif .if !defined(IGNORE_MASTER_SITE_FEDORA_LINUX) MASTER_SITE_FEDORA_LINUX+= \ http://archives.fedoraproject.org/pub/archive/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.pbone.net/vol4/archive.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \ ftp://mirror.solarvps.com/fedora/archive/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.gmd.de/archives.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \ ftp://mirror.fraunhofer.de/archives.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \ ftp://linuxsoft.cern.ch/fedora/linux/core/%SUBDIR%/ \ ftp://ftp-mirror.bi.fraunhofer.de/archives.fedoraproject.org/fedora/linux/core/%SUBDIR%/ \ http://ftp.udl.es/pub/fedora/linux/core/%SUBDIR%/ \ http://ftp.sunet.se/pub/Linux/distributions/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.udl.es/pub/fedora/linux/core/%SUBDIR%/ \ http://mirrors.kernel.org/fedora/core/%SUBDIR%/ \ ftp://mirrors.kernel.org/fedora/core/%SUBDIR%/ \ http://mirror.web-ster.com/fedora/core/%SUBDIR%/ \ ftp://mirror.web-ster.com/fedora/core/%SUBDIR%/ \ http://rpmfind.net/linux/fedora/core/%SUBDIR%/ \ ftp://ftp.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \ ftp://fedora.mirrors.tds.net/pub/fedora-core/%SUBDIR%/ \ http://ftp.ndlug.nd.edu/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.ndlug.nd.edu/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.belnet.be/linux/fedora/linux/core/%SUBDIR%/ \ http://sunsite.mff.cuni.cz/pub/fedora/%SUBDIR%/ \ ftp://sunsite.mff.cuni.cz/pub/fedora/%SUBDIR%/ \ ftp://ultra.linux.cz/pub/fedora/%SUBDIR%/ \ http://fr2.rpmfind.net/linux/fedora/core/%SUBDIR%/ \ ftp://fr2.rpmfind.net/linux/fedora/core/%SUBDIR%/ \ http://wftp.tu-chemnitz.de/pub/linux/fedora-core/%SUBDIR%/ \ ftp://ftp.tu-chemnitz.de/pub/linux/fedora-core/%SUBDIR%/ \ http://ftp.heanet.ie/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.heanet.ie/pub/fedora/linux/core/%SUBDIR%/ \ ftp://alviss.et.tudelft.nl/pub/fedora/core/%SUBDIR%/ \ http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.surfnet.nl/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \ http://ftp.nluug.nl/ftp/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.nluug.nl/pub/os/Linux/distr/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.uninett.no/pub/linux/Fedora/core/%SUBDIR%/ \ http://ftp.man.poznan.pl/pub/linux/fedora/core/%SUBDIR%/ \ ftp://ftp.man.poznan.pl/pub/linux/fedora/%SUBDIR%/ \ http://ftp.ps.pl/pub/linux/fedora-core/%SUBDIR%/ \ ftp://ftp.ps.pl/pub/linux/fedora-core/%SUBDIR%/ \ ftp://ftp.kappa.ro/pub/Linux/Distributions/fedora/%SUBDIR%/ \ http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.hostrino.com/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \ http://ftp.kddilabs.jp/Linux/packages/fedora/core/%SUBDIR%/ \ ftp://ftp.kddilabs.jp/Linux/packages/fedora/core/%SUBDIR%/ \ ftp://ftp.riken.go.jp/pub/Linux/fedora/core/%SUBDIR%/ \ http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \ ftp://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/%SUBDIR%/ \ http://www.las.ic.unicamp.br/pub/fedora/linux/core/%SUBDIR%/ \ ftp://www.las.ic.unicamp.br/pub/fedora/linux/core/%SUBDIR%/ \ ftp://mirror.netglobalis.net/pub/fedora/%SUBDIR%/ \ http://mirror.pacific.net.au/linux/redhat/fedora/%SUBDIR%/ \ ftp://mirror.pacific.net.au/linux/redhat/fedora/%SUBDIR%/ \ http://ftp.univie.ac.at/systems/linux/fedora/core/%SUBDIR%/ \ http://mirror.aarnet.edu.au/pub/fedora/linux/core/%SUBDIR%/ \ ftp://mirror.aarnet.edu.au/pub/fedora/linux/core/%SUBDIR%/ \ http://fedora.mirror.iweb.ca/core/%SUBDIR%/ \ ftp://fedora.mirror.iweb.ca/core/%SUBDIR%/ \ ftp://ftp.telus.net/pub/fedora/linux/core/%SUBDIR%/ \ http://fedora.arcticnetwork.ca/linux/core/%SUBDIR%/ \ http://www.muug.mb.ca/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.muug.mb.ca/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.solnet.ch/mirror/fedora/linux/core/%SUBDIR%/ \ http://mirror.karneval.cz/pub/linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.telmexchile.cl/Unix/fedora/linux/core/%SUBDIR%/ \ http://ftp.sh.cvut.cz/MIRRORS/fedora/%SUBDIR%/ \ ftp://ftp.sh.cvut.cz/MIRRORS/fedora/%SUBDIR%/ \ http://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/core/%SUBDIR%/ \ ftp://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/core/%SUBDIR%/ \ http://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp-stud.hs-esslingen.de/pub/fedora/linux/core/%SUBDIR%/ \ http://ftp.uni-erlangen.de/pub/Linux/MIRROR.fedora/core/%SUBDIR%/ \ http://ftp.uni-bayreuth.de/linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.uni-bayreuth.de/pub/linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.fu-berlin.de/linux/fedora/core/%SUBDIR%/ \ http://ftp.uni-koeln.de/mirrors/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.uni-koeln.de/mirrors/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.informatik.uni-frankfurt.de/pub/linux/Mirror/ftp.redhat.com/fedora/core/%SUBDIR%/ \ http://mirrors.ircam.fr/pub/fedora/linux/core/%SUBDIR%/ \ ftp://mirrors.ircam.fr/pub/fedora/linux/core/%SUBDIR%/ \ http://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.univ-pau.fr/pub/mirrors/fedora/%SUBDIR%/ \ ftp://ftp.lip6.fr/pub/linux/distributions/fedora/%SUBDIR%/ \ http://fr.rpmfind.net/linux/fedora/core/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \ http://ftp.rhnet.is/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.rhnet.is/pub/fedora/linux/core/%SUBDIR%/ \ http://ftp.unina.it/pub/linux/distributions/fedora/%SUBDIR%/ \ ftp://ftp.unina.it/pub/linux/distributions/fedora/%SUBDIR%/ \ http://ftp.iij.ad.jp/pub/linux/fedora/core/%SUBDIR%/ \ ftp://ftp.iij.ad.jp/pub/linux/fedora/core/%SUBDIR%/ \ http://ftp.dti.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/Linux/Fedora/core/%SUBDIR%/ \ http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/%SUBDIR%/ \ http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/core/%SUBDIR%/ \ http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/%SUBDIR%/ \ ftp://ftp.jaist.ac.jp/pub/Linux/Fedora/core/%SUBDIR%/ \ http://ftp.riken.jp/Linux/fedora/core/%SUBDIR%/ \ ftp://ftp.kreonet.re.kr/pub/Linux/fedora/core/%SUBDIR%/ \ ftp://fedora.ifc.unam.mx/linux/fedora/core/%SUBDIR%/ \ ftp://ftp.quicknet.nl/pub/Linux/download.fedora.redhat.com/core/%SUBDIR%/ \ ftp://ftp.uib.no/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.tpnet.pl/d17/fedora/%SUBDIR%/ \ http://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.pbone.net/pub/fedora/pub/fedora/linux/core/%SUBDIR%/ \ http://ftp.pwr.wroc.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.pwr.wroc.pl/pub/linux/fedora/linux/core/%SUBDIR%/ \ ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/%SUBDIR%/ \ http://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.rdsor.ro/pub/Linux/Distributions/Fedora/%SUBDIR%/ \ http://ftp.chg.ru/pub/Linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.chg.ru/pub/Linux/fedora/linux/core/%SUBDIR%/ \ http://ftp.rhd.ru/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.rhd.ru/pub/fedora/linux/core/%SUBDIR%/ \ http://ftp.port80.se/fedora/core/%SUBDIR%/ \ ftp://ftp.port80.se/fedora/core/%SUBDIR%/ \ http://ftp.upjs.sk/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.upjs.sk/pub/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.tlk-l.net/pub/mirrors/fedora.redhat.com/linux/core/%SUBDIR%/ \ http://limestone.uoregon.edu/ftp/fedora/%SUBDIR%/ \ ftp://limestone.uoregon.edu/fedora/%SUBDIR%/ \ ftp://fedora.bu.edu/core/%SUBDIR%/ \ http://mirror.anl.gov/pub/fedora-linux-core/%SUBDIR%/ \ ftp://mirror.anl.gov/pub/fedora-linux-core/%SUBDIR%/ \ ftp://ftp.cse.buffalo.edu/pub/Linux/fedora/linux/core/%SUBDIR%/ \ ftp://ftp.applios.net/pub/fedora/linux/core/%SUBDIR%/ \ http://mirror.steadfast.net/fedora/core/%SUBDIR%/ \ http://mirror.eas.muohio.edu/fedora/linux/core/%SUBDIR%/ \ http://mirror.engr.sjsu.edu/pub/fedora/linux/core/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \ ftp://ftp.gtlib.gatech.edu/pub/fedora.redhat/linux/core/%SUBDIR%/ \ http://mirror.cogentco.com/pub/linux/fedora/linux/core/%SUBDIR%/ \ http://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ \ ftp://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/core/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_FESTIVAL) MASTER_SITE_FESTIVAL+= \ http://www.festvox.org/packed/festival/%SUBDIR%/ \ http://www.cstr.ed.ac.uk/downloads/festival/%SUBDIR%/ \ http://stuff.mit.edu/afs/sipb/project/speech-tools/src/festival/festvox.org/packed/festival/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_FESTIVAL_OGI) MASTER_SITE_FESTIVAL_OGI+= \ ftp://ftp.tuwien.ac.at/opsys/linux/blinux/festival/mirror.ogi-synth_home/ \ http://www.cslu.ogi.edu/tts/download/data/ .endif # # FreeBSD mirror sites # # For the full list, see the Handbook: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html # .if !defined(IGNORE_MASTER_SITE_FREEBSD_ORG) MASTER_SITE_FREEBSD_ORG+= \ ftp://ftp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.se.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/FreeBSD/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_FRUGALWARE) MASTER_SITE_FRUGALWARE+= \ ftp://ftp7.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \ ftp://ftp2.frugalware.org/mirror/ftp.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \ ftp://ftp6.frugalware.org/mirrors/linux/frugalware/frugalware-stable/source/%SUBDIR%/ \ ftp://ftp4.frugalware.org/pub/linux/distributions/frugalware/frugalware-stable/source/%SUBDIR%/ \ ftp://ftp12.frugalware.org/mirrors/ftp.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ \ ftp://ftp10.frugalware.org/pub/linux/frugalware/frugalware-stable/source/%SUBDIR%/ # ftp://ftp5.frugalware.org/packages/frugalware/pub/frugalware/frugalware-stable/source/%SUBDIR%/ # ftp://ftp3.frugalware.org/mirrors/frugalware/pub/frugalware/frugalware-stable/source/%SUBDIR%/ # ftp://ftp9.frugalware.org/pub/frugalware/frugalware-stable/source/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GCC) MASTER_SITE_GCC+= \ http://mirrors.kernel.org/sources.redhat.com/gcc/%SUBDIR%/ \ http://gcc.parentingamerica.com/%SUBDIR%/ \ http://gcc.skazkaforyou.com/%SUBDIR%/ \ http://gcc.cybermirror.org/%SUBDIR%/ \ http://gcc-uk.internet.bs/%SUBDIR%/ \ http://www.netgull.com/gcc/%SUBDIR%/ \ http://mirrors.webhostinggeeks.com/gcc/%SUBDIR%/ \ http://robotlab.itk.ppke.hu/gcc/%SUBDIR%/ \ http://gcc.fyxm.net/%SUBDIR%/ \ http://gcc.igor.onlinedirect.bg/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/%SUBDIR%/ \ ftp://gcc.gnu.org/pub/gcc/%SUBDIR%/ \ ftp://ftp.lip6.fr/pub/gcc/%SUBDIR%/ \ ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/%SUBDIR%/ \ ftp://ftp.uvsq.fr/pub/gcc/%SUBDIR%/ \ ftp://ftp.gwdg.de/pub/misc/gcc/%SUBDIR%/ \ ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/%SUBDIR%/ \ ftp://ftp.nluug.nl/mirror/languages/gcc/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/gnu/gcc/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GENTOO) MASTER_SITE_GENTOO+= \ http://gentoo.mirrors.pair.com/%SUBDIR%/ \ http://mirrors.tds.net/pub/gentoo/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/%SUBDIR%/ \ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/%SUBDIR%/ \ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/%SUBDIR%/ \ http://trumpetti.atm.tut.fi/gentoo/%SUBDIR%/ \ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/%SUBDIR%/ \ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/%SUBDIR%/ \ http://darkstar.ist.utl.pt/gentoo/%SUBDIR%/ \ http://gentoo.inode.at/%SUBDIR%/ \ http://ftp.rhnet.is/pub/gentoo/%SUBDIR%/ \ http://gentoo.gg3.net/%SUBDIR%/ \ http://gentoo.kems.net/%SUBDIR%/ \ ftp://ftp.gtlib.gatech.edu/pub/gentoo/%SUBDIR%/ \ ftp://mirror.iawnet.sandia.gov/pub/gentoo/%SUBDIR%/ \ ftp://ftp.ussg.iu.edu/pub/linux/gentoo/%SUBDIR%/ \ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/%SUBDIR%/ \ ftp://gentoo.mirrors.pair.com/%SUBDIR%/ \ ftp://mirrors.tds.net/pub/gentoo/%SUBDIR%/ \ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/%SUBDIR%/ \ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/%SUBDIR%/ \ ftp://trumpetti.atm.tut.fi/gentoo/%SUBDIR%/ \ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/%SUBDIR%/ \ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/%SUBDIR%/ \ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/%SUBDIR%/ \ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/%SUBDIR%/ \ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/%SUBDIR%/ \ ftp://darkstar.ist.utl.pt/pub/gentoo/%SUBDIR%/ \ ftp://gentoo.inode.at/source/%SUBDIR%/ \ ftp://ftp.rhnet.is/pub/gentoo/%SUBDIR%/ \ ftp://files.gentoo.gr/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GITHUB) # # In order to use GitHub your port must define USE_GITHUB and 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 (2.0.1, hash, ...) # Using the name of a branch here is incorrect. It is # possible to do GH_TAGNAME=${GH_COMMIT} to do a snapshot # default: ${DISTVERSION} # # GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME # (man git-describe(1)) -# default: not set, mandatory +# if this is not set, archive corresponding to tag is fetched +# default: not set # .if defined(USE_GITHUB) -.if defined(GH_TAGNAME) && ${GH_TAGNAME} == master +. if defined(GH_TAGNAME) && ${GH_TAGNAME} == master IGNORE?= Using master as GH_TAGNAME is invalid. \ Must use a tag or commit hash so the upstream does \ not "reroll" as soon as the branch is updated -.endif -MASTER_SITE_GITHUB+= https://codeload.github.com/%SUBDIR% \ - http://codeload.github.com/%SUBDIR% +. endif +MASTER_SITE_GITHUB+= https://codeload.github.com/%SUBDIR% MASTER_SITE_GITHUB_CLOUD+= http://cloud.github.com/downloads/%SUBDIR% +MASTER_SITE_GITHUB_LEGACY+= https://codeload.github.com/%SUBDIR% MASTER_SITE_GITHUB_RELEASE+= https://github.com/%SUBDIR% -.if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC} && !${MASTER_SITES:MGHR} -MASTER_SITES+= GH GHC GHR -.endif +. if defined(GH_COMMIT) +. if !defined(MASTER_SITES) || !${MASTER_SITES:MGHL} +MASTER_SITES+= GHL +. endif +. else +. if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC} && !${MASTER_SITES:MGHR} +MASTER_SITES+= GH +. endif +. endif GH_ACCOUNT?= ${PORTNAME} GH_PROJECT?= ${PORTNAME} GH_TAGNAME?= ${DISTVERSION} .endif .endif .if !defined(IGNORE_MASTER_SITE_GNOME) MASTER_SITE_GNOME+= \ https://download.gnome.org/%SUBDIR%/ \ http://download.gnome.org/%SUBDIR%/ \ ftp://ftp.belnet.be/mirror/ftp.gnome.org/%SUBDIR%/ \ http://ftp.acc.umu.se/pub/GNOME/%SUBDIR%/ \ ftp://ftp.cse.buffalo.edu/pub/Gnome/%SUBDIR%/ \ http://fr2.rpmfind.net/linux/gnome.org/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/gnome/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/X/gnome/%SUBDIR%/ \ http://linorg.usp.br/gnome/%SUBDIR%/ \ http://mirror.aarnet.edu.au/pub/gnome/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/gnome/&,} \ ftp://ftp.kddlabs.co.jp/pub/GNOME/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/%SUBDIR%/ \ ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/%SUBDIR%/ \ http://ftp.gnome.org/pub/GNOME/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GIMP) MASTER_SITE_GIMP+= \ http://gimp.mirrors.hoobly.com/pub/%SUBDIR%/ \ http://gimper.net/downloads/pub/%SUBDIR%/ \ http://mirror.hessmo.com/gimp/pub/%SUBDIR%/ \ http://de-mirror.gimper.net/pub/%SUBDIR%/ \ http://gimp.afri.cc/pub/%SUBDIR%/ \ http://download.gimp.org/pub/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GNU) MASTER_SITE_GNU+= \ http://ftpmirror.gnu.org/%SUBDIR%/ \ http://ftp.gnu.org/gnu/%SUBDIR%/ \ ftp://ftp.gnu.org/gnu/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/gnu/gnu/%SUBDIR%/ \ http://mirrors.kernel.org/gnu/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/GNU/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/GNU/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,GNU/&,} \ ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/%SUBDIR%/ \ ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/%SUBDIR%/ \ ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/%SUBDIR%/ \ http://ftp.funet.fi/pub/gnu/prep/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GNUPG) MASTER_SITE_GNUPG+= \ http://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/%SUBDIR%/ \ http://dotsrc.org/%SUBDIR%/ \ ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/%SUBDIR%/ \ ftp://mirror.cict.fr/gnupg/%SUBDIR%/ \ http://artfiles.org/gnupg.org/%SUBDIR%/ \ ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/%SUBDIR%/ \ ftp://ftp.crysys.hu/pub/gnupg/%SUBDIR%/ \ ftp://ftp.hi.is/pub/mirrors/gnupg/%SUBDIR%/ \ http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/security/gnupg/%SUBDIR%/ \ ftp://mirror.switch.ch/mirror/gnupg/%SUBDIR%/ \ http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/%SUBDIR%/ \ ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GNUSTEP) MASTER_SITE_GNUSTEP+= \ ftp://ftp.gnustep.org/pub/gnustep/%SUBDIR%/ \ http://ftp.gnustep.org/pub/gnustep/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GNUSTEP_CH) MASTER_SITE_GNUSTEP_CH+= \ http://io.debian.net/~tar/ports/distfiles/ .endif .if !defined(IGNORE_MASTER_SITE_GNU_ALPHA) MASTER_SITE_GNU_ALPHA+= \ http://alpha.gnu.org/gnu/%SUBDIR%/ \ ftp://spinellicreations.com/alpha/gnu/%SUBDIR%/ \ http://www.nic.funet.fi/pub/gnu/alpha/gnu/%SUBDIR%/ \ http://mirror.thecodefactory.org/gnualpha/%SUBDIR%/ \ http://www.mirrorservice.org/sites/alpha.gnu.org/gnu/%SUBDIR%/ \ http://gnu.c3sl.ufpr.br/alpha/%SUBDIR%/ \ http://mirror.cedia.org.ec/gnualpha/%SUBDIR%/ \ http://gnu-alpha.mirrors.hostinginnederland.nl/%SUBDIR%/ \ http://gnualpha.uib.no/%SUBDIR%/ \ http://mirrors.fe.up.pt/pub/gnu-alpha/%SUBDIR%/ \ http://mirror.lihnidos.org/GNU/alpha/gnu/%SUBDIR%/ \ http://alpha-gnu-org.ip-connect.vn.ua/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_GOOGLE_CODE) PROJECTHOST?= ${PORTNAME} MASTER_SITE_GOOGLE_CODE+= \ http://${PROJECTHOST}.googlecode.com/files/ .endif .if !defined(IGNORE_MASTER_SITE_HORDE) MASTER_SITE_HORDE+= \ http://ftp.horde.org/pub/%SUBDIR%/ \ ftp://ftp.horde.org/pub/%SUBDIR%/ \ ftp://ftp.at.horde.org/infosys/webapps/horde/%SUBDIR%/ \ ftp://ftp.se.horde.org/mirror/horde/pub/%SUBDIR%/ \ ftp://ftp.tw.horde.org/pub/%SUBDIR%/ \ ftp://ftp.us.horde.org/pub/software/horde//%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_IDSOFTWARE) MASTER_SITE_IDSOFTWARE+= \ ftp://ftp.gwdg.de/pub/misc2/ftp.idsoftware.com/idstuff/%SUBDIR%/ \ http://ftp4.de.freesbie.org/pub/misc/ftp.idsoftware.com/idstuff/%SUBDIR%/ \ ftp://ftp.fu-berlin.de/pc/games/idgames/idstuff/%SUBDIR%/ \ ftp://ftp.gamers.org/pub/idgames/idstuff/%SUBDIR%/ \ http://ftp.iinet.net.au/games/idstuff/%SUBDIR%/ \ ftp://ftp.mirror.nl/disk2/idsoftware/idstuff/%SUBDIR%/ \ ftp://freebsd.nsu.ru/mirrors/ftp.idsoftware.com/idstuff/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/vendors/idgames/idstuff/%SUBDIR%/ \ ftp://ftp.omen.net.au/games/idstuff/%SUBDIR%/ \ ftp://ftp.idsoftware.com/idstuff/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_ISC) MASTER_SITE_ISC+= \ http://ftp.isc.org/isc/%SUBDIR%/ \ ftp://ftp.isc.org/isc/%SUBDIR%/ \ ftp://ftp.ciril.fr/pub/isc/%SUBDIR%/ \ ftp://ftp.freenet.de/pub/ftp.isc.org/isc/%SUBDIR%/ \ ftp://ftp.iij.ad.jp/pub/network/isc/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/net/isc/%SUBDIR%/ \ ftp://ftp.u-aizu.ac.jp/pub/net/isc/%SUBDIR%/ \ ftp://ftp.task.gda.pl/mirror/ftp.isc.org/isc/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/network/isc/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/ftp.isc.org/isc/%SUBDIR%/ \ ftp://ftp.nominum.com/pub/isc/%SUBDIR%/ \ ftp://ftp.ripe.net/mirrors/sites/ftp.isc.org/isc/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/net/isc/isc/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/mirrors/ftp.isc.org/isc/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_KENAI) MASTER_SITE_KENAI+= \ http://projectkenai.com/downloads/%SUBDIR%/ .endif # List: http://download.kde.org/extra/mirrors.html # Updated: 2012-10-26 .if !defined(IGNORE_MASTER_SITE_KDE) MASTER_SITE_KDE+= \ http://download.kde.org/%SUBDIR%/ \ ftp://ftp.gtlib.gatech.edu/pub/kde/%SUBDIR%/ \ ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.kde.org/%SUBDIR%/ \ http://ftp.gtlib.gatech.edu/pub/kde/%SUBDIR%/ \ ftp://ftp.solnet.ch/mirror/KDE/%SUBDIR%/ \ ftp://gd.tuwien.ac.at/kde/%SUBDIR%/ \ http://gd.tuwien.ac.at/kde/%SUBDIR%/ \ http://kde.mirrors.tds.net/pub/kde/%SUBDIR%/ \ ftp://ftp.rz.uni-wuerzburg.de/pub/unix/kde/%SUBDIR%/ \ http://mirrors.dotsrc.org/kde/%SUBDIR%/ \ ftp://mirrors.dotsrc.org/kde/%SUBDIR%/ \ ftp://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \ http://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \ ftp://sunsite.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \ http://sunsite.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/X11/kde/%SUBDIR%/ \ http://ftp.sunet.se/pub/X11/kde/%SUBDIR%/ \ ftp://ftp.kde.org/pub/kde/%SUBDIR%/ \ ftp://ftp.belnet.be/packages/kde/%SUBDIR%/ \ http://ftp.belnet.be/packages/kde/%SUBDIR%/ \ ftp://ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \ http://www-ftp.lip6.fr/pub/X11/kde/%SUBDIR%/ \ ftp://ftp.rhnet.is/pub/kde/%SUBDIR%/ \ http://ftp.rhnet.is/pub/kde/%SUBDIR%/ \ http://ftp-stud.fht-esslingen.de/Mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \ ftp://ftp.cronyx.ru/pub/mirror/kde/%SUBDIR%/ \ http://ftp.twaren.net/Unix/X/KDE/%SUBDIR%/ \ ftp://ftp.na.kde.org/pub/kde/%SUBDIR%/ \ ftp://ftp.fu-berlin.de/pub/unix/X11/gui/kde/%SUBDIR%/ \ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/kde/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/X11/kde/%SUBDIR%/ \ http://ftp.ntua.gr/pub/X11/kde/%SUBDIR%/ \ ftp://ftp.heanet.ie/mirrors/ftp.kde.org/%SUBDIR%/ \ http://ftp.heanet.ie/mirrors/ftp.kde.org/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/pub/X11/kde/%SUBDIR%/ \ http://ftp.kddlabs.co.jp/pub/X11/kde/%SUBDIR%/ \ http://kde.mirror.uber.com.au/%SUBDIR%/ \ ftp://ftp.ussg.iu.edu/pub/kde/%SUBDIR%/ \ http://ftp.ussg.iu.edu/kde/%SUBDIR%/ \ ftp://ftp.sayclub.com/pub/X/KDE/%SUBDIR%/ \ http://ftp.sayclub.com/pub/X/KDE/%SUBDIR%/ \ ftp://carroll.aset.psu.edu/pub/kde/%SUBDIR%/ \ http://mirror.cc.columbia.edu/pub/software/kde/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/ftp.kde.org/pub/kde/%SUBDIR%/ \ http://www.mirrorservice.org/sites/ftp.kde.org/pub/kde/%SUBDIR%/ \ http://master.kde.org/%SUBDIR%/ \ http://ftp.icm.edu.pl/pub/unix/kde/%SUBDIR%/ \ http://kde-mirror.freenux.org/%SUBDIR%/ \ http://ftp.fi.muni.cz/pub/kde/%SUBDIR%/ \ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/kde/&,} \ ftp://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ \ http://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_LIBREOFFICE_DEV) MASTER_SITE_LIBREOFFICE_DEV+= \ http://dev-www.libreoffice.org/src/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_LOGILAB) MASTER_SITE_LOGILAB+= \ http://download.logilab.org/pub/%SUBDIR%/ \ http://ftp.logilab.org/pub/%SUBDIR%/ \ ftp://ftp.logilab.org/pub/%SUBDIR%/ \ ftp://ftp.logilab.fr/pub/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_MATE) MASTER_SITE_MATE+= \ http://pub.mate-desktop.org/releases/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_MOZDEV) MASTER_SITE_MOZDEV+= \ http://ftp.scarlet.be/pub/mozdev/%SUBDIR%/ \ http://ftp.rz.tu-bs.de/pub/mirror/downloads.mozdev.org/%SUBDIR%/ \ http://ftp.ntua.gr/pub/www/mozdev/%SUBDIR%/ \ http://ftp.heanet.ie/pub/mozdev/%SUBDIR%/ \ http://mozdev.oregonstate.edu/%SUBDIR%/ \ http://ftp.ntua.gr/pub/www/mozdev/%SUBDIR%/ \ http://www.devlib.org/mozdev/%SUBDIR%/ \ ftp://ftp.heanet.ie/pub/mozdev/%SUBDIR%/ \ http://mirrors.ibiblio.org/pub/mirrors/mozdev.org/%SUBDIR%/ \ http://ftp.osuosl.org/pub/mozdev/%SUBDIR%/ .endif # releases.mozilla.org mirror sites # # For the full list, see the following: # # http://www.mozilla.org/mirrors.html # .if !defined(IGNORE_MASTER_SITE_MOZILLA) MASTER_SITE_MOZILLA+= \ https://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ http://mirror3.mirrors.tds.net/pub/mozilla.org/%SUBDIR%/ \ http://mozilla.isc.org/pub/mozilla.org/%SUBDIR%/ \ http://releases.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/%SUBDIR%/ \ http://jp-nii01.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ http://jp-nii02.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ http://mirror.internode.on.net/pub/mozilla/%SUBDIR%/ \ http://ftp.acc.umu.se/pub/mozilla.org/%SUBDIR%/ \ http://mozilla.c3sl.ufpr.br/releases/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/mozilla.org/%SUBDIR%/ \ ftp://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ ftp://ftp.fh-wolfenbuettel.de/pub/www/mozilla/%SUBDIR%/ \ ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.mozilla.org/pub/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/mozilla/&,} \ http://ftp.twaren.net/Unix/Mozilla/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_BUGZILLA) MASTER_SITE_BUGZILLA+= \ https://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ http://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ ftp://ftp.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ http://mirror.internode.on.net/pub/mozilla/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_MOZILLA_EXTENDED) MASTER_SITE_MOZILLA_EXTENDED+= \ http://releases.mozilla.org/pub/mozilla.org/%SUBDIR%/ \ ${MASTER_SITE_MOZILLA} .endif .if !defined(IGNORE_MASTER_SITE_MPLAYERHQ) MASTER_SITE_MPLAYERHQ+= \ http://www.mplayerhq.hu/MPlayer/%SUBDIR%/ \ http://www1.mplayerhq.hu/MPlayer/%SUBDIR%/ \ http://www2.mplayerhq.hu/MPlayer/%SUBDIR%/ \ http://www3.mplayerhq.hu/MPlayer/%SUBDIR%/ \ http://www4.mplayerhq.hu/MPlayer/%SUBDIR%/ \ http://www5.mplayerhq.hu/MPlayer/%SUBDIR%/ \ ftp://ftp.mplayerhq.hu/MPlayer/%SUBDIR%/ \ ftp://ftp1.mplayerhq.hu/MPlayer/%SUBDIR%/ \ ftp://ftp4.mplayerhq.hu/MPlayer/%SUBDIR%/ \ ftp://ftp5.mplayerhq.hu/MPlayer/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_MYSQL) MASTER_SITE_MYSQL+= \ ftp://ftp.fi.muni.cz/pub/mysql/Downloads/%SUBDIR%/ \ http://mysql.mirrors.cybercity.dk/Downloads/%SUBDIR%/ \ ftp://ftp.fh-wolfenbuettel.de/pub/database/mysql/Downloads/%SUBDIR%/ \ ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/%SUBDIR%/ \ http://netmirror.org/mirror/mysql.com/Downloads/%SUBDIR%/ \ ftp://netmirror.org/mysql.com/Downloads/%SUBDIR%/ \ http://mirrors.ntua.gr/MySQL/Downloads/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/%SUBDIR%/ \ http://mysql.sote.hu/Downloads/%SUBDIR%/ \ ftp://ftp.rhnet.is/pub/mysql/Downloads/%SUBDIR%/ \ ftp://mirror.widexs.nl/pub/mysql/Downloads/%SUBDIR%/ \ ftp://mirror.switch.ch/mirror/mysql/Downloads/%SUBDIR%/ \ http://mysql.dp.ua/Downloads/%SUBDIR%/ \ http://mysql.mirrored.ca/Downloads/%SUBDIR%/ \ ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/%SUBDIR%/ \ http://mysql.mirrors.pair.com/Downloads/%SUBDIR%/ \ ftp://ftp.linorg.usp.br/mysql/Downloads/%SUBDIR%/ \ ftp://ftp.cbn.net.id/mirror/mysql/Downloads/%SUBDIR%/ \ ftp://ftp.easynet.be/mysql/Downloads/%SUBDIR%/ \ http://download.softagency.net/MySQL/Downloads/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_NETBSD) MASTER_SITE_NETBSD+= \ ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/%SUBDIR%/ \ ftp://ftp.iastate.edu/pub/netbsd/packages/distfiles/%SUBDIR%/ \ ftp://ftp.plig.net/pub/NetBSD/packages/distfiles/%SUBDIR%/ \ ftp://ftp.proxad.net/mirrors/ftp.netbsd.org/packages/distfiles/%SUBDIR%/ \ ftp://ftp.unina.it/pub/Unix/NetBSD/packages/distfiles/%SUBDIR%/ \ ftp://ftp.uninett.no/bsd/unix/NetBSD/packages/distfiles/%SUBDIR%/ \ ftp://sunsite.uio.no/bsd/unix/NetBSD/packages/distfiles/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/NetBSD/packages/distfiles/%SUBDIR%/ \ ftp://ftp.demon.co.uk/pub/mirrors/NetBSD/packages/distfiles/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,NetBSD/packages/distfiles/&,} \ ftp://ftp.dti.ad.jp/pub/NetBSD/packages/distfiles/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/NetBSD/packages/distfiles/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_NETLIB) MASTER_SITE_NETLIB+= \ ftp://ftp.netlib.org/%SUBDIR%/ \ http://www.netlib.org/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \ http://www.mirrorservice.org/sites/ftp.netlib.org/%SUBDIR%/ \ ftp://ftp.netlib.no/netlib/%SUBDIR%/ \ http://www.netlib.no/netlib/%SUBDIR%/ \ ftp://ftp.irisa.fr/pub/netlib/%SUBDIR%/ \ http://artfiles.org/netlib.org/%SUBDIR%/ \ http://netlib.amss.ac.cn/%SUBDIR%/ \ http://netlib.caspur.it/%SUBDIR%/ \ http://netlib.sandia.gov/%SUBDIR%/ \ http://phase.hpcc.jp/mirrors/netlib/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_NVIDIA) MASTER_SITE_NVIDIA+= \ http://jp.download.nvidia.com/%SUBDIR%/ \ http://us.download.nvidia.com/%SUBDIR%/ \ http://tw.download.nvidia.com/%SUBDIR%/ \ http://download.nvidia.com/%SUBDIR%/ \ http://download1.nvidia.com/%SUBDIR%/ \ ftp://download.nvidia.com/%SUBDIR%/ \ ftp://download1.nvidia.com/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_OPENBSD) MASTER_SITE_OPENBSD+= \ http://anga.funkfeuer.at/ftp/pub/OpenBSD/%SUBDIR%/ \ http://ftp.eu.openbsd.org/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.openbsd.org/pub/OpenBSD/%SUBDIR%/ \ ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp5.usa.openbsd.org/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp3.usa.openbsd.org/pub/OpenBSD/%SUBDIR%/ \ ftp://rt.fm/pub/OpenBSD/%SUBDIR%/ \ http://ftp.heanet.ie/pub/OpenBSD/%SUBDIR%/ \ http://ftp.belnet.be/packages/openbsd/%SUBDIR%/ \ http://mirror.pacific.net.au/OpenBSD/%SUBDIR%/ \ http://ftp.openbsd.dk/pub/OpenBSD/%SUBDIR%/ \ http://ftp.estpak.ee/pub/OpenBSD/%SUBDIR%/ \ http://mirror.internode.on.net/pub/OpenBSD/%SUBDIR%/ \ http://ftp.chg.ru/pub/OpenBSD/%SUBDIR%/ \ http://ftp.arcane-networks.fr/pub/OpenBSD/%SUBDIR%/ \ http://ftp.netbsd.se/OpenBSD/%SUBDIR%/ \ http://www.mirrorservice.org/pub/OpenBSD/%SUBDIR%/ \ http://mirror.switch.ch/ftp/pub/OpenBSD/%SUBDIR%/ \ http://ftp.jaist.ac.jp/pub/OpenBSD/%SUBDIR%/ \ http://ftp.cc.uoc.gr/mirrors/OpenBSD/%SUBDIR%/ \ http://mirror.hostfuss.com/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.stacken.kth.se/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.ca.openbsd.org/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.freebsdchina.org/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.dkuug.dk/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.jyu.fi/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.irisa.fr/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.nara.wide.ad.jp/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.inet.no/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.nluug.nl/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.gamma.ru/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.rediris.es/pub/OpenBSD/%SUBDIR%/ \ ftp://ftp.su.se/pub/OpenBSD/%SUBDIR%/ \ ftp://osmirrors.cerias.purdue.edu/pub/OpenBSD/%SUBDIR%/ \ ftp://carroll.cac.psu.edu/pub/OpenBSD/%SUBDIR%/ \ ftp://openbsd.mirrors.tds.net/pub/OpenBSD/%SUBDIR%/ \ http://mirrors.nic.funet.fi/pub/OpenBSD/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_OSSP) MASTER_SITE_OSSP+= \ ftp://ftp.ossp.org/pkg/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/utils/ossp/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_PACKETSTORM) MASTER_SITE_PACKETSTORM+= \ http://dl.packetstormsecurity.net/%SUBDIR%/ \ http://packetstorm.codar.com.br/%SUBDIR%/ \ http://packetstorm.igor.onlinedirect.bg/%SUBDIR%/ \ http://packetstorm.interhost.co.il/%SUBDIR%/ \ http://packetstorm.foofus.com/%SUBDIR%/ \ http://packetstorm.tacticalflex.com/%SUBDIR%/ \ http://packetstorm.unixteacher.org/%SUBDIR%/ \ http://packetstorm.wowhacker.com/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_PERL_CPAN) _PERL_CPAN_SORT?= modules/by-module # Please add URI to MASTER_SITE_PERL_CPAN_BY instead of this one. MASTER_SITE_PERL_CPAN?= MASTER_SITE_PERL_CPAN_BY+= \ http://cpan.metacpan.org/%CPANSORT%/%SUBDIR%/ \ http://www.cpan.org/%CPANSORT%/%SUBDIR%/ \ ftp://ftp.cpan.org/pub/CPAN/%CPANSORT%/%SUBDIR%/ \ http://www.cpan.dk/%CPANSORT%/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/%CPANSORT%/%SUBDIR%/ \ http://ftp.jaist.ac.jp/pub/CPAN/%CPANSORT%/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/lang/perl/CPAN/%CPANSORT%/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/%CPANSORT%/%SUBDIR%/ \ ftp://ftp.auckland.ac.nz/pub/perl/CPAN/%CPANSORT%/%SUBDIR%/ \ http://backpan.perl.org/%CPANSORT%/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/languages/perl/CPAN/%CPANSORT%/%SUBDIR%/ \ http://ftp.twaren.net/Unix/Lang/CPAN/%CPANSORT%/%SUBDIR%/ \ ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%SUBDIR%/ \ http://www.cpan.dk/modules/by-module/%SUBDIR%/ _PERL_CPAN_FLAG=${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/} _PERL_CPAN_ID= ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/} .if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan" _PERL_CPAN_SORT=authors/id/${_PERL_CPAN_ID} MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/:S/%SUBDIR%\///} .else MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/} .endif .endif # # PostgreSQL master site # .if !defined(IGNORE_MASTER_SITE_PGSQL) MASTER_SITE_PGSQL+= \ http://ftp.postgresql.org/pub/%SUBDIR%/ \ https://ftp.postgresql.org/pub/%SUBDIR%/ \ ftp://ftp.postgresql.org/pub/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_PHP) MASTER_SITE_PHP+= \ http://dk1.php.net/%SUBDIR%/ \ http://de.php.net/%SUBDIR%/ \ http://es.php.net/%SUBDIR%/ \ http://fr.php.net/%SUBDIR%/ \ http://gr.php.net/%SUBDIR%/ \ http://it.php.net/%SUBDIR%/ \ http://jp.php.net/%SUBDIR%/ \ http://se.php.net/%SUBDIR%/ \ http://uk3.php.net/%SUBDIR%/ \ http://us2.php.net/%SUBDIR%/ \ http://br.php.net/%SUBDIR%/ \ http://cn.php.net/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/www/php/&,} .endif .if !defined(IGNORE_MASTER_SITE_PYTHON) MASTER_SITE_PYTHON+= \ http://www.python.org/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_QMAIL) MASTER_SITE_QMAIL+= \ http://qmail.glasswings.com.au/%SUBDIR%/ \ http://qmail.psshee.com/%SUBDIR%/ \ http://mirrors.sunsite.dk/qmailwww/%SUBDIR%/ \ http://www.agria.hu/qmail/%SUBDIR%/ \ http://qmail.netvisao.pt/%SUBDIR%/ \ http://qmail.ipg.sk/%SUBDIR%/ \ http://qmail.omnis.ch/%SUBDIR%/ \ http://www.qmail.org/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_QT) MASTER_SITE_QT+= \ http://download.qt-project.org/%SUBDIR%/ \ http://master.qt-project.org/%SUBDIR%/ \ http://www.mirrorservice.org/sites/download.qt-project.org/%SUBDIR%/ \ http://www.nic.funet.fi/pub/mirrors/download.qt-project.org/%SUBDIR%/ \ http://qtmirror.ics.com/pub/qtproject/%SUBDIR%/ \ http://anychimirror101.mirrors.tds.net/pub/Qt/%SUBDIR%/ \ http://www.las.ic.unicamp.br/pub/qtproject/%SUBDIR%/ \ http://linorg.usp.br/Qt/%SUBDIR%/ \ http://ftp.jaist.ac.jp/pub/qtproject/%SUBDIR%/ \ http://mirrors.neusoft.edu.cn/qt/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_REDHAT_LINUX) MASTER_SITE_REDHAT_LINUX+= \ http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/linux/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/redhat/linux/%SUBDIR%/ \ ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/%SUBDIR%/ \ ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/%SUBDIR%/ \ ftp://ftp.icm.edu.pl/pub/linux/redhat/linux/%SUBDIR%/ \ ftp://ftp.riken.go.jp/pub/Linux/redhat/linux/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/pub/Linux/packages/RedHat/redhat/linux/%SUBDIR%/ .endif # # RingServers in Japan # # # Note: If you know which of the RingServers is nearest to you, # please specify it in your /etc/make.conf. (The server list is # available at http://www.ring.gr.jp/) # # You can choose either http or ftp to access to a server: # # http:///archives/%SUBDIR%/ # ftp:///pub/%SUBDIR%/ # # {www,ftp}.dnsbalance.ring.gr.jp redirects requests to one of the # least busy servers at the moment at the DNS lookup level. (safe to # use with "fetch -A") # # {www,ftp}.t.ring.gr.jp redirects requests to one of the nearest # servers at the DNS lookup level. (safe to use with "fetch -A") # .if !defined(IGNORE_MASTER_SITE_RINGSERVER) MASTER_SITE_RINGSERVER+= \ http://ring.nict.go.jp/archives/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_RUBY) MASTER_SITE_RUBY+= \ http://cache.ruby-lang.org/pub/ruby/%SUBDIR%/ \ ftp://ftp.ruby-lang.org/pub/ruby/%SUBDIR%/ \ ftp://ftp.SpringDaemons.com/pub/ruby/ruby/%SUBDIR%/ \ http://www.ibiblio.org/pub/languages/ruby/%SUBDIR%/ \ ftp://xyz.lcs.mit.edu/pub/ruby/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,lang/ruby/&,} \ ftp://ftp.fu-berlin.de/unix/languages/ruby/%SUBDIR%/ \ ftp://ftp.easynet.be/ruby/ruby/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/lang/ruby/%SUBDIR%/ \ ftp://ftp.kr.FreeBSD.org/pub/ruby/%SUBDIR%/ \ http://mirrors.sunsite.dk/ruby/%SUBDIR%/ \ ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/%SUBDIR%/ .endif # See http://rubygems.org/pages/about .if !defined(IGNORE_MASTER_SITE_RUBYGEMS) MASTER_SITE_RUBYGEMS+= \ http://production.s3.rubygems.org/gems/%SUBDIR%/ \ http://production.cf.rubygems.org/gems/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_SAMBA) MASTER_SITE_SAMBA+= \ http://ftp.samba.org/pub/%SUBDIR%/ \ ftp://ca.samba.org/pub/%SUBDIR%/ \ ftp://de.samba.org/pub/%SUBDIR%/ \ ftp://ftp.easynet.be/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/samba/&,} .endif # List: http://download.savannah.gnu.org/mirmon/ .if !defined(IGNORE_MASTER_SITE_SAVANNAH) MASTER_SITE_SAVANNAH+= \ http://download.savannah.gnu.org/releases/%SUBDIR%/ \ http://download-mirror.savannah.gnu.org/releases/%SUBDIR%/ \ http://nongnu.askapache.com/%SUBDIR%/ \ http://mirror.lihnidos.org/GNU/savannah/%SUBDIR%/ \ http://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \ ftp://ftp.twaren.net/Unix/NonGNU/%SUBDIR%/ \ http://gnu.mirrors.pair.com/savannah/savannah/%SUBDIR%/ \ ftp://gnu.mirrors.pair.com/savannah/%SUBDIR%/ .endif # List: http://sourceforge.net/apps/trac/sourceforge/wiki/Mirrors # Updated: 2013-03-25 .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE) MASTER_SITE_SOURCEFORGE+= http://downloads.sourceforge.net/project/%SUBDIR%/ .for mirror in heanet sunet iweb switch freefr garr aarnet jaist master \ nchc ncu internode waix hivelocity superb-dca3 ufpr tenet \ netcologne ignum kent kaz MASTER_SITE_SOURCEFORGE+= \ http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/ .endfor .endif .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE_JP) .for mirror in iij jaist keihanna osdn MASTER_SITE_SOURCEFORGE_JP+= \ http://${mirror}.dl.sourceforge.jp/%SUBDIR%/ .endfor .endif .if !defined(IGNORE_MASTER_SITE_SOURCEWARE) MASTER_SITE_SOURCEWARE+= \ http://mirrors.kernel.org/sources.redhat.com/%SUBDIR%/ \ http://gd.tuwien.ac.at/gnu/sourceware/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_SUDO) MASTER_SITE_SUDO+= \ http://www.sudo.ws/sudo/dist/ \ http://ftp.arcane-networks.fr/pub/mirrors/sudo/ \ http://sudo.p8ra.de/sudo/dist/ \ http://sudo.cybermirror.org/ \ http://sudo-ftp.basemirror.de/ \ http://core.ring.gr.jp/archives/misc/sudo/ \ http://www.ring.gr.jp/archives/misc/sudo/ \ http://ftp.twaren.net/Unix/Security/Sudo/ \ ftp://ftp.sudo.ws/pub/sudo/ \ ftp://plier.ucar.edu/pub/sudo/ \ ftp://obsd.isc.org/pub/sudo/ \ ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \ ftp://ftp.tuwien.ac.at/utils/admin-tools/sudo/ \ ftp://sunsite.ualberta.ca/pub/Mirror/sudo/ \ ftp://zoot.tele.dk/pub/sudo/ \ ftp://ftp.in2p3.fr/pub/sudo/ \ ftp://ftp.arcane-networks.fr/pub/mirrors/sudo/ \ ftp://ftp.usbm.de/pub/sudo/ \ ftp://ftp.cs.tu-berlin.de/pub/misc/sudo/ \ ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/sudo/ \ ftp://ftp.st.ryukoku.ac.jp/pub/security/tool/sudo/ \ ftp://ftp.cin.nihon-u.ac.jp/pub/misc/sudo/ \ ftp://core.ring.gr.jp/pub/misc/sudo/ \ ftp://ftp.ring.gr.jp/pub/misc/sudo/ \ ftp://sunsite.icm.edu.pl/packages/sudo/ \ ftp://mirror.cdmon.com/pub/sudo/ \ ftp://ftp.twaren.net/Unix/Security/Sudo/ .endif .if !defined(IGNORE_MASTER_SITE_SUNSITE) MASTER_SITE_SUNSITE+= \ http://www.ibiblio.org/pub/Linux/%SUBDIR%/ \ http://www.gtlib.gatech.edu/pub/Linux/%SUBDIR%/ \ ftp://ftp.cs.tu-berlin.de/pub/linux/Mirrors/sunsite.unc.edu/%SUBDIR%/ \ ftp://ftp.etsimo.uniovi.es/pub/linux/%SUBDIR%/ \ ftp://ftp.lip6.fr/pub/linux/sunsite/%SUBDIR%/ \ ftp://ftp.nluug.nl/pub/metalab/%SUBDIR%/ \ ftp://ftp.nvg.ntnu.no/pub/mirrors/metalab.unc.edu/%SUBDIR%/ \ ftp://ftp.icm.edu.pl/pub/Linux/sunsite/%SUBDIR%/ \ ftp://ftp.cse.cuhk.edu.hk/pub4/Linux/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/Linux/metalab.unc.edu/%SUBDIR%/ \ ftp://ftp.chg.ru/pub/Linux/sunsite/%SUBDIR%/ \ ftp://ftp.sun.ac.za/pub/mirrors/sunsite.unc.edu/pub/Linux/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_SUSE) MASTER_SITE_SUSE+= \ http://mirrors.usc.edu/pub/linux/distributions/suse/%SUBDIR%/ \ http://mirror.usu.edu/mirrors/suse/%SUBDIR%/ \ ftp://mirror.mcs.anl.gov/pub/suse/%SUBDIR%/ \ ftp://chuck.ucs.indiana.edu/linux/suse/suse/%SUBDIR%/ \ ftp://ftp.oregonstate.edu/pub/suse/suse/%SUBDIR%/ \ ftp://ftp.sunsite.utk.edu/pub/linux/suse/suse/%SUBDIR%/ \ http://sunsite.utk.edu/ftp/pub/linux/suse/suse/%SUBDIR%/ \ http://mirror.tamu.edu/suse/%SUBDIR%/ \ ftp://ftp.empiricalnetworks.com/pub/suse/%SUBDIR%/ \ http://suse.cs.utah.edu/suse/%SUBDIR%/ \ ftp://ftp.belnet.be/linux/suse/suse/%SUBDIR%/ \ http://ftp.unicamp.br/pub/suse/%SUBDIR%/ \ ftp://mirrors.netbg.com/suse/%SUBDIR%/ \ http://ftp.sh.cvut.cz/MIRRORS/SuSE/pub/%SUBDIR%/ \ ftp://ftp.linux.ee/pub/suse/suse/%SUBDIR%/ \ ftp://garbo.uwasa.fi/pub/mirrors/suse/%SUBDIR%/ \ http://fr2.rpmfind.net/linux/SuSE-Linux/%SUBDIR%/ \ http://ftp.iut-bm.univ-fcomte.fr/Suse/suse/%SUBDIR%/ \ ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/suse/%SUBDIR%/ \ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/suse/%SUBDIR%/ \ ftp://ftp.rz.hu-berlin.de/pub/mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \ ftp://ftp.tu-chemnitz.de/pub/linux/suse/ftp.suse.com/suse/%SUBDIR%/ \ ftp://ftp.tu-cottbus.de/pub/unix/linux/suse.com/suse/%SUBDIR%/ \ http://ftp.uni-erlangen.de/pub/Linux/MIRROR.suse/pub/suse/%SUBDIR%/ \ http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \ ftp://ftp.hs.uni-hamburg.de/pub/unix/linux/suse/%SUBDIR%/ \ ftp://ftp.rrzn.uni-hannover.de/pub/mirror/linux/suse/%SUBDIR%/ \ http://ftp.tu-ilmenau.de/Mirrors/ftp.suse.com/%SUBDIR%/ \ ftp://ftp.uni-kassel.de/pub/linux/suse/%SUBDIR%/ \ ftp://ftp.uni-rostock.de/pub/systems/unix/linux/suse/%SUBDIR%/ \ ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.suse.com/suse/%SUBDIR%/ \ ftp://ftp.uni-kl.de/pub/linux/suse/%SUBDIR%/ \ ftp://ftp.uni-siegen.de/pub/suse/%SUBDIR%/ \ ftp://ftp.uni-mainz.de/pub/software/Linux/suse/%SUBDIR%/ \ ftp://ftp.uni-heidelberg.de/pub/linux/suse/%SUBDIR%/ \ ftp://ftp.rz.uni-ulm.de/pub/mirrors/suse/%SUBDIR%/ \ ftp://ftp.rz.uni-wuerzburg.de/pub/linux/MIRROR.suse/%SUBDIR%/ \ ftp://ftp.freenet.de/pub/.disk1/ftp.suse.com/pub/suse/%SUBDIR%/ \ ftp://ftp.hu-berlin.de/pub/mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \ ftp://ftp.rz.uni-kiel.de/pub2/linux/suse/%SUBDIR%/ \ http://mirrors.sth.sze.hu/linux/suse/%SUBDIR%/ \ ftp://ftp.heanet.ie/mirrors/ftp.suse.com/pub/suse/ftp.suse.com/suse/%SUBDIR%/ \ ftp://ftp.unina.it/pub/linux/distributions/SuSE/ftp.suse.com/suse/%SUBDIR%/ \ ftp://ftp.uniroma2.it/Linux/suse/pub/suse/%SUBDIR%/ \ ftp://ftp.riken.jp/Linux/suse/suse/%SUBDIR%/ \ ftp://ftp.kddilabs.jp/Linux/packages/SuSE/suse/%SUBDIR%/ \ ftp://ftp.novell.co.jp/pub/suse/suse/%SUBDIR%/ \ ftp://ftp.kreonet.re.kr/pub/Linux/suse/%SUBDIR%/ \ http://ftp.tpnet.pl/vol/d7/ftp.suse.com/%SUBDIR%/ \ ftp://ftp.icm.edu.pl/packages/linux-suse/%SUBDIR%/ \ http://ftp.idilis.ro/mirrors/ftp.suse.com/pub/suse/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/Linux/distributions/suse/suse/%SUBDIR%/ \ ftp://ftp.solnet.ch/mirror/SuSE/%SUBDIR%/ \ ftp://sunsite.cnlab-switch.ch/mirror/SuSE/suse/%SUBDIR%/ \ http://ftp.isu.edu.tw/pub/Linux/SuSE/%SUBDIR%/ \ ftp://ftp.kde.org/pub/suse/ftp.suse.com/suse/%SUBDIR%/ \ ftp://ftp.suse.com/pub/suse/%SUBDIR%/ \ ftp://ftp.softnet.tuc.gr/pub/linux/suse/suse/%SUBDIR%/ \ http://ftp.softnet.tuc.gr/pub/linux/suse/suse/%SUBDIR%/ \ ftp://ftp.is.co.za/linux/distributions/suse/%SUBDIR%/ \ http://ftp.sun.ac.za/ftp/mirrorsites/suse/%SUBDIR%/ \ ftp://ftp.rediris.es/pub/linux/distributions/suse/pub/suse/%SUBDIR%/ \ ftp://ftp.cb.spb.ru/.1/Linux-Distrib/Suse/%SUBDIR%/ \ ftp://ftp.neva.ru/.1/Linux-Distrib/Suse/%SUBDIR%/ \ ftp://ftp.chg.ru/pub/Linux/SuSE/suse/%SUBDIR%/ \ http://mirror.pacific.net.au/linux/suse/%SUBDIR%/ \ ftp://mirror.aarnet.edu.au/pub/suse/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_TCLTK) MASTER_SITE_TCLTK+= \ ftp://ftp.tcl.tk/pub/tcl/%SUBDIR%/ \ ftp://sunsite.utk.edu/pub/tcl/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/lang/tcl/ftp.scriptics.com/%SUBDIR%/ \ ftp://ftp.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/languages/tcl/tcl/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_TEX_CTAN) MASTER_SITE_TEX_CTAN+= \ ftp://ctan.unsw.edu.au/tex-archive/%SUBDIR%/ \ ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/CTAN/%SUBDIR%/ \ ftp://ctan.tug.org/tex-archive/%SUBDIR%/ \ ftp://ftp.dante.de/tex-archive/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,text/CTAN/&,} \ ftp://ftp.chg.ru/pub/TeX/CTAN/%SUBDIR%/ \ ftp://mirror.macomnet.net/pub/CTAN/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/TeX/CTAN/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_THEMES) MASTER_SITE_THEMES+= \ http://download.freshmeat.net/themes/%SUBDIR%/ \ ftp://gd.tuwien.ac.at/opsys/linux/freshmeat/themes/%SUBDIR%/ .endif # Derived from: https://www.torproject.org/getinvolved/mirrors.html.en .if !defined(IGNORE_MASTER_SITE_TOR) MASTER_SITE_TOR+= \ https://www.torproject.org/dist/%SUBDIR%/ \ https://archive.torproject.org/tor-package-archive/%SUBDIR%/ \ ftp://ftp.bit.nl/mirror/tor/%SUBDIR%/ \ http://cyberside.net.ee/tor/%SUBDIR%/ \ http://ftp.bit.nl/mirror/tor/%SUBDIR%/ \ http://mirror.hessmo.com/tor/dist/%SUBDIR%/ \ http://mirror.host4site.co.il/torproject.org/dist/%SUBDIR%/ \ http://mirror.open-networx.org/torproject.org/dist/%SUBDIR%/ \ http://mirror.tor.hu/dist/%SUBDIR%/ \ https://mirror.torland.me/torproject.org/dist/%SUBDIR%/ \ http://mirrors.chaos-darmstadt.de/tor-mirror/dist/%SUBDIR%/ \ http://theonionrouter.com/dist/%SUBDIR%/ \ http://tor.amorphis.eu/dist/%SUBDIR%/ \ http://tor.askapache.com/dist/%SUBDIR%/ \ http://tor.beme-it.de/dist/%SUBDIR%/ \ http://tor.borgmann.tv/dist/%SUBDIR%/ \ http://tor.ccc.de/dist/%SUBDIR%/ \ http://tor.cyberarmy.at/dist/%SUBDIR%/ \ http://tor.dont-know-me.at/dist/%SUBDIR%/ \ http://tor.factor.cc/dist/%SUBDIR%/ \ http://tor.homosu.net/dist/%SUBDIR%/ \ http://tor.idnr.ws/dist/%SUBDIR%/ \ http://tor.myrl.net/dist/%SUBDIR%/ \ http://tor.kamagurka.org/dist/%SUBDIR%/ \ http://tor.spline.de/dist/%SUBDIR%/ \ http://tor.vesta.nu/dist/%SUBDIR%/ \ http://torproj.xpdm.us/dist/%SUBDIR%/ \ https://torproject.antagonism.org/dist/%SUBDIR%/ \ https://torproject.crypto.is/dist/%SUBDIR%/ \ http://torproject.is/dist/%SUBDIR%/ \ http://torproject.nwlinux.us/dist/%SUBDIR%/ \ http://torproject.ph3x.at/dist/%SUBDIR%/ \ https://www.coevoet.nl/tor/dist/%SUBDIR%/ \ http://www.oignon.net/dist/%SUBDIR%/ \ http://www.torproject.nl/dist/%SUBDIR%/ \ http://www.torproject.org.nyud.net/dist/%SUBDIR%/ \ http://www.torproject.us/dist/%SUBDIR%/ \ http://www.torservers.net/mirrors/torproject.org/dist/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_TUCOWS) .for mirror in ankara blueyonder casemanl chariot clix dataphone dialog epix \ fastweb genotec hellasonline iinets inspirenet latvia mclink netvisao \ ns-linux nyi otenet personainternet pl-task ukms MASTER_SITE_TUCOWS+= \ http://${mirror}.linux.tucows.com/files/%SUBDIR%/ .endfor MASTER_SITE_TUCOWS+= \ http://www12.tucows.com/linux/files/%SUBDIR%/ \ http://linux.tucows.gunadarma.ac.id/files/%SUBDIR%/ .endif # List: http://www.vim.org/mirrors.php # Updated: 2015-01-03 # Please make sure mirrors end in /unix/ .if !defined(IGNORE_MASTER_SITE_VIM) MASTER_SITE_VIM+= \ http://mirrors-usa.go-parts.com/pub/vim/unix/ \ http://ftp2.uk.vim.org/pub/vim/unix/ \ http://ftp.vim.ossmirror.de/pub/vim/unix/ \ http://ftp.stust.edu.tw/vim/unix/ \ http://vim.cybermirror.org/unix/ \ http://www.netgull.com/vim/unix/ \ http://ftp2.jp.vim.org/pub/vim/unix/ \ http://mirrors.go-parts.com/pub/vim/unix/ \ http://artfiles.org/vim.org/unix/ \ http://ftp2.kr.vim.org/pub/vim/unix/ \ http://mirror.netinch.com/pub/vim/unix/ \ http://ftp.es.vim.org/pub/vim/unix/ \ http://ftp.gr.vim.org/pub/vim/unix/ \ http://tweedo.com/mirror/ftp.vim.org/unix/ \ http://mirrors-br.go-parts.com/pub/vim/unix/ \ http://ftp2.tw.vim.org/pub/vim/unix/ \ http://mirrors-au.go-parts.com/pub/vim/unix/ \ http://mirrors-uk.go-parts.com/pub/vim/unix/ \ http://ftp.tw.vim.org/pub/vim/unix/ \ http://funnyshare.org/mirrors/vim/unix/ \ http://mirrors-ru.go-parts.com/pub/vim/unix/ \ http://servingzone.com/mirrors/vim/unix/ \ http://ftp.ro.vim.org/mirrors/ftp.vim.org/unix/ \ http://vim.mirror.fr/unix/ .endif .if !defined(IGNORE_MASTER_SITE_WINDOWMAKER) MASTER_SITE_WINDOWMAKER+= \ ftp://ftp.windowmaker.info/pub/%SUBDIR%/ \ ftp://ftp.uvsq.fr/pub/X11/window-managers/windowmaker/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/X/WindowMaker/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_XCONTRIB) MASTER_SITE_XCONTRIB+= \ ftp://ftp.gwdg.de/pub/x11/x.org/contrib/%SUBDIR%/ \ ftp://ftp.x.org/contrib/%SUBDIR%/ \ ftp://ftp.sunet.se/pub/X11/ftp.x.org/contrib/%SUBDIR%/ \ ftp://ftp.dti.ad.jp/pub/X/XFree86/mirror/X.Org/contrib/%SUBDIR%/ \ ftp://ftp.kddlabs.co.jp/X11/ftp.x.org/contrib/%SUBDIR%/ \ ftp://ftp2.x.org/contrib/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,X/opengroup/contrib/&,} .endif .if !defined(IGNORE_MASTER_SITE_XEMACS) MASTER_SITE_XEMACS+= \ http://ftp.it.xemacs.org/%SUBDIR%/ \ http://ftp.pt.xemacs.org/%SUBDIR%/ \ http://xemacsftp.hkmirror.org/%SUBDIR%/ \ http://ftp.dti.ad.jp/pub/unix/editor/xemacs/%SUBDIR%/ \ http://ftp.xemacs.org/pub/xemacs/%SUBDIR%/ \ ftp://ftp.be.xemacs.org/xemacs/%SUBDIR%/ \ ftp://ftp.ch.xemacs.org/mirror/xemacs/%SUBDIR%/ \ ftp://ftp.de.xemacs.org/pub/ftp.xemacs.org/tux/xemacs/%SUBDIR%/ \ ftp://ftp.fi.xemacs.org/pub/mirrors/ftp.xemacs.org/pub/tux/xemacs/%SUBDIR%/ \ ftp://ftp.fr.xemacs.org/pub/xemacs/%SUBDIR%/ \ ftp://ftp.gr.xemacs.org/mirrors/XEmacs/ftp/%SUBDIR%/ \ ftp://ftp.heanet.ie/mirrors/ftp.xemacs.org/%SUBDIR%/ \ ftp://ftp.ie.xemacs.org/mirrors/ftp.xemacs.org/pub/xemacs/%SUBDIR%/ \ ftp://ftp.no.xemacs.org/pub/xemacs/%SUBDIR%/ \ ftp://ftp.pasteur.fr/pub/computing/xemacs/%SUBDIR%/ \ ftp://ftp.sa.xemacs.org/pub/xemacs.org/%SUBDIR%/ \ ftp://ftp.se.xemacs.org/pub/gnu/xemacs/%SUBDIR%/ \ ftp://ftp.tw.xemacs.org/Unix/Editors/XEmacs/%SUBDIR%/ \ ftp://ftp.uk.xemacs.org/sites/ftp.xemacs.org/pub/xemacs/%SUBDIR%/ \ ftp://ftp.yz.yamagata-u.ac.jp/pub/misc/xemacs/%SUBDIR%/ \ ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,text/xemacs/&,} .endif .if !defined(IGNORE_MASTER_SITE_XFCE) MASTER_SITE_XFCE+= \ http://mirror.perldude.de/archive.xfce.org/%SUBDIR%/ \ http://mirror.netcologne.de/xfce/%SUBDIR%/ \ http://ftp.udc.es/xfce/%SUBDIR%/ \ http://xfce.mirror.uber.com.au/%SUBDIR%/ \ http://archive.be.xfce.org/%SUBDIR%/ \ http://archive.be2.xfce.org/%SUBDIR%/ \ http://archive.al-us.xfce.org/%SUBDIR%/ \ http://mirrors.tummy.com/pub/archive.xfce.org/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_XORG) MASTER_SITE_XORG+= \ http://xorg.freedesktop.org/releases/%SUBDIR%/ \ http://xorg.mirrors.pair.com/%SUBDIR%/ \ http://mirror.us.leaseweb.net/xorg/%SUBDIR%/ \ http://mirror.csclub.uwaterloo.ca/x.org/%SUBDIR%/ \ http://artfiles.org/x.org/pub/%SUBDIR%/ \ http://ftp.gwdg.de/pub/x11/x.org/pub/%SUBDIR%/ \ http://gd.tuwien.ac.at/X11/%SUBDIR%/ \ http://mi.mirror.garr.it/mirrors/x.org/%SUBDIR%/ \ http://mirror.switch.ch/ftp/mirror/X11/pub/%SUBDIR%/ \ http://mirrors.ircam.fr/pub/x.org/%SUBDIR%/ \ http://www.mirrorservice.org/sites/ftp.x.org/pub/%SUBDIR%/ \ http://www.portal-to-web.de/pub/mirrors/x.org/%SUBDIR%/ \ http://x.cybermirror.org/%SUBDIR%/ \ http://x.europnews.de/pub/%SUBDIR%/ \ http://xorg.mirror.solnet.ch/pub/%SUBDIR%/ \ http://mirror.nl.leaseweb.net/xorg/%SUBDIR%/ \ http://mirror.de.leaseweb.net/xorg/%SUBDIR%/ \ http://mirrors.go-part.com/xorg/%SUBDIR%/ \ http://ftp.yz.yamagata-u.ac.jp/pub/X11/x.org/%SUBDIR%/ \ http://ftp.kaist.ac.kr/x.org/%SUBDIR%/ .endif .if !defined(IGNORE_MASTER_SITE_KERNEL_ORG) MASTER_SITE_KERNEL_ORG+= \ https://www.kernel.org/pub/%SUBDIR%/ \ ftp://ftp.ntu.edu.tw/%SUBDIR%/ \ http://ftp.sunet.se/pub/Linux/kernel.org/%SUBDIR%/ \ http://ftp.yandex.ru/pub/%SUBDIR%/ \ http://ftp.heanet.ie/pub/%SUBDIR%/ \ http://slackware.cs.utah.edu/pub/kernel.org/pub/%SUBDIR%/ .endif # Macro magic MASTER_SITES_ABBREVS= CPAN:PERL_CPAN \ GH:GITHUB \ GHC:GITHUB_CLOUD \ + GHL:GITHUB_LEGACY \ GHR:GITHUB_RELEASE \ LODEV:LIBREOFFICE_DEV \ NL:NETLIB \ SF:SOURCEFORGE \ SFJP:SOURCEFORGE_JP \ RG:RUBYGEMS MASTER_SITES_SUBDIRS= APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \ BERLIOS:${PORTNAME:tl}.berlios \ CENKES:myports \ CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/} \ CSME:myports \ DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \ GCC:releases/${DISTNAME} \ - GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \ + GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/ \ GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \ + GITHUB_LEGACY:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \ GITHUB_RELEASE:${GH_ACCOUNT}/${GH_PROJECT}/archive/${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}?dummy=/ \ GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \ GIMP:${PORTNAME}/${PORTVERSION:R}/ \ GNU:${PORTNAME} \ GNU_ALPHA:${PORTNAME} \ HORDE:${PORTNAME} \ LOGILAB:${PORTNAME} \ LIBREOFFICE_DEV:${PORTNAME} \ MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \ MOZDEV:${PORTNAME:tl} \ NETLIB:${PORTNAME} \ PERL_CPAN:${PORTNAME:C/-.*//} \ PNET:${PNET_MASTER_SITE_SUBDIR} \ RUBY_DBI:${RUBY_DBI_MASTER_SITE_SUBDIR} \ RUBY_GNOME:${RUBY_GNOME_MASTER_SITE_SUBDIR} \ SAVANNAH:${PORTNAME:tl} \ SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} .if defined(MASTER_SITES) && ${MASTER_SITES:N*\:/*} .for _site__ in ${MASTER_SITES} _site_=${_site__} . if ${_site_:M*\:/*} MASTER_SITES_EXP+= ${_site_} MASTER_SITES_EXP:= ${MASTER_SITES_EXP} . else _site_urlpath_= ${_site_:C@^(.*):[^/:]+$@\1@} . if ${_site_urlpath_:M*/*} _site_url_= ${_site_urlpath_:C@^([^/]+)/.*$@\1@} _site_subdir_= ${_site_urlpath_:S/^${_site_urlpath_:C@^([^/]+)/.*$@\1@}//:S!^/!!:S!/$!!} . else _site_url_= ${_site_urlpath_} .undef _site_subdir_ . endif _site_group_= ${_site_:S/^${_site_:C@^(.*):[^/:]+$@\1@}//:S/^://} . for _abbrev_ in ${MASTER_SITES_ABBREVS} . if ${_site_url_} == ${_abbrev_:C/:.*//} _site_url_= ${_abbrev_:C/.*://} . endif . endfor . for _subdir_ in ${MASTER_SITES_SUBDIRS} . if ${_site_url_} == ${_subdir_:C/:.*//} && !defined(MASTER_SITE_SUBDIR) _site_subdir_?= ${_subdir_:C/.*://} . endif . endfor . ifdef MASTER_SITE_${_site_url_} . ifdef _site_subdir_ MASTER_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S^%SUBDIR%^${_site_subdir_}^:S/$/:${_site_group_}/:S/:$//} . else MASTER_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S/$/:${_site_group_}/:S/:$//} . endif MASTER_SITES_EXP:= ${MASTER_SITES_EXP} . endif . endif .endfor MASTER_SITES= ${MASTER_SITES_EXP} .endif .if defined(PATCH_SITES) && ${PATCH_SITES:N*\:/*} .for _site__ in ${PATCH_SITES} _site_=${_site__} . if ${_site_:M*\:/*} PATCH_SITES_EXP+= ${_site_} PATCH_SITES_EXP:= ${PATCH_SITES_EXP} . else _site_urlpath_= ${_site_:C@^(.*):[^/:]+$@\1@} . if ${_site_urlpath_:M*/*} _site_url_= ${_site_urlpath_:C@^([^/]+)/.*$@\1@} _site_subdir_= ${_site_urlpath_:S/^${_site_urlpath_:C@^([^/]+)/.*$@\1@}//:S!^/!!:S!/$!!} . else _site_url_= ${_site_urlpath_} .undef _site_subdir_ . endif _site_group_= ${_site_:S/^${_site_:C@^(.*):[^/:]+$@\1@}//:S/^://} . for _abbrev_ in ${MASTER_SITES_ABBREVS} . if ${_site_url_} == ${_abbrev_:C/:.*//} _site_url_= ${_abbrev_:C/.*://} . endif . endfor . for _subdir_ in ${MASTER_SITES_SUBDIRS} . if ${_site_url_} == ${_subdir_:C/:.*//} && !defined(MASTER_SITE_SUBDIR) _site_subdir_?= ${_subdir_:C/.*://} . endif . endfor . ifdef MASTER_SITE_${_site_url_} . ifdef _site_subdir_ PATCH_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S^%SUBDIR%^${_site_subdir_}^:S/$/:${_site_group_}/:S/:$//} . else PATCH_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S/$/:${_site_group_}/:S/:$//} . endif PATCH_SITES_EXP:= ${PATCH_SITES_EXP} . endif . endif .endfor PATCH_SITES= ${PATCH_SITES_EXP} .endif Index: head/archivers/snappy-java/Makefile =================================================================== --- head/archivers/snappy-java/Makefile (revision 381617) +++ head/archivers/snappy-java/Makefile (revision 381618) @@ -1,60 +1,60 @@ # Created by: Radim Kolar # $FreeBSD$ # Note to committers: # With each version update, a new maven repository must be created and distributed # so build is repeatable and cluster-safe. PORTNAME= snappy PORTVERSION= 1.0.4.1 PORTREVISION= 1 CATEGORIES= archivers java -MASTER_SITES= GITHUB:source1 \ +MASTER_SITES= GITHUB_LEGACY:source1 \ http://snappy.googlecode.com/files/:source2 \ LOCAL/jgh/archivers/${PORTNAME}/:source3 PKGNAMESUFFIX= java DISTFILES+= snappy-${PORTVERSION}.tar.gz:source1 \ snappy-${PORTVERSION:R}.tar.gz:source2 \ FreeBSD-snappy-${PORTVERSION}-maven-repository.tar.gz:source3 EXTRACT_ONLY= snappy-${PORTVERSION}.tar.gz \ FreeBSD-snappy-${PORTVERSION}-maven-repository.tar.gz MAINTAINER= hsn@sendmail.cz COMMENT= Fast compressor/decompressor library LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/share/java/maven3/bin/mvn:${PORTSDIR}/devel/maven3 GH_ACCOUNT= xerial GH_PROJECT= snappy-java GH_TAGNAME= snappy-java-${PORTVERSION} GH_COMMIT= 487f82d USE_GITHUB= yes USE_JAVA= yes JAVA_VERSION= 1.7 USES= gmake USE_LDCONFIG= yes MAKE_ARGS+= Default_CXX=${CXX} PLIST_FILES= %%JAVAJARDIR%%/snappy-java.jar lib/libsnappyjava.so post-patch: @${REINPLACE_CMD} -e 's|curl.*||g ; \ s|MVN:=mvn|MVN:=mvn -Dmaven.repo.local=${WRKDIR}/repository --offline|g' \ ${WRKSRC}/Makefile do-build: @${MKDIR} ${WRKSRC}/target @${CP} ${DISTDIR}/snappy-${PORTVERSION:R}.tar.gz ${WRKSRC}/target/ cd ${WRKSRC} && ${SETENV} JAVA_HOME=${JAVA_HOME} \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/repository --offline test do-install: ${INSTALL_DATA} ${WRKSRC}/target/snappy-java-${PORTVERSION}.jar \ ${STAGEDIR}${JAVAJARDIR}/snappy-java.jar ${INSTALL_LIB} ${WRKSRC}/target/snappy-${PORTVERSION:R}-Default/libsnappyjava.so \ ${STAGEDIR}${LOCALBASE}/lib .include Index: head/astro/gpscorrelate/Makefile =================================================================== --- head/astro/gpscorrelate/Makefile (revision 381617) +++ head/astro/gpscorrelate/Makefile (revision 381618) @@ -1,59 +1,59 @@ # Created by: Lukas Maly # $FreeBSD$ PORTNAME= gpscorrelate PORTVERSION= 1.6.1 PORTREVISION= 3 CATEGORIES= astro geography -MASTER_SITES= GH +MASTER_SITES= GHL DIST_SUBDIR= repacked MAINTAINER= ports@FreeBSD.org COMMENT= Correlate digital camera photos with GPS data in GPX format LICENSE= GPLv2 LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 \ libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 USES= gmake pkgconfig USE_GNOME= libxml2 USE_GITHUB= yes GH_ACCOUNT= freefoote GH_COMMIT= a36646b PLIST_FILES= bin/gpscorrelate bin/gpscorrelate-gui \ man/man1/gpscorrelate.1.gz man/man1/gpscorrelate-gui.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS|#CFLAGS| ; \ s|^override CFLAGS|override IFLAGS| ; \ s|gtk+-2.0)|gtk+-2.0 exiv2)| ; \ s|-I/usr/include/exiv2|| ; \ s|-lexiv2|| ; \ /^all:/s|gpscorrelate.1|| ; \ s|g++ $$(OFLAGS)|$$(CXX) $$(OFLAGS)| ; \ s|g++ $$(CFLAGS)|$$(CXX) $$(CXXFLAGS) $$(IFLAGS)| ; \ s|gcc $$(CFLAGS)|$$(CC) $$(CFLAGS) $$(IFLAGS)|' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate-gui ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/gpscorrelate.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 ${LN} -sf gpscorrelate.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/gpscorrelate-gui.1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/RELEASES ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}/html .include Index: head/audio/hydrogen/Makefile =================================================================== --- head/audio/hydrogen/Makefile (revision 381617) +++ head/audio/hydrogen/Makefile (revision 381618) @@ -1,70 +1,70 @@ # Created by: Jean-Yves Lefort # $FreeBSD$ PORTNAME= hydrogen PORTVERSION= 0.9.6.1 CATEGORIES= audio -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= FreeBSD@ShaneWare.Biz COMMENT= Advanced drum machine LICENSE= GPLv2 LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile CONFLICTS= hydrogen-devel-0.* USE_GITHUB= yes GH_ACCOUNT= hydrogen-music GH_PROJECT= hydrogen GH_TAGNAME= 0.9.6.1 GH_COMMIT= 71ec7c5 USE_QT4= corelib gui qmake_build linguist_build moc_build network \ qt3support rcc_build sql uic_build xml USES= cmake:outsource desktop-file-utils pkgconfig CMAKE_ARGS+= -DTHREADS_HAVE_PTHREAD_ARG:BOOL=ON -DWANT_DEBUG:BOOL=OFF \ -DLIBSNDFILE_INCLUDE_DIR:STRING=${LOCALBASE}/include \ -DWANT_OSS:BOOL=ON USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= ALSA JACK LADSPA LASH PORTAUDIO PULSEAUDIO RDF OPTIONS_DEFAULT= JACK LADSPA RDF ALSA_CMAKE_ON= -DWANT_ALSA:BOOL=ON ALSA_CMAKE_OFF= -DWANT_ALSA:BOOL=OFF ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:${PORTSDIR}/audio/alsa-plugins JACK_CMAKE_ON= -DWANT_JACK:BOOL=ON -DWANT_JACKSESSION:BOOL=ON JACK_CMAKE_OFF= -DWANT_JACK:BOOL=OFF -DWANT_JACKSESSION:BOOL=OFF JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack LADSPA_CMAKE_ON= -DWANT_LADSPA:BOOL=ON \ -DLADSPA_LIBRARIES:STRING=${LOCALBASE}/lib/ladspa LADSPA_CMAKE_OFF= -DWANT_LADSPA:BOOL=OFF LADSPA_BUILD_DEPENDS= ladspa>=0:${PORTSDIR}/audio/ladspa LADSPA_RUN_DEPENDS= analyseplugin:${PORTSDIR}/audio/ladspa LASH_CMAKE_ON= -DWANT_LASH:BOOL=ON LASH_CMAKE_OFF= -DWANT_LASH:BOOL=OFF LASH_LIB_DEPENDS= liblash.so:${PORTSDIR}/audio/lash PORTAUDIO_CMAKE_ON= -DWANT_PORTAUDIO:BOOL=ON \ -DPORTAUDIO_LIBRARIES:STRING=${LOCALBASE}/lib/portaudio2/libportaudio.so PORTAUDIO_CMAKE_OFF= -DWANT_PORTAUDIO:BOOL=OFF PORTAUDIO_LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 PULSEAUDIO_CMAKE_ON= -DWANT_PULSEAUDIO:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DWANT_PULSEAUDIO:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio RDF_DESC= RDF File support RDF_CMAKE_ON= -DWANT_LRDF:BOOL=ON \ -DLRDF_INCLUDE_DIR:STRING=${LOCALBASE}/include/raptor2 RDF_CMAKE_OFF= -DWANT_LRDF:BOOL=OFF RDF_LIB_DEPENDS= liblrdf.so:${PORTSDIR}/textproc/liblrdf .include Index: head/audio/hydrogen-devel/Makefile =================================================================== --- head/audio/hydrogen-devel/Makefile (revision 381617) +++ head/audio/hydrogen-devel/Makefile (revision 381618) @@ -1,87 +1,87 @@ # Created by: Shane Ambler # $FreeBSD$ PORTNAME= hydrogen-devel PORTVERSION= 0.9.6r2 PORTREVISION= 1 CATEGORIES= audio -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= FreeBSD@ShaneWare.Biz COMMENT= Advanced drum machine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= hydrogen-0.* LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile \ libtar.so:${PORTSDIR}/devel/libtar USE_GITHUB= yes GH_ACCOUNT= hydrogen-music GH_PROJECT= hydrogen GH_TAGNAME= 0.9.6-RC2 GH_COMMIT= 2ff9010 MAJORVERSION= 0.9.6 USE_QT4= corelib gui qmake_build linguist_build moc_build network \ qt3support rcc_build sql uic_build xml USES= cmake:outsource desktop-file-utils pkgconfig CMAKE_ARGS+= -DTHREADS_HAVE_PTHREAD_ARG:BOOL=ON -DWANT_DEBUG:BOOL=OFF \ -DLIBSNDFILE_INCLUDE_DIR:STRING=${LOCALBASE}/include USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= ALSA JACK LADSPA LASH LIBARCHIVE OSS PORTAUDIO RDF RUBBERBAND OPTIONS_DEFAULT= JACK LADSPA LIBARCHIVE OSS RDF ALSA_CMAKE_ON= -DWANT_ALSA:BOOL=ON ALSA_CMAKE_OFF= -DWANT_ALSA:BOOL=OFF ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:${PORTSDIR}/audio/alsa-plugins JACK_CMAKE_ON= -DWANT_JACK:BOOL=ON -DWANT_JACKSESSION:BOOL=ON JACK_CMAKE_OFF= -DWANT_JACK:BOOL=OFF -DWANT_JACKSESSION:BOOL=OFF JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack LADSPA_CMAKE_ON= -DWANT_LADSPA:BOOL=ON \ -DLADSPA_LIBRARIES:STRING=${LOCALBASE}/lib/ladspa LADSPA_CMAKE_OFF= -DWANT_LADSPA:BOOL=OFF LADSPA_BUILD_DEPENDS= ladspa>=0:${PORTSDIR}/audio/ladspa LADSPA_RUN_DEPENDS= analyseplugin:${PORTSDIR}/audio/ladspa LASH_CMAKE_ON= -DWANT_LASH:BOOL=ON \ -DLASH_INCLUDE_DIR:STRING=${LOCALBASE}/include/lash-1.0 LASH_CMAKE_OFF= -DWANT_LASH:BOOL=OFF LASH_LIB_DEPENDS= liblash.so:${PORTSDIR}/audio/lash LIBARCHIVE_DESC= LibArchive support LIBARCHIVE_CMAKE_ON= -DWANT_LIBARCHIVE:BOOL=ON LIBARCHIVE_CMAKE_OFF= -DWANT_LIBARCHIVE:BOOL=OFF LIBARCHIVE_LIB_DEPENDS= libarchive.so:${PORTSDIR}/archivers/libarchive OSS_CMAKE_ON= -DWANT_OSS:BOOL=ON OSS_CMAKE_OFF= -DWANT_OSS:BOOL=OFF PORTAUDIO_CMAKE_ON= -DWANT_PORTAUDIO:BOOL=ON \ -DPORTAUDIO_INCLUDE_DIR:STRING=${LOCALBASE}/include/portaudio2 \ -DPORTAUDIO_LIBRARIES:STRING=${LOCALBASE}/lib/portaudio2/libportaudio.so PORTAUDIO_CMAKE_OFF= -DWANT_PORTAUDIO:BOOL=OFF PORTAUDIO_LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 RDF_DESC= RDF File support RDF_CMAKE_ON= -DWANT_LRDF:BOOL=ON RDF_CMAKE_OFF= -DWANT_LRDF:BOOL=OFF RDF_LIB_DEPENDS= liblrdf.so:${PORTSDIR}/textproc/liblrdf RDF_CXXFLAGS= -I${LOCALBASE}/include/raptor2 # using librubberband is experimental and current versions have bad timing # installing the rubberband cli tool still works as before RUBBERBAND_DESC= librubberband for time stretching RUBBERBAND_CMAKE_ON= -DWANT_RUBBERBAND:BOOL=ON \ -DRUBBERBAND_INCLUDE_DIR:STRING=${LOCALBASE}/include/rubberband RUBBERBAND_CMAKE_OFF= -DWANT_RUBBERBAND:BOOL=OFF RUBBERBAND_LIB_DEPENDS= librubberband.so:${PORTSDIR}/audio/rubberband .include Index: head/audio/id3ren/Makefile =================================================================== --- head/audio/id3ren/Makefile (revision 381617) +++ head/audio/id3ren/Makefile (revision 381618) @@ -1,39 +1,39 @@ # Created by: Joao Carlos Mendes Luis # $FreeBSD$ PORTNAME= id3ren PORTVERSION= 1.1b0 CATEGORIES= audio -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= crees@FreeBSD.org COMMENT= Rename MP3 files, edit tags, search, etc LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= sebcode GH_TAGNAME= 322ee77 GH_COMMIT= 322ee77 PLIST_FILES= bin/id3ren man/man1/id3ren.1.gz PORTDOCS= AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \ README THANKS TODO USAGE OPTIONS_DEFINE= DOCS pre-patch: @${REINPLACE_CMD} -e 's,,,' \ ${WRKSRC}/src/id3ren.c ${WRKSRC}/src/id3misc.c ${RM} ${WRKSRC}/src/id3ren do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1.gz \ ${STAGEDIR}${PREFIX}/man/man1/ post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/audio/nekobee/Makefile =================================================================== --- head/audio/nekobee/Makefile (revision 381617) +++ head/audio/nekobee/Makefile (revision 381618) @@ -1,46 +1,46 @@ # Created by: trasz # $FreeBSD$ PORTNAME= nekobee PORTVERSION= 0.1.8 PORTREVISION= 3 CATEGORIES= audio -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= DSSI plugin that emulates the sound of the TB-303 Bassline LICENSE= GPLv2 # (or later) BUILD_DEPENDS= ${LOCALBASE}/include/dssi.h:${PORTSDIR}/audio/dssi LIB_DEPENDS= libdssialsacompat.so:${PORTSDIR}/audio/libdssialsacompat \ liblo.so:${PORTSDIR}/audio/liblo \ libjack.so:${PORTSDIR}/audio/jack USE_GITHUB= yes GH_ACCOUNT= gordonjcp GH_COMMIT= 3f4737f USES= pkgconfig USE_GNOME= gtk20 CPPFLAGS+= -I${LOCALBASE}/include/dssi -I${LOCALBASE}/include post-patch: @${REINPLACE_CMD} -e \ '/LINKFLAGS/s|^|#|' ${WRKSRC}/wscript do-configure: @(cd ${WRKSRC} && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" \ CPPFLAGS="${CPPFLAGS}" LINKFLAGS="-lm" \ ./waf configure --prefix=${PREFIX}) do-build: @(cd ${WRKSRC} && ./waf build -vvv -j${MAKE_JOBS_NUMBER}) do-install: @(cd ${WRKSRC} && ./waf install --destdir=${STAGEDIR}) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/nekobee/nekobee_gtk .include Index: head/audio/soundkonverter/Makefile =================================================================== --- head/audio/soundkonverter/Makefile (revision 381617) +++ head/audio/soundkonverter/Makefile (revision 381618) @@ -1,118 +1,118 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= soundkonverter DISTVERSION= 2.1.2 CATEGORIES= audio kde -MASTER_SITES= GH LOCAL/dbn/${PORTNAME} +MASTER_SITES= GHL LOCAL/dbn/${PORTNAME} MAINTAINER= dbn@FreeBSD.org COMMENT= Frontend to various audio converters (transcoder) LICENSE= GPLv3 LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \ libcdda_paranoia.so:${PORTSDIR}/audio/cdparanoia GH_ACCOUNT= HessiJames GH_TAGNAME= v${DISTVERSION} GH_COMMIT= 405363b USES= cmake compiler:c++11-lang USE_GITHUB= yes USE_QT4= moc_build qmake_build rcc_build uic_build USE_KDE4= automoc4 kdeprefix kdelibs libkcddb INSTALLS_ICONS= yes WRKSRC_SUBDIR= src OPTIONS_DEFAULT= VORBISTOOLS 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 MUSEPACK 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:${PORTSDIR}/audio/aften AACGAIN_DESC= AAC audio replaygain AACGAIN_RUN_DEPENDS= aacgain:${PORTSDIR}/audio/aacgain CDPARANOIA_DESC= CD ripping support (cdparanoia - implicit) CDRKIT_DESC= CD ripping support (cdrkit) CDRKIT_RUN_DEPENDS= icedax:${PORTSDIR}/sysutils/cdrkit FAAC_RUN_DEPENDS= faac:${PORTSDIR}/audio/faac \ faad:${PORTSDIR}/audio/faad FFMPEG_RUN_DEPENDS= ffmpeg:${PORTSDIR}/multimedia/ffmpeg FLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac FLAKE_DESC= FLAC audio codec FLAKE_RUN_DEPENDS= flake:${PORTSDIR}/audio/flake FLUIDSYNTH_DESC= SoundFont 2 audio codec FLUIDSYNTH_RUN_DEPENDS= fluidsynth:${PORTSDIR}/audio/fluidsynth LAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame LIBAV_DESCR= LibAV support (WMA, AIFF, AC3, APE...) LIBAV_RUN_DEPENDS= avconv:${PORTSDIR}/multimedia/libav MAC_DESC= Monkey's Audio lossless codec MAC_RUN_DEPENDS= mac:${PORTSDIR}/audio/mac MP3GAIN_DESC= MP3 audio replaygain MP3GAIN_RUN_DEPENDS= mp3gain:${PORTSDIR}/audio/mp3gain MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer MUSEPACK_RUN_DEPENDS= mpcenc:${PORTSDIR}/audio/musepack NEROAAC_DESC= Nero AAC MPEG-3 and 3GPP audio codec NEROAAC_RUN_DEPENDS= neroAacEnc:${PORTSDIR}/audio/linux-neroaaccodec NORMALIZE_DESC= MP3/Ogg Vorbis audio filter and replaygain NORMALIZE_RUN_DEPENDS= normalize:${PORTSDIR}/audio/normalize OPUSTOOLS_DESC= Opus audio codec OPUSTOOLS_RUN_DEPENDS= opusenc:${PORTSDIR}/audio/opus-tools SHORTEN_DESC= Shorten (lossless) audio codec SHORTEN_RUN_DEPENDS= shorten:${PORTSDIR}/audio/shorten SOX_DESC= Universal sound sample translator SOX_RUN_DEPENDS= sox:${PORTSDIR}/audio/sox SPEEX_RUN_DEPENDS= speexenc:${PORTSDIR}/audio/speex TIMIDITY_DESC= MIDI audio decoder TIMIDITY_RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity TTA_RUN_DEPENDS= ttaenv:${PORTSDIR}/audio/tta TWOLAME_RUN_DEPENDS= twolame:${PORTSDIR}/audio/twolame VORBISGAIN_DESC= Ogg Vorbis audio replaygain VORBISGAIN_RUN_DEPENDS= vorbisgain:${PORTSDIR}/audio/vorbisgain VORBIS_RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools WAVPACK_RUN_DEPENDS= wavpack:${PORTSDIR}/audio/wavpack NLS_USES= gettext NLS_CMAKE_OFF= -DBUILD_po=FALSE .include Index: head/cad/openvsp/Makefile =================================================================== --- head/cad/openvsp/Makefile (revision 381617) +++ head/cad/openvsp/Makefile (revision 381618) @@ -1,52 +1,52 @@ # Created by: Fernando Apesteguia # $FreeBSD$ PORTNAME= openvsp PORTVERSION= 2.3.0 PORTREVISION= 3 CATEGORIES= cad -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= fernando.apesteguia@gmail.com COMMENT= Create a 3D model of an aircraft defined by engineering parameters LICENSE= NOSA13 LICENSE_NAME= NASA Open Source Agreement version 1.3 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:${PORTSDIR}/graphics/opennurbs LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libdrm.so:${PORTSDIR}/graphics/libdrm \ libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfltk.so:${PORTSDIR}/x11-toolkits/fltk USE_GITHUB= yes GH_PROJECT= OpenVSP GH_ACCOUNT= ${GH_PROJECT} GH_TAGNAME= ${GH_PROJECT}_${PORTVERSION} GH_COMMIT= 568c424 CMAKE_SOURCE_PATH= ${WRKSRC}/src USES= cmake:outsource dos2unix iconv USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \ xinerama xrender xxf86vm USE_GL= glu USE_GNOME= libxml2 CFLAGS+= -I${LOCALBASE}/include/openNURBS PLIST_FILES= bin/vsp PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/vsp/vsp ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/comms/lysdr/Makefile =================================================================== --- head/comms/lysdr/Makefile (revision 381617) +++ head/comms/lysdr/Makefile (revision 381618) @@ -1,34 +1,34 @@ # $FreeBSD$ PORTNAME= lysdr PORTVERSION= 0.0.6 PORTREVISION= 1 CATEGORIES= comms hamradio -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= shurd@FreeBSD.org COMMENT= Lysdr SDR program for Unix LICENSE= GPLv2 LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \ libjack.so:${PORTSDIR}/audio/jack WRKSRC= ${WRKDIR}/gordonjcp-lysdr-46d31fe USE_GITHUB= yes GH_ACCOUNT= gordonjcp GH_COMMIT= 46d31fe GH_TAGNAME= stable-0 USES= pkgconfig USE_GNOME= gtk20 PLIST_FILES= bin/lysdr post-patch: ${CP} ${FILESDIR}/Makefile ${WRKSRC} ${CP} ${FILESDIR}/cexp.c ${WRKSRC} do-install: @${INSTALL_PROGRAM} ${WRKSRC}/lysdr ${STAGEDIR}${PREFIX}/bin/lysdr .include Index: head/databases/pg_activity/Makefile =================================================================== --- head/databases/pg_activity/Makefile (revision 381617) +++ head/databases/pg_activity/Makefile (revision 381618) @@ -1,32 +1,32 @@ # Created by: Jason Helfman # $FreeBSD$ PORTNAME= pg_activity PORTVERSION= 1.2.0 CATEGORIES= databases python -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= jgh@FreeBSD.org COMMENT= Htop like application for PostgreSQL server activity monitoring LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:${PORTSDIR}/databases/py-psycopg2 \ ${PYTHON_PKGNAMEPREFIX}psutil>=0:${PORTSDIR}/sysutils/py-psutil OPTIONS_DEFINE= DOCS USE_GITHUB= yes GH_ACCOUNT= julmon GH_TAGNAME= v${PORTVERSION} GH_COMMIT= 3b6b371 USES= python:2.6+ USE_PYTHON= autoplist distutils noegginfo PYDISTUTILS_INSTALLARGS= --with-man post-patch: ${REINPLACE_CMD} -e 's|\/usr\/share|${MAN1PREFIX}|g' \ ${WRKSRC}/setup.py .include Index: head/databases/php5-tarantool/Makefile =================================================================== --- head/databases/php5-tarantool/Makefile (revision 381617) +++ head/databases/php5-tarantool/Makefile (revision 381618) @@ -1,29 +1,29 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= tarantool PORTVERSION= ${TR_VER} CATEGORIES= databases -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMEPREFIX= php5- DISTFILES= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= vg@FreeBSD.org COMMENT= PECL PHP driver for Tarantool/Box USE_GITHUB= yes USE_PHP= yes USE_PHPEXT= yes USE_PHPIZE= yes DEFAULT_PHP_VER=5 PHP_MODNAME= ${PORTNAME} GH_PROJECT= ${PORTNAME}-php GH_ACCOUNT= tarantool GH_COMMIT= d88ac7b GH_TAGNAME= ${GH_COMMIT} TR_VER= 20131031 CONFIGURE_ARGS+= --with-tarantool .include Index: head/devel/caf/Makefile =================================================================== --- head/devel/caf/Makefile (revision 381617) +++ head/devel/caf/Makefile (revision 381618) @@ -1,62 +1,62 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= actor-framework PORTVERSION= 0.13 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= vallentin@icir.org COMMENT= C++ actor framework LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE CXXFLAGS+= -std=c++11 -Wextra -Wall -pedantic LDFLAGS+= -pthread USES= compiler:c++11-lang cmake:outsource USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_COMMIT= 4b1b1ad OPTIONS_DEFINE= DEBUG TEST STATIC OPTIONS_RADIO= LOG_LEVEL OPTIONS_RADIO_LOG_LEVEL= LOG_LEVEL_ERROR LOG_LEVEL_WARN LOG_LEVEL_INFO LOG_LEVEL_DEBUG LOG_LEVEL_TRACE OPTIONS_DEFAULT= TEST OPTIONS_SUB= yes TEST_DESC= Build with unit tests STATIC_DESC= Additionally build static version of library LOG_LEVEL_ERROR= Use log level ERROR for console output LOG_LEVEL_WARN= Use log level WARN for console output LOG_LEVEL_INFO= Use log level INFO for console output LOG_LEVEL_DEBUG= Use log level DEBUG for console output LOG_LEVEL_TRACE= Use log level TRACE for console output # Until we cannot automatically disentangle examples from other binaries, we do # not support an EXAMPLES option. We also disable a few components that are # still quite experimental. CMAKE_ARGS+= -DCAF_NO_EXAMPLES:BOOL=yes -DCAF_NO_OPENCL:BOOL=yes DEBUG_CMAKE_ON= -DCAF_ENABLE_RUNTIME_CHECKS:BOOL=yes STATIC_CMAKE_ON= -DCAF_BUILD_STATIC:BOOL=yes TEST_CMAKE_OFF= -DCAF_NO_UNIT_TESTS:BOOL=yes LOG_LEVEL_ERROR_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=0 LOG_LEVEL_WARN_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=1 LOG_LEVEL_INFO_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=2 LOG_LEVEL_DEBUG_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=3 LOG_LEVEL_TRACE_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=4 .include .if ${PORT_OPTIONS:MTEST} regression-test: build @cd ${BUILD_WRKSRC} && ${MAKE} test .endif .if ${OSVERSION} < 1001000 BROKEN= require clang & libc++ .endif .include Index: head/devel/chruby/Makefile =================================================================== --- head/devel/chruby/Makefile (revision 381617) +++ head/devel/chruby/Makefile (revision 381618) @@ -1,32 +1,32 @@ # Created by: Ross Timson # $FreeBSD$ PORTNAME= chruby PORTVERSION= 0.3.8 CATEGORIES= devel ruby -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ross@rosstimson.com COMMENT= Changes the current Ruby LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= bash:${PORTSDIR}/shells/bash PLIST_FILES= bin/chruby-exec share/chruby/auto.sh share/chruby/chruby.sh SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= postmodern GH_COMMIT= b529bf2 GH_TAGNAME= v${PORTVERSION} NO_BUILD= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/chruby-exec ${STAGEDIR}${PREFIX}/bin ( cd ${WRKSRC}/share/chruby && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/share/chruby ) .include Index: head/devel/gitolite/Makefile =================================================================== --- head/devel/gitolite/Makefile (revision 381617) +++ head/devel/gitolite/Makefile (revision 381618) @@ -1,75 +1,75 @@ # $FreeBSD$ PORTNAME= gitolite PORTVERSION= 3.6.1 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel -MASTER_SITES= GH \ +MASTER_SITES= GHL \ LOCAL/milki \ LOCAL/tdb DISTNAME= g-${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT} MAINTAINER= milki@FreeBSD.org COMMENT= Access control layer on top of git LICENSE= GPLv2 RUN_DEPENDS= git>=0:${PORTSDIR}/devel/git \ p5-JSON>=0:${PORTSDIR}/converters/p5-JSON USE_GITHUB= yes GH_ACCOUNT= sitaramc GH_COMMIT= 3455375 GH_TAGNAME= ${GH_COMMIT} CONFLICTS= gitolite-[^3]* USES= perl5 SUB_FILES= pkg-message OPTIONS_DEFINE= GITUSER DOCS GITUSER_DESC= Create git user as gitolite provider .include .if ${PORT_OPTIONS:MGITUSER} USERS= git GROUPS= ${USERS} PLIST_SUB+= GITUSER="" .else PLIST_SUB+= GITUSER="@comment " .endif post-patch: @${FIND} ${WRKSRC} \ -exec ${GREP} -qs \#\!/usr/bin/perl {} \; \ -exec ${REINPLACE_CMD} -Ee 's|#!/usr/bin/perl|#!${PERL}|' {} \; @${FIND} ${WRKSRC} \ -exec ${GREP} -qs \#\!/bin/bash {} \; \ -exec ${REINPLACE_CMD} -Ee 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' {} \; do-build: echo "v${PORTVERSION}-0-g${GH_COMMIT}" > ${WRKSRC}/src/VERSION ${MKDIR} ${WRKSRC}/lib ${MV} ${WRKSRC}/src/lib/Gitolite ${WRKSRC}/lib/ ${RMDIR} ${WRKSRC}/src/lib ${MV} ${WRKSRC}/check-g2-compat ${WRKSRC}/src/ ${MV} ${WRKSRC}/convert-gitosis-conf ${WRKSRC}/src/ post-build: ${FIND} ${WRKSRC} -name "*.bak" -delete ${FIND} ${WRKSRC} -name "*.orig" -delete do-install: (cd ${WRKSRC}/src && ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/libexec/gitolite) (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} Gitolite ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/) ${LN} -s ${PREFIX}/libexec/gitolite/gitolite ${STAGEDIR}${PREFIX}/bin/gitolite ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} .include Index: head/devel/gitolite2/Makefile =================================================================== --- head/devel/gitolite2/Makefile (revision 381617) +++ head/devel/gitolite2/Makefile (revision 381618) @@ -1,99 +1,99 @@ # $FreeBSD$ PORTNAME= gitolite PORTVERSION= 2.3.1 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= GH \ +MASTER_SITES= GHL \ LOCAL/milki \ LOCAL/tdb PKGNAMESUFFIX= 2 DISTNAME= g-${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT} MAINTAINER= milki@FreeBSD.org COMMENT= Access control layer on top of git LICENSE= GPLv2 RUN_DEPENDS= git>=0:${PORTSDIR}/devel/git USE_GITHUB= yes GH_ACCOUNT= sitaramc GH_COMMIT= 912a8bd GH_TAGNAME= ${GH_COMMIT} CONFLICTS= gitolite-[^2]* USES= perl5 shebangfix SHEBANG_FILES= hooks/common/update \ src/gl-admin-push \ src/gl-auth-command \ src/gl-compile-conf \ src/gl-conf-convert \ src/gl-dryrun \ src/gl-install \ src/gl-mirror-push \ src/gl-mirror-shell \ src/gl-query-rc \ src/gl-setup \ src/gl-setup-authkeys \ src/gl-time \ src/gl-tool \ src/sshkeys-lint SUB_FILES= pkg-message OPTIONS_DEFINE= GITUSER GITUSER_DESC= Create git user as gitolite provider .include .if ${PORT_OPTIONS:MGITUSER} USERS= git GROUPS= ${USERS} PLIST_SUB+= GITUSER="" .else PLIST_SUB+= GITUSER="@comment " .endif GLAUTHCOMMAND= \ \#!/bin/sh\n \ exec ${PREFIX}/libexec/gitolite/gl-auth-command \"\$$@\"\n GLSETUP= \ \#!/bin/sh\n \ exec ${PREFIX}/libexec/gitolite/gl-setup \"\$$@\"\n post-patch: @${ECHO} -e "${GLAUTHCOMMAND}" > ${WRKDIR}/auth-command @${ECHO} -e "${GLSETUP}" > ${WRKDIR}/setup do-build: echo "v${PORTVERSION}-0-g${GH_COMMIT}" > ${WRKSRC}/conf/VERSION -@${RM} ${WRKSRC}/src/gl-system-install @${REINPLACE_CMD} \ -E 's%^GL_PACKAGE_CONF=.*%GL_PACKAGE_CONF=${DATADIR}/conf;%' \ ${WRKSRC}/src/gl-setup @${REINPLACE_CMD} \ -E "s%^[[:blank:]]*\\\$$GL_PACKAGE_CONF[[:blank:]]*=.*%\$$GL_PACKAGE_CONF = '${DATADIR}/conf';%" \ ${WRKSRC}/conf/example.gitolite.rc @${REINPLACE_CMD} \ -E "s%^[[:blank:]]*\\\$$GL_PACKAGE_HOOKS[[:blank:]]*=.*%\$$GL_PACKAGE_HOOKS = '${DATADIR}/hooks';%" \ ${WRKSRC}/conf/example.gitolite.rc post-build: @${FIND} ${WRKSRC} -name "*.bak" -delete @${FIND} ${WRKSRC} -name "*.orig" -delete do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gitolite ${INSTALL_SCRIPT} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/libexec/gitolite/ ${MKDIR} ${STAGEDIR}${DATADIR}/conf ${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${DATADIR}/conf ${MKDIR} ${STAGEDIR}${DATADIR}/hooks (cd ${WRKSRC}/hooks && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/hooks) ${INSTALL_SCRIPT} ${WRKDIR}/auth-command ${STAGEDIR}${PREFIX}/bin/gl-auth-command ${INSTALL_SCRIPT} ${WRKDIR}/setup ${STAGEDIR}${PREFIX}/bin/gl-setup .include Index: head/devel/go-flags/Makefile =================================================================== --- head/devel/go-flags/Makefile (revision 381617) +++ head/devel/go-flags/Makefile (revision 381618) @@ -1,25 +1,25 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= flags PORTVERSION= 1.0.0.20140623 CATEGORIES= devel -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMEPREFIX= go- MAINTAINER= knu@FreeBSD.org COMMENT= Go command line option parser LICENSE= BSD3CLAUSE USE_GITHUB= yes GH_ACCOUNT= jessevdk GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME} GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 7047cf7 GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/go-json-rest/Makefile =================================================================== --- head/devel/go-json-rest/Makefile (revision 381617) +++ head/devel/go-json-rest/Makefile (revision 381618) @@ -1,29 +1,29 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= go-json-rest PORTVERSION= 1.0.0 PORTEPOCH= 1 CATEGORIES= devel -MASTER_SITES= GH GHC \ +MASTER_SITES= GHL \ http://mirrors.rit.edu/zi/ MAINTAINER= lattera@gmail.com COMMENT= Quick and easy way to setup a RESTful JSON API USE_GITHUB= yes GH_ACCOUNT= ant0ine GH_TAGNAME= v${PORTVERSION} GH_PROJECT= ${PORTNAME} GH_COMMIT= 91c5416 GO_PKGNAME= github.com/ant0ine/go-json-rest post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${GO_LIBDIR}/${GO_PKGNAME} @${INSTALL_DATA} ${GO_WRKDIR_PKG}/${GO_PKGNAME}/trie.a \ ${STAGEDIR}${PREFIX}/${GO_LIBDIR}/${GO_PKGNAME} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/go-raw/Makefile =================================================================== --- head/devel/go-raw/Makefile (revision 381617) +++ head/devel/go-raw/Makefile (revision 381618) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= raw PORTVERSION= 0.0.0.20130328 CATEGORIES= devel -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMEPREFIX= go- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Go library for high-level interface to unsafe and reflection packages #LICENSE= MIT based, but with no-evil clause USE_GITHUB= yes GH_ACCOUNT= feyeleanor GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 724aedf GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/go-runewidth/Makefile =================================================================== --- head/devel/go-runewidth/Makefile (revision 381617) +++ head/devel/go-runewidth/Makefile (revision 381618) @@ -1,25 +1,25 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= runewidth PORTVERSION= 0.0.0.20140715 CATEGORIES= devel -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMEPREFIX= go- MAINTAINER= knu@FreeBSD.org COMMENT= Go library to get the fixed width of a character or string LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= mattn GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME} GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 36f63b8 GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/go-slices/Makefile =================================================================== --- head/devel/go-slices/Makefile (revision 381617) +++ head/devel/go-slices/Makefile (revision 381618) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= slices PORTVERSION= 0.0.0.20130325 CATEGORIES= devel -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMEPREFIX= go- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Go library for slice-based datatypes #LICENSE= MIT based, with no-evli clause BUILD_DEPENDS= go-raw>0:${PORTSDIR}/devel/go-raw USE_GITHUB= yes GH_ACCOUNT= feyeleanor GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= bb44bb2 GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/go-sql-driver/Makefile =================================================================== --- head/devel/go-sql-driver/Makefile (revision 381617) +++ head/devel/go-sql-driver/Makefile (revision 381618) @@ -1,23 +1,23 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= go-sql-driver PORTVERSION= 1.1 CATEGORIES= devel -MASTER_SITES= GH GHC \ +MASTER_SITES= GHL \ http://mirrors.rit.edu/zi/ MAINTAINER= lattera@gmail.com COMMENT= Lightweight and fast MySQL driver for go USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_TAGNAME= v${PORTVERSION} GH_PROJECT= mysql GH_COMMIT= 9a7aa36 GO_PKGNAME= github.com/${PORTNAME}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/go-termbox/Makefile =================================================================== --- head/devel/go-termbox/Makefile (revision 381617) +++ head/devel/go-termbox/Makefile (revision 381618) @@ -1,27 +1,27 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= termbox PORTVERSION= 0.0.0.20140715 CATEGORIES= devel -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMEPREFIX= go- MAINTAINER= knu@FreeBSD.org COMMENT= Pure Go termbox implementation LICENSE= MIT BUILD_DEPENDS= ${LOCALBASE}/${GO_LIBDIR}/github.com/mattn/go-runewidth.a:${PORTSDIR}/devel/go-runewidth USE_GITHUB= yes GH_ACCOUNT= nsf GH_PROJECT= ${PORTNAME}-go GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= e9227d6 GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/jna/Makefile =================================================================== --- head/devel/jna/Makefile (revision 381617) +++ head/devel/jna/Makefile (revision 381618) @@ -1,62 +1,62 @@ # $FreeBSD$ PORTNAME= jna PORTVERSION= 4.1.0 CATEGORIES= devel java -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= olgeni@FreeBSD.org COMMENT= Java access to native shared libraries USES= gmake USE_ANT= yes USE_JAVA= yes USE_XORG= x11 xt MAKE_ARGS= -DCC="${CC}" -DLD="${LD}" MAKE_ENV+= ANT_OPTS=-Drelease -DARCH=${ANT_ARCH} USE_GITHUB= yes GH_ACCOUNT= twall GH_TAG= ${PORTVERSION} GH_COMMIT= c490fc9 PLIST_FILES= %%JAVAJARDIR%%/jna-platform.jar \ %%JAVAJARDIR%%/jna.jar OPTIONS_DEFINE= DOCS .include .if ${PORT_OPTIONS:MDOCS} PORTDOCS= javadoc platform-${PORTVERSION}-javadoc.jar .endif .if ${ARCH} == "i386" ANT_ARCH= x86 .elif ${ARCH} == "amd64" ANT_ARCH= x86-64 .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/native/Makefile post-build-script: .if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${ANT} javadoc .endif do-install: ${INSTALL_DATA} ${WRKSRC}/build/freebsd-${ANT_ARCH}.jar \ ${STAGEDIR}${JAVAJARDIR}/jna-platform.jar ${INSTALL_DATA} ${WRKSRC}/build/jna.jar \ ${STAGEDIR}${JAVAJARDIR}/jna.jar .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && \ ${COPYTREE_SHARE} javadoc ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/dist/platform-${PORTVERSION}-javadoc.jar \ ${STAGEDIR}${DOCSDIR} .endif .include Index: head/devel/leiningen/Makefile =================================================================== --- head/devel/leiningen/Makefile (revision 381617) +++ head/devel/leiningen/Makefile (revision 381618) @@ -1,40 +1,40 @@ # $FreeBSD$ PORTNAME= leiningen PORTVERSION= 2.5.1 CATEGORIES= devel lisp java -MASTER_SITES= GITHUB:source1 \ +MASTER_SITES= GITHUB_LEGACY:source1 \ https://github.com/technomancy/leiningen/releases/download/${PORTVERSION}/:source2 DISTFILES= leiningen-${PORTVERSION}.tar.gz:source1 \ leiningen-${PORTVERSION}-standalone.zip:source2 EXTRACT_ONLY= leiningen-${PORTVERSION}.tar.gz MAINTAINER= rpaulo@FreeBSD.org COMMENT= Automate Clojure projects LICENSE= EPL USE_GITHUB= yes GH_ACCOUNT= technomancy GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 7228d5a USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash PLIST_FILES= bin/lein \ %%JAVAJARDIR%%/leiningen.jar post-patch: ${REINPLACE_CMD} -e "s|/bin/bash|${PREFIX}/bin/bash|" \ -e "s|LEIN_JAR=.*|LEIN_JAR=${JAVAJARDIR}/leiningen.jar|" \ ${WRKSRC}/bin/lein-pkg do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/lein-pkg ${STAGEDIR}${PREFIX}/bin/lein ${INSTALL_DATA} ${DISTDIR}/leiningen-${PORTVERSION}-standalone.zip ${STAGEDIR}${JAVAJARDIR}/leiningen.jar .include Index: head/devel/libcfu/Makefile =================================================================== --- head/devel/libcfu/Makefile (revision 381617) +++ head/devel/libcfu/Makefile (revision 381618) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= libcfu DISTVERSION= 0.04a PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= crees@FreeBSD.org COMMENT= Simple library of tools for developing multithreaded software LICENSE= BSD3CLAUSE USE_GITHUB= yes GH_ACCOUNT= crees GH_COMMIT= 947dba4 GH_TAGNAME= 947dba4 USES= makeinfo pkgconfig pathfix libtool PATHFIX_MAKEFILEIN= Makefile.am USE_AUTOTOOLS= autoconf autoheader automake aclocal libtoolize AUTOMAKE_ARGS= --add-missing INFO= ${PORTNAME} .include Index: head/devel/libdouble-conversion/Makefile =================================================================== --- head/devel/libdouble-conversion/Makefile (revision 381617) +++ head/devel/libdouble-conversion/Makefile (revision 381618) @@ -1,25 +1,25 @@ # Created by: Waitman Gobble # $FreeBSD$ PORTNAME= libdouble-conversion PORTVERSION= 1.1.1 PORTREVISION= 2 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= waitman@waitman.net COMMENT= Binary-decimal and decimal-binary routines for IEEE doubles LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= waitman GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= e9b9e5a .include Index: head/devel/libfortuna/Makefile =================================================================== --- head/devel/libfortuna/Makefile (revision 381617) +++ head/devel/libfortuna/Makefile (revision 381618) @@ -1,21 +1,21 @@ # Created by: "Waitman Gobble" # $FreeBSD$ PORTNAME= libfortuna PORTVERSION= 0.1.0 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= waitman@waitman.net COMMENT= Fortuna PRNG Library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= waitman GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 4a52e16 .include Index: head/devel/libtpl/Makefile =================================================================== --- head/devel/libtpl/Makefile (revision 381617) +++ head/devel/libtpl/Makefile (revision 381618) @@ -1,40 +1,40 @@ # Created by: Frederic Culot # $FreeBSD$ PORTNAME= libtpl PORTVERSION= 1.6 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= culot@FreeBSD.org COMMENT= Tpl is a library for serializing C data OPTIONS_DEFINE= DOCS LICENSE= GPLv3 MIT LICENSE_COMB= multi USES= libtool tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= waitman GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 8fa17e5 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shared USE_LDCONFIG= yes PLIST_FILES= lib/libtpl.a lib/libtpl.so \ lib/libtpl.so.0 lib/libtpl.so.0.0.0 \ include/tpl.h PORTDOCS= ChangeLog.txt examples.txt userguide.txt compiling.txt post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/devel/meck/Makefile =================================================================== --- head/devel/meck/Makefile (revision 381617) +++ head/devel/meck/Makefile (revision 381618) @@ -1,39 +1,39 @@ # $FreeBSD$ PORTNAME= meck PORTVERSION= 0.8.2 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= olgeni@FreeBSD.org COMMENT= Erlang library for building mock modules LICENSE= APACHE20 BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \ rebar:${PORTSDIR}/devel/rebar RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang PLIST_SUB= VERSION="${PORTVERSION}" USES= gmake USE_GITHUB= yes GH_ACCOUNT= eproxus GH_PROJECT= meck GH_COMMIT= 3599670 GH_TAGNAME= ${PORTVERSION} PORTDOCS= * .include do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/ebin ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/meck-${PORTVERSION}/src .include Index: head/devel/mongo-c-driver/Makefile =================================================================== --- head/devel/mongo-c-driver/Makefile (revision 381617) +++ head/devel/mongo-c-driver/Makefile (revision 381618) @@ -1,36 +1,36 @@ # Created by: "Waitman Gobble" # $FreeBSD$ PORTNAME= mongo-c-driver PORTVERSION= 0.7.1 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMESUFFIX= -devel DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} MAINTAINER= waitman@waitman.net COMMENT= C Driver for MongoDB USE_GITHUB= yes GH_ACCOUNT= mongodb GH_PROJECT= mongo-c-driver GH_TAGNAME= v0.7.1 GH_COMMIT= g98826a WRKSRC= ${WRKDIR}/mongodb-mongo-c-driver-17ff925 USES= gmake USE_LDCONFIG= yes PLIST_FILES= include/mongo.h \ include/bson.h \ lib/libmongoc.a \ lib/libmongoc.so.0.7 \ lib/libmongoc.so.0.7.1 \ lib/libmongoc.so \ lib/libbson.a \ lib/libbson.so.0.7.1 \ lib/libbson.so.0.7 \ lib/libbson.so .include Index: head/devel/ocaml-lacaml/Makefile =================================================================== --- head/devel/ocaml-lacaml/Makefile (revision 381617) +++ head/devel/ocaml-lacaml/Makefile (revision 381618) @@ -1,59 +1,59 @@ # Created by: Stanislav Sedov # $FreeBSD$ PORTNAME= lacaml PORTVERSION= 7.1.3 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= OCaml interface to BLAS and LAPACK libraries LICENSE= LGPL21 USE_GITHUB= yes GH_ACCOUNT= mmottl GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${PORTVERSION:S/^/v/} GH_COMMIT= 7731438 USE_OCAML= yes USE_OCAML_FINDLIB=yes USE_OCAMLFIND_PLIST=yes USE_OCAML_LDCONFIG=yes USE_OCAML_WASH= yes OCAMLFIND_LDCONF=ignore USES= blaslapack fortran HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs --disable-examples \ --override conf_ccopt "${CFLAGS}" \ --override conf_cclib "${LDFLAGS:S,^.*[[:space:]],,}" MAKE_JOBS_UNSAFE=yes CFLAGS+= -fPIC -DEXTERNAL_EXP10 LDFLAGS+= -L${LOCALBASE}/lib ${BLASLIB} ${LAPACKLIB} DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS.txt CHANGES.txt README.md TODO.md (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/lacaml/*.cmxs @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/lacaml/*.so .include Index: head/devel/ocaml-opam/Makefile =================================================================== --- head/devel/ocaml-opam/Makefile (revision 381617) +++ head/devel/ocaml-opam/Makefile (revision 381618) @@ -1,72 +1,72 @@ # Created by: J. Giovannangeli # $FreeBSD$ PORTNAME= opam PORTVERSION= 1.2.0 CATEGORIES= devel MASTER_SITES= http://ocaml-extlib.googlecode.com/files/:extlib \ https://github.com/ocaml/ocaml-re/archive/:ocamlre \ http://erratique.ch/software/cmdliner/releases/:cmdliner \ http://ocamlgraph.lri.fr/download/:ocamlgraph \ https://gforge.inria.fr/frs/download.php/file/33593/:cudf \ https://gforge.inria.fr/frs/download.php/file/33677/:dose \ http://erratique.ch/software/uutf/releases/:uutf \ http://erratique.ch/software/jsonm/releases/:jsonm \ - GH:gh + GHL:gh PKGNAMEPREFIX= ocaml- DISTFILES= ${OPAM_EXT_DIST} \ ${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}.tar.gz:gh EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}.tar.gz MAINTAINER= joris@giovannangeli.fr COMMENT= Source-based package manager for OCaml LICENSE= GPLv3 BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl USE_GITHUB= yes GH_ACCOUNT= ocaml GH_PROJECT= opam GH_TAGNAME= 1.2.0 GH_COMMIT= cbe460b USES= gmake USE_OCAML= yes GNU_CONFIGURE= yes MAKE_ENV+= TERM=xterm ALL_TARGET= lib-ext all man OPAM_EXT_DIST= extlib-1.5.3.tar.gz:extlib \ ocaml-re-1.2.0.tar.gz:ocamlre \ cmdliner-0.9.4.tbz:cmdliner \ ocamlgraph-1.8.5.tar.gz:ocamlgraph \ cudf-0.7.tar.gz:cudf \ dose3-3.2.2.tar.gz:dose \ uutf-0.9.3.tbz:uutf \ jsonm-0.9.1.tbz:jsonm \ OPTIONS_DEFINE= RSYNC GIT WGET HG DARCS ASPCUD OPTIONS_DEFAULT= RSYNC GIT WGET RSYNC_DESC= "Support remote repository synchronized with Rsync" WGET_DESC= "Support remote repository synchronized with git" GIT_DESC= "Support remote repository synchronized with HTTP" HG_DESC= "Support remote repository synchronized with mercurial" DARCS_DESC= "Support remote repository synchronized with darcs" ASPCUD_DESC= "Use aspcud as an external dependencies solver" WGET_RUN_DEPENDS:= wget:${PORTSDIR}/ftp/wget RSYNC_RUN_DEPENDS:= rsync:${PORTSDIR}/net/rsync GIT_RUN_DEPENDS:= git:${PORTSDIR}/devel/git HG_RUN_DEPENDS:= hg:${PORTSDIR}/devel/mercurial DARCS_RUN_DEPENDS:= darcs:${PORTSDIR}/devel/hs-darcs ASPCUD_RUN_DEPENDS:= aspcud:${PORTSDIR}/math/aspcud MAKE_JOBS_UNSAFE= yes post-extract: ${INSTALL} ${OPAM_EXT_DIST:C/:.*$//:S/^/${DISTDIR}\//} \ ${WRKSRC}/src_ext/ .include Index: head/devel/py-cclib/Makefile =================================================================== --- head/devel/py-cclib/Makefile (revision 381617) +++ head/devel/py-cclib/Makefile (revision 381618) @@ -1,26 +1,26 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= cclib PORTVERSION= 1.2 CATEGORIES= devel python -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= robak@FreeBSD.org COMMENT= Parsers And Algorithms For Computational Chemistry LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} USE_GITHUB= yes GH_ACCOUNT= cclib GH_COMMIT= 4f5cee7 GH_TAGNAME= ${GH_COMMIT} USES= python USE_PYTHON= autoplist distutils .include Index: head/devel/pymacs/Makefile =================================================================== --- head/devel/pymacs/Makefile (revision 381617) +++ head/devel/pymacs/Makefile (revision 381618) @@ -1,38 +1,38 @@ # Created by: mwm@mired.org # $FreeBSD$ PORTNAME= Pymacs PORTVERSION= 0.25 PORTREVISION= 1 CATEGORIES= devel editors python elisp -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Python package for scripting emacs LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= pinard GH_TAGNAME= ${PORTVERSION:S/^/v/} GH_COMMIT= 5989046 USES= python USE_EMACS= yes USE_PYTHON= distutils pre-configure: @(cd ${WRKSRC}; \ ${PYTHON_CMD} pppp -C ppppconfig.py Pymacs.py.in \ pppp.rst.in pymacs.el.in pymacs.rst.in \ contrib tests) post-build: (cd ${WRKSRC} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \ -f batch-byte-compile pymacs.el) post-install: (cd ${WRKSRC} && ${INSTALL_DATA} pymacs.el pymacs.elc \ ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}) .include Index: head/devel/qross/Makefile =================================================================== --- head/devel/qross/Makefile (revision 381617) +++ head/devel/qross/Makefile (revision 381618) @@ -1,40 +1,40 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= qross PORTVERSION= 0.3.1 PORTREVISION= 2 CATEGORIES= devel -MASTER_SITES= GH GHC +MASTER_SITES= GHL MAINTAINER= vg@FreeBSD.org COMMENT= Qt-only fork of Kross, the KDE scripting framework USES= cmake tar:bzip2 USE_LDCONFIG= yes USE_QT4= designer gui network xml qmake_build uic_build moc_build \ rcc_build script testlib USE_GITHUB= yes GH_ACCOUNT= 0xd34df00d GH_PROJECT= Qross GH_COMMIT= 82e1fd2 WRKSRC_SUBDIR= src OPTIONS_DEFINE= PYTHON OPTIONS_SUB= yes PYTHON_DESC= Python bindings PYTHON_CMAKE_ON= -DENABLE_PYTHON:BOOL=true PYTHON_CMAKE_OFF= -DENABLE_PYTHON:BOOL=false PYTHON_BUILD_DEPENDS= sip:${PORTSDIR}/devel/py-sip OPTIONS_DEFAULT=PYTHON post-extract: @${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC} post-install: .for lib in libqrossui libqrosscore qrossqts @${LN} -s ${lib}.so.0.1 ${STAGEDIR}${PREFIX}/lib/${lib}.so.1 .endfor .include Index: head/devel/rbenv/Makefile =================================================================== --- head/devel/rbenv/Makefile (revision 381617) +++ head/devel/rbenv/Makefile (revision 381618) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= rbenv PORTVERSION= 0.4.0 PORTREVISION= 2 CATEGORIES= devel ruby -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= meta+ports@vmeta.jp COMMENT= Manage multiple versions of ruby LICENSE= MIT RUN_DEPENDS= bash:${PORTSDIR}/shells/bash USE_GITHUB= yes GH_ACCOUNT= sstephenson GH_PROJECT= rbenv GH_COMMIT= 9375e99 GH_TAGNAME= v${PORTVERSION} NO_BUILD= yes REINPLACE_ARGS= -i '' post-patch: @${REINPLACE_CMD} -e "s|\$$root/completions|${DATADIR}/completions|g" ${WRKSRC}/libexec/rbenv-init do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/ruby-local-exec ${STAGEDIR}${PREFIX}/bin ( ${INSTALL_SCRIPT} ${WRKSRC}/libexec/* ${STAGEDIR}${PREFIX}/libexec/ ) @${LN} -sf ${PREFIX}/libexec/rbenv ${STAGEDIR}${PREFIX}/bin/rbenv @${MKDIR} ${STAGEDIR}${DATADIR}/completions ( cd ${WRKSRC}/completions && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/completions ) .include Index: head/devel/sigar/Makefile =================================================================== --- head/devel/sigar/Makefile (revision 381617) +++ head/devel/sigar/Makefile (revision 381618) @@ -1,25 +1,25 @@ # Created by: Tom Judge # $FreeBSD$ PORTNAME= sigar PORTVERSION= 1.7.3 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= tj@FreeBSD.org COMMENT= Sigar system information API LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/NOTICE USE_GITHUB= yes GH_ACCOUNT= amishHammer GH_COMMIT= b5af695 GH_TAGNAME= ${GH_COMMIT} GNU_CONFIGURE= yes USES= autoreconf libtool pkgconfig INSTALL_TARGET= install-strip .include Index: head/devel/uthash/Makefile =================================================================== --- head/devel/uthash/Makefile (revision 381617) +++ head/devel/uthash/Makefile (revision 381618) @@ -1,41 +1,41 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= uthash PORTVERSION= 1.9.8p2 CATEGORIES= devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= zi@FreeBSD.org COMMENT= hash table for C structures LICENSE= BSD1CLAUSE LICENSE_NAME= BSD 1-Clause License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept OPTIONS_DEFINE= DOCS USES= tar:bzip2 NO_BUILD= yes USE_GITHUB= yes GH_ACCOUNT= troydhanson GH_COMMIT= d10c46a GH_TAGNAME= ${GH_COMMIT} PORTDOCS= ChangeLog.txt todo.txt userguide.txt utarray.txt \ utlist.txt utstring.txt PLIST_FILES= include/utarray.h include/uthash.h include/utlist.h \ include/utstring.h do-install: @${INSTALL_DATA} ${WRKSRC}/src/utarray.h \ ${WRKSRC}/src/uthash.h \ ${WRKSRC}/src/utlist.h \ ${WRKSRC}/src/utstring.h ${STAGEDIR}${PREFIX}/include/ @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/dns/bundy/Makefile =================================================================== --- head/dns/bundy/Makefile (revision 381617) +++ head/dns/bundy/Makefile (revision 381618) @@ -1,59 +1,59 @@ # Created by: Jeremy C. Reed # $FreeBSD$ PORTNAME= bundy PORTVERSION= 0.20150304 CATEGORIES= dns -MASTER_SITES= GH GHC LOCAL/mat/bundy +MASTER_SITES= GHL LOCAL/mat/bundy MAINTAINER= mat@FreeBSD.org COMMENT= Bundy DNS server suite LICENSE= ISC LICENSE_GROUPS= FSF GPL OSI LICENSE_NAME= ISC License LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${LOCALBASE}/include/boost/interprocess/sync/interprocess_upgradable_mutex.hpp:${PORTSDIR}/devel/boost-libs \ ${LOCALBASE}/include/log4cplus/logger.h:${PORTSDIR}/devel/log4cplus \ sqlite3>=3.3.9:${PORTSDIR}/databases/sqlite3 \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 LIB_DEPENDS= libbotan-1.10.so:${PORTSDIR}/security/botan110 \ liblog4cplus.so:${PORTSDIR}/devel/log4cplus \ libicuuc.so:${PORTSDIR}/devel/icu \ libgmp.so:${PORTSDIR}/math/gmp \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 USE_GITHUB= yes GH_ACCOUNT= bundy-dns GH_COMMIT= 97ac840 GH_TAGNAME= ${GH_COMMIT} USE_OPENSSL= yes USES= compiler:c++11-lang pathfix pkgconfig libtool python:3 autoreconf USE_LDCONFIG= yes PATHFIX_MAKEFILEIN= Makefile.am GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var \ --without-werror \ --enable-install-configurations OPTIONS_DEFINE= DOCS PLIST_SUB= PYTHON_SUFFIX=cpython-${PYTHON_SUFFIX} post-install: ${MV} ${STAGEDIR}${ETCDIR}/cmdctl-certfile.pem ${STAGEDIR}${ETCDIR}/cmdctl-certfile.pem.sample ${MV} ${STAGEDIR}${ETCDIR}/cmdctl-keyfile.pem ${STAGEDIR}${ETCDIR}/cmdctl-keyfile.pem.sample .include .if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT} IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} .endif .include Index: head/dns/fpdns/Makefile =================================================================== --- head/dns/fpdns/Makefile (revision 381617) +++ head/dns/fpdns/Makefile (revision 381618) @@ -1,26 +1,26 @@ # Created by: Edwin Groothuis # $FreeBSD$ PORTNAME= fpdns PORTVERSION= 0.10.0.${GH_TAGNAME} PORTREVISION= 1 CATEGORIES= dns net perl5 -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Fingerprinting DNS servers LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-Net-DNS>0:${PORTSDIR}/dns/p5-Net-DNS USE_GITHUB= yes GH_ACCOUNT= kirei GH_COMMIT= 23eb0bf GH_TAGNAME= 20130404 USES= perl5 USE_PERL5= configure .include Index: head/emulators/qemu-sbruno/Makefile =================================================================== --- head/emulators/qemu-sbruno/Makefile (revision 381617) +++ head/emulators/qemu-sbruno/Makefile (revision 381618) @@ -1,304 +1,304 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= qemu PORTVERSION= 2.2.50.g20150310 PORTREVISION= 1 CATEGORIES= emulators -MASTER_SITES= GH GHC \ +MASTER_SITES= GHL \ LOCAL/nox \ LOCAL/nox:dtc \ http://people.freebsd.org/~nox/tmp/distfiles/ \ http://people.freebsd.org/~nox/tmp/distfiles/:dtc PKGNAMESUFFIX?= -sbruno DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ dtc-v1.4.0${EXTRACT_SUFX}:dtc DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= nox@FreeBSD.org COMMENT?= QEMU CPU Emulator - github bsd-user branch USE_GITHUB= yes GH_ACCOUNT= seanbruno GH_PROJECT= ${PORTNAME}-bsd-user GH_COMMIT= 6b9c0c2 GH_TAGNAME= ${GH_COMMIT} HAS_CONFIGURE= yes USES= gmake pkgconfig bison perl5 python:2,build USE_PERL5= build USE_XORG= pixman USE_GNOME+= glib20 PATCH_STRIP= -p1 MAKE_ENV+= BSD_MAKE="${MAKE}" ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 # XXX someone wants to debug sparc64 hosts? OPTIONS_DEFINE= SAMBA X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CURL \ CDROM_DMA PCAP USBREDIR X86_TARGETS BSD_USER \ STATIC_LINK DOCS SAMBA_DESC= samba dependency (for -smb) GNUTLS_DESC= gnutls dependency (vnc encryption) SASL_DESC= cyrus-sasl dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) PNG_DESC= png dependency (vnc compression) CDROM_DMA_DESC= IDE CDROM DMA PCAP_DESC= pcap dependency (networking with bpf) USBREDIR_DESC= usb device network redirection (experimental!) X86_TARGETS_DESC= Don't build non-x86 system targets BSD_USER_DESC= Also build bsd-user targets (for testing) STATIC_LINK_DESC= Statically link the executables OPTIONS_DEFAULT=X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP .if !defined(QEMU_USER_STATIC) CONFLICTS_INSTALL= qemu-[0-9]* qemu-devel-* .endif .if defined(QEMU_USER_STATIC) .if exists(/usr/sbin/binmiscctl) USE_RC_SUBR= qemu_user_static SUB_LIST= NAME=qemu_user_static .endif .endif .include CONFIGURE_ARGS+= --localstatedir=/var CONFIGURE_ARGS+= --extra-ldflags=-L${LOCALBASE}/lib CONFIGURE_ARGS+= --disable-smartcard-nss --disable-libssh2 PORTDOCS= docs qemu-doc.html qemu-tech.html qmp-commands.txt .if defined(QEMU_USER_STATIC) .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .else CONFIGURE_ARGS+= --target-list=i386-bsd-user,x86_64-bsd-user,sparc-bsd-user,sparc64-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,mips64-bsd-user,mips64el-bsd-user,ppc-bsd-user,ppc64-bsd-user,aarch64-bsd-user .endif .else .if ${PORT_OPTIONS:MX86_TARGETS} .if ${PORT_OPTIONS:MBSD_USER} .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .else CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,i386-bsd-user,x86_64-bsd-user,sparc-bsd-user,sparc64-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,mips64-bsd-user,mips64el-bsd-user,ppc-bsd-user,ppc64-bsd-user,aarch64-bsd-user .endif .else CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu .endif .else .if empty(PORT_OPTIONS:MBSD_USER) CONFIGURE_ARGS+= --disable-bsd-user .else .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,aarch64-softmmu,alpha-softmmu,arm-softmmu,cris-softmmu,lm32-softmmu,m68k-softmmu,microblaze-softmmu,microblazeel-softmmu,mips-softmmu,mipsel-softmmu,mips64-softmmu,mips64el-softmmu,or32-softmmu,ppc-softmmu,ppcemb-softmmu,ppc64-softmmu,sh4-softmmu,sh4eb-softmmu,sparc-softmmu,sparc64-softmmu,s390x-softmmu,xtensa-softmmu,xtensaeb-softmmu,unicore32-softmmu,moxie-softmmu,i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .endif .endif .endif .endif .if empty(PORT_OPTIONS:MBSD_USER) PLIST_SUB+= BSD_USER="@comment " .else PLIST_SUB+= BSD_USER="" .if ${ARCH} == "sparc64" IGNORE= bsd-user targets not tested on sparc64 .endif .endif .if empty(PORT_OPTIONS:MBSD_USER) || ${ARCH} != "amd64" PLIST_SUB+= BSD_USER64="@comment " .else PLIST_SUB+= BSD_USER64="" .endif .if ${PORT_OPTIONS:MX86_TARGETS} PLIST_SUB+= NONX86="@comment " .else PLIST_SUB+= NONX86="" .endif .if defined(QEMU_USER_STATIC) PLIST_SUB+= SOFTMMU="@comment " PLIST_SUB+= STATIC="-static" .else PLIST_SUB+= SOFTMMU="" PLIST_SUB+= STATIC="" .endif #.if ${PORT_OPTIONS:MGNS3} #EXTRA_PATCHES+= ${FILESDIR}/hw_e1000_c.patch #.endif WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} --enable-docs \ --disable-linux-user --disable-linux-aio \ --disable-kvm --disable-xen \ --smbd=${LOCALBASE}/sbin/smbd \ --enable-debug \ --enable-debug-info \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"${PREFIX}\\\" .if empty(PORT_OPTIONS:MX11) CONFIGURE_ARGS+= --disable-sdl .else CONFIGURE_ARGS+= --enable-sdl USE_SDL= sdl .endif .if empty(PORT_OPTIONS:MGTK2) CONFIGURE_ARGS+= --disable-gtk --disable-vte PLIST_SUB+= GTK2="@comment " .else USE_GNOME+= gtk20 vte USES+= gettext PLIST_SUB+= GTK2="" .endif .if empty(PORT_OPTIONS:MGNUTLS) CONFIGURE_ARGS+= --disable-vnc-tls .else LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls .endif .if empty(PORT_OPTIONS:MSASL) CONFIGURE_ARGS+= --disable-vnc-sasl .else LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 .endif .if empty(PORT_OPTIONS:MJPEG) CONFIGURE_ARGS+= --disable-vnc-jpeg .else LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg .endif .if empty(PORT_OPTIONS:MPNG) CONFIGURE_ARGS+= --disable-vnc-png .else LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png .endif .if empty(PORT_OPTIONS:MCURL) CONFIGURE_ARGS+= --disable-curl .else LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl .endif .if empty(PORT_OPTIONS:MOPENGL) CONFIGURE_ARGS+= --disable-glx .else USE_GL= yes .endif .if empty(PORT_OPTIONS:MUSBREDIR) CONFIGURE_ARGS+= --disable-usb-redir .else BUILD_DEPENDS+= usbredir>=0.6:${PORTSDIR}/net/usbredir RUN_DEPENDS+= usbredir>=0.6:${PORTSDIR}/net/usbredir .endif .if ${PORT_OPTIONS:MPCAP} CONFIGURE_ARGS+= --enable-pcap .else CONFIGURE_ARGS+= --disable-pcap .endif .if ${PORT_OPTIONS:MSTATIC_LINK} .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MX11} IGNORE= X11 ui cannot be built static .endif CONFIGURE_ARGS+= --static .endif .if ${PORT_OPTIONS:MSAMBA} RUN_DEPENDS+= ${LOCALBASE}/sbin/smbd:${PORTSDIR}/net/samba36 .endif .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html USES+= makeinfo .else MAKE_ARGS+= NOPORTDOCS=1 .endif .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif .if ${OSVERSION} < 900033 BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils CONFIGURE_ENV+= LD=${LOCALBASE}/bin/ld CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif CONFIGURE_ARGS+= --python=${PYTHON_CMD} # -lprocstat actually only _needs_ -lelf after r249666 or r250870 (MFC) # but it shouldn't matter much post-patch: @${MV} ${WRKDIR}/dtc ${WRKSRC} .if ${OSVERSION} < 900000 @${REINPLACE_CMD} -e '/LIBS/s|-lprocstat||' ${WRKSRC}/configure .else @${REINPLACE_CMD} -e '/LIBS/s|-lprocstat|-lprocstat -lelf|' \ ${WRKSRC}/configure .endif @${REINPLACE_CMD} -e '/libs_qga=/s|glib_libs|glib_libs -lintl|' ${WRKSRC}/configure #.if ${PORT_OPTIONS:MPCAP} # @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/pcap-patch #.endif .if empty(PORT_OPTIONS:MCDROM_DMA) @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/cdrom-dma-patch .endif @${REINPLACE_CMD} -E \ -e "/^by Tibor .TS. S/s|Sch.*z.$$|Schuetz.|" \ ${WRKSRC}/qemu-doc.texi @${REINPLACE_CMD} -E \ -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing|" \ -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ ${WRKSRC}/Makefile.target @${REINPLACE_CMD} -E \ -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing -I.|" \ -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ -e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \ ${WRKSRC}/scripts/texi2pod.pl .if ${OSVERSION} >= 800091 # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .endif .if !target(post-install) post-install: .if ${PORT_OPTIONS:MDOCS} @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @(cd ${STAGEDIR}${PREFIX}/etc/qemu && \ ${MV} -i target-x86_64.conf target-x86_64.conf.sample) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* .endif .include Index: head/finance/vanitygen/Makefile =================================================================== --- head/finance/vanitygen/Makefile (revision 381617) +++ head/finance/vanitygen/Makefile (revision 381618) @@ -1,38 +1,38 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= vanitygen PORTVERSION= 0.22 CATEGORIES= finance -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Standalone vanity address generator for bitcoin LICENSE= AGPLv3 LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre USE_GITHUB= yes GH_ACCOUNT= samr7 GH_COMMIT= cd1a728 GH_TAGNAME= ${GH_COMMIT} USES= gmake USE_OPENSSL= yes ALL_TARGET= most PLIST_FILES= bin/keyconv bin/vanitygen post-patch: @${REINPLACE_CMD} -e \ 's|-lpcre|$$(shell pcre-config --libs)| ; \ s|-lpthread|-pthread $$(LDFLAGS)| ; \ s|^\(CFLAGS\).*|\1+=$$(shell pcre-config --cflags)|' \ ${WRKSRC}/Makefile do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} keyconv vanitygen \ ${STAGEDIR}${PREFIX}/bin) .include Index: head/games/craft/Makefile =================================================================== --- head/games/craft/Makefile (revision 381617) +++ head/games/craft/Makefile (revision 381618) @@ -1,45 +1,45 @@ # Created by: Danilo Egea Gondolfo # $FreeBSD$ PORTNAME= craft PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= danilo@FreeBSD.org COMMENT= Simple Minecraft clone written in C using modern OpenGL LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl USE_GITHUB= yes GH_ACCOUNT= daniloegea GH_PROJECT= Craft GH_TAGNAME= v1.0fbsd GH_COMMIT= fdf801f OPTIONS_DEFINE= SERVER SERVER_DESC= Install the craft server OPTIONS_DEFAULT= SERVER OPTIONS_SUB= yes USES= cmake compiler:c11 USE_XORG= x11 xi xrandr USE_GL= gl glu SERVER_USES= python SERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.2:${PORTSDIR}/www/py-requests \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 SERVER_CMAKE_ON= -DSERVER:BOOL=ON .include post-install: .if ${PORT_OPTIONS:MSERVER} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} ${INSTALL_DATA} ${WRKSRC}/world.py ${STAGEDIR}${PYTHON_SITELIBDIR}/craft_world.py ${INSTALL_SCRIPT} ${WRKSRC}/server.py ${STAGEDIR}${PREFIX}/bin/craft-server ${INSTALL_LIB} ${WRKSRC}/libworld.so ${STAGEDIR}${PREFIX}/lib/libcraft-world.so .endif .include Index: head/games/unknown-horizons/Makefile =================================================================== --- head/games/unknown-horizons/Makefile (revision 381617) +++ head/games/unknown-horizons/Makefile (revision 381618) @@ -1,61 +1,61 @@ # Created by: GreenDog # $FreeBSD$ PORTNAME= unknown-horizons PORTVERSION= 2013.3 PORTREVISION= 1 CATEGORIES= games #MASTER_SITES= SF/unknownhorizons/Unknown%20Horizons/${PORTVERSION}/ -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= fiziologus@gmail.com COMMENT= Real time simulation game BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt RUN_DEPENDS= ${PYTHON_SITELIBDIR}/fife/__init__.py:${PORTSDIR}/games/py-fife \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}gdbm>0:${PORTSDIR}/databases/py-gdbm ONLY_FOR_ARCHS= i386 amd64 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_COMMIT= ac7af43 USE_GNOME= intltool USES= gettext-tools python:2 tar:xz USE_PYTHON= distutils PYDISTUTILS_PKGNAME= UnknownHorizons .include .if ${ARCH} == i386 ENET_DIR= x86 PLIST_SUB+= X86_ONLY="" .else PLIST_SUB+= X86_ONLY="@comment " .endif .if ${ARCH} == amd64 ENET_DIR= x64 PLIST_SUB+= X64_ONLY="" .else PLIST_SUB+= X64_ONLY="@comment " .endif post-patch: ${REINPLACE_CMD} -e "s|http://docbook.sourceforge.net/release/xsl/current|${LOCALBASE}/share/xsl/docbook|" \ -e "s|share/man/man6|man/man6|" ${WRKSRC}/setup.py # Install multiplayer lib (enet+pyenet) post-install: ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/horizons/network/libs ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/horizons/network/libs/freebsd-${ENET_DIR} ${INSTALL} ${WRKSRC}/horizons/network/libs/freebsd-${ENET_DIR}/enet.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/horizons/network/libs/freebsd-${ENET_DIR}/enet.so # (rene) prune unwanted files to pass 'make check-plist' ${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/UnknownHorizons-_unknown_-py${PYTHON_VER}.egg-info .include Index: head/graphics/code-eli/Makefile =================================================================== --- head/graphics/code-eli/Makefile (revision 381617) +++ head/graphics/code-eli/Makefile (revision 381618) @@ -1,78 +1,78 @@ # Created by: Fernando Apesteguia # $FreeBSD$ PORTNAME= code-eli PORTVERSION= 0.3.6 CATEGORIES= graphics -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= fernando.apesteguia@gmail.com COMMENT= Library with functionalities for geometries LICENSE= EPL LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= eigen>3:${PORTSDIR}/math/eigen3 USE_GITHUB= yes GH_PROJECT= Code-Eli GH_ACCOUNT= ddmarshall GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 2196ee5 USES= cmake:outsource compiler:c++11-lib PORTEXAMPLES= AirfoilFitExample VSPPodExample test PORTDOCS= html latex ALL_TARGET= all # Some useful variables AIRFOIL_DIR= airfoil_fit VSPPOD_DIR= vsp_pod # Build options OPTIONS_DEFINE= DOCS EXAMPLES EXAMPLES_LIB_DEPENDS= libcpptest.so:${PORTSDIR}/devel/cpptest DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen DOCS_ALL_TARGET= doc .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 BROKEN= Can not compile if FreeBSD version lower than 10.0-RELEASE .endif post-patch: .if ! ${PORT_OPTIONS:MEXAMPLES} ${REINPLACE_CMD} \ -e 's/add_subdirectory(example)//g' \ -e 's/find_package(CPPTest)//g' \ ${WRKSRC}/CMakeLists.txt .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/eli \ ${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} \ ${STAGEDIR}${EXAMPLESDIR} \ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/include/eli/code_eli.hpp \ ${STAGEDIR}${PREFIX}/include/eli (cd ${WRKSRC}/include/eli && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/eli "*") .if ${PORT_OPTIONS:MEXAMPLES} ${INSTALL_DATA} \ ${BUILD_WRKSRC}/example/${VSPPOD_DIR}/VSPPodExample \ ${BUILD_WRKSRC}/example/${AIRFOIL_DIR}/AirfoilFitExample \ ${STAGEDIR}${EXAMPLESDIR} ${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/VSPPodExample \ ${STAGEDIR}${EXAMPLESDIR}/AirfoilFitExample (cd ${BUILD_WRKSRC}/${TEST_SUBDIR} && \ ${COPYTREE_BIN} . ${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} \ "-name *Test -type f") ${FIND} ${STAGEDIR}${EXAMPLESDIR}${TEST_SUBDIR} -name *Test | \ ${XARGS} ${STRIP_CMD} .endif .if ${PORT_OPTIONS:MDOCS} (cd ${BUILD_WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .endif .include Index: head/graphics/dcraw-m/Makefile =================================================================== --- head/graphics/dcraw-m/Makefile (revision 381617) +++ head/graphics/dcraw-m/Makefile (revision 381618) @@ -1,45 +1,45 @@ # Created by: "Waitman Gobble" # $FreeBSD$ PORTNAME= dcraw-m PORTVERSION= 9.22 PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= waitman@waitman.net COMMENT= Modified Decoder for RAW files from digital cameras LICENSE= GPLv2 LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick USE_GITHUB= yes GH_ACCOUNT= waitman GH_PROJECT= dcraw-m GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 1392579 USES= pkgconfig CFLAGS += -Wall -I${LOCALBASE}/include \ `MagickWand-config --cflags --cppflags` \ -DMAGICKCORE_HDRI_ENABLE=0 \ -DMAGICKCORE_QUANTUM_DEPTH=16 LDFLAGS += `MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg \ -ljasper LIBS += -L${LOCALBASE}/lib PLIST_FILES= bin/dcraw-m do-build: ( cd ${WRKSRC} ; \ ${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c ) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ .include Index: head/graphics/pqiv/Makefile =================================================================== --- head/graphics/pqiv/Makefile (revision 381617) +++ head/graphics/pqiv/Makefile (revision 381618) @@ -1,44 +1,44 @@ # Created by: Martin Tournoij # $FreeBSD$ PORTNAME= pqiv PORTVERSION= 2.1.1 CATEGORIES= graphics -MASTER_SITES= GH +MASTER_SITES= GHL DISTNAME= ${PORTVERSION} MAINTAINER= danilo@FreeBSD.org COMMENT= Pretty Quick Image Viewer LICENSE= GPLv2 BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash USE_GITHUB= yes GH_ACCOUNT= phillipberndt GH_COMMIT= 7a10aba OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 OPTIONS_DEFAULT= GTK2 USES= gmake pkgconfig shebangfix tar:bzip2 SHEBANG_FILES= configure HAS_CONFIGURE= yes GTK2_CONFIGURE_ON= --gtk-version=2 GTK2_USE= GNOME=gtk20 GTK3_CONFIGURE_ON= --gtk-version=3 GTK3_USE= GNOME=gtk30 PORTDOCS= README.markdown PLIST_FILES= bin/pqiv man/man1/pqiv.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pqiv ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pqiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/xcftools/Makefile =================================================================== --- head/graphics/xcftools/Makefile (revision 381617) +++ head/graphics/xcftools/Makefile (revision 381618) @@ -1,85 +1,85 @@ # $FreeBSD$ PORTNAME= xcftools PORTVERSION= 1.0.8.20130212 PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= GH \ +MASTER_SITES= GHL \ http://freeheimdall.spdns.org/files/ MAINTAINER= kalten@gmx.at COMMENT= Command-line tools for extracting from XCF format (graphics/gimp) LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png # xcftools is under a public domain licence USE_GITHUB= yes GH_ACCOUNT= j-jorge GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= d72ba82 DIST_SUBDIR= ${PORTNAME} # option NLS (for gettext) is wrong as this port allways needs NLS: USES= libtool cmake gmake iconv pkgconfig perl5 gettext USE_PERL5= build run GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= preinstall # manual pages not built but there is -h for each program. # regression tests (TESTS option) fail PORTDOCS= ChangeLog README TRANSLATION PLIST_FILES= bin/xcf2png \ bin/xcf2pnm \ bin/xcfinfo \ bin/xcfview CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS TESTS TESTS_DESC= Run self-tests (faulty) (pulls in graphics/netpbm shells/bash) TEST_BUILD_DEPENDS= pngtopnm:${PORTSDIR}/graphics/netpbm \ bash:${PORTSDIR}/shells/bash .include post-patch: @${REINPLACE_CMD} -e "s|^#! \(/bin/bash\)|#!${PREFIX}\1|" \ ${WRKSRC}/test/dotest @${REINPLACE_CMD} -e "s|perl|${PERL}|" \ ${WRKSRC}/test/dotest @${REINPLACE_CMD} -e "s|^#! /usr/bin/perl|#!${PERL}|" \ ${WRKSRC}/xcfview \ ${WRKSRC}/mancombine.pl \ ${WRKSRC}/manpo/mantranslate.pl \ ${WRKSRC}/manpo/optipot.pl \ ${WRKSRC}/mkenumsc.pl \ ${WRKSRC}/mkenumsh.pl \ ${WRKSRC}/mkopti.pl \ ${WRKSRC}/mktablec.pl test: .if ${PORT_OPTIONS:MTESTS} cd ${WRKSRC}/test && \ ${SETENV} ${MAKE_ENV} limits -m 20m ${GMAKE} check .endif post-build: test post-install: ${STRIP_CMD} ${WRKSRC}/bin/xcf2png ${WRKSRC}/bin/xcf2pnm \ ${WRKSRC}/bin/xcfinfo ${INSTALL_SCRIPT} ${WRKSRC}/bin/xcf2png ${WRKSRC}/bin/xcf2pnm \ ${WRKSRC}/bin/xcfinfo ${WRKSRC}/xcfview \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/irc/eggdrop-devel/Makefile =================================================================== --- head/irc/eggdrop-devel/Makefile (revision 381617) +++ head/irc/eggdrop-devel/Makefile (revision 381618) @@ -1,125 +1,125 @@ # Created by: Beech Rintoul # $FreeBSD$ PORTNAME= eggdrop PORTVERSION= 1.8.0.20141008 PORTREVISION= 2 CATEGORIES= irc -MASTER_SITES= GH \ +MASTER_SITES= GHL \ http://mirror.shatow.net/freebsd/${PORTNAME}/ PKGNAMESUFFIX= -devel MAINTAINER= bdrewery@FreeBSD.org COMMENT= The most popular open source Internet Relay Chat bot LICENSE= GPLv2 USES= tcl:85+ USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-tcllib=${LOCALBASE}/lib/libtcl${TCL_SHLIB_VER}.so \ --with-tclinc=${LOCALBASE}/include/tcl${TCL_VER}/tcl.h USE_GITHUB= yes GH_ACCOUNT= eggheads GH_PROJECT= ${PORTNAME}-1.8 GH_COMMIT= 2bf3950 GH_TAGNAME= ${GH_COMMIT} MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message CONFLICTS= eggdrop-[0-9]* OPTIONS_DEFINE= DOCS .include post-patch: @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \ > ${WRKSRC}/eggdrop.conf.sample post-configure: @(cd ${WRKSRC}; ${MAKE} config) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/eggdrop ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man1/eggdrop.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/eggdrop.conf.sample ${STAGEDIR}${PREFIX}/etc @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eggdrop .for f in assoc.so blowfish.so channels.so compress.so console.so ctcp.so \ dns.so filesys.so irc.so notes.so seen.so server.so share.so \ transfer.so uptime.so ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/lib/eggdrop .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/help .for f in assoc.mod/help/assoc.help channels.mod/help/chaninfo.help \ channels.mod/help/channels.help console.mod/help/console.help \ compress.mod/help/compress.help ctcp.mod/help/ctcp.help \ filesys.mod/help/filesys.help irc.mod/help/irc.help \ notes.mod/help/notes.help seen.mod/help/seen.help \ server.mod/help/server.help share.mod/help/share.help \ transfer.mod/help/transfer.help uptime.mod/help/uptime.help ${INSTALL_DATA} ${WRKSRC}/src/mod/${f} ${STAGEDIR}${DATADIR}/help .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/help/set .for f in channels.mod/help/set/channels.help \ compress.mod/help/set/compress.help \ console.mod/help/set/console.help ctcp.mod/help/set/ctcp.help \ filesys.mod/help/set/filesys.help irc.mod/help/set/irc.help \ notes.mod/help/set/notes.help server.mod/help/set/server.help \ share.mod/help/set/share.help transfer.mod/help/set/transfer.help ${INSTALL_DATA} ${WRKSRC}/src/mod/$f ${STAGEDIR}${DATADIR}/help/set .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/help/msg .for f in irc.mod/help/msg/irc.help notes.mod/help/msg/notes.help \ seen.mod/help/msg/seen.help ${INSTALL_DATA} ${WRKSRC}/src/mod/$f ${STAGEDIR}${DATADIR}/help/msg .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/language ${INSTALL_DATA} ${WRKSRC}/language/core.*.lang ${STAGEDIR}${DATADIR}/language @cd ${WRKSRC}/src/mod \ && ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} "{}" \ ${STAGEDIR}${DATADIR}/language ";" @${MKDIR} ${STAGEDIR}${DATADIR}/scripts .for f in CONTENTS action.fix.tcl autobotchk alltools.tcl botchk \ cmd_resolve.tcl compat.tcl dccwhois.tcl getops.tcl klined.tcl notes2.tcl ques5.tcl \ quotepass.tcl quotepong.tcl sentinel.tcl userinfo.tcl weed ${INSTALL_DATA} ${WRKSRC}/scripts/${f} ${STAGEDIR}${DATADIR}/scripts .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/scripts/help .for f in cmd_resolve.help userinfo.help ${INSTALL_DATA} ${WRKSRC}/scripts/help/${f} ${STAGEDIR}${DATADIR}/scripts/help .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/scripts/help/msg .for f in userinfo.help ${INSTALL_DATA} ${WRKSRC}/scripts/help/msg/${f} ${STAGEDIR}${DATADIR}/scripts/help/msg .endfor .for f in cmds1.help cmds2.help core.help ${INSTALL_DATA} ${WRKSRC}/help/${f} ${STAGEDIR}${DATADIR}/help .endfor .for f in cmds1.help ${INSTALL_DATA} ${WRKSRC}/help/set/${f} ${STAGEDIR}${DATADIR}/help/set .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/text .for f in banner motd ${INSTALL_DATA} ${WRKSRC}/text/${f} ${STAGEDIR}${DATADIR}/text .endfor .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ABOUT BANS BOTNET BUG-REPORT COMPILE-GUIDE CONTENTS \ FIRST-SCRIPT KNOWN-PROBLEMS MODULES PARTYLINE PATCH-HOWTO \ TEXT-SUBSTITUTIONS TRICKS Changes1.8 USERS WEIRD-MESSAGES \ tcl-commands.doc ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/html cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}/html @${MKDIR} ${STAGEDIR}${DOCSDIR}/settings cd ${WRKSRC}/doc/settings && ${RM} -rf CVS \ && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/settings .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/eggdrop/*.so .include Index: head/irc/hybserv/Makefile =================================================================== --- head/irc/hybserv/Makefile (revision 381617) +++ head/irc/hybserv/Makefile (revision 381618) @@ -1,45 +1,45 @@ # Created by: Rick Fournier # $FreeBSD$ PORTNAME= hybserv PORTVERSION= 1.9.5 CATEGORIES= irc -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Hybrid2 IRC Services LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= dkorunic GH_PROJECT= hybserv2 GH_TAGNAME= REL_${PORTVERSION:S/./_/g} GH_COMMIT= ce15a9f USES= gmake GNU_CONFIGURE= yes USERS= ${PORTNAME} GROUPS= ${USERS} OPTIONS_DEFINE= DAEMONTOOLS DAEMONTOOLS_DESC= Daemontools support DAEMONTOOLS_RUN_DEPENDS= supervise:${PORTSDIR}/sysutils/daemontools DAEMONTOOLS_CONFIGURE_ENABLE= daemontools post-patch: @${REINPLACE_CMD} -E -e '/(LN)/ s,BINDIR),DESTDIR)$$(&,2' \ -e '/(LN)/! s,(BIN|CONF|DOC|HELP|LOG)DIR),DESTDIR)$$(&,' \ ${WRKSRC}/Makefile.in post-install: @${SED} -e "s#%PREFIX%#${PREFIX}#" ${FILESDIR}/hybserv.sh \ > ${WRKDIR}/hybserv.sh ${INSTALL_SCRIPT} ${WRKDIR}/hybserv.sh ${STAGEDIR}${PREFIX}/etc/rc.d ${CHMOD} 700 ${STAGEDIR}${PREFIX}/hybserv (cd ${STAGEDIR}${PREFIX}/hybserv && ${STRIP_CMD} hybserv mkpasswd \ encryptconf encryptdb) .include Index: head/irc/irssi-otr/Makefile =================================================================== --- head/irc/irssi-otr/Makefile (revision 381617) +++ head/irc/irssi-otr/Makefile (revision 381618) @@ -1,40 +1,40 @@ # Created by: Ashish Shukla # $FreeBSD$ PORTNAME= irssi-otr PORTVERSION= 1.0.0 PORTREVISION= 3 CATEGORIES= irc -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ashish@FreeBSD.org COMMENT= Plugin for irssi for Off-the-Record (OTR) messaging LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/irssi/src/common.h:${PORTSDIR}/irc/irssi \ ${LOCALBASE}/bin/libgcrypt-config:${PORTSDIR}/security/libgcrypt LIB_DEPENDS= libotr.so:${PORTSDIR}/security/libotr \ libgcrypt.so:${PORTSDIR}/security/libgcrypt RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi USES= pkgconfig USE_LDCONFIG= yes USE_GNOME= glib20 USE_GITHUB= yes GH_ACCOUNT= cryptodotis GH_PROJECT= ${PORTNAME} GH_COMMIT= f4ecd19 GH_TAGNAME= v${PORTVERSION} USE_AUTOTOOLS= autoconf aclocal libtoolize automake ACLOCAL_ARGS= -I config AUTOMAKE_ARGS= --add-missing --no-force CONFIGURE_ARGS= --prefix=${LOCALBASE} --with-libotr-inc-prefix=${LOCALBASE}/include PLIST_FILES= lib/irssi/modules/libotr.so \ share/irssi/help/otr .include Index: head/japanese/cmigemo/Makefile =================================================================== --- head/japanese/cmigemo/Makefile (revision 381617) +++ head/japanese/cmigemo/Makefile (revision 381618) @@ -1,56 +1,56 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PORTNAME= cmigemo PORTVERSION= 20141220 CATEGORIES= japanese -MASTER_SITES?= GH +MASTER_SITES?= GHL DIST_SUBDIR= cmigemo USE_GITHUB= yes GH_ACCOUNT= koron GH_PROJECT= cmigemo GH_COMMIT= ${GH_TAGNAME} GH_TAGNAME= 6a1c438 MAINTAINER= nobutaka@FreeBSD.org COMMENT= C implementation of Migemo Japanese incremental search tool .if !defined(PKGNAMESUFFIX) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/doc/LICENSE_MIT.txt RUN_DEPENDS= ${DATADIR}/cp932/migemo-dict:${PORTSDIR}/japanese/cmigemo-dict USE_LDCONFIG= yes ALL_TARGET= gcc-rel gcc-dat INSTALL_TARGET= gcc-install DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} PORTDOCS= README_j.txt .endif OPTIONS_DEFINE+=DOCS USES+= gmake BUILD_DEPENDS= ${LOCALBASE}/bin/nkf:${PORTSDIR}/japanese/nkf HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} .include .if !defined(PKGNAMESUFFIX) && ${PORT_OPTIONS:MDOCS} INSTALL_TARGET+=gcc-install-doc .endif .if !target(post-extract) post-extract: ${CHMOD} a+x ${WRKSRC}/configure .endif post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/compile/config.mk.in .include Index: head/japanese/cmigemo-dict/Makefile =================================================================== --- head/japanese/cmigemo-dict/Makefile (revision 381617) +++ head/japanese/cmigemo-dict/Makefile (revision 381618) @@ -1,33 +1,33 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ CATEGORIES= japanese -MASTER_SITES= GH \ +MASTER_SITES= GHL \ n ${MASTER_SITE_LOCAL:S/%SUBDIR%\/$/nobutaka\/:skkdic/} PKGNAMESUFFIX= -dict DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${SKKDIC_FILE}:skkdic EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Dictionary for C/Migemo Japanese incremental search tool LICENSE= GPLv2 MASTERDIR= ${.CURDIR}/../../japanese/cmigemo PKGDIR= ${.CURDIR} USES= perl5 USE_PERL5= patch build run ALL_TARGET= gcc-dict INSTALL_TARGET= gcc-install-dict SKKDIC_FILE= SKK-JISYO.L-20110813.bz2 LICENSE_DISTFILES= ${SKKDIC_FILE} post-extract: ${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE} > ${WRKSRC}/dict/SKK-JISYO.L ${CHMOD} a+x ${WRKSRC}/configure .include "${MASTERDIR}/Makefile" Index: head/java/junit/Makefile =================================================================== --- head/java/junit/Makefile (revision 381617) +++ head/java/junit/Makefile (revision 381618) @@ -1,46 +1,46 @@ # Created by: OKAZAKI Tetsurou # $FreeBSD$ PORTNAME= junit PORTVERSION= 4.11 PORTREVISION= 1 CATEGORIES= java devel -MASTER_SITES= GH +MASTER_SITES= GHL DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= danilo@FreeBSD.org COMMENT= Regression testing utility for use with the Java(TM) Language USE_GITHUB= yes GH_ACCOUNT= junit-team GH_PROJECT= ${PORTNAME} GH_TAGNAME= r${PORTVERSION} GH_COMMIT= c62e2df USES= perl5 USE_JAVA= yes USE_ANT= yes PORTDOCS= README.html cpl-v10.html doc javadoc PORTEXAMPLES= * DATADIR= ${JAVASHAREDIR}/${PORTNAME} PLIST_FILES= %%JAVAJARDIR%%/junit.jar \ %%JAVAJARDIR%%/junit4.jar \ %%DATADIR%%/src.jar do-install: ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT.jar \ ${STAGEDIR}${JAVAJARDIR}/junit.jar ${LN} -sf junit.jar ${STAGEDIR}${JAVAJARDIR}/junit4.jar @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT-src.jar \ ${STAGEDIR}${DATADIR}/src.jar cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit/samples \ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ cd ${INSTALL_WRKSRC} \ && ${FIND} ${PORTDOCS:Njavadoc} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ && ${FIND} ${PORTDOCS:Njavadoc} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \; cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT \ && ${FIND} javadoc -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \ .include Index: head/java/sigar/Makefile =================================================================== --- head/java/sigar/Makefile (revision 381617) +++ head/java/sigar/Makefile (revision 381618) @@ -1,77 +1,77 @@ # Created by: Tom Judge # $FreeBSD$ PORTNAME= sigar PORTVERSION= 1.7.3 PORTREVISION= 1 CATEGORIES= java devel -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMEPREFIX= java- MAINTAINER= tj@FreeBSD.org COMMENT= Java bindings for the Sigar system information API LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/NOTICE BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant LIB_DEPENDS= libsigar.so:${PORTSDIR}/devel/sigar USE_GITHUB= yes GH_ACCOUNT= amishHammer GH_COMMIT= b5af695 GH_TAGNAME= ${GH_COMMIT} USES= perl5 USES_PERL5= build USE_JAVA= yes JAVA_RUN= yes USE_GCC= any ANT_CMD?= ${LOCALBASE}/bin/ant ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD} WRKSRC= ${WRKDIR}/amishHammer-sigar-${GH_COMMIT} .include .if ${OPSYS} == FreeBSD . if ${OSVERSION} >= 1000000 PLATFORM_VER= 1 . elif ${OSVERSION} >= 900000 PLATFORM_VER= 9 . elif ${OSVERSION} >= 800000 PLATFORM_VER= 8 . elif ${OSVERSION} >= 700000 PLATFORM_VER= 7 . elif ${OSVERSION} >= 600000 PLATFORM_VER= 6 . else BROKEN= Unsupported FreeBSD version . endif .else BROKEN= ${OPSYS} platform is not supported .endif LIBNAME= libsigar-${ARCH:S,i386,x86,}-freebsd-${PLATFORM_VER}.so PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \ %%JAVAJARDIR%%/${LIBNAME} #post-patch: # @${REINPLACE_CMD} s/gcc/${CC}/ \ # ${WRKSRC}/bindings/java/hyperic_jni/jni-build.xml do-build: ${MKDIR} ${WRKSRC}/bin .if ${CC} != "gcc" ${LN} -s ${LOCALBASE}/bin/${CC} ${WRKSRC}/bin/gcc .endif cd ${WRKSRC}/bindings/java && PATH=${PATH}:${WRKSRC}/bin ${ANT} do-install: ${INSTALL_DATA} ${WRKSRC}/bindings/java/sigar-bin/lib/sigar.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar ${INSTALL_LIB} ${WRKSRC}/bindings/java/sigar-bin/lib/libsigar-${ARCH:S,i386,x86,}-freebsd-${PLATFORM_VER}.so \ ${STAGEDIR}${JAVAJARDIR}/${LIBNAME} .include Index: head/lang/tuareg-mode.el/Makefile =================================================================== --- head/lang/tuareg-mode.el/Makefile (revision 381617) +++ head/lang/tuareg-mode.el/Makefile (revision 381618) @@ -1,44 +1,44 @@ # Created by: dd # $FreeBSD$ PORTNAME= tuareg-mode PORTVERSION= 2.0.8 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= lang elisp -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= michipili@gmail.com COMMENT= Emacs major mode for editing Caml code LICENSE= GPLv2 USE_EMACS= yes USE_GITHUB= yes GH_ACCOUNT= ocaml GH_PROJECT= tuareg GH_COMMIT= 62f6854 OPTIONS_DEFINE= DOCS ELISP_FILES= ocamldebug.el tuareg.el .for f in ${ELISP_FILES} PLIST_FILES+= %%EMACS_SITE_LISPDIR%%/$f %%EMACS_SITE_LISPDIR%%/$fc .endfor PORTDOCS= README.md do-build: (cd ${WRKSRC} && \ ${EMACS_CMD} -batch -q -f batch-byte-compile ${ELISP_FILES}) do-install: @${MKDIR} ${STAGEDIR}${EMACS_SITE_LISPDIR} .for tuareg_mode_f in ${ELISP_FILES} ${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${WRKSRC}/${tuareg_mode_f}c \ ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/mail/imapfilter/Makefile =================================================================== --- head/mail/imapfilter/Makefile (revision 381617) +++ head/mail/imapfilter/Makefile (revision 381618) @@ -1,59 +1,59 @@ # Created by: Lefteris Chatzibarbas # $FreeBSD$ PORTNAME= imapfilter PORTVERSION= 2.5.6 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.gegenunendlich.de/distfiles/ \ - GH + GHL MAINTAINER= stefan@FreeBSD.org COMMENT= IMAP mail filtering utility LICENSE= MIT LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre USES= lua USE_OPENSSL= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR} LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} USE_GITHUB= yes GH_ACCOUNT= lefcha GH_TAGNAME= v${PORTVERSION} GH_COMMIT= e3c8279 PORTDOCS= LICENSE NEWS README PLIST_FILES= bin/imapfilter \ man/man1/imapfilter.1.gz \ man/man5/imapfilter_config.5.gz \ %%DATADIR%%/account.lua \ %%DATADIR%%/auxiliary.lua \ %%DATADIR%%/common.lua \ %%DATADIR%%/mailbox.lua \ %%DATADIR%%/message.lua \ %%DATADIR%%/options.lua \ %%DATADIR%%/regex.lua \ %%DATADIR%%/set.lua \ %%EXAMPLESDIR%%/config.lua \ %%EXAMPLESDIR%%/extend.lua MAKE_ARGS= PREFIX=${PREFIX} \ MYCFLAGS="${CPPFLAGS}" \ MYLDFLAGS="${LDFLAGS}" \ BINDIR=${PREFIX}/bin \ SHAREDIR=${DATADIR} \ MANDIR=${MANPREFIX}/man \ LIBLUA=-llua-${LUA_VER} post-install: ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/imapfilter @${MKDIR} ${STAGEDIR}/${DATADIR} ${STAGEDIR}/${EXAMPLESDIR} cd ${WRKSRC}/samples && \ ${INSTALL_DATA} config.lua extend.lua \ ${STAGEDIR}/${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}/${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR} .include Index: head/mail/mu/Makefile =================================================================== --- head/mail/mu/Makefile (revision 381617) +++ head/mail/mu/Makefile (revision 381618) @@ -1,49 +1,49 @@ # Created by: rea@FreeBSD.org # $FreeBSD$ PORTNAME= mu PORTVERSION= 0.9.10 CATEGORIES= mail -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Mail searching frontend for Xapian LICENSE= GPLv3 LIB_DEPENDS= libxapian.so:${PORTSDIR}/databases/xapian-core \ libgmime-2.6.so:${PORTSDIR}/mail/gmime26 USE_GITHUB= yes GH_ACCOUNT= djcb GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${PORTVERSION:S/^/v/} GH_COMMIT= 7888ba3 USES= gmake libtool makeinfo pkgconfig USE_GNOME= glib20 USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf AUTOMAKE_ARGS= --add-missing CONFIGURE_ARGS= --disable-silent-rules --disable-gtk INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= GUILE MU4E OPTIONS_SUB= yes GUILE_LIB_DEPENDS= libguile-2.0.so:${PORTSDIR}/lang/guile2 GUILE_USE= ldconfig=yes GUILE_CONFIGURE_ENABLE= guile GUILE_INFO= mu-guile MU4E_DESC= Email cluent for Emacs MU4E_USE= emacs=yes MU4E_CONFIGURE_ENABLE= mu4e MU4E_INFO= mu4e post-install: (cd ${FILESDIR} && ${INSTALL_SCRIPT} mu-ask \ ${STAGEDIR}${PREFIX}/bin) .include Index: head/mail/roundcube-contextmenu/Makefile =================================================================== --- head/mail/roundcube-contextmenu/Makefile (revision 381617) +++ head/mail/roundcube-contextmenu/Makefile (revision 381618) @@ -1,40 +1,40 @@ # Created by: Alexander Moisseev # $FreeBSD$ PORTNAME= contextmenu PORTVERSION= 2.1 CATEGORIES= mail -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMEPREFIX= roundcube- MAINTAINER= moiseev@mezonplus.ru COMMENT= RoundCube webmail contextmenu plugin LICENSE= GPLv3 RUN_DEPENDS= roundcube>=1.1:${PORTSDIR}/mail/roundcube NO_BUILD= yes USE_GITHUB= YES GH_ACCOUNT= JohnDoh GH_PROJECT= Roundcube-Plugin-Context-Menu GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 42efb49 PLUGINDIR= ${WWWDIR:S,/${PORTNAME}$$,,}/roundcube/plugins/${PORTNAME} RCDIR_REL= ${WWWDIR_REL:S,/${PORTNAME}$$,,}/roundcube PLIST_SUB= RCDIR_REL="${RCDIR_REL}" # This target is only meant to be used by the port maintainer. x-generate-plist: build make makeplist | \ ${SED} \ -e "s,^\(@dirrm\)try\( %%RCDIR_REL%%/plugins/contextmenu\),\1\2," \ >${.CURDIR}/pkg-plist.tmp do-install: ${MKDIR} ${STAGEDIR}${PLUGINDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR} .include Index: head/math/bsdnt/Makefile =================================================================== --- head/math/bsdnt/Makefile (revision 381617) +++ head/math/bsdnt/Makefile (revision 381618) @@ -1,28 +1,28 @@ # $FreeBSD$ PORTNAME= bsdnt PORTVERSION= 1.0 CATEGORIES= math -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= swills@FreeBSD.org COMMENT= Bignum Library LICENSE= BSD3CLAUSE BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash USES= gmake shebangfix SHEBANG_FILES= configure USE_GITHUB= yes GH_ACCOUNT= wbhart GH_PROJECT= ${PORTNAME} GH_TAGNAME= 72e20a7 GH_COMMIT= 72e20a7 USE_LDCONFIG= yes do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./configure --prefix=${STAGEDIR}${PREFIX} CC=cc CXX=c++ AS=cc .include Index: head/math/speedcrunch/Makefile =================================================================== --- head/math/speedcrunch/Makefile (revision 381617) +++ head/math/speedcrunch/Makefile (revision 381618) @@ -1,26 +1,26 @@ # Created by: Yinghong.Liu # $FreeBSD$ PORTNAME= speedcrunch DISTVERSION= 0.11 CATEGORIES= math -MASTER_SITES= GITHUB +MASTER_SITES= GITHUB_LEGACY MAINTAINER= makc@FreeBSD.org COMMENT= Keyboard-oriented desktop scientific calculator USE_QT4= qmake_build moc_build rcc_build uic_build gui network USES= cmake:outsource CMAKE_SOURCE_PATH= ${WRKSRC}/src USE_GITHUB= yes GH_ACCOUNT= speedcrunch GH_PROJECT= SpeedCrunch GH_COMMIT= 90d56d1 pre-configure: ${REINPLACE_CMD} -e '/CMAKE_COLOR_MAKEFILE/d' \ -e '/CMAKE_VERBOSE_MAKEFILE/d' \ ${WRKSRC}/src/CMakeLists.txt .include Index: head/misc/fortune-mod-epictetus/Makefile =================================================================== --- head/misc/fortune-mod-epictetus/Makefile (revision 381617) +++ head/misc/fortune-mod-epictetus/Makefile (revision 381618) @@ -1,39 +1,39 @@ # Created by: Andy Kosela # $FreeBSD$ PORTNAME= fortune-mod-epictetus PORTVERSION= 0.2 CATEGORIES= misc -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= akosela@andykosela.com COMMENT= Quotes from Epictetus LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= akosela GH_PROJECT= ${PORTNAME} GH_TAGNAME= v${PORTVERSION} GH_COMMIT= 5550bf8 PLIST_FILES= share/games/fortune/epictetus \ share/games/fortune/epictetus.dat .if exists(/usr/games/strfile) STRFILE= /usr/games/strfile .elif exists(/usr/bin/strfile) STRFILE= /usr/bin/strfile .else IGNORE= needs strfile command. Please install games distribution of base system .endif do-build: @(cd ${WRKSRC} && ${STRFILE} epictetus) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune ${INSTALL_DATA} ${WRKSRC}/epictetus* ${STAGEDIR}${PREFIX}/share/games/fortune .include Index: head/multimedia/aegisub/Makefile =================================================================== --- head/multimedia/aegisub/Makefile (revision 381617) +++ head/multimedia/aegisub/Makefile (revision 381618) @@ -1,147 +1,147 @@ # Created by: Leinier Cruz Salfran # $FreeBSD$ PORTNAME= aegisub PORTVERSION= 3.2.2 CATEGORIES= multimedia MASTER_SITES= http://ftp.aegisub.org/pub/archives/releases/source/:aegisub \ ftp://ftp.aegisub.org/pub/archives/releases/source/:aegisub \ ftp://ftp2.aegisub.org/pub/archives/releases/source/:aegisub \ - GH + GHL DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:aegisub ${FFMS_DISTFILE} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform subtitle editor LICENSE= BSD3CLAUSE LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libicui18n.so:${PORTSDIR}/devel/icu \ libass.so:${PORTSDIR}/multimedia/libass \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig USE_GITHUB= yes GH_ACCOUNT= FFMS GH_PROJECT= ffms2 GH_TAGNAME= ${FFMS_VERSION} GH_COMMIT= f673b48 WRKSRC= ${WRKDIR}/${DISTNAME} USES= compiler:c++11-lib desktop-file-utils gettext gmake iconv \ pkgconfig tar:xz USE_GNOME= intltool USE_WX= 3.0 WX_UNICODE= yes WX_CONF_ARGS= absolute USE_GL= glu USE_CSTD= c99 GNU_CONFIGURE= yes CONFIGURE_ENV= ICONV_LIBS="${ICONV_LIB}" PTHREAD_LIBS="-pthread" \ agi_cv_with_iconv=yes CONFIGURE_ARGS= --disable-compiler-flags \ --disable-gcc-prec \ --disable-sanity-checks \ --disable-update-checker \ --without-libc++ \ ${ICONV_CONFIGURE_ARG} INSTALLS_ICONS= yes PLIST_SUB= VERSION="${PORTVERSION:R}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= ALSA DOCS FFMPEG FFTW HUNSPELL OPENAL PORTAUDIO \ PULSEAUDIO OPTIONS_DEFAULT= FFMPEG FFTW HUNSPELL PULSEAUDIO ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib ALSA_CONFIGURE_OFF= --without-alsa FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg FFMPEG_CONFIGURE_ENV= FFMS2_CFLAGS="${FFMS_CFLAGS}" \ FFMS2_LIBS="${FFMS_LIBS}" FFMPEG_CONFIGURE_OFF= --without-ffms FFMPEG_CPPFLAGS= ${FFMS_CFLAGS} FFTW_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 FFTW_CONFIGURE_OFF= --without-fftw3 HUNSPELL_LIB_DEPENDS= libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell HUNSPELL_CONFIGURE_OFF= --without-hunspell OPENAL_USES= openal OPENAL_CONFIGURE_OFF= --without-openal PORTAUDIO_BUILD_DEPENDS=\ portaudio2>0:${PORTSDIR}/audio/portaudio2 PORTAUDIO_RUN_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 PORTAUDIO_CFLAGS= -isystem ${LOCALBASE}/include/portaudio2 PORTAUDIO_LDFLAGS= -L${LOCALBASE}/lib/portaudio2 PORTAUDIO_CONFIGURE_OFF=\ --without-portaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=\ --without-libpulse FFMS_NAME= ffms2 FFMS_VERSION= 2.20 FFMS_DISTNAME= ${FFMS_NAME}-${FFMS_VERSION} FFMS_DISTFILE= ${FFMS_DISTNAME}.tar.gz FFMS_WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} FFMS_CFLAGS= -I${FFMS_WRKSRC}/include FFMS_LIBS= ${FFMS_WRKSRC}/src/core/.libs/libffms2.a \ $$(pkg-config --libs libavcodec libavformat libswscale libavutil libavresample) .include .if ${COMPILER_TYPE} == "gcc" USE_CXXSTD= gnu++11 .if empty(CFLAGS:M-march=*) CFLAGS_i386= -march=pentium .endif .else USE_CXXSTD= c++11 CXXFLAGS+= -Wno-c++11-narrowing .if ${COMPILER_VERSION} < 34 BUILD_DEPENDS+= ${LOCALBASE}/lib/c++/libstdc++.so:${PORTSDIR}/devel/libc++ \ ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34 CPP= clang-cpp34 CC= clang34 CXX= clang++34 CXXFLAGS+= -nostdinc++ -isystem ${LOCALBASE}/include/c++/v1 LDFLAGS+= -L${LOCALBASE}lib/c++ .endif .endif post-patch: @${REINPLACE_CMD} -e \ 's| -O3||' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|".*build/|"./build/|' ${WRKSRC}/build/version.sh @${REINPLACE_CMD} -e \ 's|^CC=|CC?=| ; \ /^CCOPT_/s|=.*|=| ; \ /^CCDEBUG/s|=.*|=|' ${WRKSRC}/vendor/luajit/src/Makefile .if ${COMPILER_TYPE} == "gcc" @${FIND} ${WRKSRC} -name "*.h" | ${XARGS} ${REINPLACE_CMD} -e \ '/virtual /s|= default;$$|{ }|' .endif pre-configure: .if ${PORT_OPTIONS:MFFMPEG} @(cd ${FFMS_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --disable-shared CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \ CXXFLAGS="${CXXFLAGS}") .endif pre-build: .if ${PORT_OPTIONS:MFFMPEG} @(cd ${FFMS_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} -j${MAKE_JOBS_NUMBER} ${MAKE_ARGS} \ ${ALL_TARGET}) .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR}/automation/v4-docs (cd ${WRKSRC}/automation/v4-docs && ${INSTALL_DATA} * \ ${STAGEDIR}${DOCSDIR}/automation/v4-docs) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aegisub-* .include Index: head/multimedia/kodi/Makefile =================================================================== --- head/multimedia/kodi/Makefile (revision 381617) +++ head/multimedia/kodi/Makefile (revision 381618) @@ -1,192 +1,192 @@ # $FreeBSD$ PORTNAME= kodi DISTVERSION= 14.0 PORTREVISION= 0 CATEGORIES= multimedia MASTER_SITES= http://mirrors.kodi.tv/releases/source/ \ - GH:ffmpeg + GHL:ffmpeg DISTFILES= ${DISTVERSION}-Helix${EXTRACT_SUFX} \ ${GH_PROJECT}-${GH_TAGNAME}.tar.gz:ffmpeg EXTRACT_ONLY= ${DISTVERSION}-Helix${EXTRACT_SUFX} MAINTAINER= mickael.maillot@gmail.com COMMENT= Award winning media center application LICENSE= GPLv2 BUILD_DEPENDS= enca:${PORTSDIR}/converters/enca \ gawk:${PORTSDIR}/lang/gawk \ gperf:${PORTSDIR}/devel/gperf \ cmake:${PORTSDIR}/devel/cmake \ zip:${PORTSDIR}/archivers/zip \ unzip:${PORTSDIR}/archivers/unzip \ nasm:${PORTSDIR}/devel/nasm \ gtk-update-icon-cache:${PORTSDIR}/x11-toolkits/gtk20 \ swig2.0:${PORTSDIR}/devel/swig20 LIB_DEPENDS= libass.so:${PORTSDIR}/multimedia/libass \ libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libcdio.so:${PORTSDIR}/sysutils/libcdio \ libcurl.so:${PORTSDIR}/ftp/curl \ libdbus-1.so:${PORTSDIR}/devel/dbus \ libdrm.so:${PORTSDIR}/graphics/libdrm \ libenca.so:${PORTSDIR}/converters/enca \ libGLEW.so:${PORTSDIR}/graphics/glew \ libFLAC.so:${PORTSDIR}/audio/flac \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libfribidi.so:${PORTSDIR}/converters/fribidi \ libgnutls.so:${PORTSDIR}/security/gnutls \ liblzo2.so:${PORTSDIR}/archivers/lzo2 \ libjasper.so:${PORTSDIR}/graphics/jasper \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libltdl.so:${PORTSDIR}/devel/libltdl \ libmodplug.so:${PORTSDIR}/audio/libmodplug \ libmpeg2.so:${PORTSDIR}/multimedia/libmpeg2 \ libpcre.so:${PORTSDIR}/devel/pcre \ libpng.so:${PORTSDIR}/graphics/png \ libsamplerate.so:${PORTSDIR}/audio/libsamplerate \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libtag.so:${PORTSDIR}/audio/taglib \ libtinyxml.so:${PORTSDIR}/textproc/tinyxml \ libvorbis.so:${PORTSDIR}/audio/libvorbis \ libxslt.so:${PORTSDIR}/textproc/libxslt \ libyajl.so:${PORTSDIR}/devel/yajl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ glxinfo:${PORTSDIR}/graphics/mesa-demos \ python:${PORTSDIR}/lang/python \ xdpyinfo:${PORTSDIR}/x11/xdpyinfo USE_GITHUB= yes GH_ACCOUNT= xbmc GH_PROJECT= ffmpeg GH_COMMIT= 8865ab5 GH_TAGNAME= 2.4.4-Helix USES= gettext gmake iconv:wchar_t libtool:build pkgconfig python:2 USE_AUTOTOOLS= autoconf:env automake:env GNU_CONFIGURE= yes USE_XORG= xt xmu xtst USE_GL= glu USE_SDL= image sdl2 USE_JAVA= yes JAVA_BUILD= jre NOPRECIOUSMAKEVARS= yes INSTALLS_ICONS= yes ONLY_FOR_ARCHS= i386 amd64 WRKSRC= ${WRKDIR}/xbmc-${DISTVERSION}-Helix OPTIONS_SUB= yes OPTIONS_DEFINE= AIRPLAY AIRTUNES AVAHI CEC DOCS \ LIBBLURAY LIRC MYSQL NONFREE RTMP SFTP \ SMB VAAPI VDPAU WEBSERVER XRANDR AIRPLAY_DESC= AirPlay support via libplist AIRTUNES_DESC= AirTunes support via libshairplay CEC_DESC= CEC adapter support NONFREE_DESC= Enable non-free components (rar, ccx, ffmpeg) SFTP_DESC= SSH SFTP support via libssh OPTIONS_DEFAULT= AIRPLAY AIRTUNES AVAHI CEC LIBBLURAY LIRC MYSQL \ RTMP SFTP SMB VAAPI VDPAU WEBSERVER XRANDR AIRPLAY_LIB_DEPENDS= libplist.so:${PORTSDIR}/devel/libplist AIRPLAY_CONFIGURE_ENABLE= airplay AIRTUNES_LIB_DEPENDS= libshairplay.so:${PORTSDIR}/audio/shairplay AIRTUNES_CONFIGURE_ENABLE= airtunes AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi CEC_BUILD_DEPENDS= libcec>=2.2.0:${PORTSDIR}/multimedia/libcec CEC_LIB_DEPENDS= libcec.so:${PORTSDIR}/multimedia/libcec CEC_CONFIGURE_ENABLE= libcec LIBBLURAY_LIB_DEPENDS= libbluray.so:${PORTSDIR}/multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray LIRC_RUN_DEPENDS= lircd:${PORTSDIR}/comms/lirc MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ENABLE= mysql NONFREE_CONFIGURE_ENABLE= non-free RTMP_LIB_DEPENDS= librtmp.so:${PORTSDIR}/multimedia/librtmp RTMP_CONFIGURE_ENABLE= rtmp SMB_LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient SMB_RUN_DEPENDS= nmblookup:${PORTSDIR}/net/samba-nmblookup SMB_CONFIGURE_ENABLE= samba VAAPI_LIB_DEPENDS= libva.so:${PORTSDIR}/multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi VDPAU_LIB_DEPENDS= libvdpau.so:${PORTSDIR}/multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau WEBSERVER_LIB_DEPENDS= libmicrohttpd.so:${PORTSDIR}/www/libmicrohttpd WEBSERVER_CONFIGURE_ENABLE= webserver SFTP_BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh SFTP_RUN_DEPENDS= ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh SFTP_CONFIGURE_ENABLE= ssh XRANDR_USE= XORG=xrandr XRANDR_CONFIGURE_ENABLE= xrandr CONFIGURE_ARGS+= --disable-debug --disable-nfs --disable-alsa --disable-pulse .include .if ${ARCH} == i386 PLIST_SUB+= ARCH="x86" .else PLIST_SUB+= ARCH="x86_64" .endif .if ${OSVERSION} < 900033 BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ${PORT_OPTIONS:MNONFREE} NO_CDROM= Restricted binary distribution NO_PACKAGE= ${NO_CDROM} .endif post-extract: ${MKDIR} ${WRKSRC}/tools/depends/target/ffmpeg/${GH_PROJECT}-${GH_TAGNAME} ${TAR} --strip-components=1 -xf ${DISTDIR}/${GH_PROJECT}-${GH_TAGNAME}.tar.gz \ -C ${WRKSRC}/tools/depends/target/ffmpeg/${GH_PROJECT}-${GH_TAGNAME} post-patch: ${REINPLACE_CMD} 's;"event\.h";"sidplay/event.h";' \ ${WRKSRC}/lib/libsidplay2/libsidplay/src/event.cpp \ ${WRKSRC}/lib/libsidplay2/libsidplay/src/mos6510/mos6510.h \ ${WRKSRC}/lib/libsidplay2/libsidplay/src/mos6526/mos6526.h \ ${WRKSRC}/lib/libsidplay2/libsidplay/src/mos656x/mos656x.h ${REINPLACE_CMD} 's;make;gmake;' \ ${WRKSRC}/bootstrap \ ${WRKSRC}/codegenerator.mk \ ${WRKSRC}/xbmc/Makefile.in \ ${WRKSRC}/tools/TexturePacker/Makefile.in ${REINPLACE_CMD} 's;which swig;&2.0;' ${WRKSRC}/codegenerator.mk ${REINPLACE_CMD} '/^autopoint/d' ${WRKSRC}/lib/cpluff/autogen.sh run-autotools: cd ${WRKSRC} && ${SH} ./bootstrap post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/kodi.bin.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 (cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -sf kodi.bin.1.gz kodi.1.gz) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/kodi/kodi.bin ${FIND} ${STAGEDIR}${PREFIX}/lib/kodi -name '*.so' -or -name '*.xbs' -or -name '*.vis' \ | ${XARGS} ${STRIP_CMD} .if ${PORT_OPTIONS:MXRANDR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/kodi/kodi-xrandr .endif .include Index: head/multimedia/libcec/Makefile =================================================================== --- head/multimedia/libcec/Makefile (revision 381617) +++ head/multimedia/libcec/Makefile (revision 381618) @@ -1,35 +1,35 @@ # Created by: Manuel Creach # $FreeBSD$ PORTNAME= libcec PORTVERSION= 2.2.0 CATEGORIES= multimedia -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= manuel.creach@icloud.com COMMENT= Library to control Pulse-Eight's HDMI-CEC adapter LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= Pulse-Eight GH_COMMIT= 2a80b46 GH_TAGNAME= ${PORTNAME}-${PORTVERSION}-repack USES= alias pathfix pkgconfig libtool PATHFIX_MAKEFILEIN=Makefile.am USE_XORG= x11 xproto xrandr USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize ACLOCAL_ARGS= -I. AUTOMAKE_ARGS= --add-missing USE_LDCONFIG= yes INSTALL_TARGET= install-strip .include .if ${ARCH} == armv6 CONFIGURE_ARGS= --disable-rpi .endif .include Index: head/multimedia/mpv/Makefile =================================================================== --- head/multimedia/mpv/Makefile (revision 381617) +++ head/multimedia/mpv/Makefile (revision 381618) @@ -1,157 +1,157 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= mpv PORTVERSION= 0.8.3 PORTEPOCH= 1 CATEGORIES= multimedia audio -MASTER_SITES= GH:0 GHC:0 http://ftp.waf.io/pub/release/:1 \ +MASTER_SITES= GHL:0 http://ftp.waf.io/pub/release/:1 \ http://www.freehackers.org/~tnagy/release/:1 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:0 waf-${WAF_VERSION}:1 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= gblach@FreeBSD.org COMMENT= Free and open-source general-purpose video player LICENSE= GPLv2 LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ libass.so:${PORTSDIR}/multimedia/libass \ libdvdread.so:${PORTSDIR}/multimedia/libdvdread \ libdvdnav.so:${PORTSDIR}/multimedia/libdvdnav BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils USE_GITHUB= yes GH_ACCOUNT= mpv-player GH_TAGNAME= v${PORTVERSION} GH_COMMIT= ff4c1cc WAF_VERSION= 1.8.7 USES= compiler:c11 desktop-file-utils iconv pkgconfig python:build USE_XORG= x11 xv xxf86vm USE_LDCONFIG= yes INSTALLS_ICONS= yes CPPFLAGS+= -I.. -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --prefix=${PREFIX} \ --docdir=${EXAMPLESDIR} \ --mandir=${MANPREFIX}/man \ --disable-debug-build \ --disable-optimize \ --enable-libmpv-shared \ --disable-mpg123 \ --disable-alsa \ --disable-pdf OPTIONS_DEFINE= BS2B DOCS ENCA LADSPA LCMS2 LIBGUESS LIRC LUAJIT ZSH OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO LIBBLURAY V4L YTDL SMB OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU XINERAMA OPTIONS_GROUP_AO= JACK PULSEAUDIO OPTIONS_SUB= yes BS2B_DESC= Enable Bauer Stereophonic-to-Binaural DSP support ENCA_DESC= Enable encoding detection support LIBGUESS_DESC= Enable high-speed character set detection support LUAJIT_DESC= Use LuaJIT instead of Lua YTDL_DESC= Install youtube-dl IN_DESC= Input VO_DESC= Video Output AO_DESC= Audio Output BS2B_LIB_DEPENDS= libbs2b.so:${PORTSDIR}/audio/libbs2b BS2B_CONFIGURE_ENABLE= libbs2b ENCA_LIB_DEPENDS= libenca.so:${PORTSDIR}/converters/enca ENCA_CONFIGURE_ENABLE= enca LADSPA_LIB_DEPENDS= ladspa/amp.so:${PORTSDIR}/audio/ladspa LADSPA_CONFIGURE_ENABLE= ladspa LCMS2_LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 LCMS2_CONFIGURE_ENABLE= lcms2 LIBGUESS_LIB_DEPENDS= libguess.so:${PORTSDIR}/textproc/libguess LIBGUESS_CONFIGURE_ENABLE= libguess LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc LIRC_CONFIGURE_ENABLE= lirc LUAJIT_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit LUAJIT_USES_OFF= lua LUAJIT_CONFIGURE_ON= --lua=luajit LUAJIT_CONFIGURE_OFF= --lua=${LUA_VER_STR}fbsd ZSH_USES= perl5 ZSH_USE= PERL5=build ZSH_CONFIGURE_ENABLE= zsh-comp CDIO_LIB_DEPENDS= libcdio_paranoia.so:${PORTSDIR}/sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= cdda LIBBLURAY_LIB_DEPENDS= libbluray.so:${PORTSDIR}/multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:${PORTSDIR}/multimedia/libv4l V4L_CONFIGURE_ENABLE= tv-v4l2 YTDL_RUN_DEPENDS= youtube-dl:${PORTSDIR}/www/youtube_dl SMB_LIB_DEPENDS= libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient SMB_CONFIGURE_ENABLE= libsmbclient CACA_LIB_DEPENDS= libcaca.so:${PORTSDIR}/graphics/libcaca CACA_CONFIGURE_ENABLE= caca OPENGL_USE= XORG=glproto OPENGL_LIB_DEPENDS= libGL.so:${PORTSDIR}/graphics/libGL OPENGL_CONFIGURE_ENABLE= gl VAAPI_LIB_DEPENDS= libva.so:${PORTSDIR}/multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi VDPAU_LIB_DEPENDS= libvdpau.so:${PORTSDIR}/multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau XINERAMA_USE= XORG=xinerama,xineramaproto XINERAMA_CONFIGURE_ENABLE= xinerama JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack JACK_CONFIGURE_ENABLE= jack PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse .include post-extract: ${CP} ${DISTDIR}/waf-${WAF_VERSION} ${WRKSRC}/waf @${CHMOD} +x ${WRKSRC}/waf post-patch: @${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \ ${WRKSRC}/wscript_build.py @${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' do-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ waf configure ${_MAKE_JOBS} ${CONFIGURE_ARGS} do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ waf build ${_MAKE_JOBS} do-install: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ waf install --destdir=${STAGEDIR} post-stage: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpv ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpv.so .include Index: head/multimedia/py-ffmpeg/Makefile =================================================================== --- head/multimedia/py-ffmpeg/Makefile (revision 381617) +++ head/multimedia/py-ffmpeg/Makefile (revision 381618) @@ -1,36 +1,36 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= ffmpeg PORTVERSION= 1.2.4 PORTREVISION= 2 CATEGORIES= multimedia python -MASTER_SITES= GH LOCAL/dbn/${PORTNAME} +MASTER_SITES= GHL LOCAL/dbn/${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-android-${PORTVERSION} MAINTAINER= dbn@FreeBSD.org COMMENT= Python bindings for FFmpeg LICENSE= LGPL20 LGPL21 LGPL3 LICENSE_COMB= dual BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg MAKE_ENV= FFMPEG_LIBRARIES="SDL SDL_mixer" FFMPEG_LIBRARY_DIRS=${LOCALBASE}/lib \ FFMPEG_INCLUDES=${LOCALBASE}/include/SDL FFMPEG_ROOT=${LOCALBASE} GH_ACCOUNT= tito GH_PROJECT= ${PORTNAME}-android GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 6636c3a USE_GITHUB= yes USES= python:2 USE_PYTHON= distutils autoplist USE_SDL= mixer WRKSRC_SUBDIR= python post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ffmpeg/_ffmpeg.so .include Index: head/multimedia/subtitlecomposer-kde4/Makefile =================================================================== --- head/multimedia/subtitlecomposer-kde4/Makefile (revision 381617) +++ head/multimedia/subtitlecomposer-kde4/Makefile (revision 381618) @@ -1,38 +1,38 @@ # $FreeBSD$ PORTNAME= subtitlecomposer PORTVERSION= 0.5.6 PORTREVISION= 5 CATEGORIES= multimedia kde -MASTER_SITES= GITHUB +MASTER_SITES= GITHUB_LEGACY MAINTAINER= makc@FreeBSD.org COMMENT= Subtitle editor for KDE LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu USES= cmake:outsource gettext shared-mime-info tar:bzip2 USE_KDE4= kdeprefix kdelibs automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build phonon USE_GITHUB= yes GH_ACCOUNT= maxrd2 GH_TAGNAME= v${PORTVERSION} GH_COMMIT= 74f2f04 OPTIONS_GROUP= BACKEND BACKEND_DESC= Additional video backens OPTIONS_GROUP_BACKEND= GSTREAMER MPLAYER XINE MPLAYER_DESC= Install MPlayer MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer XINE_DESC= Build Xine backend XINE_LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine XINE_CMAKE_OFF= -DWITH_Xine:Bool=Off GSTREAMER_DESC= Build GStreamer backend GSTREAMER_USE= GSTREAMER=yes GSTREAMER_CMAKE_OFF= -DWITH_GStreamer:Bool=Off .include Index: head/net/6tunnel/Makefile =================================================================== --- head/net/6tunnel/Makefile (revision 381617) +++ head/net/6tunnel/Makefile (revision 381618) @@ -1,32 +1,32 @@ # Created by: Vassili Tchersky # $FreeBSD$ PORTNAME= 6tunnel DISTVERSION= 0.11rc2.20130525 CATEGORIES= net ipv6 -MASTER_SITES= GH \ +MASTER_SITES= GHL \ LOCAL/bdrewery/${PORTNAME}/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= TCP proxy for applications that do not speak IPv6 LICENSE= GPLv2 GNU_CONFIGURE= yes USE_AUTOTOOLS= autoconf ALL_TARGET= default USE_GITHUB= yes GH_ACCOUNT= wojtekka GH_PROJECT= ${PORTNAME} GH_COMMIT= 2d33461 GH_TAGNAME= ${GH_COMMIT} PLIST_FILES= bin/6tunnel \ man/man1/6tunnel.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ .include Index: head/net/exabgp/Makefile =================================================================== --- head/net/exabgp/Makefile (revision 381617) +++ head/net/exabgp/Makefile (revision 381618) @@ -1,55 +1,55 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= exabgp PORTVERSION= 3.4.8 CATEGORIES= net -MASTER_SITES= GH GHC \ +MASTER_SITES= GHL \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= BGP engine and route injector LICENSE= BSD3CLAUSE USE_GITHUB= yes GH_ACCOUNT= Exa-Networks GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 70c4305 GH_REVNUM= 5375472 USES= tar:tgz python:2 SUB_FILES= pkg-message exabgp.sh SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \ PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} USE_RC_SUBR= ${PORTNAME} USERS= _bgpd GROUPS= _bgpd OPTIONS_DEFINE= EXAMPLES .include post-extract: @${LN} -s ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_REVNUM} \ ${WRKSRC} @${MV} -f ${WRKSRC}/etc/systemd ${WRKSRC} do-build: ${PYTHON_CMD} -m compileall ${WRKSRC}/lib do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}) .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .endif ${CP} ${FILESDIR}/exabgp.env ${STAGEDIR}${ETCDIR}/exabgp.env.sample post-install: @${CAT} ${PKGMESSAGE} .include Index: head/net/exaddos/Makefile =================================================================== --- head/net/exaddos/Makefile (revision 381617) +++ head/net/exaddos/Makefile (revision 381618) @@ -1,46 +1,46 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= exaddos PORTVERSION= 0.4.0 CATEGORIES= net -MASTER_SITES= GH GHC \ +MASTER_SITES= GHL \ http://mirrors.rit.edu/zi/ EXTRACT_SUFX= .tgz MAINTAINER= zi@FreeBSD.org COMMENT= Monitor your network for DDoS LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}snmp4-mibs>=0.1.4:${PORTSDIR}/net-mgmt/py-snmp4-mibs \ ${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:${PORTSDIR}/net-mgmt/py-snmp4 USE_GITHUB= yes GH_ACCOUNT= Exa-Networks GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 4e93fc1 USES= python SUB_FILES= pkg-message exaddos.sh exaddos.conf.sample SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \ PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} USE_RC_SUBR= ${PORTNAME} USERS= ${PORTNAME} GROUPS= ${PORTNAME} do-build: @${PYTHON_CMD} -m compileall ${WRKSRC}/lib do-install: @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR} @(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}) @(cd ${WRKSRC}/data/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/${PORTNAME}) @${INSTALL_DATA} ${WRKDIR}/exaddos.conf.sample \ ${STAGEDIR}${ETCDIR} post-install: @${CAT} ${PKGMESSAGE} .include Index: head/net/foreman-proxy/Makefile =================================================================== --- head/net/foreman-proxy/Makefile (revision 381617) +++ head/net/foreman-proxy/Makefile (revision 381618) @@ -1,92 +1,92 @@ # Created by: Martin Matuska # $FreeBSD$ PORTNAME= foreman-proxy PORTVERSION= 1.7.1 CATEGORIES= net -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= mm@FreeBSD.org COMMENT= Foreman Proxy Agent LICENSE= GPLv3 RUN_DEPENDS= rubygem-bundler_ext>=0.4:${PORTSDIR}/sysutils/rubygem-bundler_ext \ rubygem-json>=1.8.1:${PORTSDIR}/devel/rubygem-json \ rubygem-rack>=1.4:${PORTSDIR}/www/rubygem-rack \ rubygem-sinatra>=1.4.3:${PORTSDIR}/www/rubygem-sinatra \ ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget OPTIONS_DEFINE= BMC PUPPET BMC_DESC= Depend on rubyipmi for BMC support PUPPET_DESC= Depend on Puppet USE_GITHUB= yes GH_ACCOUNT= theforeman GH_PROJECT= smart-proxy GH_COMMIT= c43f68e USE_RUBY= yes USE_RAKE= yes USE_RC_SUBR= foreman-proxy NO_BUILD= yes NO_ARCH= yes FOREMAN_PROXY_USER?= foreman_proxy FOREMAN_PROXY_GROUP?= foreman_proxy FOREMAN_PROXY_LOGDIR?= /var/log/foreman-proxy FOREMAN_PROXY_RUNDIR?= /var/run/foreman-proxy USERS= ${FOREMAN_PROXY_USER} GROUPS= ${FOREMAN_PROXY_GROUP} SUB_LIST= RUBY="${RUBY}" \ FOREMAN_PROXY_USER="${FOREMAN_PROXY_USER}" \ FOREMAN_PROXY_GROUP="${FOREMAN_PROXY_GROUP}" \ FOREMAN_PROXY_RUNDIR="${FOREMAN_PROXY_RUNDIR}" \ FOREMAN_PROXY_LOGDIR="${FOREMAN_PROXY_LOGDIR}" PLIST_SUB= ${SUB_LIST} MKDIR="${MKDIR}" BMC_RUN_DEPENDS= rubygem-rubyipmi>=0.7:${PORTSDIR}/sysutils/rubygem-rubyipmi PUPPET_RUN_DEPENDS= puppet:${PORTSDIR}/sysutils/puppet \ rubygem-ruby-augeas>=0.5:${PORTSDIR}/textproc/rubygem-augeas post-patch: @${REINPLACE_CMD} \ -e "s|/usr/bin/env ruby|${RUBY}|g" \ -e "s|/usr/bin/ruby|${RUBY}|g" \ -e "s|%%PREFIX%%|${PREFIX}|g" \ -e "s|%%DATADIR%%|${DATADIR}|g" \ ${WRKSRC}/bin/smart-proxy \ ${WRKSRC}/extra/migrate_settings.rb \ ${WRKSRC}/extra/query.rb @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \ -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ ${WRKSRC}/config/settings.d/*.yml.example \ ${WRKSRC}/lib/proxy/http_downloads.rb do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d ${MKDIR} ${STAGEDIR}${DATADIR}/extra ${LN} -s ${PREFIX}/etc/foreman-proxy ${STAGEDIR}${DATADIR}/config ${INSTALL_SCRIPT} ${WRKSRC}/bin/smart-proxy \ ${STAGEDIR}${PREFIX}/sbin/smart-proxy .for file in CHANGELOG Contributors Gemfile LICENSE README Rakefile \ VERSION bundler.d config.ru lib modules public views ${CP} -r ${WRKSRC}/${file} ${STAGEDIR}${DATADIR} .endfor ${LN} -s Gemfile ${STAGEDIR}${DATADIR}/Gemfile.in .for script in migrate_settings.rb query.rb ${INSTALL_SCRIPT} ${WRKSRC}/extra/${script} \ ${STAGEDIR}${DATADIR}/extra/${script} .endfor ${INSTALL_DATA} ${WRKSRC}/config/settings.yml.example \ ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.yml.sample .for cfg in bmc dhcp dns facts puppet puppetca realm templates tftp ${INSTALL_DATA} ${WRKSRC}/config/settings.d/${cfg}.yml.example \ ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d/${cfg}.yml.sample .endfor ${MKDIR} -m 0700 ${STAGEDIR}${FOREMAN_PROXY_LOGDIR} \ ${STAGEDIR}${FOREMAN_PROXY_RUNDIR} .include Index: head/net/go-amqp/Makefile =================================================================== --- head/net/go-amqp/Makefile (revision 381617) +++ head/net/go-amqp/Makefile (revision 381618) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= amqp PORTVERSION= 0.0.0.20140916 CATEGORIES= net -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMEPREFIX= go- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Go library for AMQP client with RabbitMQ extensions LICENSE= BSD2CLAUSE USE_GITHUB= yes GH_ACCOUNT= streadway GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 7d6d180 GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/net/relayd/Makefile =================================================================== --- head/net/relayd/Makefile (revision 381617) +++ head/net/relayd/Makefile (revision 381618) @@ -1,43 +1,43 @@ # $FreeBSD$ PORTNAME= relayd PORTVERSION= 5.5.20140810 PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= mm@FreeBSD.org COMMENT= OpenBSD relay daemon LICENSE= ISCL GH_ACCOUNT= mmatuska GH_COMMIT= 49d1afd WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}/src/usr.sbin USES= uidfix USE_GITHUB= yes USE_OPENSSL= yes USE_RC_SUBR= relayd CFLAGS+= -Wall MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man USERS= _relayd GROUPS= _relayd .include post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/relayd/relay.c \ ${WRKSRC}/relayd/relayd.h \ ${WRKSRC}/relayd/relayd.conf.5 \ ${WRKSRC}/relayd/relayd.8 post-install: @${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \ ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample .include Index: head/net/xrdp/Makefile =================================================================== --- head/net/xrdp/Makefile (revision 381617) +++ head/net/xrdp/Makefile (revision 381618) @@ -1,97 +1,97 @@ # Created by: alepulver # $FreeBSD$ PORTNAME= xrdp PORTVERSION= 0.6.1 PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= net -MASTER_SITES= GH +MASTER_SITES= GHL DIST_SUBDIR?= ${PORTNAME} MAINTAINER= meta+ports@vmeta.jp COMMENT= Open source Remote Desktop Protocol (RDP) server LICENSE= GPLv2 GNU_CONFIGURE= yes USES= autoreconf:build libtool pkgconfig USE_LDCONFIG= ${PREFIX}/lib/xrdp USE_OPENSSL= yes USE_RC_SUBR= xrdp USE_XORG= x11 xfixes USE_GITHUB= yes GH_ACCOUNT= neutrinolabs GH_PROJECT= xrdp GH_COMMIT= 5d53758 GH_TAGNAME= ${GH_COMMIT} CONFIGURE_ARGS= --localstatedir=/var CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DEBUG OPTIONS_DEFAULT= JP106 X11RDP OPTIONS_GROUP= KEYMAP XSERVER OPTIONS_GROUP_KEYMAP= JP106 OPTIONS_GROUP_XSERVER= X11RDP OPTIONS_RADIO= XVNC OPTIONS_RADIO_XVNC= REALVNC TIGERVNC TIGHTVNC TRIDIAVNC REALVNC_DESC= Use RealVNC TIGERVNC_DESC= Use TigerVNC (recommended) TIGHTVNC_DESC= Use TightVNC TRIDIAVNC_DESC= Use TridiaVNC X11RDP_DESC= Use X11rdp (most recommended) JP106_DESC= Install Japanese JP106 keymap .include # Which Xserver to use .if ${PORT_OPTIONS:MREALVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/vnc .endif .if ${PORT_OPTIONS:MTIGERVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tigervnc .endif .if ${PORT_OPTIONS:MTIGHTVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tightvnc .endif .if ${PORT_OPTIONS:MTRIDIAVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tridiavnc .endif # X11rdp .if ${PORT_OPTIONS:MX11RDP} || exists(${LOCALBASE}/bin/X11rdp) RUN_DEPENDS+= X11rdp:${PORTSDIR}/x11-servers/x11rdp EXTRA_PATCHES+= ${FILESDIR}/extra-patch-x11rdp_xrdp.ini .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-xrdpdebug CFLAGS+= -DXRDP_DEBUG .endif .if ${PORT_OPTIONS:MJP106} KEYMAP_FILES+= km-0411.ini km-e0010411.ini \ km-e0200411.ini km-e0210411.ini PLIST_SUB+= JP106="" .else PLIST_SUB+= JP106="@comment " .endif SUB_FILES= pkg-message post-patch: .for f in sesman/sesman.ini sesman/startwm.sh xrdp/rsakeys.ini xrdp/xrdp.ini @${MV} ${WRKSRC}/$f ${WRKSRC}/$f.sample .endfor pre-configure: @cd ${WRKSRC} && ./bootstrap post-install: .for f in ${KEYMAP_FILES} ${INSTALL_DATA} ${FILESDIR}/$f ${STAGEDIR}${PREFIX}/etc/xrdp .endfor .include Index: head/net/xrdp-devel/Makefile =================================================================== --- head/net/xrdp-devel/Makefile (revision 381617) +++ head/net/xrdp-devel/Makefile (revision 381618) @@ -1,102 +1,102 @@ # Created by: alepulver # $FreeBSD$ PORTNAME= xrdp PORTVERSION= 0.7.0.b20130912 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMESUFFIX= -devel DIST_SUBDIR?= ${PORTNAME} MAINTAINER= meta+ports@vmeta.jp COMMENT= Open source Remote Desktop Protocol (RDP) server LICENSE= GPLv2 USES= autoreconf:build libtool pkgconfig USE_XORG= x11 xfixes GNU_CONFIGURE= yes USE_RC_SUBR= xrdp USE_LDCONFIG= ${PREFIX}/lib/xrdp USE_GITHUB= yes GH_ACCOUNT= neutrinolabs GH_PROJECT= xrdp GH_COMMIT= 64e2291 GH_TAGNAME= ${GH_COMMIT} CONFIGURE_ARGS= --localstatedir=/var \ --enable-jpeg CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib CONFLICTS= xrdp-[0-9]* LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg # xrdp v0.7 is not compatible with current net/freerdp (1.0.2) #BUILD_DEPENDS+= freerdp>=1.0.2:${PORTSDIR}/net/freerdp #CONFIGURE_ARGS+= --enable-freerdp1 OPTIONS_DEFINE= DEBUG SOUND OPTIONS_DEFAULT= TIGERVNC JP106 OPTIONS_GROUP= KEYMAP OPTIONS_GROUP_KEYMAP= JP106 OPTIONS_RADIO= XVNC OPTIONS_RADIO_XVNC= REALVNC TIGERVNC TIGHTVNC TRIDIAVNC REALVNC_DESC= Use RealVNC TIGERVNC_DESC= Use TigerVNC (recommended) TIGHTVNC_DESC= Use TightVNC TRIDIAVNC_DESC= Use TridiaVNC SOUND_DESC= Enable sound support via pulseaudio (experimental) JP106_DESC= Install Japanese JP106 keymap .include # Which Xserver to use .if ${PORT_OPTIONS:MREALVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/vnc .endif .if ${PORT_OPTIONS:MTIGERVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tigervnc .endif .if ${PORT_OPTIONS:MTIGHTVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tightvnc .endif .if ${PORT_OPTIONS:MTRIDIAVNC} RUN_DEPENDS= Xvnc:${PORTSDIR}/net/tridiavnc .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-xrdpdebug CFLAGS+= -DXRDP_DEBUG .endif .if ${PORT_OPTIONS:MJP106} KEYMAP_FILES+= km-0411.ini km-e0010411.ini \ km-e0200411.ini km-e0210411.ini PLIST_SUB+= JP106="" .else PLIST_SUB+= JP106="@comment " .endif .if ${PORT_OPTIONS:MSOUND} BUILD_DEPENDS+= ${LOCALBASE}/include/pulse/simple.h:${PORTSDIR}/audio/pulseaudio \ ${LOCALBASE}/include/pulse/error.h:${PORTSDIR}/audio/pulseaudio CONFIGURE_ARGS+= --enable-simplesound .endif SUB_FILES= pkg-message post-patch: .for f in sesman/sesman.ini sesman/startwm.sh xrdp/rsakeys.ini xrdp/xrdp.ini @${MV} ${WRKSRC}/$f ${WRKSRC}/$f.sample .endfor pre-configure: @cd ${WRKSRC} && ./bootstrap post-install: .for f in ${KEYMAP_FILES} ${INSTALL_DATA} ${FILESDIR}/$f ${STAGEDIR}${PREFIX}/etc/xrdp .endfor .include Index: head/net-im/corebird/Makefile =================================================================== --- head/net-im/corebird/Makefile (revision 381617) +++ head/net-im/corebird/Makefile (revision 381618) @@ -1,60 +1,60 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= corebird PORTVERSION= 0.9 CATEGORIES= net-im -MASTER_SITES= GH GHC +MASTER_SITES= GHL GHC MAINTAINER= cpm@fbsd.es COMMENT= GTK3 Twitter client written in Vala LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ libnotify.so:${PORTSDIR}/devel/libnotify \ libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \ librest-0.7.so:${PORTSDIR}/devel/librest \ libgee-0.8.so:${PORTSDIR}/devel/libgee GH_ACCOUNT= baedert GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 3399924 USE_GITHUB= yes USES= autoreconf gettext gmake libtool pkgconfig GNU_CONFIGURE= yes USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 pango USE_SQLITE= yes INSTALLS_ICONS= yes OPTIONS_DEFINE= GSTREAMER OPTIONS_DEFAULT= GSTREAMER GSTREAMER_DESC= Gstreamer support GLIB_SCHEMAS= org.baedert.corebird.gschema.xml .include post-extract: cd ${WRKSRC}/data && ${MV} org.baedert.corebird.desktop.in.in \ corebird.desktop.in.in .if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER1= yes bad good libav x ximagesrc .else CONFIGURE_ARGS+= --disable-video .endif pre-configure: ${MKDIR} ${WRKSRC}/m4 # Replace locales files in right place post-configure: ${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \ ${WRKSRC}/po/Makefile .include Index: head/net-im/qxmpp/Makefile =================================================================== --- head/net-im/qxmpp/Makefile (revision 381617) +++ head/net-im/qxmpp/Makefile (revision 381618) @@ -1,27 +1,27 @@ # Created by: Gvozdikov Veniamin # $FreeBSD$ PORTNAME= qxmpp PORTVERSION= 0.8.0 CATEGORIES= net-im -MASTER_SITES= GH GHC +MASTER_SITES= GHL MAINTAINER= vg@FreeBSD.org COMMENT= QXmpp is an xmpp client library based on Qt & C++ LICENSE= LGPL21 USES= qmake pathfix pkgconfig libtool USE_QT4= gui network qtestlib xml uic_build moc_build \ rcc_build USE_GITHUB= yes GH_ACCOUNT= qxmpp-project GH_TAGNAME= v${PORTVERSION} GH_COMMIT= cc09061 pre-configure: ${REINPLACE_CMD} -e 's|pkgconfig|../libdata/pkgconfig|g' \ ${WRKSRC}/src/src.pro .include Index: head/net-mgmt/arpscan/Makefile =================================================================== --- head/net-mgmt/arpscan/Makefile (revision 381617) +++ head/net-mgmt/arpscan/Makefile (revision 381618) @@ -1,30 +1,30 @@ # Created by: David Yeske # $FreeBSD$ PORTNAME= arpscan PORTVERSION= 0.5 PORTREVISION= 1 CATEGORIES= net-mgmt -MASTER_SITES= GH +MASTER_SITES= GHL DIST_SUBDIR= repacked MAINTAINER= ports@FreeBSD.org COMMENT= Simple arp scanner LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet USE_GITHUB= yes GH_ACCOUNT= jasonish GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= e59831a USE_AUTOTOOLS= aclocal autoheader automake autoconf AUTOMAKE_ARGS= --add-missing --copy CONFIGURE_ARGS=--with-libdnet=${LOCALBASE} PLIST_FILES= bin/arpscan .include Index: head/net-mgmt/lg/Makefile =================================================================== --- head/net-mgmt/lg/Makefile (revision 381617) +++ head/net-mgmt/lg/Makefile (revision 381618) @@ -1,37 +1,37 @@ # Created by: Mathieu Arnold # $FreeBSD$ PORTNAME= lg PORTVERSION= 1.9.s20140622 -MASTER_SITES= LOCAL/mat/lg GH GHC +MASTER_SITES= LOCAL/mat/lg GHL CATEGORIES= net-mgmt perl5 MAINTAINER= mat@FreeBSD.org COMMENT= Looking Glass written in Perl as a CGI script LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= DOCS USE_GITHUB= yes GH_ACCOUNT= Cougar GH_COMMIT= 0d53e4b GH_TAGNAME= ${GH_COMMIT} USES= perl5 USE_PERL5= run NO_BUILD= yes do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKSRC}/lg.cgi ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${INSTALL_DATA} lg.conf favicon.ico ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${INSTALL_SCRIPT} makeaslist.pl makedb.pl ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${INSTALL_DATA} as.txt communities.txt ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG COPYING README ${STAGEDIR}${DOCSDIR} .include Index: head/net-p2p/bitmessage/Makefile =================================================================== --- head/net-p2p/bitmessage/Makefile (revision 381617) +++ head/net-p2p/bitmessage/Makefile (revision 381618) @@ -1,39 +1,39 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= bitmessage PORTVERSION= 0.4.4 PORTREVISION= 1 CATEGORIES= net-p2p -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= yuri@rawbw.com COMMENT= Secure P2P communications client LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-core \ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=${PYQT4_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui USE_GITHUB= yes GH_ACCOUNT= Bitmessage GH_PROJECT= PyBitmessage GH_COMMIT= c9c301a GH_TAGNAME= v${PORTVERSION} USES= python USE_OPENSSL= yes INSTALLS_ICONS= yes post-patch: ${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}| ; s|share/man|man|' ${WRKSRC}/Makefile do-build: @(cd ${WRKSRC} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${WRKSRC} -f ${WRKSRC} && \ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${WRKSRC} -f ${WRKSRC}) .include Index: head/net-p2p/litecoin/Makefile =================================================================== --- head/net-p2p/litecoin/Makefile (revision 381617) +++ head/net-p2p/litecoin/Makefile (revision 381618) @@ -1,113 +1,113 @@ # Created by: Steve Wills # $FreeBSD$ PORTNAME= litecoin PORTVERSION= 0.8.6.2 PORTREVISION= 1 CATEGORIES= net-p2p finance MASTER_SITES= LOCAL/swills \ - GH + GHL MAINTAINER= swills@FreeBSD.org COMMENT= Virtual Peer-to-Peer Currency Software LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= litecoin-project GH_COMMIT= fa2cfea GH_TAGNAME= v${PORTVERSION} USE_OPENSSL= yes USE_BDB= yes WANT_BDB_VER= 48 USES= gmake OPTIONS_DEFINE= X11 UPNP QRCODES DBUS OPTIONS_DEFAULT= X11 QRCODES UPNP_DESC= Build with UPNP support QRCODES_DESC= Build with QR code display DBUS_DESC= Build with DBUS support CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} .include .if ${PORT_OPTIONS:MUPNP} LIB_DEPENDS+= libminiupnpc.so:${PORTSDIR}/net/miniupnpc QMAKE_USE_UPNP= 1 .else QMAKE_USE_UPNP= - .endif .if ${PORT_OPTIONS:MX11} USE_QT4= network gui qmake_build linguist_build uic_build moc_build rcc_build BINARY= litecoin-qt .else BINARY= litecoind MAKEFILE= makefile.unix ALL_TARGET= ${BINARY} MAKE_ARGS+= -C ${WRKSRC}/src USE_UPNP=${QMAKE_USE_UPNP} .endif PLIST_FILES= bin/${BINARY} .if ${PORT_OPTIONS:MX11} && ${PORT_OPTIONS:MQRCODES} LIB_DEPENDS+= libqrencode.so:${PORTSDIR}/graphics/libqrencode QMAKE_USE_QRCODE=1 .else QMAKE_USE_QRCODE=0 .endif .if ${PORT_OPTIONS:MDBUS} USE_QT4+= dbus QMAKE_USE_DBUS= 1 .else QMAKE_USE_DBUS= 0 .endif .include .if ${PORT_OPTIONS:MX11} PLIST_FILES+= share/applications/litecoin-qt.desktop share/pixmaps/litecoin64.png .endif do-configure: .if ${PORT_OPTIONS:MX11} cd ${BUILD_WRKSRC} && \ ${QMAKE} ${QMAKE_ARGS} \ QMAKE_LIBDIR+=${BDB_LIB_DIR} \ QMAKE_LRELEASE=${LRELEASE} \ USE_UPNP=${QMAKE_USE_UPNP} \ USE_QRCODE=${QMAKE_USE_QRCODE} \ USE_DBUS=${QMAKE_USE_DBUS} \ bitcoin-qt.pro .endif do-install: .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${STAGEDIR}${PREFIX}/bin/ ${REINPLACE_CMD} -e 's,=/usr,=${PREFIX},' \ -e 's,bitcoin,litecoin,g' \ -e 's,Bitcoin,Litecoin,g' \ -e 's,128,64,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications/litecoin-qt.desktop ${INSTALL} ${WRKSRC}/share/pixmaps/bitcoin64.png ${STAGEDIR}${PREFIX}/share/pixmaps/litecoin64.png .else ${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${STAGEDIR}${PREFIX}/bin/ .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/makefile.unix regression-test: .if !${PORT_OPTIONS:MX11} @${MAKE_CMD} -C ${WRKSRC}/src -f makefile.unix USE_UPNP=${QMAKE_USE_UPNP} test_litecoin (cd ${WRKSRC}/src ; ./test_litecoin) .endif .include Index: head/net-p2p/namecoin/Makefile =================================================================== --- head/net-p2p/namecoin/Makefile (revision 381617) +++ head/net-p2p/namecoin/Makefile (revision 381618) @@ -1,99 +1,99 @@ # Created by: Chad J. Milios # $FreeBSD$ PORTNAME= namecoin PORTVERSION= Q.3.72 PORTREVISION= 3 CATEGORIES= net-p2p dns -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= milios@ccsys.com COMMENT= Decentralized, open DNS system and general purpose key/value store LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs OPTIONS_DEFINE= X11 UPNP QRCODES DBUS OPTIONS_DEFAULT= X11 QRCODES UPNP_DESC= Build with UPNP support QRCODES_DESC= Build with QR code display USE_GITHUB= yes GH_ACCOUNT= namecoinq GH_PROJECT= namecoinq GH_COMMIT= cdf052b GH_TAGNAME= v${PORTVERSION} USES= gmake compiler:c++11-lib USE_OPENSSL= yes USE_BDB= yes WANT_BDB_VER= 48 CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM .include .if ${PORT_OPTIONS:MX11} USE_QT4= corelib network gui qmake_build linguist_build uic_build moc_build rcc_build BINARY= namecoin-qt LIB_DEPENDS+= libprotobuf.so:${PORTSDIR}/devel/protobuf .else BINARY= namecoind MAKE_ARGS+= -C ${WRKSRC}/src USE_GNOME= glib20 .endif .if ${PORT_OPTIONS:MQRCODES} LIB_DEPENDS+= libqrencode.so:${PORTSDIR}/graphics/libqrencode QMAKE_USE_QRCODE=1 .else QMAKE_USE_QRCODE=0 .endif .if ${PORT_OPTIONS:MDBUS} USE_QT4+= dbus QMAKE_USE_DBUS= 1 .else QMAKE_USE_DBUS= 0 .endif PLIST_FILES+= bin/${BINARY} .if ${PORT_OPTIONS:MUPNP} LIB_DEPENDS+= libminiupnpc.so:${PORTSDIR}/net/miniupnpc QMAKE_USE_UPNP= 1 .else QMAKE_USE_UPNP= - .endif .include post-patch: .if !${PORT_OPTIONS:MX11} @cd ${WRKSRC}/src && ${CP} ${FILESDIR}/makefile.unix Makefile @${REINPLACE_CMD} \ -e 's|^USE_UPNP.*$$|USE_UPNP=${QMAKE_USE_UPNP}|' \ -e 's|-l pthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/src/Makefile .endif do-configure: .if ${PORT_OPTIONS:MX11} cd ${WRKSRC} && ${SETENV} ${QMAKE_ENV} \ ${QMAKE} ${QMAKE_ARGS} USE_UPNP=${QMAKE_USE_UPNP} USE_QRCODE=${QMAKE_USE_QRCODE} \ QMAKE_LRELEASE=${LRELEASE} INCLUDEPATH+=${BDB_INCLUDE_DIR} \ QMAKE_LIBDIR+=${BDB_LIB_DIR} ${BINARY}.pro .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${STAGEDIR}${PREFIX}/bin/ .else ${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${STAGEDIR}${PREFIX}/bin/ .endif .include Index: head/net-p2p/zetacoin/Makefile =================================================================== --- head/net-p2p/zetacoin/Makefile (revision 381617) +++ head/net-p2p/zetacoin/Makefile (revision 381618) @@ -1,117 +1,117 @@ # Created by: Daniel Morante # $FreeBSD$ PORTNAME= zetacoin PORTVERSION= 0.9.2.4 CATEGORIES= net-p2p finance -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= daniel@morante.net COMMENT= Peer-to-Peer crypto currency with quick transactions LICENSE= MIT BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_PROJECT= ${PORTNAME} GH_COMMIT= 22ddb9b GH_TAGNAME= 22ddb9b OPTIONS_DEFINE= X11 UPNP WALLET CLI TEST OPTIONS_SUB= yes WALLET_DESC= Build wallet or P2P server node only QRCODES_DESC= Enable QR code display when building graphical interface CLI_DESC= Build command line RPC client OPTIONS_DEFAULT= X11 WALLET QRCODES OPTIONS_GROUP= X11 OPTIONS_GROUP_X11= QRCODES UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:${PORTSDIR}/net/miniupnpc X11_CONFIGURE_WITH= gui X11_CONFIGURE_ON= --without-daemon X11_CONFIGURE_OFF= --with-daemon X11_BUILD_DEPENDS= protoc:${PORTSDIR}/devel/protobuf X11_USE= qt4=corelib,gui,qmake_build,linguist,uic,moc,rcc,qtestlib_build X11_USES= desktop-file-utils WALLET_CONFIGURE_ENABLE= wallet WALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} -L${BDB_LIB_DIR} WALLET_USE= bdb=yes QRCODES_LIB_DEPENDS= libqrencode.so:${PORTSDIR}/graphics/libqrencode QRCODES_CONFIGURE_WITH= qrencode CLI_CONFIGURE_WITH= cli TEST_CONFIGURE_ENABLE= tests TEST_ALL_TARGET= check AUTOMAKE_ARGS+= --add-missing USE_AUTOTOOLS= aclocal autoheader automake autoconf CONFIGURE_ENV= SSL_LIBS="-lssl" CRYPTO_LIBS="-lcrypto" SSL_CFLAGS="-I/usr/include" CRYPTO_CFLAGS="-I/usr/include" USES= gmake USE_OPENSSL= yes WANT_BDB_VER= 48 CXXFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -L${LOCALBASE}/lib CXXFLAGS+= -Wno-invalid-offsetof QT_BINARY= ${PORTNAME}-qt CLI_BINARY= ${PORTNAME}-cli DAEMON= ${PORTNAME}d PLIST_SUB+= EXECUTABLE_QT=bin/${QT_BINARY} \ EXECUTABLE_CLI=bin/${CLI_BINARY} \ EXECUTABLE_DAEMON=bin/${DAEMON} \ PORTNAME=${PORTNAME} .include .if empty(PORT_OPTIONS:MX11) && !empty(PORT_OPTIONS:MQRCODES) BROKEN= QRCODES requires X11 support. Run 'make config' again! .endif # tests will currently fail .if ${PORT_OPTIONS:MTEST} BROKEN= automated testing fails .endif .if ! ${PORT_OPTIONS:MX11} USE_RC_SUBR= ${PORTNAME} SUB_LIST+= PORTNAME=${PORTNAME} SUB_FILES= pkg-message USERS= ${PORTNAME} GROUPS= ${PORTNAME} .endif post-patch: ${MKDIR} ${WRKSRC}/src/build-aux do-install: .if ${PORT_OPTIONS:MCLI} ${INSTALL_PROGRAM} -s ${WRKSRC}/src/${CLI_BINARY} ${STAGEDIR}${PREFIX}/bin/${CLI_BINARY} .endif .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} -s ${WRKSRC}/src/qt/${QT_BINARY} ${STAGEDIR}${PREFIX}/bin/${QT_BINARY} ${REINPLACE_CMD} -e 's,=/usr,=${PREFIX},' \ -e 's,bitcoin,zetacoin,g' \ -e 's,Bitcoin,Zetacoin,g' \ -e 's,128,,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-qt.desktop ${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .else ${INSTALL_PROGRAM} -s ${WRKSRC}/src/${DAEMON} ${STAGEDIR}${PREFIX}/bin/${DAEMON} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .endif .include Index: head/ports-mgmt/chucky/Makefile =================================================================== --- head/ports-mgmt/chucky/Makefile (revision 381617) +++ head/ports-mgmt/chucky/Makefile (revision 381618) @@ -1,40 +1,40 @@ # Created by: "Waitman Gobble" # $FreeBSD$ PORTNAME= chucky PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= ports-mgmt -MASTER_SITES= GH +MASTER_SITES= GHL DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} MAINTAINER= waitman@waitman.net COMMENT= Port installed version check/report with shar archival LICENSE= CHUCKY LICENSE_NAME= CHUCKY BSD LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpkg.so:${PORTSDIR}/${PKG_ORIGIN} \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 USE_GITHUB= yes GH_ACCOUNT= waitman GH_PROJECT= chucky GH_TAGNAME= 075defe GH_COMMIT= ${GH_TAGNAME} SUB_FILES= pkg-message SUB_LIST= MAN7PREFIX="${MAN7PREFIX}" PORTDOCS= * OPTIONS_DEFINE= DOCS .include post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/ports-mgmt/pkgcompare/Makefile =================================================================== --- head/ports-mgmt/pkgcompare/Makefile (revision 381617) +++ head/ports-mgmt/pkgcompare/Makefile (revision 381618) @@ -1,46 +1,46 @@ # Created by: "Waitman Gobble" # $FreeBSD$ PORTNAME= pkgcompare PORTVERSION= 1.1 CATEGORIES= ports-mgmt -MASTER_SITES= GH +MASTER_SITES= GHL DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} MAINTAINER= waitman@waitman.net COMMENT= Alternate to pkg upgrade LICENSE= PKG-COMPARE LICENSE_NAME= PKG-COMPARE BSD LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpkg.so:${PORTSDIR}/${PKG_ORIGIN} \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 USE_GITHUB= yes GH_ACCOUNT= waitman GH_PROJECT= pkg-compare GH_TAGNAME= 418295d GH_COMMIT= ${GH_TAGNAME} WRKSRC= ${WRKDIR}/waitman-pkg-compare-${GH_TAGNAME} BINARY= pkg-compare PORTDOCS= * PLIST_FILES= man/man8/pkg-compare.8.gz \ sbin/pkg-compare SUB_FILES= pkg-message do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/pkg-compare.8 \ ${STAGEDIR}${MAN8PREFIX}/man/man8 post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${LICENSE_FILE} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/ports-mgmt/portmaster/Makefile =================================================================== --- head/ports-mgmt/portmaster/Makefile (revision 381617) +++ head/ports-mgmt/portmaster/Makefile (revision 381618) @@ -1,61 +1,61 @@ # $FreeBSD$ PORTNAME= portmaster PORTVERSION= 3.17.7 CATEGORIES= ports-mgmt MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ - GH + GHL MAINTAINER= bdrewery@FreeBSD.org COMMENT= Manage your ports without external databases or languages LICENSE= BSD2CLAUSE USE_GITHUB= yes GH_ACCOUNT= freebsd GH_COMMIT= 94ed670 OPTIONS_DEFINE= BASH ZSH PLIST_FILES= sbin/portmaster \ etc/portmaster.rc.sample \ man/man8/portmaster.8.gz .include .if ${PORT_OPTIONS:MBASH} PLIST_FILES+= etc/bash_completion.d/portmaster.sh .endif .if ${PORT_OPTIONS:MZSH} PLIST_FILES+= share/zsh/site-functions/_portmaster .endif verify: checksum do-build: .for file in portmaster files/portmaster.rc.sample files/portmaster.8 ${SED} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/${file} \ > ${WRKDIR}/${file:T} .endfor do-install: ${INSTALL_SCRIPT} ${WRKDIR}/portmaster \ ${STAGEDIR}${PREFIX}/sbin/portmaster ${INSTALL_DATA} ${WRKDIR}/portmaster.rc.sample \ ${STAGEDIR}${PREFIX}/etc ${INSTALL_MAN} ${WRKSRC}/files/portmaster.8 \ ${STAGEDIR}${MAN8PREFIX}/man/man8 post-install: .if ${PORT_OPTIONS:MBASH} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/files/bash-completions \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/portmaster.sh .endif .if ${PORT_OPTIONS:MZSH} ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/files/zsh-completions \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_portmaster .endif .include Index: head/ports-mgmt/portupgrade-devel/Makefile =================================================================== --- head/ports-mgmt/portupgrade-devel/Makefile (revision 381617) +++ head/ports-mgmt/portupgrade-devel/Makefile (revision 381618) @@ -1,60 +1,60 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= portupgrade PORTVERSION= 20141006 PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= ports-mgmt -MASTER_SITES= GH \ +MASTER_SITES= GHL \ http://mirror.shatow.net/freebsd/pkgtools/ PKGNAMESUFFIX= -devel DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} MAINTAINER= bdrewery@FreeBSD.org COMMENT= FreeBSD ports/packages management tool (devel version) LICENSE= BSD3CLAUSE CONFLICTS_INSTALL= portupgrade-[0-9]* USES= uidfix USE_GITHUB= yes GH_ACCOUNT= freebsd GH_PROJECT= portupgrade GH_COMMIT= 2161660 GH_TAGNAME= ${GH_COMMIT} DIST_SUBDIR= ${PORTNAME} USE_RUBY= yes USE_LDCONFIG= ${PREFIX}/lib/compat/pkg MAKE_ARGS= PREFIX="${PREFIX}" RUBY="${RUBY}" \ RUBY_SITELIBDIR="${RUBY_SITELIBDIR}" MKDIR="${MKDIR}" EXAMPLESDIR= ${PREFIX}/share/examples/pkgtools DOCSDIR= ${PREFIX}/share/doc/pkgtools OPTIONS_DEFINE= DOCS EXAMPLES .include INSTALL_TARGET= install .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET+= install-doc .endif # For PKG_DBDRIVER={bdb_btree,bdb_hash} RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb regression-test: patch cd ${WRKSRC} && ${MAKE} test post-patch: .SILENT REVISION=`readlink "${_DISTDIR}/portupgrade/latest" | ${SED} -E -e 's,.*pkgtools-(.*).tar.gz,\1,g'` && ${SED} -E -e "s,%%DATE%%,${PORTVERSION},g;s,%%REVISION%%,$${REVISION},g" \ ${WRKSRC}/lib/pkgtools/revision.rb.in > ${WRKSRC}/lib/pkgtools/revision.rb post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg .include Index: head/ports-mgmt/poudriere/Makefile =================================================================== --- head/ports-mgmt/poudriere/Makefile (revision 381617) +++ head/ports-mgmt/poudriere/Makefile (revision 381618) @@ -1,40 +1,40 @@ # $FreeBSD$ PORTNAME= poudriere DISTVERSION= 3.1.1 PORTREVISION= 0 CATEGORIES= ports-mgmt MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ - GH + GHL DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} MAINTAINER= bdrewery@FreeBSD.org COMMENT= Port build and test system LICENSE= BSD2CLAUSE CONFLICTS_INSTALL= poudriere-devel-[0-9]* USE_GITHUB= yes GH_ACCOUNT= freebsd GH_COMMIT= 9f9e43d GH_TAGNAME= ${GH_COMMIT} GNU_CONFIGURE= yes ETCDIR= ${PREFIX}/etc/poudriere.d OPTIONS_DEFINE= ZSH QEMU EXAMPLES OPTIONS_SUB= yes QEMU_DESC= Add qemu-user-static to compile ports for non-x86 architectures QEMU_RUN_DEPENDS= qemu-user-static>0:${PORTSDIR}/emulators/qemu-user-static .include post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ ${INSTALL_DATA} ${WRKSRC}/completions/zsh/_poudriere \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ .include Index: head/science/minc2/Makefile =================================================================== --- head/science/minc2/Makefile (revision 381617) +++ head/science/minc2/Makefile (revision 381618) @@ -1,46 +1,46 @@ # Created by: jbacon # $FreeBSD$ PORTNAME= minc PORTVERSION= 2.2.00 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= science biology -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMESUFFIX= 2 MAINTAINER= ports@FreeBSD.org COMMENT= Medical Imaging NetCDF LICENSE= MIT LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 \ libnetcdf.so:${PORTSDIR}/science/netcdf RUN_DEPENDS= bash:${PORTSDIR}/shells/bash USE_GITHUB= yes GH_ACCOUNT= BIC-MNI GH_TAGNAME= release-${PORTVERSION} GH_COMMIT= 6f2f5b9 USES= bison gmake libtool perl5 shebangfix SHEBANG_FILES= progs/mincview/mincview USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf ACLOCAL_ARGS= -I m4 --automake-acdir=${ACLOCAL_DIR} AUTOMAKE_ARGS= --add-missing --copy --force-missing CONFIGURE_ARGS= --enable-shared=yes --enable-static=yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes CFLAGS+= -Wno-error=return-type CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS= minc-1* zh-tk-[0-9]* pre-patch: @${RM} -f ${WRKSRC}/ac_config_aux/* @${RM} -f ${WRKSRC}/progs/minccalc/gram.[ch] @${RM} -f ${WRKSRC}/progs/mincgen/ncgentab.[ch] .include Index: head/security/kqoauth/Makefile =================================================================== --- head/security/kqoauth/Makefile (revision 381617) +++ head/security/kqoauth/Makefile (revision 381618) @@ -1,28 +1,28 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= kqoauth PORTVERSION= 0.98 CATEGORIES= security -MASTER_SITES= GH GHC +MASTER_SITES= GHL MAINTAINER= vg@FreeBSD.org COMMENT= Implimentation of OAuth 1.0 in C++ for Qt LICENSE= LGPL21 USES= qmake pkgconfig USE_QT4= corelib gui linguist_build moc_build qtestlib USE_LDCONFIG= yes QMAKE_SOURCE_PATH= ${PORTNAME}.pro USE_GITHUB= yes GH_ACCOUNT= kypeli GH_PROJECT= kQOAuth GH_COMMIT= 677339c pre-configure: ${REINPLACE_CMD} -e 's|$${target.path}/pkgconfig|$${INSTALL_PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/src/src.pro .include Index: head/security/lastpass-cli/Makefile =================================================================== --- head/security/lastpass-cli/Makefile (revision 381617) +++ head/security/lastpass-cli/Makefile (revision 381618) @@ -1,49 +1,49 @@ # Created by: Thomas Hurst # $FreeBSD$ PORTNAME= lastpass-cli PORTVERSION= 0.4.0 CATEGORIES= security -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= tom@hur.st COMMENT= LastPass command line interface tool LICENSE= GPLv2 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl USES= gmake pkgconfig USE_GNOME= libxml2 USE_OPENSSL= yes USE_GITHUB= YES GH_ACCOUNT= lastpass GH_PROJECT= lastpass-cli GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 5c22997 PLIST_FILES= bin/lpass MAKE_ENV+= MANDIR=${MANPREFIX}/man OPTIONS_DEFINE= MANPAGES PINENTRY XCLIP XSEL OPTIONS_DEFAULT= MANPAGES PINENTRY_DESC= Use pinentry for password entry XCLIP_DESC= Use xclip for interacting with X11 clipboard XSEL_DESC= Use xsel for interacting with X11 clipboard MANPAGES_BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \ xmlto:${PORTSDIR}/textproc/xmlto MANPAGES_ALL_TARGET= all doc-man MANPAGES_INSTALL_TARGET=install install-doc MANPAGES_PLIST_FILES= ${MANPREFIX}/man/man1/lpass.1.gz PINENTRY_RUN_DEPENDS= pinentry:${PORTSDIR}/security/pinentry XCLIP_RUN_DEPENDS= xclip:${PORTSDIR}/x11/xclip XSEL_RUN_DEPENDS= xsel:${PORTSDIR}/x11/xsel post-extract: @${REINPLACE_CMD} -e 's/-Wno-language-extension-token//g' \ ${WRKSRC}/Makefile .include Index: head/security/metasploit/Makefile =================================================================== --- head/security/metasploit/Makefile (revision 381617) +++ head/security/metasploit/Makefile (revision 381618) @@ -1,92 +1,92 @@ # Created by: Yonatan # $FreeBSD$ PORTNAME= metasploit PORTVERSION= 4.11.1 CATEGORIES= security -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= tanawts@gmail.com COMMENT= Exploit-Framework for Penetration-Testing RUN_DEPENDS= nasm:${PORTSDIR}/devel/nasm \ nmap:${PORTSDIR}/security/nmap \ rubygem-activesupport>=3.0.0:${PORTSDIR}/devel/rubygem-activesupport \ rubygem-actionpack>=0:${PORTSDIR}/www/rubygem-actionpack \ rubygem-bcrypt>=0:${PORTSDIR}/security/rubygem-bcrypt \ rubygem-bundler>=0:${PORTSDIR}/sysutils/rubygem-bundler \ rubygem-jsobfu>=0.2.0:${PORTSDIR}/www/rubygem-jsobfu \ rubygem-json>=0:${PORTSDIR}/devel/rubygem-json \ rubygem-metasploit-concern>=0.3.0:${PORTSDIR}/security/rubygem-metasploit-concern \ rubygem-metasploit-model>=0.28.0:${PORTSDIR}/security/rubygem-metasploit-model \ rubygem-meterpreter_bins>=0.0.13:${PORTSDIR}/security/rubygem-meterpreter_bins \ rubygem-msgpack>=0:${PORTSDIR}/devel/rubygem-msgpack \ rubygem-nokogiri>=0:${PORTSDIR}/textproc/rubygem-nokogiri \ rubygem-network_interface>=0.0.1:${PORTSDIR}/net/rubygem-network_interface \ rubygem-packetfu>=1.1.9:${PORTSDIR}/net/rubygem-packetfu \ rubygem-pcaprub>=0:${PORTSDIR}/net/rubygem-pcaprub \ rubygem-railties>=3.0.0:${PORTSDIR}/www/rubygem-railties \ rubygem-recog>=1.0:${PORTSDIR}/security/rubygem-recog \ rubygem-robots>=0:${PORTSDIR}/www/rubygem-robots \ rubygem-rubyzip>=1.1:${PORTSDIR}/archivers/rubygem-rubyzip \ rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3 \ rubygem-tzinfo03>=0:${PORTSDIR}/devel/rubygem-tzinfo03 SCRIPTS= msfbinscan msfcli msfconsole msfd msfelfscan msfencode \ msfmachscan msfpayload msfpescan msfrop msfrpc msfrpcd msfvenom USE_GITHUB= yes GH_ACCOUNT= rapid7 GH_PROJECT= metasploit-framework GH_COMMIT= 1cb58d8 USES= ncurses:port USE_RUBY= yes OPTIONS_DEFINE= DB OPTIONS_DEFAULT=DB DB_DESC= Database support DB_RUN_DEPENDS= rubygem-activerecord>=3.0.0:${PORTSDIR}/databases/rubygem-activerecord \ rubygem-metasploit-credential>=0.13.7:${PORTSDIR}/security/rubygem-metasploit-credential \ rubygem-metasploit_data_models>=0.22.6:${PORTSDIR}/security/rubygem-metasploit_data_models \ rubygem-pg>=0.11:${PORTSDIR}/databases/rubygem-pg .include post-patch: ${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \ /packetfu/s/1.1.9/>= 1.1.9/ ; \ /rb-readline/d' ${WRKSRC}/metasploit-framework.gemspec ${REINPLACE_CMD} 's,3.2.21,3.2.19,' \ ${WRKSRC}/lib/metasploit/framework/rails_version_constraint.rb do-build: ${RM} ${WRKSRC}/Gemfile.lock ${MKDIR} ${WRKSRC}/log ${TOUCH} ${WRKSRC}/Gemfile.lock ${WRKSRC}/log/production.log ${CHMOD} 666 ${WRKSRC}/Gemfile.lock ${WRKSRC}/log/production.log ${REINPLACE_CMD} '/^group :coverage/,/^end/d ; /^group :development/,/^end/d ; /^group :test/,/^end/d' \ ${WRKSRC}/Gemfile .if ! ${PORT_OPTIONS:MDB} ${REINPLACE_CMD} '/^group :db do/,/^end/d' ${WRKSRC}/Gemfile .endif do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${CP} -Rp ${WRKSRC}/ ${STAGEDIR}${DATADIR} .for f in ${SCRIPTS} ${PRINTF} '#!/bin/sh\ncd ${DATADIR} && ./${f} "$$@"\n' > ${STAGEDIR}${PREFIX}/bin/${f} ${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/bin/${f} .endfor post-install: .for f in ${SCRIPTS} ${ECHO} "bin/${f}" >> ${TMPPLIST} .endfor @${FIND} ${STAGEDIR}${DATADIR} ! -type d | \ ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} @${FIND} -ds ${STAGEDIR}${DATADIR} -type d -empty | \ ${SED} 's,${STAGEDIR}${PREFIX}/,, ; s,^,@dir ,' >> ${TMPPLIST} .include Index: head/security/py-python-registry/Makefile =================================================================== --- head/security/py-python-registry/Makefile (revision 381617) +++ head/security/py-python-registry/Makefile (revision 381618) @@ -1,44 +1,44 @@ # Created by: Antoine Brodin # $FreeBSD$ PORTNAME= python-registry PORTVERSION= 1.1.0 CATEGORIES= security devel python -MASTER_SITES= GH \ +MASTER_SITES= GHL \ LOCAL/antoine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Read access to Windows Registry files LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= williballenthin GH_COMMIT= da9d4d4 USES= python shebangfix USE_PYTHON= distutils autoplist SHEBANG_FILES= samples/*.py python_OLD_CMD= .* python_CMD= ${PYTHON_CMD} OPTIONS_DEFINE= DOCS EXAMPLES PORTDOCS= * PORTEXAMPLES= * .include .if ${PYTHON_REL} < 340 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:${PORTSDIR}/devel/py-enum34 .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.TXT ${WRKSRC}/CONTRIBUTORS.TXT ${WRKSRC}/README.MD \ ${WRKSRC}/documentation/* ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/samples/*.py ${STAGEDIR}${EXAMPLESDIR} .include Index: head/sysutils/beadm/Makefile =================================================================== --- head/sysutils/beadm/Makefile (revision 381617) +++ head/sysutils/beadm/Makefile (revision 381618) @@ -1,34 +1,34 @@ # $FreeBSD$ PORTNAME= beadm PORTVERSION= 1.1 PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= GH \ +MASTER_SITES= GHL \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ LOCAL/bdrewery/${PORTNAME} MAINTAINER= bdrewery@FreeBSD.org COMMENT= Solaris-like utility to manage Boot Environments on ZFS LICENSE= BSD2CLAUSE USE_GITHUB= yes GH_ACCOUNT= vermaden GH_COMMIT= 748d2f2 GH_TAGNAME= ${GH_COMMIT} NO_BUILD= YES CONFLICTS_INSTALL= beadm-devel-* PLIST_FILES= sbin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/ .include Index: head/sysutils/beadm-devel/Makefile =================================================================== --- head/sysutils/beadm-devel/Makefile (revision 381617) +++ head/sysutils/beadm-devel/Makefile (revision 381618) @@ -1,34 +1,34 @@ # $FreeBSD$ PORTNAME= beadm PORTVERSION= 1.1.99.20140315 CATEGORIES= sysutils PKGNAMESUFFIX= -devel -MASTER_SITES= GH \ +MASTER_SITES= GHL \ LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= Solaris-like utility to manage Boot Environments on ZFS LICENSE= BSD2CLAUSE USE_GITHUB= yes GH_ACCOUNT= vermaden GH_COMMIT= 748d2f2 GH_TAGNAME= ${GH_COMMIT} NO_BUILD= YES CONFLICTS_INSTALL= beadm-[0-9]* PLIST_FILES= sbin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/ .include Index: head/sysutils/iocage/Makefile =================================================================== --- head/sysutils/iocage/Makefile (revision 381617) +++ head/sysutils/iocage/Makefile (revision 381618) @@ -1,37 +1,37 @@ # Created by: Bartek Rutkowski # $FreeBSD$ PORTNAME= iocage PORTVERSION= 1.4.6 CATEGORIES= sysutils -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= robak@FreeBSD.org COMMENT= Full featured, no dependency Jail container manager LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= pannon GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 41f9863 PLIST_FILES= etc/rc.d/iocage \ sbin/iocage \ man/man8/iocage.8.gz .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 900044 BROKEN= This port works only on FreeBSD 9 and newer .endif NO_BUILD= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/iocage ${STAGEDIR}${PREFIX}/etc/rc.d ${INSTALL_SCRIPT} ${WRKSRC}/iocage ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/iocage.8 ${STAGEDIR}${PREFIX}/man/man8 .include Index: head/sysutils/n98-magerun/Makefile =================================================================== --- head/sysutils/n98-magerun/Makefile (revision 381617) +++ head/sysutils/n98-magerun/Makefile (revision 381618) @@ -1,27 +1,27 @@ # Created by: Melvyn Sopacua # $FreeBSD$ PORTNAME= n98-magerun PORTVERSION= 1.90.0 CATEGORIES= sysutils www -MASTER_SITES= GITHUB +MASTER_SITES= GITHUB_LEGACY MAINTAINER= melvyn@magemana.nl COMMENT= CLI tool for inspection and control of Magento installations USE_PHP= phar bz2 simplexml pdo_mysql json zlib ctype dom posix USE_MYSQL= client USE_GITHUB= yes GH_ACCOUNT= netz98 GH_PROJECT= n98-magerun GH_COMMIT= 15d5a6e NO_BUILD= yes PLIST_FILES= sbin/n98-magerun do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.phar \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} .include Index: head/sysutils/nfsping/Makefile =================================================================== --- head/sysutils/nfsping/Makefile (revision 381617) +++ head/sysutils/nfsping/Makefile (revision 381618) @@ -1,43 +1,43 @@ # $FreeBSD$ PORTNAME= nfsping PORTVERSION= 0.1.20131017 CATEGORIES= sysutils net-mgmt -MASTER_SITES= GH \ +MASTER_SITES= GHL \ LOCAL/bdrewery/${PORTNAME}/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= Command line tool to check NFS server response times LICENSE= BSD2CLAUSE OPTIONS_DEFINE= DOCS SMOKEPING OPTIONS_DEFAULT=SMOKEPING OPTIONS_SUB= yes SMOKEPING_DESC= Install Smokeping probe USES= gmake USE_GITHUB= yes GH_ACCOUNT= mprovost GH_PROJECT= NFSping GH_COMMIT= 460c382 GH_TAGNAME= ${GH_COMMIT} PORTDOCS= README .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MSMOKEPING} ${MKDIR} ${STAGEDIR}${PREFIX}/smokeping/lib/Smokeping/probes ${INSTALL_DATA} ${WRKSRC}/Smokeping/NFSping.pm \ ${STAGEDIR}${PREFIX}/smokeping/lib/Smokeping/probes .endif .include Index: head/sysutils/screenfetch/Makefile =================================================================== --- head/sysutils/screenfetch/Makefile (revision 381617) +++ head/sysutils/screenfetch/Makefile (revision 381618) @@ -1,39 +1,39 @@ # Created by: Jason Helfman # $FreeBSD$ PORTNAME= screenFetch PORTVERSION= 3.6.5 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= LOCAL/jgh/sysutils/${PORTNAME:tl}/ \ - GH + GHL MAINTAINER= jgh@FreeBSD.org COMMENT= Bash Screenshot Information Tool LICENSE= GPLv3 RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ xdpyinfo:${PORTSDIR}/x11/xdpyinfo OPTIONS_DEFINE= DOCS NO_BUILD= yes USE_GITHUB= yes GH_ACCOUNT= KittyKatt GH_TAGNAME= 0fb5733 GH_COMMIT= ${GH_TAGNAME} PLIST_FILES= bin/screenFetch bin/screenfetch man/man1/screenfetch.1.gz PORTDOCS= CHANGELOG README.mkdn TODO do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME:tl}-dev ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${LN} -fs ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/screenfetch ${INSTALL_MAN} ${WRKSRC}/screenfetch.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/sysutils/tty-clock/Makefile =================================================================== --- head/sysutils/tty-clock/Makefile (revision 381617) +++ head/sysutils/tty-clock/Makefile (revision 381618) @@ -1,38 +1,38 @@ # Created by: Eric Freeman # $FreeBSD$ PORTNAME= tty-clock PORTVERSION= 2.0.0 PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Terminal based clock LICENSE= BSD3CLAUSE USE_GITHUB= yes GH_ACCOUNT= xorg62 GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= a82fd71 USES= ncurses ALL_TARGET= tty-clock PLIST_FILES= bin/tty-clock post-patch: @${REINPLACE_CMD} -e \ '/^CC/s| =| ?=| ; \ s|/usr/local|$${PREFIX}| ; \ /^CFLAGS/s| =| +=| ; \ s|-Wall -g|-Wall| ; \ /^LDFLAGS/s| =| +=| ; \ /@echo /s|^|#| ; \ s|@$${CC} |$${CC} | ; \ s|@cp |$${BSD_INSTALL_PROGRAM} | ; \ s| $${INSTALLPATH}| $${DESTDIR}$${INSTALLPATH}| ; \ /@chmod /s|^|#|' ${WRKSRC}/Makefile .include Index: head/sysutils/u-boot-rpi/Makefile =================================================================== --- head/sysutils/u-boot-rpi/Makefile (revision 381617) +++ head/sysutils/u-boot-rpi/Makefile (revision 381618) @@ -1,68 +1,68 @@ # $FreeBSD$ PORTNAME= u-boot PORTVERSION= 2013.01 PORTREVISION= 2 CATEGORIES= sysutils -MASTER_SITES= GH:uboot \ +MASTER_SITES= GHL:uboot \ http://distcache.FreeBSD.org/local-distfiles/ian/:bootfiles \ http://distcache.us-east.FreeBSD.org/local-distfiles/ian/:bootfiles \ http://distcache.eu.FreeBSD.org/local-distfiles/ian/:bootfiles \ http://distcache.us-west.FreeBSD.org/local-distfiles/ian/:bootfiles PKGNAMESUFFIX= -rpi DISTFILES= u-boot-${PORTVERSION}-${GH_ACCOUNT}-${GH_PROJECT}.tar.gz:uboot \ rpi-boot-files-2014.10_2.tar.bz2:bootfiles MAINTAINER= ian@FreeBSD.org COMMENT= Cross-build U-Boot loader for Raspberry Pi LICENSE= GPLv2 BUILD_DEPENDS= arm-none-eabi-gcc:${PORTSDIR}/devel/arm-none-eabi-gcc \ gsed:${PORTSDIR}/textproc/gsed USE_GITHUB= yes GH_ACCOUNT= gonzoua GH_PROJECT= u-boot-pi GH_COMMIT= 6709570 GH_TAGNAME= ${GH_COMMIT} NO_ARCH= yes WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME} USES= gmake SSP_UNSAFE= yes # cross-build static linking dies with -fstack-protector WRK_BOOTFILES= ${WRKDIR}/rpi-boot-files U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= ${U_BOOT_DIR}/u-boot.img \ ${U_BOOT_DIR}/LICENCE.broadcom \ ${U_BOOT_DIR}/README \ ${U_BOOT_DIR}/bootcode.bin \ ${U_BOOT_DIR}/config.txt \ ${U_BOOT_DIR}/fixup.dat \ ${U_BOOT_DIR}/fixup_cd.dat \ ${U_BOOT_DIR}/start.elf \ ${U_BOOT_DIR}/start_cd.elf MAKE_ARGS+= ARCH=arm \ CROSS_COMPILE=arm-none-eabi- \ HOSTCC=cc \ SED=gsed do-configure: (cd ${WRKSRC}; ${GMAKE} ${MAKE_ARGS} rpi_b_config) # The output of the u-boot build process is u-boot.bin. We have to put a # standard (for the RPi) image header on the front of it, and the resulting # file is named u-boot.img. Also copy the entire contents of the bootfiles # distribution (these are proprietary binary files required to boot). IMGFILE=${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/u-boot.img do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} ${GZCAT} ${FILESDIR}/imgprefix.bin.gz >${IMGFILE} ${CAT} ${WRKSRC}/u-boot.bin >>${IMGFILE} ${CP} ${WRK_BOOTFILES}/* ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/ .include Index: head/sysutils/ua/Makefile =================================================================== --- head/sysutils/ua/Makefile (revision 381617) +++ head/sysutils/ua/Makefile (revision 381618) @@ -1,33 +1,33 @@ # $FreeBSD$ PORTNAME= ua PORTVERSION= 1.0.1 CATEGORIES= sysutils -MASTER_SITES= GITHUB +MASTER_SITES= GITHUB_LEGACY MAINTAINER= ports@FreeBSD.org COMMENT= Finds sets of identical files LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= euedge GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 7a35148 USE_AUTOTOOLS= autoconf aclocal automake autoheader AUTOMAKE_ARGS+= --add-missing PLIST_FILES= bin/kua bin/ua \ man/man1/kua.1.gz man/man1/ua.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS .include post-install: ${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include Index: head/sysutils/xfce4-bsdcpufreq-plugin/Makefile =================================================================== --- head/sysutils/xfce4-bsdcpufreq-plugin/Makefile (revision 381617) +++ head/sysutils/xfce4-bsdcpufreq-plugin/Makefile (revision 381618) @@ -1,36 +1,36 @@ # Created by: Thomas Zander # $FreeBSD$ # PORTNAME= xfce4-bsdcpufreq-plugin PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= sysutils xfce -MASTER_SITES= GH GHC +MASTER_SITES= GHL GHC MAINTAINER= riggs@FreeBSD.org COMMENT= Displays the current CPU clock frequency in the panel LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= riggs- GH_COMMIT= be17b3a GH_TAGNAME= ${GH_COMMIT} USE_GNOME= gtk20 USES= pkgconfig xfce USE_XFCE= panel PLIST_FILES= lib/xfce4/panel/plugins/libbsdcpufreq.so \ share/xfce4/panel/plugins/bsdcpufreq.desktop do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins ${MKDIR} ${STAGEDIR}${PREFIX}/share/xfce4/panel/plugins ${INSTALL_LIB} ${WRKSRC}/libbsdcpufreq.so ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins ${INSTALL_DATA} ${WRKSRC}/bsdcpufreq.desktop ${STAGEDIR}${PREFIX}/share/xfce4/panel/plugins .include Index: head/sysutils/zfstools/Makefile =================================================================== --- head/sysutils/zfstools/Makefile (revision 381617) +++ head/sysutils/zfstools/Makefile (revision 381618) @@ -1,38 +1,38 @@ # $FreeBSD$ PORTNAME= zfstools PORTVERSION= 0.3.2 PORTREVISION= 1 CATEGORIES= sysutils ruby -MASTER_SITES= GH \ +MASTER_SITES= GHL \ http://mirror.shatow.net/freebsd/${PORTNAME}/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= OpenSolaris-compatible auto snapshotting for ZFS LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt USE_GITHUB= yes GH_ACCOUNT= bdrewery GH_COMMIT= 6794ec1 GH_TAGNAME= v${DISTVERSION} USE_RUBY= yes NO_BUILD= yes SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS .include do-install: @cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/sbin @cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_SITELIBDIR} .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .endif .include Index: head/textproc/cdiff/Makefile =================================================================== --- head/textproc/cdiff/Makefile (revision 381617) +++ head/textproc/cdiff/Makefile (revision 381618) @@ -1,32 +1,32 @@ # Created by: eivind # $FreeBSD$ PORTNAME= cdiff PORTVERSION= 0.9.6.20140711 PORTEPOCH= 1 -MASTER_SITES= LOCAL/mat/cdiff GH GHC +MASTER_SITES= LOCAL/mat/cdiff GHL CATEGORIES= textproc MAINTAINER= mat@FreeBSD.org COMMENT= Diff readability enhancer for color terminals LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= GH_ACCOUNT= ymattw GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 67c9831 USES= python USE_PYTHON= distutils autoplist OPTIONS_DEFINE= DOCS PORTDOCS= README.rst post-install: ${INSTALL} -d ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/textproc/odt2txt/Makefile =================================================================== --- head/textproc/odt2txt/Makefile (revision 381617) +++ head/textproc/odt2txt/Makefile (revision 381618) @@ -1,35 +1,35 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= odt2txt PORTVERSION= 0.4 PORTREVISION= 2 CATEGORIES= textproc -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Simple converter from OpenDocument Text to plain text LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= dstosberg GH_PROJECT= odt2txt GH_COMMIT= 97b8999 GH_TAGNAME= ${GH_COMMIT} USES= iconv gmake CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/odt2txt man/man1/odt2txt.1.gz post-patch: ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ -e 's#-liconv#${ICONV_LIB}#' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/www/blastbeat/Makefile =================================================================== --- head/www/blastbeat/Makefile (revision 381617) +++ head/www/blastbeat/Makefile (revision 381618) @@ -1,49 +1,49 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= blastbeat PORTVERSION= 20121205 PORTREVISION= 3 CATEGORIES= www -MASTER_SITES= GH GHC +MASTER_SITES= GHL MAINTAINER= vg@FreeBSD.org COMMENT= High-performance HTTP/HTTPS/SPDY proxy LICENSE= UNBIT LICENSE_NAME= UNBIT LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= auto-accept LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \ libzmq.so:${PORTSDIR}/net/libzmq2 USES= gmake USE_OPENSSL= yes USE_GITHUB= yes GH_ACCOUNT= zloidemon GH_COMMIT= cdac9a9 GH_TAGNAME= ${GH_COMMIT} PORTEXAMPLES= * CFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lm PLIST_FILES= bin/blastbeat \ %%ETCDIR%%/blastbeat.ini.sample OPTIONS_DEFINE= EXAMPLES .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${ETCDIR} && \ ${INSTALL} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${ETCDIR}/${PORTNAME}.ini.sample .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .endif .include Index: head/www/cakephp21/Makefile =================================================================== --- head/www/cakephp21/Makefile (revision 381617) +++ head/www/cakephp21/Makefile (revision 381618) @@ -1,202 +1,202 @@ # Created by: Christoph Theis # $FreeBSD$ PORTNAME= cakephp PORTVERSION= 2.1.5 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMESUFFIX= 21 MAINTAINER= theis@gmx.at COMMENT= Framework for developing PHP web applications LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_COMMIT= 0bcf34c PORTDOCS= README CONFLICTS= cakephp-1?-* cakephp-2[2]-.* cakephp-2.3.* NO_BUILD= yes USES= gettext USE_PHP= ctype session WANT_PHP_WEB= yes DEFAULT_VERSIONS+= php=5 CAKE_CONF_FILES= \ app/Config/acl.php \ app/Config/acl.ini.php \ app/Config/bootstrap.php \ app/Config/core.php \ app/Config/database.php \ app/Config/routes.php \ app/Config/email.php CAKE_CONSOLE= lib/Cake/Console/cake OPTIONS_DEFINE= PROD AP MYSQL PGSQL SQLITE APC MEMCACHE DOCS PROD_DESC= Install for production server (make confighelp) AP_DESC= Add Apache 2.2+ dependency MYSQL_DESC= Check for/install MySQL support in PHP PGSQL_DESC= Check for/install PostgreSQL support in PHP SQLITE_DESC= Check for/install SQLite support in PHP APC_DESC= Enable APC caching engine MEMCACHE_DESC= Enable Memcached caching engine client CONFDIR= ${PREFIX}/${CONFDIR_REL} CONFDIR_REL= ${APACHEETCDIR}/Includes .include WITH_PHP_CGI?= /cgi-bin/php .if ${PHP_SAPI:Mcgi} == "cgi" && ${PHP_SAPI:Mmod} == "" CGI_EXT= -cgi .else CGI_EXT= .endif SUB_LIST+= PHPCGI=${WITH_PHP_CGI} .if ${PORT_OPTIONS:MAP} SUB_FILES= pkg-message USE_APACHE_RUN= 22+ PKGMESSAGE= pkg-message APDEP= .else SUB_FILES= pkg-message-no-apache PKGMESSAGE= pkg-message-no-apache APDEP= "@comment " .endif .if ${PORT_OPTIONS:MPROD} PROD= production HTACCESS= "" .else PROD= development EXTRA_PATCHES= ${FILESDIR}/extra-patch-app__Config__core.php HTACCESS= "@comment " .endif CONF= cakephp-${PROD}${CGI_EXT}.conf SUB_FILES+= ${CONF} PLIST_SUB+= CONFDIR=${CONFDIR_REL} ECHO_MSG=${ECHO_MSG} \ HTACCESS=${HTACCESS} APDEP=${APDEP} .if ${PORT_OPTIONS:MMYSQL} USE_PHP+= pdo pdo_mysql .endif .if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo pdo_pgsql .endif .if ${PORT_OPTIONS:MSQLITE} USE_PHP+= pdo pdo_sqlite .endif .if ${PORT_OPTIONS:MAPC} USE_PHP+= apc .endif .if ${PORT_OPTIONS:MMEMCACHE} USE_PHP+= memcache .endif confighelp: @${ECHO_MSG} "" @${ECHO_MSG} "On a production server, the Apache DocumentRoot is" @${ECHO_MSG} "updated to point to the CakePHP webroot directory." @${ECHO_MSG} "In this configuration, the CakePHP application is" @${ECHO_MSG} "accessed at http://www.myservername.com/." @${ECHO_MSG} "" @${ECHO_MSG} "A non-production server, CakePHP is installed at" @${ECHO_MSG} "the /cakephp URL, and the CakePHP application is" @${ECHO_MSG} "accessed at http://www.myservername.com/cakephp/." @${ECHO_MSG} "" @${ECHO_MSG} "For more information, please see:" @${ECHO_MSG} "http://manual.cakephp.org/chapter/installing" @${ECHO_MSG} "" post-extract: @${FIND} ${WRKSRC} -name ._\* -delete post-patch: @${RM} -f ${WRKSRC}/lib/Cake/Console/cake.orig \ ${WRKSRC}/app/Config/core.php.orig # Rename config files so we don't overwrite those in an existing installation @for i in ${CAKE_CONF_FILES}; do \ if [ -f ${WRKSRC}/$$i ]; then \ ${MV} ${WRKSRC}/$$i ${WRKSRC}/$$i.sample; \ fi \ done @${MV} ${WRKSRC}/app/Config/database.php.default \ ${WRKSRC}/app/Config/database.php.sample @${MV} ${WRKSRC}/app/Config/email.php.default \ ${WRKSRC}/app/Config/email.php.sample do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} \ ".htaccess app lib index.php plugins vendors" ${STAGEDIR}${WWWDIR} .if ! ${PORT_OPTIONS:MPROD} # If installed in development mode, get rid of .htaccess files, # as noted by: # http://book.cakephp.org/view/42/The-Configuration-Class#CakePHP-Core-Configuration-Variables-44 @${FIND} ${STAGEDIR}${WWWDIR} -type f -name .htaccess -exec ${RM} {} \; @${ECHO_CMD} '@exec ${FIND} ${WWWDIR:S|^${PREFIX}/|%D/|} -type f -name .htaccess -exec ${RM} {} \;' >> ${TMPPLIST} .endif # Get rid of the empty placeholder files @${FIND} ${STAGEDIR}${WWWDIR} -type f -name empty -size 0 -exec ${RM} {} \; @${ECHO_CMD} '@exec ${FIND} ${WWWDIR:S|^${PREFIX}/|%D/|} -type f -name empty -size 0 -exec ${RM} {} \;' >> ${TMPPLIST} @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ ${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type f -print0 | \ ${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 @${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \ ${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST} # Fix the permissions of the Cake console script @${CHMOD} 755 ${STAGEDIR}${WWWDIR}/${CAKE_CONSOLE} @${ECHO_CMD} '@exec ${CHMOD} 755 ${WWWDIR}/${CAKE_CONSOLE}' >> ${TMPPLIST} post-install: .if ${PORT_OPTIONS:MAP} @${MKDIR} ${STAGEDIR}${CONFDIR} @if [ -d "${STAGEDIR}${CONFDIR}" ]; then \ ${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${CONFDIR}/cakephp.conf; \ else \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "Please check your Apache 2.x installation -" ; \ ${ECHO_MSG} "${CONFDIR} doesn't exist," ; \ ${ECHO_MSG} "so I cannot install cakephp.conf there!" ; \ ${ECHO_MSG} "" ; \ ${FALSE} ; \ fi .endif @${INSTALL} -d ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .if ${CGI_EXT} == "-cgi" @${ECHO_MSG} "" @${ECHO_MSG} "Your CakePHP installation was configured to use the PHP CGI binary." @${ECHO_MSG} "The PHP CGI binary is expected to be referenced by the URL:" @${ECHO_MSG} "" @${ECHO_MSG} " ${WITH_PHP_CGI}" @${ECHO_MSG} "" @${ECHO_MSG} "If this is incorrect, reinstall the port with the WITH_PHP_CGI knob" @${ECHO_MSG} "set to the correct URL." .endif @${ECHO_MSG} "*********************************************************************" .include Index: head/www/cherokee/Makefile =================================================================== --- head/www/cherokee/Makefile (revision 381617) +++ head/www/cherokee/Makefile (revision 381618) @@ -1,110 +1,110 @@ # Created by: silence # $FreeBSD$ PORTNAME= cherokee PORTVERSION= 1.2.104 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ports@FreeBSD.org COMMENT= Fast and flexible web server LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_PROJECT= webserver GH_TAGNAME= ${PORTVERSION:S/^/v/} GH_COMMIT= e5583c6 USES= gettext gmake libtool pathfix pkgconfig python:2,build \ shebangfix SHEBANG_FILES= admin/CTK/CTK-run.pre admin/server.py \ admin/upgrade_config.py cherokee/cherokee-admin-launcher \ cherokee/cherokee-tweak contrib/tracelor.py \ doc/build/asciidoc.py doc/cookbook_dbslayer.txt \ doc/test_images.py doc/test_links.py \ po/admin/generate_POTFILESin.py po/po_stats.py \ qa/fcgi.py qa/run-tests.py python_CMD= ${PYTHON_CMD} USE_RC_SUBR= cherokee USE_OPENSSL= yes USE_AUTOTOOLS= libtoolize aclocal automake autoheader autoconf AUTOMAKE_ARGS= --add-missing --copy --foreign CONFIGURE_ARGS= --disable-silent-rules \ --disable-static \ --localstatedir=${CHEROKEE_VARDIR} \ --without-php \ --with-python=${PYTHON_CMD} \ --with-wwwroot=${WWWDIR} \ --with-wwwuser=${CHEROKEE_USER} \ --with-wwwgroup=${CHEROKEE_GROUP} MAKE_ARGS= pkgconfigdir=${PREFIX}/libdata/pkgconfig INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pthread SUB_FILES= pkg-install pkg-message CHEROKEE_VARDIR?= /var # Adjust this if you need to run Cherokee as a distinct user:group CHEROKEE_USER= www CHEROKEE_GROUP= www OPTIONS_DEFINE= ADMIN DOCS FFMPEG GEOIP INTPCRE IPV6 LDAP MYSQL \ RRDTOOL UWSGI OPTIONS_DEFAULT= ADMIN GEOIP OPTIONS_SUB= yes ADMIN_DESC= Build the Admin Interface ADMIN_USES= python:2,run ADMIN_CONFIGURE_OFF= --disable-admin FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg FFMPEG_CONFIGURE_ON= --with-ffmpeg=yes FFMPEG_CONFIGURE_OFF= --with-ffmpeg=no GEOIP_LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP GEOIP_CONFIGURE_ON= --with-geoip=yes GEOIP_CONFIGURE_OFF= --with-geoip=no INTPCRE_DESC= Use internal PCRE library INTPCRE_LIB_DEPENDS_OFF=libpcre.so:${PORTSDIR}/devel/pcre INTPCRE_CONFIGURE_ON= --enable-internal-pcre IPV6_CONFIGURE_OFF= --disable-ipv6 LDAP_USE= openldap=yes LDAP_CONFIGURE_ON= --with-ldap=yes LDAP_CONFIGURE_OFF= --with-ldap=no MYSQL_USE= mysql=yes MYSQL_CONFIGURE_ON= --with-mysql=yes MYSQL_CONFIGURE_OFF= --with-mysql=no RRDTOOL_DESC= Usage graphs support RRDTOOL_RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool UWSGI_DESC= uWSGI support UWSGI_RUN_DEPENDS= uwsgi:${PORTSDIR}/www/uwsgi .include pre-configure: @(cd ${WRKSRC}/po/admin && ${PYTHON_CMD} generate_POTFILESin.py \ > POTFILES.in) post-install: .for i in mods-available mods-enabled sites-available sites-enabled ssl @${MKDIR} ${STAGEDIR}${ETCDIR}/${i} @${ECHO_CMD} -n > ${STAGEDIR}${ETCDIR}/${i}/.empty .endfor (cd ${WRKSRC} && ${INSTALL_DATA} cherokee.conf.sample \ ${STAGEDIR}${ETCDIR}/cherokee.conf.sample) (cd ${WRKSRC} && ${INSTALL_DATA} performance.conf.sample \ ${STAGEDIR}${ETCDIR}/cherokee.conf.perf_sample) .if ${PORT_OPTIONS:MADMIN} (cd ${WRKSRC} && ${INSTALL_DATA} cherokee.conf.sample \ ${STAGEDIR}${DATADIR}/admin) (cd ${WRKSRC} && ${INSTALL_DATA} performance.conf.sample \ ${STAGEDIR}${DATADIR}/admin) @(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \ -d ${DATADIR}/admin -f ${DATADIR_REL}/admin) .endif .include Index: head/www/faup/Makefile =================================================================== --- head/www/faup/Makefile (revision 381617) +++ head/www/faup/Makefile (revision 381618) @@ -1,41 +1,41 @@ # Created by: Antoine Brodin # $FreeBSD$ PORTNAME= faup PORTVERSION= 1.4.20150118 CATEGORIES= www devel -MASTER_SITES= GH LOCAL/antoine +MASTER_SITES= GHL LOCAL/antoine MAINTAINER= antoine@FreeBSD.org COMMENT= Fast URL decoder library LICENSE= WTFPL LICENSE_NAME= Do What The [expletive] You Want To Public License, Version 2 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USE_GITHUB= yes GH_ACCOUNT= stricaud GH_TAGNAME= af9e5db GH_COMMIT= af9e5db USES= cmake:outsource lua USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=${PREFIX}/man PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" -e \ "s/51/${LUA_VER_STR}/g" ${WRKSRC}/cmake/FindLua51.cmake @${REINPLACE_CMD} -e "s/LUA51_FOUND/LUA${LUA_VER_STR}_FOUND/g" \ ${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/lib/CMakeLists.txt \ ${WRKSRC}/src/tools/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include Index: head/www/fcgiwrap/Makefile =================================================================== --- head/www/fcgiwrap/Makefile (revision 381617) +++ head/www/fcgiwrap/Makefile (revision 381618) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= fcgiwrap PORTVERSION= 1.1.0 PORTREVISION= 3 CATEGORIES= www -MASTER_SITES= GH \ +MASTER_SITES= GHL \ http://www.skysmurf.nl/comp/FreeBSD/distfiles/ MAINTAINER= freebsd@skysmurf.nl COMMENT= Simple FastCGI wrapper for CGI scripts LICENSE= MIT LIB_DEPENDS= libfcgi.so:${PORTSDIR}/www/fcgi USES= autoreconf gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= gnosek GH_COMMIT= 333ff99 GH_TAGNAME= ${PORTVERSION} USE_RC_SUBR= fcgiwrap CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib GNU_CONFIGURE= yes PLIST_FILES= sbin/fcgiwrap man/man8/fcgiwrap.8.gz post-patch: @${REINPLACE_CMD} -e 's/@prefix@@mandir@/@mandir@/'\ -e 's|-m 755 fcgiwrap|-s -m 755 fcgiwrap|' ${WRKSRC}/Makefile.in .include Index: head/www/httpie/Makefile =================================================================== --- head/www/httpie/Makefile (revision 381617) +++ head/www/httpie/Makefile (revision 381618) @@ -1,25 +1,25 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= httpie PORTVERSION= 0.8.0 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= ale@FreeBSD.org COMMENT= Command line HTTP client LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ ${PYTHON_PKGNAMEPREFIX}pygments>0:${PORTSDIR}/textproc/py-pygments USE_GITHUB= yes GH_ACCOUNT= jakubroztocil GH_COMMIT= 43cc3e7 USES= python USE_PYTHON= distutils autoplist .include Index: head/www/mochiweb/Makefile =================================================================== --- head/www/mochiweb/Makefile (revision 381617) +++ head/www/mochiweb/Makefile (revision 381618) @@ -1,43 +1,43 @@ # $FreeBSD$ PORTNAME= mochiweb PORTVERSION= 2.10.0 CATEGORIES= www devel -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= olgeni@FreeBSD.org COMMENT= Erlang library for building lightweight HTTP servers LICENSE= MIT BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang CONFLICTS= mochiweb-basho-[0-9]* PLIST_SUB= VERSION="${PORTVERSION}" USE_GITHUB= yes GH_ACCOUNT= mochi GH_PROJECT= mochiweb GH_COMMIT= 8b6fab5 GH_TAGNAME= v${PORTVERSION} PORTDOCS= * do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} for FILE in CHANGES.md README; do \ ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${STAGEDIR}${DOCSDIR}; \ done @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src .include Index: head/www/mochiweb-basho/Makefile =================================================================== --- head/www/mochiweb-basho/Makefile (revision 381617) +++ head/www/mochiweb-basho/Makefile (revision 381618) @@ -1,44 +1,44 @@ # $FreeBSD$ PORTNAME= mochiweb PORTVERSION= 1.5.1p7 CATEGORIES= www devel -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMESUFFIX= -basho MAINTAINER= olgeni@FreeBSD.org COMMENT= Erlang library for building lightweight HTTP servers (Basho fork) LICENSE= MIT BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang CONFLICTS= mochiweb-[0-9]* PLIST_SUB= VERSION="${PORTVERSION}" USE_GITHUB= yes GH_ACCOUNT= basho GH_PROJECT= mochiweb GH_COMMIT= ac3513b GH_TAGNAME= ${PORTVERSION} PORTDOCS= * do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} for FILE in README; do \ ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${STAGEDIR}${DOCSDIR}; \ done @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION} @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/ebin ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/include ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/mochiweb-${PORTVERSION}/src .include Index: head/www/mod_cloudflare/Makefile =================================================================== --- head/www/mod_cloudflare/Makefile (revision 381617) +++ head/www/mod_cloudflare/Makefile (revision 381618) @@ -1,27 +1,27 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= mod_cloudflare PORTVERSION= 0.0.20140409 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= feld@FreeBSD.org COMMENT= Cloudflare fork of mod_remoteip LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= cloudflare GH_PROJECT= mod_cloudflare GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= da8436d USE_APACHE= 22+ AP_FAST_BUILD= yes AP_GENPLIST= yes SHORTMODNAME= cloudflare SRC_FILE= mod_cloudflare.c .include Index: head/www/mod_realdoc/Makefile =================================================================== --- head/www/mod_realdoc/Makefile (revision 381617) +++ head/www/mod_realdoc/Makefile (revision 381618) @@ -1,21 +1,21 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= mod_realdoc PORTVERSION= 20130701 CATEGORIES= www -MASTER_SITES= GH \ +MASTER_SITES= GHL \ http://freebsd.cs.nctu.edu.tw/~gslin/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Apache module to support atomic deploys AP_FAST_BUILD= yes AP_GENPLIST= yes GH_ACCOUNT= etsy GH_COMMIT= 4925acc GH_TAGNAME= ${GH_COMMIT} USE_APACHE= 22+ USE_GITHUB= yes .include Index: head/www/phpmustache/Makefile =================================================================== --- head/www/phpmustache/Makefile (revision 381617) +++ head/www/phpmustache/Makefile (revision 381618) @@ -1,36 +1,36 @@ # Created by: Steve Polyack # $FreeBSD$ PORTNAME= phpmustache PORTVERSION= 2.6.0 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= steve.polyack@intermedix.com COMMENT= PHP5 code for Mustache LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= bobthecow GH_PROJECT= mustache.php GH_TAGNAME= v2.6.0 GH_COMMIT= 152c315 USE_PHP= yes USE_PHP_BUILD= yes SUB_FILES= pkg-message OPTIONS_DEFINE= EXAMPLES do-build: @${WRKSRC}/bin/build_bootstrap.php do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/mustache.php ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/test/fixtures/examples/* ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/phpsysinfo/Makefile =================================================================== --- head/www/phpsysinfo/Makefile (revision 381617) +++ head/www/phpsysinfo/Makefile (revision 381618) @@ -1,31 +1,31 @@ # Created by: Bob Bomar # $FreeBSD$ PORTNAME= phpsysinfo PORTVERSION= 3.2.0 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= walt@relnor.com COMMENT= PHP script for displaying system information LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= phpsysinfo GH_TAGNAME= v3.2.0 GH_COMMIT= 5a2d026 NO_BUILD= yes USE_PHP= dom pcre xml simplexml mbstring WANT_PHP_WEB= yes SUB_FILES= pkg-message PLIST_SUB= NOBINMODE="${NOBINMODE}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC}; ${FIND} . \! -name .travis.yml \ | ${CPIO} -pdm ${STAGEDIR}${WWWDIR} .include Index: head/www/py-bottle-cork/Makefile =================================================================== --- head/www/py-bottle-cork/Makefile (revision 381617) +++ head/www/py-bottle-cork/Makefile (revision 381618) @@ -1,43 +1,43 @@ # $FreeBSD$ PORTNAME= bottle-cork PORTVERSION= 0.10 CATEGORIES= www python -MASTER_SITES= GH +MASTER_SITES= GHL PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= olivier@cochard.me COMMENT= Bottle authentication and authorization module LICENSE= LGPL3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottle>0:${PORTSDIR}/www/py-bottle \ ${PYTHON_PKGNAMEPREFIX}beaker>0:${PORTSDIR}/www/py-beaker USE_GITHUB= yes GH_ACCOUNT= FedericoCeratto GH_PROJECT= bottle-cork GH_COMMIT= c881fae GH_TAGNAME= v${PORTVERSION} USES= python USE_PYTHON= distutils autoplist EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTEXAMPLES= * OPTIONS_DEFINE= SQLITE MONGODB SQLALCHEMY EXAMPLES .include SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 MONGODB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>0:${PORTSDIR}/databases/pymongo SQLALCHEMY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy .if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .endif .include Index: head/www/redmine-sidebar_hide/Makefile =================================================================== --- head/www/redmine-sidebar_hide/Makefile (revision 381617) +++ head/www/redmine-sidebar_hide/Makefile (revision 381618) @@ -1,19 +1,19 @@ # Created by: Kozlov Sergey # $FreeBSD$ PORTNAME= sidebar_hide PORTVERSION= 0.0.5 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= kozlov.sergey.404@gmail.com COMMENT= Adds simple hide button for sidebar of Redmine USE_GITHUB= YES GH_ACCOUNT= bdemirkir GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= cfc7314 REDMINE_PLUGIN_NAME= sidebar_hide .include "${.CURDIR}/../../www/redmine/bsd.redmine.mk" Index: head/www/rssroll/Makefile =================================================================== --- head/www/rssroll/Makefile (revision 381617) +++ head/www/rssroll/Makefile (revision 381618) @@ -1,33 +1,33 @@ # $FreeBSD$ PORTNAME= rssroll PORTVERSION= 0.4.1 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL MAINTAINER= koue@chaosophia.net COMMENT= RSS collector in C LICENSE= BSD2CLAUSE LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libxml2.so:${PORTSDIR}/textproc/libxml2 \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 USE_GITHUB= yes GH_ACCOUNT= koue GH_COMMIT= bd71bc8 GH_PROJECT= rssroll GNU_CONFIGURE= yes PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rssroll ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/www/data/rssroll ${STAGEDIR}${PREFIX}/www/cgi-bin ${INSTALL_PROGRAM} ${WRKSRC}/index.cgi ${STAGEDIR}${PREFIX}/www/cgi-bin/rssroll.cgi ${INSTALL_DATA} ${WRKSRC}/rssrollrc ${STAGEDIR}${PREFIX}/etc/rssrollrc.sample (cd ${WRKSRC} && ${COPYTREE_SHARE} "html css" ${STAGEDIR}${PREFIX}/www/data/rssroll/) .include Index: head/www/seahub/Makefile =================================================================== --- head/www/seahub/Makefile (revision 381617) +++ head/www/seahub/Makefile (revision 381618) @@ -1,144 +1,144 @@ # $FreeBSD$ PORTNAME= seahub PORTVERSION= 4.0.5 CATEGORIES= www -MASTER_SITES= GH:seahub \ +MASTER_SITES= GHL:seahub \ https://pypi.python.org/packages/source/p/pip/:pip \ https://pypi.python.org/packages/source/p/pbr/:pbr \ https://pypi.python.org/packages/source/l/lockfile/:lockfile \ https://pypi.python.org/packages/source/s/six/:six \ https://pypi.python.org/packages/source/g/gunicorn/:gunicorn \ https://pypi.python.org/packages/source/f/flup/:flup \ https://pypi.python.org/packages/source/d/daemon/:daemon \ https://pypi.python.org/packages/source/c/chardet/:chardet \ https://pypi.python.org/packages/source/p/python-dateutil/:dateutil \ https://pypi.python.org/packages/source/P/Pillow/:Pillow \ https://pypi.python.org/packages/source/D/Django/:Django \ http://downloads.reviewboard.org/releases/Djblets/0.6/:Djblets DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz:${PORTNAME} \ pip-1.5.6.tar.gz:pip \ pbr-0.10.0.tar.gz:pbr \ lockfile-0.10.2.tar.gz:lockfile \ six-1.8.0.tar.gz:six \ gunicorn-18.0.tar.gz:gunicorn \ flup-1.0.2.tar.gz:flup \ daemon-1.1.tar.gz:daemon \ chardet-2.3.0.tar.gz:chardet \ python-dateutil-2.2.tar.gz:dateutil \ Pillow-2.6.1.zip:Pillow \ Django-1.5.9.tar.gz:Django \ Djblets-0.6.14.tar.gz:Djblets DIST_SUBDIR= ${PORTNAME} MAINTAINER= yan_jingfeng@yahoo.com COMMENT= Web frontend for Seafile LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${LOCALBASE}/www/haiwen/seafile-server/seafile/bin/seaf-server:${PORTSDIR}/net-mgmt/seafile \ bash:${PORTSDIR}/shells/bash USE_GITHUB= yes GH_ACCOUNT= haiwen GH_TAGNAME= v${PORTVERSION}-pro GH_COMMIT= 921c6ce USES= python:2 shebangfix SHEBANG_FILES= *.sh *.template NO_BUILD= yes OPTIONS_DEFINE= SEAFOBJ SEAFDAV NLS SITEPACKAGES OPTIONS_DEFAULT= SEAFOBJ SEAFDAV OPTIONS_SUB= yes SEAFOBJ_DESC= Enable Seafile file object modeling support SEAFDAV_DESC= Enable Seafile WsgiDav-based support SITEPACKAGES_DESC= Install python packages under thirdpart directory SEAFOBJ_CONFIGURE_WITH= seafobj SEAFOBJ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}seafobj>0:${PORTSDIR}/www/py-seafobj SEAFDAV_CONFIGURE_WITH= seafdav SEAFDAV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}seafdav>0:${PORTSDIR}/www/py-seafdav NLS_USES= gettext iconv NLS_CONFIGURE_OFF= --disable-nls VIRTUALENV= ${WRKDIR}/virtualenv HAIWENDIR= www/haiwen SEAFILE_SERVER= ${HAIWENDIR}/seafile-server SEAHUBDIR= ${SEAFILE_SERVER}/seahub SEALIB= ${SEAFILE_SERVER}/seafile/lib SITEPACKAGEDIR= ${SEAHUBDIR}/thirdpart SEAFILE_USERNAME?= www SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} PLIST_SUB= SEAFILE_USERNAME=${SEAFILE_USERNAME} \ SEAFILE_GROUPNAME=${SEAFILE_GROUPNAME} \ SEAFILE_SERVER=${SEAFILE_SERVER} \ SEAHUBDIR=${SEAHUBDIR} \ HAIWENDIR=${HAIWENDIR} \ SITEPACKAGEDIR=${SITEPACKAGEDIR} PORT_SITE_PKGS= pip-1.5.6 \ pbr-0.10.0 \ pillow-2.6.1 \ lockfile-0.10.2 \ six-1.8.0 \ gunicorn-18.0 \ flup-1.0.2 \ daemon-1.1 \ chardet-2.3.0 \ python-dateutil-2.2 \ Django-1.5.9 \ Djblets-0.6.14 .include post-install-sitepackages: @${MKDIR} ${VIRTUALENV}${LOCALBASE}/bin ${VIRTUALENV}${LOCALBASE}/include \ ${VIRTUALENV}${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages (cd ${WRKSRC}; export PYTHONPATH=${VIRTUALENV}${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages; \ (for sp_pkg in ${PORT_SITE_PKGS}; do \ cd ${WRKDIR}/$$sp_pkg && ${ECHO_CMD} -e "[install]\nprefix=${VIRTUALENV}${LOCALBASE}" >> setup.cfg && \ if [ "$$sp_pkg" == "Djblets-0.6.14" ]; then ${REINPLACE_CMD} -e "s|PIL|Pillow|" ./Djblets.egg-info/requires.txt; \ ${REINPLACE_CMD} -e "s|PIL|Pillow|" ./setup.py; fi && \ ${PYTHON_CMD} setup.py install; \ done)) (cd ${VIRTUALENV}${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}) .if ${PORT_OPTIONS:MSITEPACKAGES} post-install:post-install-sitepackages .endif post-patch: echo "${WRKSRC}..." @${MKDIR} ${WRKSRC}/runtime ${CP} ${FILESDIR}/runtime_seahub.conf ${WRKSRC}/runtime/seahub.conf ${REINPLACE_CMD} -e "s|SEAFILE_VERSION = '3.0.0'|SEAFILE_VERSION = '${PORTVERSION}'|" ${WRKSRC}/seahub/settings.py ${REINPLACE_CMD} -e 's|##FIX_HAIWENDIR##|${PREFIX}/${HAIWENDIR}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_SEALIB##|${PREFIX}/${SEALIB}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_SITEPACKAGEDIR##|${PREFIX}/${SITEPACKAGEDIR}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##PYTHON_VERSION##|${PYTHON_VERSION}|g' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_LOCALBASE##|${LOCALBASE}|' ${WRKSRC}/*.template ${FIND} ${WRKSRC} -name "*.bak" -exec ${RM} {} \; ${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \; (cd ${WRKSRC}; (for file in run-seahub.sh.template \ send_user_notifications.sh.template setenv.sh.template; do \ cp $$file $${file%%.template}; \ done)) ${RM} ${WRKSRC}/.gitignore do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/runtime/ \ ${STAGEDIR}${PREFIX}/${SEAHUBDIR} ${INSTALL} ${WRKSRC}/runtime/seahub.conf \ ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/runtime/ (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SEAHUBDIR}) .include Index: head/www/tengine/Makefile =================================================================== --- head/www/tengine/Makefile (revision 381617) +++ head/www/tengine/Makefile (revision 381618) @@ -1,894 +1,894 @@ # Created by: Jim Ohlstein # $FreeBSD$ PORTNAME= tengine PORTVERSION= 2.0.3 PORTREVISION= 6 CATEGORIES= www -MASTER_SITES= GH +MASTER_SITES= GHL DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= robak@FreeBSD.org COMMENT= Robust and small WWW server forked from Nginx LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE WANT_GNOME= yes USE_GNOME= libxml2 libxslt USE_GITHUB= yes GH_ACCOUNT= alibaba GH_TAGNAME= ${PORTNAME}-${PORTVERSION} GH_COMMIT= 5272608 LIB_DEPENDS+= libluajit-5.1.so:${PORTSDIR}/lang/luajit \ libeio.so:${PORTSDIR}/devel/libeio \ libev.so:${PORTSDIR}/devel/libev \ libgd.so:${PORTSDIR}/graphics/gd \ libGeoIP.so:${PORTSDIR}/net/GeoIP NO_OPTIONS_SORT= yes OPTIONS_DEFINE= \ DEBUG \ DEBUGLOG \ FILE_AIO \ IPV6 \ HTTP \ HTTP_CACHE \ HTTP_DAV \ HTTP_GZIP_STATIC \ HTTP_PERL \ HTTP_REALIP \ HTTP_REWRITE \ HTTP_SSL \ HTTP_STATUS \ MAIL \ MAIL_IMAP \ MAIL_POP3 \ MAIL_SMTP \ MAIL_SSL \ SPDY \ CPP_TEST \ TFS \ WWW \ CACHE_PURGE \ ECHO \ HEADERS_MORE \ HTTP_ACCEPT_LANGUAGE \ HTTP_ACCESSKEY \ HTTP_AUTH_DIGEST \ HTTP_AUTH_LDAP \ HTTP_AUTH_PAM \ HTTP_AUTH_REQ \ HTTP_DAV_EXT \ HTTP_EVAL \ HTTP_FANCYINDEX \ HTTP_MOGILEFS \ HTTP_NOTICE \ HTTP_PUSH \ HTTP_PUSH_STREAM \ HTTP_REDIS \ HTTP_RESPONSE \ HTTP_UPLOAD \ HTTP_UPLOAD_PROGRESS \ HTTP_UPSTREAM_FAIR \ HTTP_VIDEO_THUMBEXTRACTOR \ HTTP_ZIP \ ARRAYVAR \ DRIZZLE \ ENCRYPTSESSION \ FORMINPUT \ GRIDFS \ ICONV \ LET \ MEMC \ MODSECURITY \ POSTGRES \ RDS_CSV \ RDS_JSON \ REDIS2 \ RTMP \ SET_MISC \ SFLOW \ SLOWFS_CACHE \ SRCACHE \ SUPERVISORD \ TCP_PROXY \ XRID_HEADER \ XSS OPTIONS_DEFAULT= IPV6 HTTP HTTP_CACHE HTTP_REWRITE HTTP_STATUS WWW DEBUGLOG_DESC= Enable debug log (--with-debug) FILE_AIO_DESC= Enable file aio HTTP_DESC= Enable HTTP module HTTP_CACHE_DESC= Enable http_cache module HTTP_DAV_DESC= Enable http_webdav module HTTP_GZIP_STATIC_DESC= Enable http_gzip_static module HTTP_PERL_DESC= Enable http_perl module HTTP_REALIP_DESC= Enable http_realip module HTTP_REWRITE_DESC= Enable http_rewrite module HTTP_SSL_DESC= Enable http_ssl module HTTP_STATUS_DESC= Enable http_stub_status module MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module MAIL_IMAP_DESC= Enable IMAP4 proxy module MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module SPDY_DESC= Enable SPDY v3 protocol support (SSL req.) CPP_TEST_DESC= Enable CPP Test module TFS_DESC= Enable TaoBao File System WWW_DESC= Enable html sample files CACHE_PURGE_DESC= 3rd party cache_purge module ECHO_DESC= 3rd party echo module HEADERS_MORE_DESC= 3rd party headers_more module HTTP_ACCEPT_LANGUAGE_DESC= 3rd party accept_language module HTTP_ACCESSKEY_DESC= 3rd party http_accesskey module HTTP_AUTH_DIGEST_DESC= 3rd party http_authdigest module HTTP_AUTH_LDAP_DESC= 3rd party http_auth_ldap module HTTP_AUTH_PAM_DESC= 3rd party http_auth_pam module HTTP_AUTH_REQ_DESC= 3rd party http_auth_request module HTTP_DAV_EXT_DESC= 3rd party webdav_ext module HTTP_EVAL_DESC= 3rd party eval module HTTP_FANCYINDEX_DESC= 3rd party http_fancyindex module HTTP_MOGILEFS_DESC= 3rd party mogilefs module HTTP_NOTICE_DESC= 3rd party notice module HTTP_PUSH_DESC= 3rd party push module HTTP_PUSH_STREAM_DESC= 3rd party push stream module HTTP_REDIS_DESC= 3rd party http_redis module HTTP_RESPONSE_DESC= 3rd party http_response module HTTP_UPLOAD_DESC= 3rd party upload module HTTP_UPLOAD_PROGRESS_DESC= 3rd party uploadprogress module HTTP_UPSTREAM_FAIR_DESC= 3rd party upstream fair module HTTP_VIDEO_THUMBEXTRACTOR_DESC= 3rd party video_thumbextractor module HTTP_ZIP_DESC= 3rd party http_zip module ARRAYVAR_DESC= 3rd party array_var module DRIZZLE_DESC= 3rd party drizzlie module ENCRYPTSESSION_DESC= 3rd party encrypted_session module FORMINPUT_DESC= 3rd party form_input module GRIDFS_DESC= 3rd party gridfs module ICONV_DESC= 3rd party iconv module LET_DESC= 3rd party let module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY_DESC= 3rd party mod_security module POSTGRES_DESC= 3rd party postgresql module RDS_CSV_DESC= 3rd party rds_csv module RDS_JSON_DESC= 3rd party rds_json module REDIS2_DESC= 3rd party redis2 module RTMP_DESC= 3rd party rtmp module SET_MISC_DESC= 3rd party set_misc module SFLOW_DESC= 3rd party sflow module SLOWFS_CACHE_DESC= 3rd party slowfs_cache module SRCACHE_DESC= 3rd party srcache module SUPERVISORD_DESC= 3rd party supervisord module TCP_PROXY_DESC= 3rd party tcp_proxy module XRID_HEADER_DESC= 3rd party x-rid header module XSS_DESC= 3rd party xss module .include # FreeBSD 8 and earlier are unsupported .if ${OPSYS} == FreeBSD && ${OSVERSION} < 900500 IGNORE= is unsupported on FreeBSD 8 and earlier .endif NGINX_VARDIR?= /var NGINX_LOGDIR?= ${NGINX_VARDIR}/log NGINX_RUNDIR?= ${NGINX_VARDIR}/run NGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx HTTP_PORT?= 80 NGINX_ACCESSLOG?= ${NGINX_LOGDIR}/nginx-access.log NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log CONFLICTS?= nginx-devel-[0-9].* nginx-[0-9].* USE_RC_SUBR= nginx SUB_LIST+= WWWOWN=${WWWOWN} \ WWWGRP=${WWWGRP} \ NGINX_RUNDIR=${NGINX_RUNDIR} \ NGINX_TMPDIR=${NGINX_TMPDIR} HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${ETCDIR} \ --with-cc-opt="-I ${LOCALBASE}/include" \ --with-ld-opt="-L ${LOCALBASE}/lib" \ --conf-path=${ETCDIR}/nginx.conf \ --sbin-path=${PREFIX}/sbin/nginx \ --pid-path=${NGINX_RUNDIR}/nginx.pid \ --error-log-path=${NGINX_ERRORLOG} \ --user=${WWWOWN} --group=${WWWGRP} .if empty(PORT_OPTIONS:MHTTP) && empty(PORT_OPTIONS:MMAIL) IGNORE= requires at least HTTP or MAIL to \ be defined. Please do 'make config' again .endif .if ${PORT_OPTIONS:MDEBUG} CFLAGS+= -g STRIP= # Avoid stripping if building tengine with debug information .endif .if ${PORT_OPTIONS:MDEBUGLOG} CONFIGURE_ARGS+=--with-debug .endif .if ${PORT_OPTIONS:MFILE_AIO} CONFIGURE_ARGS+=--with-file-aio .endif .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--with-ipv6 CATEGORIES+= ipv6 .endif .if ${PORT_OPTIONS:MHTTP} CONFIGURE_ARGS+=--dso-path=${ETCDIR}/modules \ --with-http_access_module=shared \ --with-http_addition_module=shared \ --with-http_autoindex_module=shared \ --with-http_browser_module=shared \ --with-http_charset_filter_module=shared \ --with-http_concat_module=shared \ --with-http_empty_gif_module=shared \ --with-http_fastcgi_module=shared \ --with-http_flv_module=shared \ --with-http_footer_filter_module=shared \ --with-http_geoip_module=shared \ --with-http_image_filter_module=shared \ --with-http_limit_conn_module=shared \ --with-http_limit_req_module=shared \ --with-http_lua_module=shared \ --with-http_map_module=shared \ --with-http_memcached_module=shared \ --with-http_mp4_module=shared \ --with-http_random_index_module=shared \ --with-http_referer_module=shared \ --with-http_scgi_module=shared \ --with-http_secure_link_module=shared \ --with-http_slice_module=shared \ --with-http_split_clients_module=shared \ --with-http_sub_module=shared \ --with-http_sysguard_module=shared \ --with-http_trim_filter_module=shared \ --with-http_upstream_ip_hash_module=shared \ --with-http_upstream_least_conn_module=shared \ --with-http_upstream_session_sticky_module=shared \ --with-http_user_agent_module=shared \ --with-http_userid_filter_module=shared \ --with-http_uwsgi_module=shared \ --with-http_xslt_module=shared \ --http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \ --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \ --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \ --http-scgi-temp-path=${NGINX_TMPDIR}/scgi_temp \ --http-uwsgi-temp-path=${NGINX_TMPDIR}/uwsgi_temp \ --http-log-path=${NGINX_ACCESSLOG} .if ${PORT_OPTIONS:MHTTP_ACCEPT_LANGUAGE} GIT_ACCEPT_LANGUAGE_VERSION= 2f69842 MASTER_SITES+= https://github.com/giom/nginx_accept_language_module/tarball/master/:accept_language DISTFILES+= giom-nginx_accept_language_module-${GIT_ACCEPT_LANGUAGE_VERSION}.tar.gz:accept_language CONFIGURE_ARGS+=--add-module=${WRKDIR}/giom-nginx_accept_language_module-${GIT_ACCEPT_LANGUAGE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} NGINX_ACCESSKEY_VERSION= 2.0.3 MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:accesskey/} MASTER_SITE_SUBDIR+= osa/:accesskey DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_DIGEST} GIT_AUTH_DIGEST_VERSION= bd1c86a MASTER_SITES+= https://github.com/samizdatco/nginx-http-auth-digest/tarball/master/:auth_digest DISTFILES+= samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_VERSION}.tar.gz:auth_digest CONFIGURE_ARGS+=--add-module=${WRKDIR}/samizdatco-nginx-http-auth-digest-${GIT_AUTH_DIGEST_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_AUTH_LDAP} # WWW: https://github.com/kvspb/nginx-auth-ldap GIT_HTTP_AUTH_LDAP_VERSION= c4dc7c9153 MASTER_SITES+= LOCAL/rm:http_auth_ldap DISTFILES+= http_auth_ldap-${GIT_HTTP_AUTH_LDAP_VERSION}.tar.gz:http_auth_ldap CONFIGURE_ARGS+=--add-module=${WRKDIR}/http_auth_ldap-${GIT_HTTP_AUTH_LDAP_VERSION} USE_OPENLDAP= yes .endif .if ${PORT_OPTIONS:MHTTP_AUTH_PAM} NGINX_AUTH_PAM_VERSION= 1.2 MASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam DISTFILES+= ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION}.tar.gz:auth_pam CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_AUTH_REQ} NGINX_AUTH_REQ_VERSION= 0.2 MASTER_SITES+= http://mdounin.ru/files/:auth_request DISTFILES+= ngx_http_auth_request_module-${NGINX_AUTH_REQ_VERSION}.tar.gz:auth_request CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_request_module-${NGINX_AUTH_REQ_VERSION} .endif .if empty(PORT_OPTIONS:MHTTP_CACHE) CONFIGURE_ARGS+=--without-http-cache .endif .if ${PORT_OPTIONS:MCACHE_PURGE} NGINX_CACHE_PURGE_VERSION= 2.1 MASTER_SITES+= http://labs.frickle.com/files/:cache_purge DISTFILES+= ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION}.tar.gz:cache_purge CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_VERSION} .endif .if ${PORT_OPTIONS:MECHO} NGINX_ECHO_VERSION= 0.50 GIT_ECHO_VERSION= 0-gf827a4f MASTER_SITES+= https://github.com/openresty/echo-nginx-module/tarball/v${NGINX_ECHO_VERSION}/:echo DISTFILES+= openresty-echo-nginx-module-v${NGINX_ECHO_VERSION}-${GIT_ECHO_VERSION}.tar.gz:echo CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-echo-nginx-module-${GIT_ECHO_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MHEADERS_MORE} NGINX_HEADERS_MORE_VERSION= 0.24 GIT_HEADERS_MORE_VERSION= 0-g7a6fd11 MASTER_SITES+= https://github.com/openresty/headers-more-nginx-module/tarball/v${NGINX_HEADERS_MORE_VERSION}/:headers_more DISTFILES+= openresty-headers-more-nginx-module-v${NGINX_HEADERS_MORE_VERSION}-${GIT_HEADERS_MORE_VERSION}.tar.gz:headers_more CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-headers-more-nginx-module-${GIT_HEADERS_MORE_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MHTTP_DAV} CONFIGURE_ARGS+=--with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_DAV_EXT} LIB_DEPENDS+= libexpat.so:${PORTSDIR}/textproc/expat2 NGINX_DAV_EXT_VERSION= 0.0.2 GIT_DAV_EXT_VERSION= 0-g0e07a3e MASTER_SITES+= https://github.com/arut/nginx-dav-ext-module/tarball/v${NGINX_DAV_EXT_VERSION}/:dav_ext DISTFILES+= arut-nginx-dav-ext-module-v${NGINX_DAV_EXT_VERSION}-${GIT_DAV_EXT_VERSION}.tar.gz:dav_ext CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-dav-ext-module-${GIT_DAV_EXT_VERSION:S/^0-g//} \ --with-http_dav_module .endif .if ${PORT_OPTIONS:MHTTP_EVAL} NGINX_EVAL_VERSION= 1.0.3 GIT_EVAL_VERSION= 0-g125fa2e MASTER_SITES+= https://github.com/vkholodkov/nginx-eval-module/tarball/${NGINX_EVAL_VERSION}/:eval DISTFILES+= vkholodkov-nginx-eval-module-${NGINX_EVAL_VERSION}-${GIT_EVAL_VERSION}.tar.gz:eval CONFIGURE_ARGS+=--add-module=${WRKDIR}/vkholodkov-nginx-eval-module-${GIT_EVAL_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} NGINX_FANCYINDEX_VERSION= 0.3.1 MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:fancyindex/} MASTER_SITE_SUBDIR+= osa/:fancyindex DISTFILES+= ngx-fancyindex-${NGINX_FANCYINDEX_VERSION}.tar.gz:fancyindex CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx-fancyindex-${NGINX_FANCYINDEX_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_GZIP_STATIC} CONFIGURE_ARGS+=--with-http_gzip_static_module .endif .if ${PORT_OPTIONS:MHTTP_MOGILEFS} NGINX_MOGILEFS_VERSION= 1.0.4 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs DISTFILES+= nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION}.tar.gz:mogilefs CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_NOTICE} GIT_NOTICE_VERSION= 0-g3c95966 MASTER_SITES+= https://github.com/kr/nginx-notice/tarball/master/:notice DISTFILES+= kr-nginx-notice-${GIT_NOTICE_VERSION}.tar.gz:notice CONFIGURE_ARGS+=--add-module=${WRKDIR}/kr-nginx-notice-${GIT_NOTICE_VERSION:S/^0-g//} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_notice_module.c .endif .if ${PORT_OPTIONS:MHTTP_PERL} CATEGORIES+= perl5 CONFIGURE_ARGS+=--with-http_perl_module USES+= perl5 .endif .if ${PORT_OPTIONS:MHTTP_PUSH} NGINX_PUSH_VERSION= 0.692 MASTER_SITES+= http://pushmodule.slact.net/downloads/:push DISTFILES+= nginx_http_push_module-${NGINX_PUSH_VERSION}.tar.gz:push CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_PUSH_STREAM} NGINX_PUSH_STREAM_VERSION= 0.3.5 GIT_PUSH_STREAM_VERSION= 0-gb6a8c46 MASTER_SITES+= https://github.com/wandenberg/nginx-push-stream-module/tarball/${NGINX_PUSH_STREAM_VERSION}/:pushstream DISTFILES+= wandenberg-nginx-push-stream-module-${NGINX_PUSH_STREAM_VERSION}-${GIT_PUSH_STREAM_VERSION}.tar.gz:pushstream CONFIGURE_ARGS+=--add-module=${WRKDIR}/wandenberg-nginx-push-stream-module-${GIT_PUSH_STREAM_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MHTTP_REALIP} CONFIGURE_ARGS+=--with-http_realip_module .endif .if ${PORT_OPTIONS:MHTTP_REDIS} NGINX_REDIS_VERSION= 0.3.7 MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:redis/} MASTER_SITE_SUBDIR+= osa/:redis DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_RESPONSE} NGINX_RESPONSE_VERSION= 0.3 MASTER_SITES+= http://catap.ru/downloads/nginx/:response DISTFILES+= ngx_http_response-${NGINX_RESPONSE_VERSION}.tar.gz:response CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_STATUS} CONFIGURE_ARGS+=--with-http_stub_status_module .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD} NGINX_UPLOAD_VERSION= 2.2.0 MASTER_SITES+= http://www.grid.net.ru/nginx/download/:upload DISTFILES+= nginx_upload_module-${NGINX_UPLOAD_VERSION}.tar.gz:upload CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upload_module-${NGINX_UPLOAD_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} NGINX_UPLOADPROGRESS_VERSION= 0.9.0 GIT_UPLOADPROGRESS_VERSION= 0-ga788dea MASTER_SITES+= https://github.com/masterzen/nginx-upload-progress-module/tarball/v${NGINX_UPLOADPROGRESS_VERSION}/:uploadprogress DISTFILES+= masterzen-nginx-upload-progress-module-v${NGINX_UPLOADPROGRESS_VERSION}-${GIT_UPLOADPROGRESS_VERSION}.tar.gz:uploadprogress CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${GIT_UPLOADPROGRESS_VERSION:S/^0-g//} .endif .if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) || !empty(PORT_OPTIONS:MSUPERVISORD) NGINX_UPSTREAM_FAIR_VERSION= 20090923 MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:upstreamfair/} MASTER_SITE_SUBDIR+= osa/:upstreamfair DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} .endif .if ${PORT_OPTIONS:MHTTP_VIDEO_THUMBEXTRACTOR} LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libavformat.so:${PORTSDIR}/multimedia/ffmpeg \ libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ libavutil.so:${PORTSDIR}/multimedia/ffmpeg \ libswscale.so:${PORTSDIR}/multimedia/ffmpeg \ libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick NGINX_VIDEO_THUMBEXTRACTOR_VERSION= 0.2.0 GIT_VIDEO_THUMBEXTRACTOR_VERSION= 0-g9406457 MASTER_SITES+= https://github.com/wandenberg/nginx-video-thumbextractor-module/tarball/${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}/:videothumbextractor DISTFILES+= wandenberg-nginx-video-thumbextractor-module-${NGINX_VIDEO_THUMBEXTRACTOR_VERSION}-${GIT_VIDEO_THUMBEXTRACTOR_VERSION}.tar.gz:videothumbextractor CONFIGURE_ARGS+=--add-module=${WRKDIR}/wandenberg-nginx-video-thumbextractor-module-${GIT_VIDEO_THUMBEXTRACTOR_VERSION:S/^0-g//} \ --with-cc-opt="-I ${LOCALBASE}/include -I ${LOCALBASE}/include/ImageMagick" .endif .if ${PORT_OPTIONS:MHTTP_ZIP} NGINX_ZIP_VERSION= 1.1.6 MASTER_SITES+= http://mod-zip.googlecode.com/files/:zip DISTFILES+= mod_zip-${NGINX_ZIP_VERSION}.tar.gz:zip CONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION} .endif .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:${PORTSDIR}/databases/libdrizzle NGINX_DRIZZLE_VERSION= 0.1.6 GIT_DRIZZLE_VERSION= 0-ge6937ba MASTER_SITES+= https://github.com/chaoslawful/drizzle-nginx-module/tarball/v${NGINX_DRIZZLE_VERSION}/:drizzle DISTFILES+= chaoslawful-drizzle-nginx-module-v${NGINX_DRIZZLE_VERSION}-${GIT_DRIZZLE_VERSION}.tar.gz:drizzle CONFIGURE_ARGS+=--add-module=${WRKDIR}/chaoslawful-drizzle-nginx-module-${GIT_DRIZZLE_VERSION:S/^0-g//} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-chaoslawful-drizzle-nginx-module-config .endif .if ${PORT_OPTIONS:MARRAYVAR} || ${PORT_OPTIONS:MENCRYPTSESSION} || ${PORT_OPTIONS:MFORMINPUT} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MSET_MISC} WITH_HTTP_REWRITE= yes NGINX_DEVEL_KIT_VERSION= 0.2.19 GIT_DEVEL_KIT_VERSION= 0-g8dd0df5 MASTER_SITES+= https://github.com/simpl/ngx_devel_kit/tarball/v${NGINX_DEVEL_KIT_VERSION}/:devel_kit DISTFILES+= simpl-ngx_devel_kit-v${NGINX_DEVEL_KIT_VERSION}-${GIT_DEVEL_KIT_VERSION}.tar.gz:devel_kit CONFIGURE_ARGS+=--add-module=${WRKDIR}/simpl-ngx_devel_kit-${GIT_DEVEL_KIT_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MENCRYPTSESSION} NGINX_ENCRYPTSESSION_VERSION= 0.03 GIT_ENCRYPTSESSION_VERSION= 0-g49d741b MASTER_SITES+= https://github.com/openresty/encrypted-session-nginx-module/tarball/v${NGINX_ENCRYPTSESSION_VERSION}/:encryptsession DISTFILES+= openresty-encrypted-session-nginx-module-v${NGINX_ENCRYPTSESSION_VERSION}-${GIT_ENCRYPTSESSION_VERSION}.tar.gz:encryptsession CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-encrypted-session-nginx-module-${GIT_ENCRYPTSESSION_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MGRIDFS} NGINX_GRIDFS_VERSION= 0.8 GIT_GRIDFS_VERSION= 0-gb5f8113 MONGO_C_DRIVER_VERSION= 0.3.1 GIT_MONGO_C_DRIVER_VERSION= 0-g9b4b232 MASTER_SITES+= https://github.com/mdirolf/nginx-gridfs/tarball/v${NGINX_GRIDFS_VERSION}/:gridfs MASTER_SITES+= https://github.com/mongodb/mongo-c-driver/tarball/v${MONGO_C_DRIVER_VERSION}/:mongo_c DISTFILES+= mdirolf-nginx-gridfs-v${NGINX_GRIDFS_VERSION}-${GIT_GRIDFS_VERSION}.tar.gz:gridfs DISTFILES+= mongodb-mongo-c-driver-v${MONGO_C_DRIVER_VERSION}-${GIT_MONGO_C_DRIVER_VERSION}.tar.gz:mongo_c CONFIGURE_ARGS+=--add-module=${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MLET} NGINX_LET_VERSION= 0.0.4 GIT_LET_VERSION= 0-ga5e1dc5 MASTER_SITES+= https://github.com/arut/nginx-let-module/tarball/v${NGINX_LET_VERSION}/:let DISTFILES+= arut-nginx-let-module-v${NGINX_LET_VERSION}-${GIT_LET_VERSION}.tar.gz:let CONFIGURE_ARGS+=--add-module=${WRKDIR}/arut-nginx-let-module-${GIT_LET_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MMEMC} NGINX_MEMC_VERSION= 0.14 GIT_MEMC_VERSION= 0-gde4cf86 MASTER_SITES+= https://github.com/openresty/memc-nginx-module/tarball/v${NGINX_MEMC_VERSION}/:memc DISTFILES+= openresty-memc-nginx-module-v${NGINX_MEMC_VERSION}-${GIT_MEMC_VERSION}.tar.gz:memc CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-memc-nginx-module-${GIT_MEMC_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MMODSECURITY} NGINX_MODSECURITY_VERSION= 2.7.5 LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \ libcurl.so:${PORTSDIR}/ftp/curl \ libapr-1.so:${PORTSDIR}/devel/apr1 USE_APACHE= 22+ MASTER_SITES+= http://www.modsecurity.org/tarball/${NGINX_MODSECURITY_VERSION}/:modsecurity DISTFILES+= modsecurity-apache_${NGINX_MODSECURITY_VERSION}.tar.gz:modsecurity CONFIGURE_ARGS+=--add-module=${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION}/nginx/modsecurity EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-nginx-modsecurity-config .endif .if ${PORT_OPTIONS:MHTTP_REWRITE} WITH_HTTP_REWRITE= yes .endif .if ${PORT_OPTIONS:MPOSTGRES} USES+= pgsql WITH_HTTP_REWRITE= yes NGINX_POSTGRES_VERSION= 0.9 MASTER_SITES+= http://labs.frickle.com/files/:postgres DISTFILES+= ngx_postgres-${NGINX_POSTGRES_VERSION}.tar.gz:postgres CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_postgres-config .endif .if ${PORT_OPTIONS:MRDS_CSV} NGINX_RDS_CSV_VERSION= 0.05 GIT_RDS_CSV_VERSION= 0-g607e26b MASTER_SITES+= https://github.com/openresty/rds-csv-nginx-module/tarball/v${NGINX_RDS_CSV_VERSION}/:rdscsv DISTFILES+= openresty-rds-csv-nginx-module-v${NGINX_RDS_CSV_VERSION}-${GIT_RDS_CSV_VERSION}.tar.gz:rdscsv CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-rds-csv-nginx-module-${GIT_RDS_CSV_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MRDS_JSON} NGINX_RDS_JSON_VERSION= 0.13 GIT_RDS_JSON_VERSION= 0-g8292070 MASTER_SITES+= https://github.com/openresty/rds-json-nginx-module/tarball/v${NGINX_RDS_JSON_VERSION}/:rdsjson DISTFILES+= openresty-rds-json-nginx-module-v${NGINX_RDS_JSON_VERSION}-${GIT_RDS_JSON_VERSION}.tar.gz:rdsjson CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-rds-json-nginx-module-${GIT_RDS_JSON_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MREDIS2} NGINX_REDIS2_VERSION= 0.10 GIT_REDIS2_VERSION= 0-g78a7622 MASTER_SITES+= https://github.com/openresty/redis2-nginx-module/tarball/v${NGINX_REDIS2_VERSION}/:redis2 DISTFILES+= openresty-redis2-nginx-module-v${NGINX_REDIS2_VERSION}-${GIT_REDIS2_VERSION}.tar.gz:redis2 CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-redis2-nginx-module-${GIT_REDIS2_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MRTMP} NGINX_RTMP_VERSION= 1.0.8 MASTER_SITES+= https://github.com/arut/nginx-rtmp-module/archive/v${NGINX_RTMP_VERSION}/:rtmp DISTFILES+= rtmp-nginx-module-v${NGINX_RTMP_VERSION}.tar.gz:rtmp CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-rtmp-module-${NGINX_RTMP_VERSION} .endif .if ${PORT_OPTIONS:MSET_MISC} NGINX_SET_MISC_VERSION= 0.23 GIT_SET_MISC_VERSION= 0-g6ce586e MASTER_SITES+= https://github.com/openresty/set-misc-nginx-module/tarball/v${NGINX_SET_MISC_VERSION}/:setmisc DISTFILES+= openresty-set-misc-nginx-module-v${NGINX_SET_MISC_VERSION}-${GIT_SET_MISC_VERSION}.tar.gz:setmisc CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-set-misc-nginx-module-${GIT_SET_MISC_VERSION:S/^0-g//} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openresty-set-misc-nginx-module-config .endif .if ${PORT_OPTIONS:MSFLOW} NGINX_SFLOW_VERSION= 0.9.7 MASTER_SITES+= http://nginx-sflow-module.googlecode.com/files/:sflow DISTFILES+= nginx-sflow-module-${NGINX_SFLOW_VERSION}.tar.gz:sflow CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_sflow_config.c \ ${PATCHDIR}/extra-patch-ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MSLOWFS_CACHE} NGINX_SLOWFS_CACHE_VERSION= 1.10 MASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache DISTFILES+= ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION}.tar.gz:slowfs_cache CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_VERSION} .endif .if ${PORT_OPTIONS:MSRCACHE} NGINX_SRCACHE_VERSION= 0.24 GIT_SRCACHE_VERSION= 0-g33f0f29 MASTER_SITES+= https://github.com/openresty/srcache-nginx-module/tarball/v${NGINX_SRCACHE_VERSION}/:srcache DISTFILES+= openresty-srcache-nginx-module-v${NGINX_SRCACHE_VERSION}-${GIT_SRCACHE_VERSION}.tar.gz:srcache CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-srcache-nginx-module-${GIT_SRCACHE_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MSUPERVISORD} NGINX_SUPERVISORD_VERSION= 1.4 MASTER_SITES+= http://labs.frickle.com/files/:supervisord DISTFILES+= ngx_supervisord-${NGINX_SUPERVISORD_VERSION}.tar.gz:supervisord CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION} .endif .if ${PORT_OPTIONS:MTCP_PROXY} NGINX_TCP_PROXY_VERSION= 0.26 GIT_TCP_PROXY_VERSION= 0-gb83e5a6 MASTER_SITES+= https://github.com/yaoweibin/nginx_tcp_proxy_module/tarball/v${NGINX_TCP_PROXY_VERSION}/:tcp_proxy DISTFILES+= yaoweibin-nginx_tcp_proxy_module-v${NGINX_TCP_PROXY_VERSION}-${GIT_TCP_PROXY_VERSION}.tar.gz:tcp_proxy CONFIGURE_ARGS+=--add-module=${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MXRID_HEADER} GIT_XRID_VERSION= 0daa3cc MASTER_SITES+= https://github.com/gabor/nginx-x-rid-header/tarball/master/:xrid DISTFILES+= gabor-nginx-x-rid-header-${GIT_XRID_VERSION}.tar.gz:xrid CONFIGURE_ARGS+=--add-module=${WRKDIR}/gabor-nginx-x-rid-header-${GIT_XRID_VERSION} .endif .if ${PORT_OPTIONS:MXSS} NGINX_XSS_VERSION= 0.04 GIT_XSS_VERSION= 0-g7e37038 MASTER_SITES+= https://github.com/openresty/xss-nginx-module/tarball/v${NGINX_XSS_VERSION}/:xss DISTFILES+= openresty-xss-nginx-module-v${NGINX_XSS_VERSION}-${GIT_XSS_VERSION}.tar.gz:xss CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-xss-nginx-module-${GIT_XSS_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MSPDY} WITH_HTTP_SSL= yes CONFIGURE_ARGS+=--with-http_spdy_module .endif .if ${PORT_OPTIONS:MCPP_TEST} CONFIGURE_ARGS+=--with-cpp_test_module .endif .if ${PORT_OPTIONS:MTFS} LIB_DEPENDS+= libyajl.so:${PORTSDIR}/devel/yajl CONFIGURE_ARGS+=--with-http_tfs_module .endif .if ${PORT_OPTIONS:MWWW} PLIST_SUB+= WWWDATA="" .else PLIST_SUB+= WWWDATA="@comment " .endif .else CONFIGURE_ARGS+=--without-http PLIST_SUB+= WWWDATA="@comment " .endif # WITH_HTTP .if ${PORT_OPTIONS:MMAIL} CONFIGURE_ARGS+=--with-mail .if empty(PORT_OPTIONS:MMAIL_IMAP) CONFIGURE_ARGS+=--without-mail_imap_module .endif .if empty(PORT_OPTIONS:MMAIL_POP3) CONFIGURE_ARGS+=--without-mail_pop3_module .endif .if empty(PORT_OPTIONS:MMAIL_SMTP) CONFIGURE_ARGS+=--without-mail_smtp_module .endif .if ${PORT_OPTIONS:MMAIL_SSL} NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-mail_ssl_module .endif .endif # WITH_MAIL .if ${PORT_OPTIONS:MARRAYVAR} NGINX_ARRAYVAR_VERSION= 0.03 GIT_ARRAYVAR_VERSION= 0-g4676747 MASTER_SITES+= https://github.com/openresty/array-var-nginx-module/tarball/v${NGINX_ARRAYVAR_VERSION}/:arrayvar DISTFILES+= openresty-array-var-nginx-module-v${NGINX_ARRAYVAR_VERSION}-${GIT_ARRAYVAR_VERSION}.tar.gz:arrayvar CONFIGURE_ARGS+=--add-module=${WRKDIR}/openresty-array-var-nginx-module-${GIT_ARRAYVAR_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MFORMINPUT} NGINX_FORMINPUT_VERSION= 0.07 GIT_FORMINPUT_VERSION= 0-g78de845 MASTER_SITES+= https://github.com/calio/form-input-nginx-module/tarball/v${NGINX_FORMINPUT_VERSION}/:forminput DISTFILES+= calio-form-input-nginx-module-v${NGINX_FORMINPUT_VERSION}-${GIT_FORMINPUT_VERSION}.tar.gz:forminput CONFIGURE_ARGS+=--add-module=${WRKDIR}/calio-form-input-nginx-module-${GIT_FORMINPUT_VERSION:S/^0-g//} .endif .if ${PORT_OPTIONS:MICONV} USES+= iconv NGINX_ICONV_VERSION= 0.10 GIT_ICONV_VERSION= 0-gb37efb5 MASTER_SITES+= https://github.com/calio/iconv-nginx-module/tarball/v${NGINX_ICONV_VERSION}/:iconv DISTFILES+= calio-iconv-nginx-module-v${NGINX_ICONV_VERSION}-${GIT_ICONV_VERSION}.tar.gz:iconv CONFIGURE_ARGS+=--add-module=${WRKDIR}/calio-iconv-nginx-module-${GIT_ICONV_VERSION:S/^0-g//} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-calio-iconv-nginx-module-config .endif PLIST_SUB+= NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} USERS?= ${WWWOWN} GROUPS?=${WWWGRP} .if defined(WITH_HTTP_REWRITE) LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre CONFIGURE_ARGS+=--with-pcre .else PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nopcre CONFIGURE_ARGS+=--without-http_rewrite_module \ --without-pcre .endif .if defined(NGINX_OPENSSL) USE_OPENSSL= yes .if ${PORT_OPTIONS:MSPDY} .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000028 WITH_OPENSSL_PORT= yes .endif .endif .endif .if defined(WITH_HTTP_SSL) NGINX_OPENSSL= yes CONFIGURE_ARGS+=--with-http_ssl_module .endif .if ${PORT_OPTIONS:MHTTP_SSL} WITH_HTTP_SSL= yes .endif pre-everything:: .if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR} @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support" .endif post-extract: .if ${PORT_OPTIONS:MGRIDFS} @${RMDIR} ${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//}/mongo-c-driver/ @${MV} \ ${WRKDIR}/mongodb-mongo-c-driver-${GIT_MONGO_C_DRIVER_VERSION:S/^0-g//}/ \ ${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//}/mongo-c-driver/ .endif post-patch: @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \ s!%%PREFIX%%!${PREFIX}!' \ ${WRKSRC}/conf/nginx.conf .if ${PORT_OPTIONS:MHTTP_ACCESSKEY} @${REINPLACE_CMD} \ 's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \ ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}/config .endif # Linker error acquire if --std=c99 defined, add "static" to inline function .if ${PORT_OPTIONS:MHTTP_ZIP} @${REINPLACE_CMD} \ 's!^inline!static inline!' \ ${WRKDIR}/mod_zip-${NGINX_ZIP_VERSION}/ngx_http_zip_parsers.* .endif .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/chaoslawful-drizzle-nginx-module-${GIT_DRIZZLE_VERSION:S/^0-g//}/config .endif # Respect CFLAGS by remove needless --std=c99 flag .if ${PORT_OPTIONS:MGRIDFS} @${REINPLACE_CMD} \ 's!--std=c99!-DMONGO_HAVE_STDINT!' \ ${WRKDIR}/mdirolf-nginx-gridfs-${GIT_GRIDFS_VERSION:S/^0-g//}/config .endif .if ${PORT_OPTIONS:MPOSTGRES} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/ngx_postgres-${NGINX_POSTGRES_VERSION}/config .endif .if ${PORT_OPTIONS:MSFLOW} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/nginx-sflow-module-${NGINX_SFLOW_VERSION}/ngx_http_sflow_config.h .endif .if ${PORT_OPTIONS:MSPDY} .if ${PORT_OPTIONS:MDRIZZLE} @${REINPLACE_CMD} '584d' \ ${WRKDIR}/chaoslawful-drizzle-nginx-module-${GIT_DRIZZLE_VERSION:S/^0-g//}/src/ngx_http_drizzle_util.c .endif .endif .if ${PORT_OPTIONS:MSUPERVISORD} ( cd ${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} && \ ${PATCH} -p0 < \ ${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION}/patches/ngx_http_upstream_fair_module.patch ) ( cd ${WRKSRC} && \ ${PATCH} -p0 < \ ${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_VERSION}/patches/ngx_http_upstream_init_busy-0.8.17.patch ) .endif .if ${PORT_OPTIONS:MTCP_PROXY} ( cd ${WRKSRC} && \ ${PATCH} -p1 < \ ${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-g//}/tcp.patch ) .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/calio-iconv-nginx-module-${GIT_ICONV_VERSION:S/^0-g//}/config .endif .if ${PORT_OPTIONS:MMODSECURITY} @${REINPLACE_CMD} \ 's!%%PREFIX%%!${LOCALBASE}!g' \ ${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION}/nginx/modsecurity/config .endif pre-configure: .if ${PORT_OPTIONS:MMODSECURITY} ( cd ${WRKDIR}/modsecurity-apache_${NGINX_MODSECURITY_VERSION} && \ CC="${CC}" ./${CONFIGURE_SCRIPT} --enable-standalone-module && \ ${MAKE} ) .endif do-build: @cd ${WRKSRC} && ${MAKE} do-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/modules ${MKDIR} ${STAGEDIR}${ETCDIR}/include ${MKDIR} ${STAGEDIR}${NGINX_TMPDIR} ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/objs/dso_tool ${STAGEDIR}${PREFIX}/sbin .for i in koi-utf koi-win win-utf ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR} .endfor .for i in *.so ${INSTALL_PROGRAM} ${WRKSRC}/objs/modules/${i} ${STAGEDIR}${ETCDIR}/modules .endfor .for i in *.h ${INSTALL_DATA} ${WRKSRC}/src/core/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/event/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/os/unix/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/http/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/http/modules/${i} ${STAGEDIR}${ETCDIR}/include ${INSTALL_DATA} ${WRKSRC}/src/http/modules/lua/${i} ${STAGEDIR}${ETCDIR}/include .endfor ${INSTALL_DATA} ${WRKSRC}/objs/ngx_auto_headers.h ${WRKSRC}/objs/ngx_auto_config.h ${STAGEDIR}${ETCDIR}/include .for i in fastcgi_params mime.types nginx.conf scgi_params uwsgi_params ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${STAGEDIR}${ETCDIR}/${i}-dist .endfor .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MWWW) ${MKDIR} ${STAGEDIR}${PREFIX}/www/nginx-dist .for i in index.html 50x.html ${INSTALL_DATA} ${WRKSRC}/html/${i} ${STAGEDIR}${PREFIX}/www/nginx-dist .endfor ${ECHO_CMD} "" >>${STAGEDIR}${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING .endif .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/ .endif post-install: .if !empty(PORT_OPTIONS:MHTTP) && !empty(PORT_OPTIONS:MHTTP_PERL) ${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST} ${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST} ${ECHO_CMD} @dirrm ${SITE_ARCH_REL}/auto/nginx >> ${TMPPLIST} .endif ${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .include Index: head/www/xsp/Makefile =================================================================== --- head/www/xsp/Makefile (revision 381617) +++ head/www/xsp/Makefile (revision 381618) @@ -1,36 +1,36 @@ # Created by: Tom McLaughlin # $FreeBSD$ PORTNAME= xsp PORTVERSION= 3.0.11 CATEGORIES= www -MASTER_SITES= GITHUB +MASTER_SITES= GITHUB_LEGACY MAINTAINER= mono@FreeBSD.org COMMENT= Mono based web server LICENSE= MIT BUILD_DEPENDS= ${LOCALBASE}/bin/mono:${PORTSDIR}/lang/mono RUN_DEPENDS= ${LOCALBASE}/bin/mono:${PORTSDIR}/lang/mono MAKE_JOBS_UNSAFE= yes GH_ACCOUNT= mono GH_COMMIT= 4587438 USE_GITHUB= yes USE_SQLITE= 3 USES= gmake mono pathfix pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_AUTOTOOLS= automake autoconf aclocal PATHFIX_MAKEFILEIN=Makefile.am AUTOMAKE_ARGS= --add-missing --copy ACLOCAL_ARGS= -I build/m4/shamrock -I build/m4/shave PLIST_SUB+= PORTVERSION=${PORTVERSION} pre-install: ${MKDIR} ${STAGEDIR}${XSP_DOCROOT} .include Index: head/x11/rofi/Makefile =================================================================== --- head/x11/rofi/Makefile (revision 381617) +++ head/x11/rofi/Makefile (revision 381618) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= rofi PORTVERSION= 0.14.12 CATEGORIES= x11 -MASTER_SITES= GH GHC +MASTER_SITES= GHL MAINTAINER= nomoo@nomoo.ru COMMENT= Window switcher, run dialog and dmenu replacement LICENSE= MIT USE_GITHUB= yes GH_ACCOUNT= DaveDavenport GH_COMMIT= 9b33197 GH_TAGNAME= 0.14.12 GNU_CONFIGURE= yes USES= autoreconf pkgconfig USE_XORG= x11 xinerama USE_GNOME= pango PLIST_FILES= bin/rofi man/man1/rofi.1.gz .include Index: head/x11-themes/clearlooks-phenix-theme/Makefile =================================================================== --- head/x11-themes/clearlooks-phenix-theme/Makefile (revision 381617) +++ head/x11-themes/clearlooks-phenix-theme/Makefile (revision 381618) @@ -1,33 +1,33 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= clearlooks-phenix PORTVERSION= 6.0.3 CATEGORIES= x11-themes xfce -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMESUFFIX= -theme MAINTAINER= olivierd@FreeBSD.org COMMENT= Gtk3 port of Clearlooks theme for the Xfce Desktop LICENSE= GPLv3 RUN_DEPENDS= gtk-engines2>=2.20.2:${PORTSDIR}/x11-themes/gtk-engines2 USE_GITHUB= yes NO_BUILD= yes GH_ACCOUNT= jpfleury GH_PROJECT= ${PORTNAME} GH_TAGNAME= ${PORTVERSION} GH_COMMIT= ef314bf do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Clearlooks-Phenix .for dir in gtk-2.0 gtk-3.0 xfwm4 @cd ${WRKSRC} && \ ${COPYTREE_SHARE} ${dir} \ ${STAGEDIR}${PREFIX}/share/themes/Clearlooks-Phenix .endfor .include Index: head/x11-themes/greybird-theme/Makefile =================================================================== --- head/x11-themes/greybird-theme/Makefile (revision 381617) +++ head/x11-themes/greybird-theme/Makefile (revision 381618) @@ -1,49 +1,49 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= greybird PORTVERSION= 1.5.3 CATEGORIES= x11-themes xfce -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMESUFFIX= -theme MAINTAINER= olivierd@FreeBSD.org COMMENT= Gtk and xfwm4 themes for the Xfce Desktop RUN_DEPENDS= gtk-murrine-engine>=0.98.1:${PORTSDIR}/x11-themes/gtk-murrine-engine GH_ACCOUNT= shimmerproject GH_PROJECT= Greybird GH_TAGNAME= v${PORTVERSION} GH_COMMIT= c06a60a USE_GITHUB= yes NO_BUILD= yes OPTIONS_DEFINE= NOTIFYD OPTIONS_DEFAULT= NOTIFYD NOTIFYD_DESC= Install xfce4-notifyd theme .include post-patch: # Remove .orig file @${RM} ${WRKSRC}/gtk-?.0/*.orig do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Greybird .for dir in gtk-2.0 gtk-3.0 xfwm4 @cd ${WRKSRC} && \ ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/share/themes/Greybird .endfor .if ${PORT_OPTIONS:MNOTIFYD} @cd ${WRKSRC} && \ ${COPYTREE_SHARE} xfce-notify-4.0/ \ ${STAGEDIR}${PREFIX}/share/themes/Greybird PLIST_SUB+= NOTIFYD="" .else PLIST_SUB+= NOTIFYD="@comment " .endif .include Index: head/x11-themes/numix-theme/Makefile =================================================================== --- head/x11-themes/numix-theme/Makefile (revision 381617) +++ head/x11-themes/numix-theme/Makefile (revision 381618) @@ -1,51 +1,51 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= numix PORTVERSION= 2.5.1 CATEGORIES= x11-themes xfce -MASTER_SITES= GH GHC +MASTER_SITES= GHL PKGNAMESUFFIX= -theme MAINTAINER= olivierd@FreeBSD.org COMMENT= Gtk and Xfwm4 flat themes for the Xfce Desktop LICENSE= GPLv3 RUN_DEPENDS= gtk-murrine-engine>=0.98.1:${PORTSDIR}/x11-themes/gtk-murrine-engine GH_ACCOUNT= shimmerproject GH_PROJECT= Numix GH_TAGNAME= v${PORTVERSION} GH_COMMIT= f84aec1 USE_GITHUB= yes NO_BUILD= yes OPTIONS_DEFINE= NOTIFYD OPTIONS_DEFAULT= NOTIFYD NOTIFYD_DESC= Install xfce4-notifyd theme .include post-patch: # Remove .orig files @${RM} ${WRKSRC}/gtk-?.0/*.orig do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/Numix .for dir in gtk-2.0 gtk-3.0 xfwm4 @cd ${WRKSRC} && \ ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/share/themes/Numix .endfor .if ${PORT_OPTIONS:MNOTIFYD} @cd ${WRKSRC} && \ ${COPYTREE_SHARE} xfce-notify-4.0 \ ${STAGEDIR}${PREFIX}/share/themes/Numix PLIST_SUB+= NOTIFYD="" .else PLIST_SUB+= NOTIFYD="@comment " .endif .include Index: head/x11-toolkits/py-kivy/Makefile =================================================================== --- head/x11-toolkits/py-kivy/Makefile (revision 381617) +++ head/x11-toolkits/py-kivy/Makefile (revision 381618) @@ -1,157 +1,157 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= kivy PORTVERSION= 1.8.0 PORTREVISION= 1 CATEGORIES= x11-toolkits python -MASTER_SITES= GH LOCAL/dbn/${PORTNAME} +MASTER_SITES= GHL LOCAL/dbn/${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbn@FreeBSD.org COMMENT= Python NUI library for rapid application development LICENSE= MIT BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython MAKE_ENV= KIVY_NO_CONFIG=yes KIVY_NO_FILELOG=yes PYTHONPATH=${WRKSRC} MAKE_JOBS_UNSAFE= yes # does not (really) use make USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_COMMIT= d602d4b USES= python:2.7+ shebangfix USE_GL= gl PYDISTUTILS_BUILD_TARGET= build_ext PYDISTUTILS_BUILDARGS= --inplace PYDISTUTILS_EGGINFO= Kivy-${PORTVERSION}-py${PYTHON_VER}.egg-info USE_PYTHON= autoplist distutils SHEBANG_FILES= kivy/lib/osc/OSC.py OPTIONS_DEFINE= DOCS PDF TEST OPTIONS_SET= ENCHANT OPENCV PYGAME OPTIONS_SUB= yes OPTIONS_GROUP= VIDEO AUDIO IMAGE CAMERA SPELLING CLIPBOARD OPTIONS_MULTI= WINDOW TEXT OPTIONS_MULTI_WINDOW= PYGAME X11 SDL2 OPTIONS_MULTI_TEXT= PIL PYGAME SDL2 OPTIONS_GROUP_VIDEO= GSTREAMER FFMPEG OPTIONS_GROUP_AUDIO= GSTREAMER PYGAME SDL2 OPTIONS_GROUP_IMAGE= PIL PYGAME OPTIONS_GROUP_CAMERA= OPENCV GSTREAMER OPTIONS_GROUP_SPELLING= ENCHANT OPTIONS_GROUP_CLIPBOARD= PYGAME CAMERA_DESC= Camera support CLIPBOARD_DESC= Clipboard support IMAGE_DESC= Image support SPELLING_DESC= Spell checking support TEXT_DESC= Text rendering support (compulsory) WINDOW_DESC= Window support (compulsory) DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx ENCHANT_DESC= Spell checking support via Enchant ENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>=0:${PORTSDIR}/textproc/py-enchant FFMPEG_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ffmpeg/__init__.py:${PORTSDIR}/multimedia/py-ffmpeg GSTREAMER_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygst.py:${PORTSDIR}/multimedia/py-gstreamer OPENCV_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cv.py:${PORTSDIR}/graphics/py-opencv PDF_DESC= Build PDF documentation (required TeXLive, DOCS) PDF_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx PDF_USE= TEX=texlive,pdftex:build,dvipsk:build PDF_USES= gmake PIL_DESC= Text and window rendering support via PIL PIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging PYGAME_DESC= Window, text and image rendering support via PyGame PYGAME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>0:${PORTSDIR}/graphics/py-pyglet SDL2_DESC= Simple Direct Media Layer v2.0 support SDL2_MAKE_ENV= USE_SDL=1 SDL2_USE= SDL=sdl2,ttf2,mixer2 TEST_BUILD_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose TEST_USES= display:build X11_MAKE_ENV= USE_X11=1 X11_USE= XORG=x11 BROKEN= fails to build with cython-0.22 .if !defined(ARCH) ARCH!= uname -p .endif .if ${ARCH} == i386 OPTIONS_GROUP_VIDEO+= PYGLET .endif .include .if ${PORT_OPTIONS:MPDF} .if empty(PORT_OPTIONS:MDOCS) IGNORE= option PDF requires DOCS .endif .endif .if empty(PORT_OPTIONS:MPYGAME) NOSE_ARGS+= --exclude=test_fbo_pixels .endif .if ${PORT_OPTIONS:MTEST} post-build: do-test-build do-test-build: @${RM} -rf kivy/tests/build @(cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} nosetests ${NOSE_ARGS} ${WRKSRC}/kivy/tests) .endif .if ${PORT_OPTIONS:MDOCS} post-build: do-build-docs find ${WKRSRC} -name '*.so' | ${XARGS} ${STRIP_CMD} do-build-docs: ${MKDIR} ${WRKSRC}/doc/build/doctrees ${WRKSRC}/doc/build/html \ ${WRKSRC}/doc/build/latex-a4 ${WRKSRC}/doc/build/latex-letter ${REINPLACE_CMD} -i '' -e 's/\(import pygame\.joystick\)/#\1/' \ ${WRKSRC}/kivy/input/providers/androidjoystick.py (cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} doc/autobuild.py) (cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} sphinx-build -b html \ -d ${WRKSRC}/doc/build/doctrees \ doc/sources ${WRKSRC}/doc/build/html) .if ${PORT_OPTIONS:MPDF} (cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} sphinx-build -b latex \ -d ${WRKSRC}/doc/build/doctrees \ -D latex_paper=a4 doc/sources ${WRKSRC}/doc/build/latex-a4) (cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} sphinx-build -b latex \ -d ${WRKSRC}/doc/build/doctrees \ -D latex_paper=letter doc/sources ${WRKSRC}/doc/build/latex-letter) ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/doc/build/latex-a4 \ all-pdf < /dev/null > /dev/null ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC}/doc/build/latex-letter \ all-pdf < /dev/null > /dev/null .endif ${REINPLACE_CMD} -i '' -e 's/#\(import pygame\.joystick\)/\1/' \ ${WRKSRC}/kivy/input/providers/androidjoystick.py post-install: do-install-docs do-install-docs: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/build/html; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .if ${PORT_OPTIONS:MPDF} ${INSTALL_DATA} ${WRKSRC}/doc/build/latex-a4/Kivy.pdf \ ${STAGEDIR}${DOCSDIR}/Kivy-a4.pdf ${INSTALL_DATA} ${WRKSRC}/doc/build/latex-letter/Kivy.pdf \ ${STAGEDIR}${DOCSDIR}/Kivy-letter.pdf .endif .endif post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/kivy -name '*.so' | ${XARGS} ${STRIP_CMD} .include