Index: head/Mk/bsd.port.mk =================================================================== --- head/Mk/bsd.port.mk (revision 412341) +++ head/Mk/bsd.port.mk (revision 412342) @@ -1,5829 +1,5829 @@ #-*- tab-width: 4; -*- # ex:ts=4 # # $FreeBSD$ # $NetBSD: $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # # Please view me with 4 column tabs! # This is the master file for the most common elements to all port # Makefile in the ports system. For a more general overview of its # use and importance, see the Porter's Handbook. # There are two different types of "maintainers" in the ports framework. # The maintainer alias of the bsd.port.mk file is listed below in the # FreeBSD_MAINTAINER entry. You should consult them if you have any # questions/suggestions regarding this file. # # DO NOT COMMIT CHANGES TO THIS FILE BY YOURSELF, EVEN IF YOU DID NOT GET # A RESPONSE FROM THE MAINTAINER(S) WITHIN A REASONABLE TIMEFRAME! ALL # UNAUTHORISED CHANGES WILL BE UNCONDITIONALLY REVERTED! FreeBSD_MAINTAINER= portmgr@FreeBSD.org # For each port, the MAINTAINER variable is what you should consult for # contact information on the person(s) to contact if you have questions/ # suggestions about that specific port. By default (if no MAINTAINER # is listed), a port is maintained by the subscribers of the ports@FreeBSD.org # mailing list, and any correspondence should be directed there. # # MAINTAINER - The e-mail address of the contact person for this port. # Default: ports@FreeBSD.org # # These are meta-variables that are automatically set to the system # you are running on. These are provided in case you need to take # different actions for different values. # # ARCH - The architecture of the target machine, such as would be # returned by "uname -p". # OPSYS - Portability clause. This is the operating system the # makefile is being used on. Automatically set to # "FreeBSD," "NetBSD," or "OpenBSD" as appropriate. # OSREL - The release version (numeric) of the operating system. # OSVERSION - The value of __FreeBSD_version. # # This is the beginning of the list of all variables that need to be # defined in a port, listed in order that they should be included # to fit in with existing conventions. (Exception: MAINTAINER actually # should appear after EXTRACT_ONLY and before MASTER_SITE_BACKUP). # # These variables are used to identify your port. # # PORTNAME - Name of software. Mandatory. # PORTVERSION - Version of software. Mandatory when no DISTVERSION is given. # PORTREVISION - Version of port. Optional. Commonly used to indicate # that an update has happened that affects the port # framework itself, but not the distributed software # (e.g., local patches or Makefile changes). # PORTEPOCH - Optional. In certain odd cases, the PORTREVISION logic # can be fooled by ports that appear to go backwards # numerically (e.g. if port-0.3 is newer than port-1998). # In this case, incrementing PORTEPOCH forces the revision. # Default: 0 (no effect). # PKGNAME - Always defined as # ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}. # Do not define this in your Makefile. # PKGNAMEPREFIX - Prefix to specify that port is language-specific, etc. # Optional. # PKGNAMESUFFIX - Suffix to specify compilation options or a version # designator (in case there are different versions of # one port as is the case for Tcl). # Optional. # PKGVERSION - Always defined as ${PORTVERSION}. # Do not define this in your Makefile. # DISTVERSION - Vendor version of the distribution. # Default: ${PORTVERSION} # DISTNAME - Name of port or distribution used in generating # WRKSRC and DISTFILES below. # Default: # ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} # CATEGORIES - A list of descriptive categories into which this port falls. # Mandatory. # # These variable describe how to fetch files required for building the port. # # DISTFILES - Name(s) of archive file(s) containing distribution. # Set this to an empty string if the port doesn't require it. # Default: ${DISTNAME}${EXTRACT_SUFX} # EXTRACT_SUFX - Suffix for archive names # You never have to set both DISTFILES and EXTRACT_SUFX. # Default: .tar.bz2 if USES=tar:bzip2 is set, .tar.xz if # USES=tar:xz USE_XZ is set, .tar.gz otherwise). # MASTER_SITES - Primary location(s) for distribution files if not found # locally. See bsd.sites.mk for common choices for # MASTER_SITES. # MASTER_SITE_SUBDIR # - Subdirectory of MASTER_SITES. Will sometimes need to be # set to ${PORTNAME} for (e.g.) MASTER_SITE_SOURCEFORGE. # Only guaranteed to work for choices of ${MASTER_SITES} # defined in bsd.sites.mk. # Default: not set. # PATCHFILES - Name(s) of additional files that contain distribution # patches. Make will look for them at PATCH_SITES (see below). # They will automatically be uncompressed before patching if # the names end with ".gz", ".bz2" or ".Z". # For each file you can optionally specify a strip # flag of patch(1) after a colon if it has a different # base directory, e.g. "file1 file2:-p1 file3". # You can also use a :group at the end for matching up to # dist file groups. See Porters Handbook for more information. # Syntax: PATCHFILES= patch[:-pX][:group] # Default: not set. # PATCH_SITES - Primary location(s) for distribution patch files # if not found locally. # DIST_SUBDIR - Suffix to ${DISTDIR}. If set, all ${DISTFILES} and # ${PATCHFILES} will be put in this subdirectory of # ${DISTDIR} (see below). Also they will be fetched in this # subdirectory from FreeBSD mirror sites. # ALLFILES - All of ${DISTFILES} and ${PATCHFILES}. # NOFETCHFILES - If set, don't download these files from the ${MASTER_SITES} # or ${MASTER_SITE_BACKUP} (but do from # ${MASTER_SITE_OVERRIDE}) # EXTRACT_ONLY - If set, a subset of ${DISTFILES} you want to # actually extract. # ALWAYS_KEEP_DISTFILES # - If set, the package building cluster will save the distfiles # along with the packages. This may be required to comply with # some licenses, e.g. GPL in some cases. # Default: not set. # # (NOTE: by convention, the MAINTAINER entry (see above) should go here.) # # These variables are typically set in /etc/make.conf to indicate # the user's preferred location to fetch files from. You should # rarely need to set these. # # MASTER_SITE_BACKUP # - Backup location(s) for distribution files and patch # files if not found locally and ${MASTER_SITES}/${PATCH_SITES}. # This should *not* be changed. # Default: # http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ # MASTER_SITE_OVERRIDE # - If set, prepend the MASTER_SITES setting with this value. # MASTER_SITE_FREEBSD # - If set, prepend ${MASTER_SITE_BACKUP} in MASTER_SITES. # # Set these if your port should not be built under certain circumstances. # These are string variables; you should set them to the reason why # they are necessary. # # RESTRICTED - Prevent the distribution of distfiles and packages to # the FTP sites or on CDROM (e.g. forbidden by license # considerations). # NO_CDROM - Packages and distfiles may not go on CDROM (e.g. must # not be re-sold) but can go on FTP sites. # NO_PACKAGE - Port should not be packaged for ftp sites or CDROMs, # but distfiles can be put on ftp sites and CDROMs. # FORBIDDEN - Package build should not be attempted because of # security vulnerabilities. # LEGAL_TEXT - Port has legal issues (e.g., special permission to distribute, lacks a license). # LEGAL_PACKAGE - Port has no legal issues but defines NO_PACKAGE # IGNORE - Package build should be skipped entirely (e.g. # because of serious unfixable problems in the build, # because it cannot be manually fetched, etc). Error # logs will not appear on pointyhat, so this should be # used sparingly. # BROKEN - Port is believed to be broken. Package builds can # still be attempted using TRYBROKEN to test this # assumption. # BROKEN_${ARCH} - Port is believed to be broken on ${ARCH}. Package builds # can still be attempted using TRYBROKEN to # test this assumption. # BROKEN_${OPSYS} - Port is believed to be broken on ${OPSYS}. Package builds # can still be attempted using TRYBROKEN to # test this assumption. # BROKEN_${OPSYS}_${OSREL:R} - Port is believed to be broken on a single # release of ${OPSYS}, e.g BROKEN_FreeBSD_8 # would affect all point releases of FreeBSD 8 # unless TRYBROKEN is also set. # BROKEN_${OPSYS}_${OSREL:R}_${ARCH} - Port is believed to be broken on a # single release of ${OPSYS} and specific architecture, # e.g BROKEN_FreeBSD_8_i386 would affect all point # releases of FreeBSD 8 in i386 # unless TRYBROKEN is also set. # DEPRECATED - Port is deprecated to install. Advisory only. # EXPIRATION_DATE # - If DEPRECATED is set, determines a date when # the port is planed to remove. The date format is # ISO 8601 (YYYY-MM-DD). # # DISABLE_VULNERABILITIES # - If set, do not check if the port is listed in the # vulnerabilities database. # # In addition to RESTRICTED or NO_CDROM, if only a subset of distfiles # or patchfiles have redistribution restrictions, set the following # to the list of such files. # # RESTRICTED_FILES # - List of files that cannot be redistributed. # Default: "${DISTFILES} ${PATCHFILES}" if RESTRICTED # or NO_CDROM is set, empty otherwise. # # These variables are booleans, so you don't need to set them to the reason. # # IS_INTERACTIVE # - Set this if your port needs to interact with the user # during any step in a package build. User can then decide # to skip this port by setting ${BATCH}, or compiling only # the interactive ports by setting ${INTERACTIVE}. # Default: not set. # USE_SUBMAKE - Set this if you want that each of the port's main 7 targets # (extract, patch, configure, build, stage, install and # package) to be executed in a separate make(1) process. # Useful when one of the stages needs to influence make(1) # variables of the later stages using ${WRKDIR}/Makefile.inc # generated on the fly. # Default: not set. # # NO_ARCH - Set this if port is architecture neutral. # # Set these if your port only makes sense to certain architectures. # They are lists containing names for them (e.g., "amd64 i386"). # (Defaults: not set.) # # ONLY_FOR_ARCHS # - Only build ports if ${ARCH} matches one of these. # NOT_FOR_ARCHS - Only build ports if ${ARCH} doesn't match one of these. # ONLY_FOR_ARCHS_REASON # ONLY_FOR_ARCHS_REASON_${ARCH} # - Reason why it's only for ${ONLY_FOR_ARCHS}s # NOT_FOR_ARCHS_REASON # NOT_FOR_ARCHS_REASON_${ARCH} # - Reason why it's not for ${NOT_FOR_ARCHS}s # IA32_BINARY_PORT # - Set this instead of ONLY_FOR_ARCHS if the given port # fetches and installs compiled i386 binaries. # # Dependency checking. Use these if your port requires another port # not in the list below. (Default: empty.) # # EXTRACT_DEPENDS # - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "extract" stage. "path" is # the name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # PATCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "patch" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # FETCH_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends in the "fetch" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the # existence (if it is a full pathname) or search for # it in your $PATH (if it is an executable) and go # into "dir" to do a "make all install" if it's not # found. If the third field ("target") exists, it will # be used instead of ${DEPENDS_TARGET}. The first field # also supports a package name with a version range, in # the form package>=1.2 if a particular version is desired. # BUILD_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends to build (between the "extract" and # "build" stages, inclusive). The test done to # determine the existence of the dependency is the # same as FETCH_DEPENDS. If the third field ("target") # exists, it will be used instead of ${DEPENDS_TARGET}. # RUN_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends to run. The test done to determine # the existence of the dependency is the same as # FETCH_DEPENDS. This will be checked during the # "install" stage and the name of the dependency will # be put into the package as well. If the third field # ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # LIB_DEPENDS - A list of "lib:dir[:target]" tuples of other ports this # package depends on. "lib" is the name of a shared library. # TEST_DEPENDS - A list of "path:dir[:target]" tuples of other ports this # package depends on in the "test" stage. "path" is the # name of a file if it starts with a slash (/), an # executable otherwise. make will test for the existence # (if it is a full pathname) or search for it in your # $PATH (if it is an executable) and go into "dir" to do # a "make all install" if it's not found. If the third # field ("target") exists, it will be used instead of # ${DEPENDS_TARGET}. The first field also supports a # package name with a version range, in the form package>=1.2 # if a particular version is desired. # DEPENDS_TARGET # - The default target to execute when a port is calling a # dependency. # Default: install # # These variables control options about how a port gets built and/or # are shorthand notations for common sets of dependencies. # Use these if your port uses some of the common software packages. By # convention these should be set to 'yes', although they only need to be # defined. Defaults: not set, unless explicitly indicated below. # # Note: the distinction between the USE_* and WANT_* variables, and the # WITH_* and WITHOUT_* variables, are that the former are restricted to # usage inside the ports framework, and the latter are reserved for user- # settable options. (Setting USE_* in /etc/make.conf is always wrong). # # WITH_DEBUG - If set, debugging flags are added to CFLAGS and the # binaries don't get stripped by INSTALL_PROGRAM or # INSTALL_LIB. Besides, individual ports might # add their specific to produce binaries for debugging # purposes. You can override the debug flags that are # passed to the compiler by setting DEBUG_FLAGS. It is # set to "-g" at default. # # WITH_DEBUG_PORTS - A list of origins for which WITH_DEBUG will be set # # WITHOUT_SSP - Disable SSP. # # SSP_CFLAGS - Defaults to -fstack-protector. This value # is added to CFLAGS and the necessary flags # are added to LDFLAGS. Note that SSP_UNSAFE # can be used in Makefiles by port maintainers # if a port breaks with it (it should be # extremely rare). # # USE_GCC - If set, this port requires this version of gcc, either in # the system or installed from a port. # USE_CSTD - Override the default C language standard (gnu89, gnu99) # USE_CXXSTD Override the default C++ language standard # USE_BINUTILS - Use binutils suite from port instead of the version in base. # CFLAGS_${ARCH} Append the cflags to CFLAGS only on the specified architecture # CXXFLAGS_${ARCH} # Append the cxxflags to CXXFLAGS only on the specified architecture ## # USE_GL - A list of Mesa or GL related dependencies needed by the port. # Supported components are: egl, glesv2, glut, glu, glw, and gl. # If set to "yes", this is equivalent to "glu". Note that # glew and glut depend on glu, glw and glu depend on gl. ## # USE_SDL - If set, this port uses the sdl libraries. # See bsd.sdl.mk for more information. ## # USE_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_GECKO - If set, this port uses the Gecko/Mozilla product. # See bsd.gecko.mk for more details. ## # USE_WX - If set, this port uses the WxWidgets library and related # components. See bsd.wx.mk for more details. ## # USE_KDE4 - A list of the KDE 4 dependencies the port has (e.g., # kdelibs, kdebase). Implies that the port needs KDE. # Implies inclusion of bsd.kde4.mk. See bsd.kde4.mk # for more details. # # USE_QT4 - A list of the Qt 4 dependencies the port has (e.g, # corelib, webkit). Implies that the port needs Qt. # Implies the inclusion of bsd.qt.mk. See bsd.qt.mk # for more details. # # USE_QT5 - A list of the Qt 5 dependencies the port has (e.g, # core, webkit). Implies that the port needs Qt. # Implies the inclusion of bsd.qt.mk. See bsd.qt.mk # for more details. # # USE_LINUX - Set to yes to say the port needs the default linux base port. # Set to value , if the port needs emulators/linux_base-. # Implies appropriate settings for STRIP and STRIP_CMD. # USE_LINUX_PREFIX # - controls the action of PREFIX (see above). Only use this # if the port is a linux infrastructure port (e.g. contains libs # or a sound server which supports the FreeBSD native one), # use the default or the X11 prefix if it's a leaf port # (e.g. a game or program). # Implies NO_MTREE=yes, and, if USE_LDCONFIG is defined: # - USE_LINUX=yes # - appropriate invocation of the Linux ldconfig # USE_LINUX_RPM - Set to yes to pull in variables and targets useful to Linux # RPM ports. # Implies inclusion of bsd.linux-rpm.mk. # # LINUX_OSRELEASE - Contains the value of compat.linux.osrelease sysctl. # Will be used to distinguish which linux # infrastructure ports should be used. # Valid values: 2.6.16. # # OVERRIDE_LINUX_BASE_PORT # - This specifies the default linux base to use, for valid # values have a look at the description of USE_LINUX. This is # an user-only variable. Don't use it in any port, it's meant # to be used in make.conf. # # LINUX_BASE_PORT # - This is a read-only variable, it gets set to a value which is # usable in *_DEPENDS (e.g. BUILD_DEPENDS=${LINUX_BASE_PORT}). # It honors USE_LINUX=foo and OVERRIDE_LINUX_BASE_PORT. ## # USE_XORG - Set to a list of X.org module dependencies. # Implies inclusion of bsd.xorg.mk. ## # USE_TEX - A list of the TeX dependencies the port has. # ## # USE_RC_SUBR - If set, the ports startup/shutdown script uses the common # routines found in /etc/rc.subr. # If this is set to a list of files, these files will be # automatically added to ${SUB_FILES}, some %%VAR%%'s will # automatically be expanded, they will be installed in # ${PREFIX}/etc/rc.d if ${PREFIX} is not /usr, otherwise they # will be installed in /etc/rc.d/ and added to the packing list. ## # USE_APACHE - If set, this port relies on an apache webserver. # # Conflict checking. Use if your port cannot be installed at the same time as # another package. # # CONFLICTS - A list of package name patterns that the port conflicts # with, separated by blanks. The names may include shell # pattern meta-characters "*", "?", "[", "]", and "!". # Example: apache*-1.2* apache*-1.3.[012345] apache-*+ssl_* # # CONFLICTS_BUILD # - Check conflict prior to the build. # # CONFLICTS_INSTALL # - Check conflict prior to the installation stage. # # Various directory definitions and variables to control them. # You rarely need to redefine any of these except WRKSRC and NO_WRKSUBDIR. # # LOCALBASE - Where ports install things. # Default: /usr/local # LINUXBASE - Where Linux ports install things. # Default: /compat/linux # PREFIX - Where *this* port installs its files. # Default: ${LINUXBASE} if USE_LINUX_PREFIX is set, # otherwise ${LOCALBASE} # # IGNORE_PATH_CHECKS # - There are some sanity checks against PREFIX. # You can disable these checks with defining # this variable, but this is not recommended! # Only do this if you really know what you are # doing. These sanity checks are the following: # - PREFIX has to be an absolute path. # - PREFIX can't have a trailing slash. # # BUNDLE_LIBS Teach pkg(8) to not automatically add all shared libraries # installed by a port as shared libraries "provided" for # other packages (i.e., do not expose them in the solver). # This has to be used for ports that bundle third party # libraries for internal usage. # MASTERDIR - Where the port finds patches, package files, etc. Define # this is you have two or more ports that share most of the # files. # Default: ${.CURDIR} # PORTSDIR - The root of the ports tree. # Default: /usr/ports # DISTDIR - Where to search for and store copies of original sources # Default: ${PORTSDIR}/distfiles # PACKAGES - A top level directory where all packages go (rather than # going locally to each port). # Default: ${PORTSDIR}/packages # WRKDIRPREFIX - The place to root the temporary working directory # hierarchy. # Default: none # WRKDIR - A temporary working directory that gets *clobbered* on clean # Default: ${WRKDIRPREFIX}${.CURDIR}/work # WRKSRC - A subdirectory of ${WRKDIR} where the distribution actually # unpacks to. # Default: ${WRKDIR}/${DISTNAME} # WRKSRC_SUBDIR - A subdirectory of ${WRKSRC} where the distribution actually # builds in. # Default: not set # NO_WRKSUBDIR - Assume port unpacks without a subdirectory, and extract it in # ${WRKSRC} instead of ${WRKDIR}. # PATCHDIR - A directory containing any additional patches you made # to port this software to FreeBSD. # Default: ${MASTERDIR}/files # SCRIPTDIR - A directory containing any auxiliary scripts # Default: ${MASTERDIR}/scripts # FILESDIR - A directory containing any miscellaneous additional files. # Default: ${MASTERDIR}/files # PKGDIR - A directory containing any package creation files. # Default: ${MASTERDIR} # SRC_BASE - The root of the src tree. (Some ports require this to get # kernel sources). Default: /usr/src # UID_FILES - A list of files containing information about registered UIDs. # Note that files have decreasing priority. # GID_FILES - A list of files containing information about registered GIDs. # Note that files have decreasing priority. # # Variables that serve as convenient "aliases" for your *-install targets. # Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin". # # INSTALL_PROGRAM # - A command to install binary executables. (By # default, also strips them, unless ${STRIP} is # overridden to be the empty string). # INSTALL_KLD - As INSTALL_PROGRAM, but without the STRIP. # INSTALL_LIB - As INSTALL_DATA, but also strips the file. # INSTALL_SCRIPT # - A command to install executable scripts. # INSTALL_DATA - A command to install sharable data. # 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(1) backup files. # # MANPREFIX - The directory prefix for ${MAN} and ${MLINKS}. # Default: ${PREFIX} # MANPREFIX # - If manual pages of some sections install in different # locations than others, use these. # Default: ${MANPREFIX} # # Set the following to specify all .info files your port installs. # # INFO - A list of .info files (omitting the trailing ".info"); # only one entry per document! These files are listed in # the path relative to ${INFO_PATH}. # INFO_PATH - Path, where all .info files will be installed by your # port, relative to ${PREFIX} # Default: "share/info" if ${PREFIX} is equal to /usr # and "info" otherwise. # # Set the following to specify all documentation your port installs into # ${DOCSDIR} # # PORTDOCS - A list of files and directories relative to DOCSDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no documentation files are # installed. # Useful for dynamically generated documentation. # # Set the following to specify all documentation your port installs into # ${EXAMPLESDIR} # # PORTEXAMPLES - A list of files and directories relative to EXAMPLESDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no examples files are # installed. # Useful for dynamically generated examples. # # Set the following to specify all files and directories your port installs into # ${DATADIR} # # PORTDATA - A list of files and directories relative to DATADIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no data files are # installed. # Useful for dynamically generated data files. # # Default targets and their behaviors: # # fetch - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port. # fetch-list - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-recursive # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-recursive-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-required # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-required-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-url-list # - Show list of URLS to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-urlall-list # - Show list of URLS to retrieve ${DISTFILES} and # ${PATCHFILES} for this port. # # all-depends-list # - Show all directories which are dependencies # for this port. # build-depends-list # - Show all directories which are build-dependencies # for this port. # package-depends-list # - Show all directories which are package-dependencies # for this port. This is based upon the dependency # tree as recorded in the Makefiles of the ports # collection, not as recorded in the currently # installed ports. # actual-package-depends # - Like package-depends-list but with the difference # that the dependencies of the currently installed # ports are used instead of the dependencies as # recorded in the ports collection. # run-depends-list # - Show all directories which are run-dependencies # for this port. # test-depends-list # - Show all directories which are test-dependencies # for this port. # # extract - Unpacks ${DISTFILES} into ${WRKDIR}. # patch - Apply any provided patches to the source. # configure - Runs either GNU configure, one or more local configure # scripts or nothing, depending on what's available. # build - Actually compile the sources. # install - Install the results of a build. # reinstall - Install the results of a build, ignoring "already installed" # flag. # deinstall - Remove the installation. # deinstall-all - Remove all installations with the same PKGORIGIN. # test - Run tests for the port. # package - Create a package from an _installed_ port. # package-recursive # - Create a package for a port and _all_ of its dependencies. # describe - Try to generate a one-line description for each port for # use in INDEX files and the like. # check-plist - Checks for files missing from the plist, and files in the plist # that are not installed by the port. # check-sanity - Perform some basic checks of the port layout. # checkpatch - Do a "patch -C" instead of a "patch". Note that it may # give incorrect results if multiple patches deal with # the same file. # checksum - Use distinfo to ensure that your distfiles are valid. # checksum-recursive # - Run checksum in this port and all dependencies. # makesum - Generate distinfo (only do this for your own ports!). # clean - Remove ${WRKDIR} and other temporary files used for building. # clean-depends - Do a "make clean" for all dependencies. # config - Configure options for this port (using ${DIALOG}). # Automatically run prior to extract, patch, configure, build, # install, and package. # config-recursive # - Configure options for this port for a port and all its # dependencies. # showconfig - Display options config for this port. # showconfig-recursive # - Display options config for this port and all its # dependencies. # rmconfig - Remove the options config for this port. # rmconfig-recursive # - Remove the options config for this port and all its # dependencies. # # Default sequence for "all" is: # # check-sanity fetch checksum extract patch configure build # # Please read the comments in the targets section below; you # should be able to use the pre-* or post-* targets/scripts # (which are available for every stage except checksum) or # override the do-* targets to do pretty much anything you want. # # The TARGET_ORDER_OVERRIDE variable can be set to multiple : # to change the ordering of targets, have a look at the _SEQ variables at the # end of this file for the default order and priorities. # # NEVER override the "regular" targets unless you want to open # a major can of worms. # # Set these variables if your port doesn't need some of the steps. # Note that there are no NO_PATCH or NO_CONFIGURE variables because # those steps are empty by default. NO_EXTRACT is not allowed anymore # since we need to at least create ${WRKDIR}. Also, NO_CHECKSUM is a user # variable and is not to be set in a port's Makefile. See above for NO_PACKAGE. # # NO_BUILD - Use a dummy (do-nothing) build target. # NO_INSTALL - Use a dummy (do-nothing) install target. # NO_TEST - Use a dummy (do-nothing) test target. # # Here are some variables used in various stages. # # For options see bsd.options.mk # # For fetch: # # FETCH_BINARY - Path to ftp/http fetch command if not in $PATH. # Default: "/usr/bin/fetch" # FETCH_ARGS - Arguments to ftp/http fetch command. # Default: "-Fpr" # FETCH_CMD - ftp/http fetch command. # Default: ${FETCH_BINARY} ${FETCH_ARGS} # FETCH_BEFORE_ARGS # - Arguments to ${FETCH_CMD} before filename. # Default: none # FETCH_AFTER_ARGS # - Arguments to ${FETCH_CMD} following filename. # Default: none # FETCH_ENV - Environment to pass to ${FETCH_CMD}. # Default: none # FETCH_REGET - Times to retry fetching of files on checksum errors. # Default: 1 # CLEAN_FETCH_ENV # - Disable package dependency in fetch target for mass # fetching. User settable. # # For extract: # # EXTRACT_CMD - Command for extracting archive # Default: ${TAR} # EXTRACT_BEFORE_ARGS # - Arguments to ${EXTRACT_CMD} before filename. # Default: "-xf" # EXTRACT_AFTER_ARGS # - Arguments to ${EXTRACT_CMD} following filename. # Default: "--no-same-owner --no-same-permissions" # For patch: # # EXTRA_PATCHES - Define this variable if you have patches not in # ${PATCHDIR}. This usually happens when you need to # do some pre-processing before some distribution # patches can be applied. In that case, fetch them as # extra distfiles, put the processed results in # ${WRKDIR}, then point EXTRA_PATCHES to them. # The patches specified by this variable will be # applied after the normal distribution patches but # before those in ${PATCHDIR}. # PATCH_WRKSRC - Directory to apply patches in. # Default: ${WRKSRC} # # For configure: # # HAS_CONFIGURE - If set, this port has its own configure script. The # configure stage will not do anything if this is not set. # GNU_CONFIGURE - If set, you are using GNU configure (optional). Implies # HAS_CONFIGURE. # CONFIGURE_WRKSRC # - Directory to run configure in. # Default: ${WRKSRC} # CONFIGURE_SCRIPT # - Name of configure script, relative to ${CONFIGURE_WRKSRC}. # Default: "Makefile.PL" if USES=perl5 and USE_PERL5=configure # are set, "configure" otherwise. # CONFIGURE_TARGET # - The name of target to call when GNU_CONFIGURE is # defined. # Default: ${ARCH}-portbld-${OPSYS:tl}${OSREL} # GNU_CONFIGURE_PREFIX # - The directory passed as prefix to the configure script if # GNU_CONFIGURE is set. # Default: ${PREFIX} # CONFIGURE_ARGS # - Pass these args to configure if ${HAS_CONFIGURE} is set. # Default: "--prefix=${GNU_CONFIGURE_PREFIX} # --infodir=${PREFIX}/${INFO_PATH} --localstatedir=/var # --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if # GNU_CONFIGURE is set, "CC=${CC} CFLAGS=${CFLAGS} # PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib # INSTALLARCHLIB=${PREFIX}/lib" if USES=perl5 and # USE_PERL5=configure are set, empty otherwise. # CONFIGURE_ENV - Pass these env (shell-like) to configure if # ${HAS_CONFIGURE} is set. # CONFIGURE_LOG - The name of configure log file. It will be printed to # the screen if configure fails. # Default: config.log # CONFIGURE_FAIL_MESSAGE # - A message displayed to users when configure # fails (note: this assumes the do-configure # target has not been overwritten). This message # will be passed through /usr/bin/fmt before # being shown to the user. # # WITHOUT_FBSD10_FIX Disable FreeBSD 10.0 autotools workaround. # # For build and install: # # MAKEFILE - Name of the makefile. # Default: Makefile # ALL_TARGET - Default target for sub-make in build stage. # Default: all # BUILD_WRKSRC - Directory to do build in (default: ${WRKSRC}). # MAKE_ENV - Additional environment vars passed to sub-make in build # and install stages. # Default: see below # MAKE_ARGS - Any extra arguments to sub-make in build and install stages. # Default: none ## # MAKE_JOBS_UNSAFE # - Disallow multiple jobs even when user set a global override. # To be used with known bad ports. # DISABLE_MAKE_JOBS # - Set to disable the multiple jobs feature. User settable. # MAKE_JOBS_NUMBER # - Override the number of make jobs to be used. User settable. # MAKE_JOBS_NUMBER_LIMIT # - Set a limit for maximum number of make jobs allowed to be # used. ## cacche # # WITH_CCACHE_BUILD # - Enable CCACHE support (devel/ccache). User settable. # CCACHE_DIR # - Which directory to use for ccache (default: $HOME/.ccache) # NO_CCACHE # - Disable CCACHE support for example for certain ports if # CCACHE is enabled. User settable. # # For test: # # TEST_TARGET - Target for sub-make in test stage. If not defined, # no default test target is provided. # Default: (none) # TEST_WRKSRC - Directory to do test in (default: ${WRKSRC}). # TEST_ENV - Additional environment vars passed to sub-make in test # stage # Default: ${MAKE_ENV} # TEST_ARGS - Any extra arguments to sub-make in test stage # Default: ${MAKE_ARGS} # # For install: # # INSTALL_TARGET # - Default target for sub-make in install stage. # Default: install # INSTALL_WRKSRC # - Directory to install from # Default: ${WRKSRC} # NO_MTREE - If set, will not invoke mtree from bsd.port.mk from # the "install" target. # MTREE_FILE - The name of the mtree file. # Default: ${PORTSDIR}/Templates/BSD.local.dist or # /etc/mtree/BSD.usr.dist if ${PREFIX} == "/usr". # PLIST_DIRS - Directories to be added to packing list # PLIST_FILES - Files and symbolic links to be added to packing list # # PLIST - Name of the `packing list' file. # Change this to ${WRKDIR}/PLIST or something if you # need to write to it. (It is not a good idea for a port # to write to any file outside ${WRKDIR} during a normal # build.) # Default: ${PKGDIR}/pkg-plist # TMPPLIST - Name of the `packing list' file after processing # Default: ${WRKDIR}/.PLIST.mktmp # PLIST_SUB - List of "variable=value" pair for substitution in ${PLIST} # Default: see below # # SUB_FILES - Files that should be passed through sed(1) and redirected to # ${WRKDIR}. # - For each file specified in SUB_FILES, there must be a # corresponding file in ${FILESDIR} whose suffix is ".in". For # instance, if the Makefile specifies "SUB_FILES= pkg-message" # then there must be a file called pkg-message.in in # ${FILESDIR}. # - The substitution process is the same as PLIST_FILES, as # described below except that any line beginning with @comment # is deleted. # SUB_LIST - List of "variable=value" pair for substitution in ${SUB_FILES} # Some pairs are added by default: eg. PREFIX=${PREFIX} # # USE_LDCONFIG - If set to "yes", this adds ${PREFIX}/lib to the list of # directories to be searched for shared libraries. # Otherwise, this is a list of directories to be added to that # list. The directory names are written to # ${LOCALBASE}/libdata/ldconfig/${PKGBASE} which is then # used by the ldconfig startup script. # This mechanism replaces ldconfig scripts installed by some # ports, often under such names as 000.${UNQUENAME}.sh. # If USE_LINUX_PREFIX is defined, the Linux version of # ldconfig will be used instead of the native FreeBSD # version, and the directory list given will be ignored. # USE_LDCONFIG32 # - Same as USE_LDCONFIG but the target file is # ${LOCALBASE}/libdata/ldconfig32/${PKGBASE} instead. # Note: that should only be used on 64-bit architectures. # # DOCSDIR - Name of the directory to install the packages docs in. # Default: ${PREFIX}/share/doc/${PORTNAME} # DOCSDIR_REL - The DOCSDIR relative to ${PREFIX} # EXAMPLESDIR - Name of the directory to install the packages examples in. # Default: ${PREFIX}/share/examples/${PORTNAME} # EXAMPLESDIR_REL # - The EXAMPLESDIR relative to ${PREFIX} # DATADIR - Name of the directory to install the packages shared data in. # Default: ${PREFIX}/share/${PORTNAME} # DATADIR_REL - The DATADIR relative to ${PREFIX} # # WWWDIR - Name of the directory to install the packages www data in. # Default: ${PREFIX}/www/${PORTNAME} # WWWDIR_REL - The WWWDIR relative to ${PREFIX} # # USERS - List of users to create at install time. Each login must # have a corresponding entry in ${UID_FILES}. # GROUPS - List of groups to create at install time. Each group must # have a corresponding entry in ${GID_FILES}. # # DESKTOPDIR - Name of the directory to install ${DESKTOP_ENTRIES} in. # Default: ${PREFIX}/share/applications # DESKTOP_ENTRIES # - List of desktop entry files to generate and install in # ${DESKTOPDIR}. The format is # "Name" "Comment" "Icon" "Exec" "Categories" StartupNotify # Rules: # * Only add desktop entries for applications which do not # require a terminal (ie. X applications). # * If the upstream distribution already installs .desktop # files, you do not need to use this. # * If you require a more elaborate .desktop file than this # variable permits, write it yourself and install it # in ${DESKTOPDIR}. # Notes: # * Comment, Icon and StartupNotify may be empty # strings (""). Categories may be an empty string in some # cases (see below). The other fields are mandatory. # * If Comment is an empty string, port ${COMMENT} will be # used. # * If set, Icon must be either absolute path (usually # ${PREFIX}/share/pixmaps/${PORTNAME}.png) or icon name # without extension if installed icons follow Icon Theme # Specification. # * If Categories is an empty string, bsd.port.mk will try # to deduce a default value using the CATEGORIES variable. # If the deduction fails, you will have to set Categories # manually. You should check the generated value using # "make desktop-categories", and override it if necessary. # * Exec will also be used to name the .desktop file. # * StartupNotify may be true, false or empty (see Desktop # Entry Specification for details). # * The files will be automatically added to ${PLIST}. # Example: # "X Window Information" \ # "Get information about X windows" \ # "${PREFIX}/share/pixmaps/wininfo.png" \ # "${PREFIX}/bin/wininfo" \ # "System;" \ # "" # See http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html # for an explanation of the fields. If you need to create more # than one file, just chain them into a single variable. # # Note that the install target will automatically add manpages (see # above) and also substitute special sequences of characters (delimited # by "%%") as defined in PLIST_SUB to generate ${TMPPLIST}. For # instance, "OSREL=${OSREL}" in PLIST_SUB causes all occurrences of # "%%OSREL%%" in ${PLIST} to be substituted by the value of OSREL. # ${TMPPLIST} is generated before the do-install stage. If you are # generating the packing list on-the-fly, make sure it's generated before # do-install is called! # # This is used in all stages: # # SCRIPTS_ENV - Additional environment vars passed to scripts in # ${SCRIPTDIR} executed by bsd.port.mk. # Default: see below # # Finally, variables to change if you want a special behavior. These # are for debugging purposes. Don't set them in your Makefile. # # ECHO_MSG - Used to print all the '===>' style prompts - override this # to turn them off. # Default: ${ECHO_CMD} # PATCH_DEBUG - If set, print out more information about the patches as # it attempts to apply them. # PKG_DBDIR - Where package installation is recorded; this directory # must not contain anything else. # Default: /var/db/pkg # PORT_DBDIR - Where port configuration options are recorded. # Default: /var/db/ports # NO_PKG_REGISTER # - Don't register a port installation as a package. # FORCE_PKG_REGISTER # - If set, it will overwrite any existing package # registration information in ${PKG_DBDIR}/${PKGNAME}. # NO_DEPENDS - Don't verify build of dependencies. # STRICT_DEPENDS # - Verify dependencies but consider missing dependencies as # fatal. # CHECKSUM_ALGORITHMS # - Different checksum algorithms to check for verifying the # integrity of the distfiles. The absence of the algorithm # in distinfo doesn't make it fail. # Default: sha256 # NO_CHECKSUM - Don't verify the checksum. Typically used when # when you noticed the distfile you just fetched has # a different checksum and you intend to verify if # the port still works with it. # USE_PACKAGE_DEPENDS # - Try to install dependencies from existing packages instead # of building the port from scratch. Fallback on source # if an existing package is not present. # USE_PACKAGE_DEPENDS_ONLY # - Like USE_PACKAGE_DEPENDS, but do not fallback on source. # INSTALL_AS_USER # - Define this to install as the current user, intended # for systems where you have no root access. # DISABLE_SIZE - Do not check the size of a distfile even if the SIZE field # has been specified in distinfo. This is useful # when using an alternate FETCH_CMD. # # PKG_CREATE_VERBOSE - If set, pass the -v option to pkg create which # ensures periodic output during packaging and # will help prevent timeouts by build monitors # # End of the list of all variables that need to be defined in a port. # Most port authors should not need to understand anything after this point. # # These need to be absolute since we don't know how deep in the ports # tree we are and thus can't go relative. They can, of course, be overridden # by individual Makefiles or local system make configuration. PORTSDIR?= /usr/ports LOCALBASE?= /usr/local LINUXBASE?= /compat/linux DISTDIR?= ${PORTSDIR}/distfiles _DISTDIR?= ${DISTDIR}/${DIST_SUBDIR} INDEXDIR?= ${PORTSDIR} SRC_BASE?= /usr/src USESDIR?= ${PORTSDIR}/Mk/Uses SCRIPTSDIR?= ${PORTSDIR}/Mk/Scripts LIB_DIRS?= /lib /usr/lib ${LOCALBASE}/lib STAGEDIR?= ${WRKDIR}/stage NOTPHONY?= MINIMAL_PKG_VERSION= 1.6.0 # make sure bmake treats -V as expected .MAKE.EXPAND_VARIABLES= yes .include "${PORTSDIR}/Mk/bsd.commands.mk" .if defined(X_BUILD_FOR) .if !defined(.PARSEDIR) IGNORE= Cross building can only be done when using bmake(1) as make(1) .endif # Do not define CPP on purpose .if !defined(HOSTCC) HOSTCC:= ${CC} HOSTCXX:= ${CXX} .endif .if !exists(/usr/${X_BUILD_FOR}/usr/bin/cc) X_SYSROOT= ${LOCALBASE}/${X_BUILD_FOR} .else X_SYSROOT= /usr/${X_BUILD_FOR} .endif CC= ${X_SYSROOT}/usr/bin/cc CXX= ${X_SYSROOT}/usr/bin/c++ NM= ${X_BUILD_FOR}-nm STRIP_CMD= ${X_BUILD_FOR}-strip # only bmake support the below STRIPBIN= ${STRIP_CMD} .export.env STRIPBIN .endif # # DESTDIR section to start a chrooted process if invoked with DESTDIR set # .if defined(DESTDIR) && !empty(DESTDIR) && !defined(CHROOTED) && \ !defined(BEFOREPORTMK) && !defined(INOPTIONSMK) .include "${PORTSDIR}/Mk/bsd.destdir.mk" .else .if !target(makepatch) makepatch: @${SETENV} WRKDIR=${WRKDIR} PATCHDIR=${PATCHDIR} \ PATCH_WRKSRC=${PATCH_WRKSRC} \ STRIP_COMPONENTS="${PATCH_STRIP:S/-p//}" \ ${SH} ${SCRIPTSDIR}/smart_makepatch.sh .endif # Start of options section .if defined(INOPTIONSMK) || ( !defined(USEOPTIONSMK) && !defined(AFTERPORTMK) ) # Get the default maintainer MAINTAINER?= ports@FreeBSD.org # Get the architecture .if !defined(ARCH) ARCH!= ${UNAME} -p .endif _EXPORTED_VARS+= ARCH # Get the operating system type .if !defined(OPSYS) OPSYS!= ${UNAME} -s .endif _EXPORTED_VARS+= OPSYS .if !defined(_OSRELEASE) _OSRELEASE!= ${UNAME} -r .endif _EXPORTED_VARS+= _OSRELEASE # Get the operating system revision OSREL?= ${_OSRELEASE:C/-.*//} _EXPORTED_VARS+= OSREL # Get __FreeBSD_version .if !defined(OSVERSION) .if exists(/usr/include/sys/param.h) OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < /usr/include/sys/param.h .elif exists(${SRC_BASE}/sys/sys/param.h) OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC_BASE}/sys/sys/param.h .else .error Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE. .endif .endif _EXPORTED_VARS+= OSVERSION # Convert OSVERSION to major release number _OSVERSION_MAJOR= ${OSVERSION:C/([0-9]?[0-9])([0-9][0-9])[0-9]{3}/\1/} # Sanity checks for chroot/jail building. # Skip if OSVERSION specified on cmdline for testing. Only works for bmake. .if !defined(.MAKEOVERRIDES) || !${.MAKEOVERRIDES:MOSVERSION} .if ${_OSVERSION_MAJOR} != ${_OSRELEASE:R} .error UNAME_r (${_OSRELEASE}) and OSVERSION (${OSVERSION}) do not agree on major version number. .elif ${_OSVERSION_MAJOR} != ${OSREL:R} .error OSREL (${OSREL}) and OSVERSION (${OSVERSION}) do not agree on major version number. .endif .endif # Only define tools here (for transition period with between pkg tools) .include "${PORTSDIR}/Mk/bsd.commands.mk" .if !defined(_PKG_CHECKED) && !defined(PACKAGE_BUILDING) && exists(${PKG_BIN}) .if !defined(_PKG_VERSION) _PKG_VERSION!= ${PKG_BIN} -v .endif _PKG_STATUS!= ${PKG_BIN} version -t ${_PKG_VERSION:C/-.*//g} ${MINIMAL_PKG_VERSION} .if ${_PKG_STATUS} == "<" IGNORE= pkg(8) must be version ${MINIMAL_PKG_VERSION} or greater, but you have ${_PKG_VERSION}. You must upgrade the ${PKG_ORIGIN} port first .endif _PKG_CHECKED= 1 .endif _EXPORTED_VARS+= _PKG_CHECKED MASTERDIR?= ${.CURDIR} .if ${MASTERDIR} != ${.CURDIR} SLAVE_PORT?= yes MASTER_PORT?=${MASTERDIR:C/[^\/]+\/\.\.\///:C/[^\/]+\/\.\.\///:C/^.*\/([^\/]+\/[^\/]+)$/\\1/} .else SLAVE_PORT?= no MASTER_PORT?= .endif # If they exist, include Makefile.inc, then architecture/operating # system specific Makefiles, then local Makefile.local. .if ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/../Makefile.inc) .include "${MASTERDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.${ARCH}-${OPSYS}) .include "${MASTERDIR}/Makefile.${ARCH}-${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${OPSYS}) .include "${MASTERDIR}/Makefile.${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${ARCH}) .include "${MASTERDIR}/Makefile.${ARCH}" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.local) .include "${MASTERDIR}/Makefile.local" USE_SUBMAKE= yes .elif ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/Makefile.local) .include "${.CURDIR}/Makefile.local" USE_SUBMAKE= yes .endif .for _CATEGORY in ${CATEGORIES} PKGCATEGORY?= ${_CATEGORY} .endfor _PORTDIRNAME= ${.CURDIR:T} PORTDIRNAME?= ${_PORTDIRNAME} PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} # where 'make config' records user configuration options PORT_DBDIR?= /var/db/ports UID_FILES?= ${PORTSDIR}/UIDs GID_FILES?= ${PORTSDIR}/GIDs UID_OFFSET?= 0 GID_OFFSET?= 0 # predefined accounts from src/etc/master.passwd # alpha numeric sort order USERS_BLACKLIST= _dhcp _pflogd 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 .endif # At least KDE needs TMPDIR for the package building, # so we're setting it to the known default value. .if defined(PACKAGE_BUILDING) TMPDIR?= /tmp .endif # defined(PACKAGE_BUILDING) .if defined(WITH_DEBUG_PORTS) .if ${WITH_DEBUG_PORTS:M${PKGORIGIN}} WITH_DEBUG= yes .endif .endif .include "${PORTSDIR}/Mk/bsd.options.mk" # Start of pre-makefile section. .if !defined(AFTERPORTMK) && !defined(INOPTIONSMK) .if defined(PORTNAME) .include "${PORTSDIR}/Mk/bsd.sanity.mk" .endif _PREMKINCLUDED= yes .if defined(PORTVERSION) .if ${PORTVERSION:M*[-_,]*}x != x IGNORE= PORTVERSION ${PORTVERSION} may not contain '-' '_' or ',' .endif DISTVERSION?= ${PORTVERSION:S/:/::/g} .elif defined(DISTVERSION) PORTVERSION= ${DISTVERSION:tl:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g} .endif PORTREVISION?= 0 .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif PORTEPOCH?= 0 .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2} PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION} DISTVERSIONFULL= ${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX} .if defined(USE_GITHUB) && empty(MASTER_SITES:MGHC) && empty(DISTNAME) && empty(USE_GITHUB:Mnodefault) _GITHUB_MUST_SET_DISTNAME= yes .else DISTNAME?= ${PORTNAME}-${DISTVERSIONFULL} .endif INDEXFILE?= INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} DATADIR?= ${PREFIX}/share/${PORTNAME} WWWDIR?= ${PREFIX}/www/${PORTNAME} ETCDIR?= ${PREFIX}/etc/${PORTNAME} .if defined(USE_LINUX_RPM) .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk" .endif .if defined(USE_LINUX_APPS) .include "${PORTSDIR}/Mk/bsd.linux-apps.mk" .endif .if defined(USE_XORG) || defined(XORG_CAT) .include "${PORTSDIR}/Mk/bsd.xorg.mk" .endif PACKAGES?= ${PORTSDIR}/packages TEMPLATES?= ${PORTSDIR}/Templates KEYWORDS?= ${PORTSDIR}/Keywords PATCHDIR?= ${MASTERDIR}/files FILESDIR?= ${MASTERDIR}/files SCRIPTDIR?= ${MASTERDIR}/scripts PKGDIR?= ${MASTERDIR} .if defined(USE_LINUX_PREFIX) PREFIX:= ${LINUXBASE} NO_MTREE= yes .else PREFIX?= ${LOCALBASE} .endif .if defined(USE_LINUX_PREFIX) LDCONFIG_CMD?= ${LINUXBASE}/sbin/ldconfig -r ${LINUXBASE} .endif PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif .if defined(USE_OPENSSL) .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif .if defined(USE_EMACS) .include "${PORTSDIR}/Mk/bsd.emacs.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) USES+= gnome .endif .if defined(USE_MATE) USES+= mate .endif .if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif .if defined(USE_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif .if defined(USE_KDE4) || defined(KDE4_BUILDENV) .include "${PORTSDIR}/Mk/bsd.kde4.mk" .endif .if !defined(UID) UID!= ${ID} -u .endif DESTDIRNAME?= DESTDIR # setup empty variables for USES targets .for target in sanity fetch extract patch configure build install test package stage _USES_${target}?= .endfor # Loading features .for f in ${USES} _f:= ${f:C/\:.*//} .if !defined(${_f}_ARGS) ${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} .endif .endfor .for f in ${USES} .include "${USESDIR}/${f:C/\:.*//}.mk" .endfor EXTRACT_SUFX?= .tar.gz # You can force skipping these test by defining IGNORE_PATH_CHECKS .if !defined(IGNORE_PATH_CHECKS) .if ! ${PREFIX:M/*} .BEGIN: @${ECHO_MSG} "PREFIX must be defined as an absolute path so that when 'make'" @${ECHO_MSG} "is invoked in the work area PREFIX points to the right place." @${FALSE} .endif .endif # Owner and group of the WWW user WWWOWN?= www WWWGRP?= www # Keep PKGNG_ORIGIN/WITH_PKGNG for compat with scripts which are looking for it PKG_ORIGIN?= ports-mgmt/pkg PKGNG_ORIGIN= ${PKG_ORIGIN} WITH_PKGNG?= yes WITH_PKG?= ${WITH_PKGNG} .endif # End of pre-makefile section. # Start of post-makefile section. .if !defined(BEFOREPORTMK) && !defined(INOPTIONSMK) .if defined(_POSTMKINCLUDED) DEV_ERROR+= "${PKGNAME}: Makefile error: you cannot include bsd.port[.post].mk twice" @${FALSE} .endif _POSTMKINCLUDED= yes .if defined(BUNDLE_LIBS) PKG_NOTES+= no_provide_shlib PKG_NOTE_no_provide_shlib= yes .endif TEST_ARGS?= ${MAKE_ARGS} TEST_ENV?= ${MAKE_ENV} PKG_ENV+= PORTSDIR=${PORTSDIR} CONFIGURE_ENV+= XDG_DATA_HOME=${WRKDIR} \ XDG_CONFIG_HOME=${WRKDIR} \ HOME=${WRKDIR} MAKE_ENV+= XDG_DATA_HOME=${WRKDIR} \ XDG_CONFIG_HOME=${WRKDIR} \ HOME=${WRKDIR} # Respect TMPDIR passed via make.conf or similar and pass it down # to configure and make. .if defined(TMPDIR) MAKE_ENV+= TMPDIR="${TMPDIR}" CONFIGURE_ENV+= TMPDIR="${TMPDIR}" .endif # defined(TMPDIR) QA_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LINUXBASE=${LINUXBASE} \ LOCALBASE=${LOCALBASE} \ "STRIP=${STRIP}" \ TMPPLIST=${TMPPLIST} \ PKGBASE=${PKGBASE} .if !empty(USES:Mdesktop-file-utils) QA_ENV+= USESDESKTOPFILEUTILS=yes .endif .if !empty(USES:Mlibtool*) QA_ENV+= USESLIBTOOL=yes .endif .if !empty(USES:Mshared-mime-info) QA_ENV+= USESSHAREDMIMEINFO=yes .endif .if !empty(USES:Mterminfo) QA_ENV+= USESTERMINFO=yes .endif CO_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ WRKDIR=${WRKDIR} \ WRKSRC=${WRKSRC} \ MTREE_FILE=${MTREE_FILE} \ TMPPLIST=${TMPPLIST} \ SCRIPTSDIR=${SCRIPTSDIR} \ PLIST_SUB_SED="${PLIST_SUB_SED}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ PORTSDIR="${PORTSDIR}" .if defined(X_BUILD_FOR) BUILD_DEPENDS+= ${X_BUILD_FOR}-cc:devel/${X_BUILD_FOR}-xdev PKG_ENV+= ABI_FILE=${X_SYSROOT}/usr/lib/crt1.o MAKE_ENV+= NM=${NM} \ STRIPBIN=${X_BUILD_FOR}-strip \ PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" CONFIGURE_ENV+= PKG_CONFIG_SYSROOT_DIR="${X_SYSROOT}" .endif WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work .if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} .endif # If the distname is not extracting into a specific subdirectory, have the # ports framework force extract into a subdirectory so that metadata files # do not get in the way of the build, and vice-versa. .if defined(NO_WRKSUBDIR) # Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case, # the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the # most unlikely to conflict as we can. WRKSRC?= ${WRKDIR}/${PKGNAME} EXTRACT_WRKDIR:= ${WRKSRC} .else WRKSRC?= ${WRKDIR}/${DISTNAME} EXTRACT_WRKDIR:= ${WRKDIR} .endif .if defined(WRKSRC_SUBDIR) WRKSRC:= ${WRKSRC}/${WRKSRC_SUBDIR} .endif PATCH_WRKSRC?= ${WRKSRC} CONFIGURE_WRKSRC?= ${WRKSRC} BUILD_WRKSRC?= ${WRKSRC} INSTALL_WRKSRC?=${WRKSRC} TEST_WRKSRC?= ${WRKSRC} PLIST_SUB+= OSREL=${OSREL} PREFIX=%D LOCALBASE=${LOCALBASE} \ RESETPREFIX=${PREFIX} SUB_LIST+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} \ DATADIR=${DATADIR} DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \ WWWDIR=${WWWDIR} ETCDIR=${ETCDIR} # This is used for check-stagedir.sh and check_leftover.sh to replace # directories/files with PLIST_SUB %%KEYS%%. # Remove VARS 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 # We will control debug files. Don't let builds that use /usr/share/mk # split out debug symbols since the plist won't know to expect it. MAKE_ENV+= WITHOUT_DEBUG_FILES=yes MAKE_ENV+= WITHOUT_KERNEL_SYMBOLS=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) && ${PATCHFILES:M*.zip} PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:archivers/unzip .endif # Check the compatibility layer for amd64/ia64 .if ${ARCH} == "amd64" || ${ARCH} =="ia64" .if exists(/usr/lib32) HAVE_COMPAT_IA32_LIBS?= YES .endif .if !defined(HAVE_COMPAT_IA32_KERN) HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi; echo .if empty(HAVE_COMPAT_IA32_KERN) .undef HAVE_COMPAT_IA32_KERN .endif .endif .endif _EXPORTED_VARS+= HAVE_COMPAT_IA32_KERN .if defined(IA32_BINARY_PORT) && ${ARCH} != "i386" .if ${ARCH} == "amd64" || ${ARCH} == "ia64" .if !defined(HAVE_COMPAT_IA32_KERN) IGNORE= requires a kernel with compiled-in IA32 compatibility .elif !defined(HAVE_COMPAT_IA32_LIBS) IGNORE= requires 32-bit libraries installed under /usr/lib32 .endif _LDCONFIG_FLAGS=-32 LIB32DIR= lib32 .else IGNORE= requires i386 (or compatible) platform to run .endif .else LIB32DIR= lib .endif PLIST_SUB+= LIB32DIR=${LIB32DIR} .if ${WITH_PKG} == devel PKG_ORIGIN= ports-mgmt/pkg-devel .endif .if !defined(PKG_DEPENDS) && !defined(CLEAN_FETCH_ENV) PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN} .endif .if defined(USE_GCC) .include "${PORTSDIR}/Mk/bsd.gcc.mk" .endif .if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS) BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \ READELF SIZE STRINGS BINUTILS_NO_MAKE_ENV?= . for b in ${BINUTILS} ${b}= ${LOCALBASE}/bin/${b:C/PP/++/:tl} . if defined(GNU_CONFIGURE) || defined(BINUTILS_CONFIGURE) CONFIGURE_ENV+= ${b}="${${b}}" . endif . if ${BINUTILS_NO_MAKE_ENV:M${b}} == "" MAKE_ENV+= ${b}="${${b}}" . endif . endfor .endif .if defined(USE_OPENLDAP) || defined(WANT_OPENLDAP_VER) .include "${PORTSDIR}/Mk/bsd.ldap.mk" .endif .if defined(USE_RC_SUBR) && ${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 _EXPORTED_VARS+= LINUX_OSRELEASE # install(1) also does a brandelf on strip, so don't strip with FreeBSD tools. STRIP= . if exists(${LINUXBASE}/usr/bin/strip) STRIP_CMD= ${LINUXBASE}/usr/bin/strip . else STRIP_CMD= ${TRUE} . endif # Allow the user to specify another linux_base version. . if defined(OVERRIDE_LINUX_BASE_PORT) . if ${USE_LINUX:tl} == yes || (${USE_LINUX} == "c6" && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64") USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT} . endif . endif # NOTE: when you update the default linux_base version (case "yes"), # don't forget to update the Handbook! . if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX}) LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:emulators/linux_base-${USE_LINUX} . else . if ${USE_LINUX:tl} == "yes" USE_LINUX= c6 LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6 . elif ${USE_LINUX} == "c6_64" LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6 . else IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT . endif . endif . if ${USE_LINUX} == "c6_64" || (defined(OVERRIDE_LINUX_BASE_PORT) && ${OVERRIDE_LINUX_BASE_PORT} == "c6_64") . if ${ARCH} != "amd64" IGNORE= Cannot install 64 bit Linux on non-64bit platforms . endif LINUX_RPM_ARCH?= x86_64 LINUX_REPO_ARCH?= x86_64 . elif ${USE_LINUX} == "c6" || ${USE_LINUX} == "yes" # default to CentOS LINUX_RPM_ARCH?= i686 LINUX_REPO_ARCH?= i386 . elif ${USE_LINUX} == "f10" LINUX_RPM_ARCH?= i386 LINUX_REPO_ARCH?= i386 . endif RUN_DEPENDS+= ${LINUX_BASE_PORT} .endif PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' _GL_gbm_LIB_DEPENDS= libgbm.so:graphics/gbm _GL_glesv2_BUILD_DEPENDS= libglesv2>0:graphics/libglesv2 _GL_glesv2_RUN_DEPENDS= libglesv2>0:graphics/libglesv2 _GL_egl_BUILD_DEPENDS= libEGL>0:graphics/libEGL _GL_egl_RUN_DEPENDS= libEGL>0:graphics/libEGL _GL_gl_BUILD_DEPENDS= libGL>0:graphics/libGL _GL_gl_RUN_DEPENDS= libGL>0:graphics/libGL _GL_gl_USE_XORG= glproto dri2proto _GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew _GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU _GL_glu_USE_XORG= glproto dri2proto _GL_glw_LIB_DEPENDS= libGLw.so:graphics/libGLw _GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut .if defined(USE_GL) . if ${USE_GL:tl} == "yes" USE_GL= glu . endif . for _component in ${USE_GL} . if !defined(_GL_${_component}_LIB_DEPENDS) && \ !defined(_GL_${_component}_RUN_DEPENDS) IGNORE= uses unknown GL component . else USE_XORG+= ${_GL_${_component}_USE_XORG} BUILD_DEPENDS+= ${_GL_${_component}_BUILD_DEPENDS} LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS} . endif . endfor .endif .if defined(_DESTDIR_VIA_ENV) MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} .else MAKE_ARGS+= ${DESTDIRNAME}=${STAGEDIR} .endif .if defined(NO_PREFIX_RMDIR) CO_ENV+= NO_PREFIX_RMDIR=1 .else CO_ENV+= NO_PREFIX_RMDIR=0 .endif METADIR= ${WRKDIR}/.metadir 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) .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(USE_KDE4) .include "${PORTSDIR}/Mk/bsd.kde4.mk" .endif .if exists(${PORTSDIR}/Makefile.inc) .include "${PORTSDIR}/Makefile.inc" USE_SUBMAKE= yes .endif # Loading features .for f in ${_USES_POST} _f:= ${f:C/\:.*//} .if !defined(${_f}_ARGS) ${_f}_ARGS:= ${f:C/^[^\:]*(\:|\$)//:S/,/ /g} .endif .endfor .for f in ${_USES_POST} .include "${USESDIR}/${f:C/\:.*//}.mk" .endfor .if defined(USE_XORG) # Add explicit X options to avoid problems with false positives in configure .if defined(GNU_CONFIGURE) CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include .endif .endif # Macro for doing in-place file editing using regexps REINPLACE_ARGS?= -i.bak REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS} # Names of cookies used to skip already completed stages EXTRACT_COOKIE?= ${WRKDIR}/.extract_done.${PORTNAME}.${PREFIX:S/\//_/g} CONFIGURE_COOKIE?= ${WRKDIR}/.configure_done.${PORTNAME}.${PREFIX:S/\//_/g} INSTALL_COOKIE?= ${WRKDIR}/.install_done.${PORTNAME}.${PREFIX:S/\//_/g} BUILD_COOKIE?= ${WRKDIR}/.build_done.${PORTNAME}.${PREFIX:S/\//_/g} PATCH_COOKIE?= ${WRKDIR}/.patch_done.${PORTNAME}.${PREFIX:S/\//_/g} PACKAGE_COOKIE?= ${WRKDIR}/.package_done.${PORTNAME}.${PREFIX:S/\//_/g} STAGE_COOKIE?= ${WRKDIR}/.stage_done.${PORTNAME}.${PREFIX:S/\//_/g} # How to do nothing. Override if you, for some strange reason, would rather # do something. DO_NADA?= ${TRUE} # Use this as the first operand to always build dependency. NONEXISTENT?= /nonexistent CHECKSUM_ALGORITHMS?= sha256 DISTINFO_FILE?= ${MASTERDIR}/distinfo MAKE_FLAGS?= -f MAKEFILE?= Makefile MAKE_CMD?= ${BSDMAKE} MAKE_ENV+= PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ LIBDIR="${LIBDIR}" \ CC="${CC}" CFLAGS="${CFLAGS}" \ CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ MANPREFIX="${MANPREFIX}" # Add -fno-strict-aliasing to CFLAGS with optimization level -O2 or higher. # gcc 4.x enable strict aliasing optimization with -O2 which is known to break # a lot of ports. .if !defined(WITHOUT_NO_STRICT_ALIASING) .if ${CC} != "icc" .if empty(CFLAGS:M-fno-strict-aliasing) CFLAGS+= -fno-strict-aliasing .endif .endif .endif .for lang in C CXX .if defined(USE_${lang}STD) ${lang}FLAGS:= ${${lang}FLAGS:N-std=*} -std=${USE_${lang}STD} .endif .if defined(${lang}FLAGS_${ARCH}) ${lang}FLAGS+= ${${lang}FLAGS_${ARCH}} .endif .endfor # Multiple make jobs support .if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE) _MAKE_JOBS?= # MAKE_JOBS_NUMBER= 1 .else .if defined(MAKE_JOBS_NUMBER) _MAKE_JOBS_NUMBER:= ${MAKE_JOBS_NUMBER} .else .if !defined(_SMP_CPUS) _SMP_CPUS!= ${SYSCTL} -n kern.smp.cpus .endif _EXPORTED_VARS+= _SMP_CPUS _MAKE_JOBS_NUMBER= ${_SMP_CPUS} .endif .if defined(MAKE_JOBS_NUMBER_LIMIT) && ( ${MAKE_JOBS_NUMBER_LIMIT} < ${_MAKE_JOBS_NUMBER} ) MAKE_JOBS_NUMBER= ${MAKE_JOBS_NUMBER_LIMIT} .else MAKE_JOBS_NUMBER= ${_MAKE_JOBS_NUMBER} .endif _MAKE_JOBS?= -j${MAKE_JOBS_NUMBER} BUILD_FAIL_MESSAGE+= Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. .endif .include "${PORTSDIR}/Mk/bsd.ccache.mk" FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1 FETCH_BINARY?= /usr/bin/fetch FETCH_ARGS?= -Fpr FETCH_REGET?= 1 .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 .endif MTREE_CMD?= /usr/sbin/mtree MTREE_ARGS?= -U ${MTREE_FOLLOWS_SYMLINKS} -f ${MTREE_FILE} -d -e -p _SHAREMODE?= 0644 # A few aliases for *-install targets INSTALL_PROGRAM= ${INSTALL} ${COPY} ${STRIP} -m ${BINMODE} INSTALL_KLD= ${INSTALL} ${COPY} -m ${BINMODE} INSTALL_LIB= ${INSTALL} ${COPY} ${STRIP} -m ${SHAREMODE} INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE} INSTALL_DATA= ${INSTALL} ${COPY} -m ${_SHAREMODE} INSTALL_MAN= ${INSTALL} ${COPY} -m ${MANMODE} INSTALL_MACROS= BSD_INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ BSD_INSTALL_LIB="${INSTALL_LIB}" \ BSD_INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ BSD_INSTALL_DATA="${INSTALL_DATA}" \ BSD_INSTALL_MAN="${INSTALL_MAN}" MAKE_ENV+= ${INSTALL_MACROS} SCRIPTS_ENV+= ${INSTALL_MACROS} # Macro for copying entire directory tree with correct permissions COPYTREE_BIN= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ ${FIND} -d $$0 $$2 -type f -exec chmod ${BINMODE} $$1/{} \;' -- COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ 2>&1) && \ ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' -- # The user can override the NO_PACKAGE by specifying this from # the make command line .if defined(FORCE_PACKAGE) .undef NO_PACKAGE .endif DESCR?= ${PKGDIR}/pkg-descr PLIST?= ${PKGDIR}/pkg-plist PKGHELP?= ${PKGDIR}/pkg-help PKGINSTALL?= ${PKGDIR}/pkg-install PKGDEINSTALL?= ${PKGDIR}/pkg-deinstall PKGREQ?= ${PKGDIR}/pkg-req PKGMESSAGE?= ${PKGDIR}/pkg-message 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 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 WRKDIR_PKGFILE= ${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX} # The "latest version" link -- ${PKGNAME} minus everthing after the last '-' PKGLATESTREPOSITORY?= ${PACKAGES}/Latest PKGBASE?= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} CONFIGURE_SCRIPT?= configure CONFIGURE_CMD?= ./${CONFIGURE_SCRIPT} CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL} CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//} CONFIGURE_LOG?= config.log # A default message to print if do-configure fails. CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer] and attach the \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a ${PKG_INFO} -Ea)." .if defined(GNU_CONFIGURE) # Maximum command line length .if !defined(CONFIGURE_MAX_CMD_LEN) CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax .endif _EXPORTED_VARS+= CONFIGURE_MAX_CMD_LEN GNU_CONFIGURE_PREFIX?= ${PREFIX} GNU_CONFIGURE_MANPREFIX?= ${MANPREFIX} CONFIG_SITE?= ${PORTSDIR}/Templates/config.site CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS} .if defined(X_BUILD_FOR) CONFIGURE_ARGS+= --host=${X_BUILD_FOR} .endif CONFIGURE_ENV+= CONFIG_SITE=${CONFIG_SITE} lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} HAS_CONFIGURE= yes SET_LATE_CONFIGURE_ARGS= \ _LATE_CONFIGURE_ARGS="" ; \ if [ -z "${CONFIGURE_ARGS:M--localstatedir=*:Q}" ] && \ ./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- --localstatedir > /dev/null; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ; \ fi ; \ 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:print/indexinfo . for D in ${INFO:H} RD:= ${D} . if ${RD} != "." . if !defined(INFO_SUBDIR) INFO_SUBDIR:= ${RD} . elif ${INFO_SUBDIR} != ${RD} BROKEN= only one subdirectory in INFO is allowed . endif . endif .undef RD . endfor .endif DOCSDIR_REL?= ${DOCSDIR:S,^${PREFIX}/,,} EXAMPLESDIR_REL?= ${EXAMPLESDIR:S,^${PREFIX}/,,} DATADIR_REL?= ${DATADIR:S,^${PREFIX}/,,} WWWDIR_REL?= ${WWWDIR:S,^${PREFIX}/,,} ETCDIR_REL?= ${ETCDIR:S,^${PREFIX}/,,} PLIST_SUB+= DOCSDIR="${DOCSDIR_REL}" \ EXAMPLESDIR="${EXAMPLESDIR_REL}" \ DATADIR="${DATADIR_REL}" \ WWWDIR="${WWWDIR_REL}" \ ETCDIR="${ETCDIR_REL}" DESKTOPDIR?= ${PREFIX}/share/applications .MAIN: all ################################################################ # Many ways to disable a port. # # If we're in BATCH mode and the port is interactive, or we're # in interactive mode and the port is non-interactive, skip all # the important targets. The reason we have two modes is that # one might want to leave a build in BATCH mode running # overnight, then come back in the morning and do _only_ the # interactive ones that required your intervention. # # Ignore ports that can't be resold if building for a CDROM. # # Don't build a port if it's restricted and we don't want to get # into that. # # Don't build a port if it's broken, unless we're running a parallel # build (in case it's fixed). # # Don't build a port if it's forbidden for whatever reason. # # Don't build a port if the system is too old. ################################################################ # Check the machine architectures .if defined(ONLY_FOR_ARCHS) .for __ARCH in ${ONLY_FOR_ARCHS} .if ${ARCH:M${__ARCH}} != "" __ARCH_OK?= 1 .endif .endfor .else __ARCH_OK?= 1 .endif .if defined(NOT_FOR_ARCHS) .for __NARCH in ${NOT_FOR_ARCHS} .if ${ARCH:M${__NARCH}} != "" .undef __ARCH_OK .endif .endfor .endif .if !defined(__ARCH_OK) .if defined(ONLY_FOR_ARCHS) IGNORE= is only for ${ONLY_FOR_ARCHS}, .else # defined(NOT_FOR_ARCHS) IGNORE= does not run on ${NOT_FOR_ARCHS}, .endif IGNORE+= while you are running ${ARCH} .if defined(ONLY_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON_${ARCH}}) .elif defined(ONLY_FOR_ARCHS_REASON) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON}) .endif .if defined(NOT_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON_${ARCH}}) .elif defined(NOT_FOR_ARCHS_REASON) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON}) .endif .endif # Check the user interaction and legal issues .if !defined(NO_IGNORE) .if (defined(IS_INTERACTIVE) && defined(BATCH)) IGNORE= is an interactive port .elif (!defined(IS_INTERACTIVE) && defined(INTERACTIVE)) IGNORE= is not an interactive port .elif (defined(NO_CDROM) && defined(FOR_CDROM)) IGNORE= may not be placed on a CDROM: ${NO_CDROM} .elif (defined(RESTRICTED) && defined(NO_RESTRICTED)) IGNORE= is restricted: ${RESTRICTED} .elif (defined(NO_PACKAGE) && defined(PACKAGE_BUILDING)) IGNORE= may not be packaged: ${NO_PACKAGE} .elif defined(BROKEN) .if !defined(TRYBROKEN) IGNORE= is marked as broken: ${BROKEN} .endif .elif defined(BROKEN_${ARCH}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${ARCH}: ${BROKEN_${ARCH}} .endif .elif defined(BROKEN_${OPSYS}_${OSREL:R}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS} ${OSREL}: ${BROKEN_${OPSYS}_${OSREL:R}} .endif .elif defined(BROKEN_${OPSYS}_${OSREL:R}_${ARCH}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS} ${OSREL} ${ARCH}: ${BROKEN_${OPSYS}_${OSREL:R}_${ARCH}} .endif .elif defined(BROKEN_${OPSYS}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS}: ${BROKEN_${OPSYS}} .endif .elif defined(FORBIDDEN) IGNORE= is forbidden: ${FORBIDDEN} .endif # Define the text to be output to LEGAL .if defined(LEGAL_TEXT) LEGAL= ${LEGAL_TEXT} .elif defined(RESTRICTED) LEGAL= ${RESTRICTED} .elif defined(NO_CDROM) LEGAL= ${NO_CDROM} .elif defined(NO_PACKAGE) && ! defined(LEGAL_PACKAGE) LEGAL= ${NO_PACKAGE} .endif .if (defined(MANUAL_PACKAGE_BUILD) && defined(PACKAGE_BUILDING)) IGNORE= has to be built manually: ${MANUAL_PACKAGE_BUILD} clean: @${IGNORECMD} .endif .if defined(IGNORE) .if defined(IGNORE_SILENT) IGNORECMD= ${DO_NADA} .else IGNORECMD= ${ECHO_MSG} "===> ${PKGNAME} "${IGNORE:Q}. | ${FMT} 75 79 ; exit 1 .endif _TARGETS= check-sanity fetch checksum extract patch configure all build \ install reinstall test package stage restage .for target in ${_TARGETS} .if !target(${target}) ${target}: @${IGNORECMD} .if defined(INSTALLS_DEPENDS) @${FALSE} .endif .endif .endfor .endif .endif .if defined(IGNORE) || defined(NO_PACKAGE) ignorelist: package-name .else ignorelist: @${DO_NADA} .endif .if defined(IGNORE) || defined(NO_PACKAGE) ignorelist-verbose: .if defined(IGNORE) @${ECHO_CMD} "${PKGNAME}|IGNORE: "${IGNORE:Q} .else @${ECHO_CMD} "${PKGNAME}|NO_PACKAGE: "${NO_PACKAGE:Q} .endif .else ignorelist-verbose: @${DO_NADA} .endif ################################################################ # Clean directories for ftp or CDROM. ################################################################ .if !defined(LICENSE) .if defined(RESTRICTED) clean-restricted: delete-distfiles delete-package clean-restricted-list: delete-distfiles-list delete-package-list RESTRICTED_FILES?= ${_DISTFILES} ${_PATCHFILES} .else clean-restricted: clean-restricted-list: .endif .if defined(NO_CDROM) clean-for-cdrom: delete-distfiles delete-package clean-for-cdrom-list: delete-distfiles-list delete-package-list RESTRICTED_FILES?= ${_DISTFILES} ${_PATCHFILES} .else clean-for-cdrom: clean-for-cdrom-list: .endif .endif # !defined(LICENSE) .if defined(ALL_HOOK) all: @cd ${.CURDIR} && ${SETENV} CURDIR=${.CURDIR} DISTNAME=${DISTNAME} \ DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} \ PATCHDIR=${PATCHDIR} SCRIPTDIR=${SCRIPTDIR} \ FILESDIR=${FILESDIR} PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} \ BUILD_DEPENDS="${BUILD_DEPENDS}" RUN_DEPENDS="${RUN_DEPENDS}" \ CONFLICTS="${CONFLICTS}" \ ${ALL_HOOK} .endif .if !target(all) all: stage .endif .if !defined(DEPENDS_TARGET) .if defined(DEPENDS_PRECLEAN) DEPENDS_TARGET= clean DEPENDS_ARGS= NOCLEANDEPENDS=yes .endif .if make(reinstall) DEPENDS_TARGET+= reinstall .else DEPENDS_TARGET+= install .endif .if defined(DEPENDS_CLEAN) DEPENDS_TARGET+= clean DEPENDS_ARGS+= NOCLEANDEPENDS=yes .endif .endif ################################################################ # # Do preliminary work to detect if we need to run the config # target or not. # ################################################################ .if ((!defined(OPTIONS_DEFINE) && !defined(OPTIONS_SINGLE) && !defined(OPTIONS_MULTI)) \ && !defined(OPTIONS_GROUP) && !defined(OPTIONS_RADIO) \ || defined(CONFIG_DONE_${PKGBASE:tu}) || \ defined(PACKAGE_BUILDING) || defined(BATCH)) _OPTIONS_OK=yes .endif ################################################################ # The following are used to create easy dummy targets for # disabling some bit of default target behavior you don't want. # They still check to see if the target exists, and if so don't # do anything, since you might want to set this globally for a # group of ports in a Makefile.inc, but still be able to # override from an individual Makefile. ################################################################ # Disable checksum .if defined(NO_CHECKSUM) && !target(checksum) checksum: fetch @${DO_NADA} .endif # Disable build .if defined(NO_BUILD) && !target(build) build: configure @${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE} .endif # Disable test .if defined(NO_TEST) && !target(test) test: stage @${DO_NADA} .endif # Disable package .if defined(NO_PACKAGE) && !target(package) package: .if defined(IGNORE_SILENT) @${DO_NADA} .else @${ECHO_MSG} "===> ${PKGNAME} may not be packaged: "${NO_PACKAGE:Q}. .endif .endif # Disable describe .if defined(NO_DESCRIBE) && !target(describe) describe: @${DO_NADA} .endif ################################################################ # More standard targets start here. # # These are the body of the build/install framework. If you are # not happy with the default actions, and you can't solve it by # adding pre-* or post-* targets/scripts, override these. ################################################################ # Pre-everything pre-everything:: @${DO_NADA} .if defined(TRYBROKEN) && defined(BROKEN) buildanyway-message: @${ECHO_MSG} "Trying build of ${PKGNAME} even though it is marked BROKEN." .endif options-message: .if defined(GNOME_OPTION_MSG) && (!defined(PACKAGE_BUILDING) || !defined(BATCH)) @for m in ${GNOME_OPTION_MSG}; do \ ${ECHO_MSG} $$m; \ done .else @${DO_NADA} .endif .if defined(_OPTIONS_READ) @${ECHO_MSG} "===> Found saved configuration for ${_OPTIONS_READ}" .endif ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRACT_WRKDIR} ${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 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/:[^-:][^:]*$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ 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 ${EXTRACT_WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\ then \ exit 1; \ fi; \ done @if [ ${UID} = 0 ]; then \ ${CHMOD} -R ug-s ${WRKDIR}; \ ${CHOWN} -R 0:0 ${WRKDIR}; \ fi .endif # Patch .if !target(do-patch) do-patch: .if defined(PATCHFILES) @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}" @(set -e; \ cd ${_DISTDIR}; \ patch_dist_strip () { \ case "$$1" in \ ${_PATCH_DIST_STRIP_CASES} \ esac; \ }; \ for i in ${_PATCHFILES}; do \ if [ ${PATCH_DEBUG_TMP} = yes ]; then \ ${ECHO_MSG} "===> Applying distribution patch $$i" ; \ fi ; \ case $$i in \ *.Z|*.gz) ${GZCAT} $$i ;; \ *.bz2) ${BZCAT} $$i ;; \ *.xz) ${XZCAT} $$i ;; \ *.zip) ${UNZIP_NATIVE_CMD} -p $$i ;; \ *) ${CAT} $$i ;; \ esac | ${PATCH} ${PATCH_DIST_ARGS} `patch_dist_strip $$i` ; \ done ) .endif .if defined(EXTRA_PATCHES) @set -e ; \ for i in ${EXTRA_PATCHES}; do \ case $$i in \ *:-p[0-9]) patch_file=$${i%:*} ; patch_strip=$${i##*:} ;; \ *) patch_file=$$i ;; \ esac ; \ ${ECHO_MSG} "===> Applying extra patch $$patch_file" ; \ case $$patch_file in \ *.Z|*.gz) ${GZCAT} $$patch_file ;; \ *.bz2) ${BZCAT} $$patch_file ;; \ *.xz) ${XZCAT} $$patch_file ;; \ *.zip) ${UNZIP_NATIVE_CMD} -p $$patch_file ;; \ *) ${CAT} $$patch_file ;; \ esac | ${PATCH} ${PATCH_ARGS} $$patch_strip ; \ done .endif @set -e ;\ if [ -d ${PATCHDIR} ]; then \ if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \ ${ECHO_MSG} "===> Applying ${OPSYS} patches for ${PKGNAME}" ; \ PATCHES_APPLIED="" ; \ for i in ${PATCHDIR}/patch-*; do \ case $$i in \ *.orig|*.rej|*~|*,v) \ ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \ ;; \ *) \ if [ ${PATCH_DEBUG_TMP} = yes ]; then \ ${ECHO_MSG} "===> Applying ${OPSYS} patch $$i" ; \ fi; \ if ${PATCH} ${PATCH_ARGS} < $$i ; then \ PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \ else \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch $$i failed to apply cleanly." | ${SED} "s|${PATCHDIR}/||"` ; \ if [ x"$$PATCHES_APPLIED" != x"" -a ${PATCH_SILENT} != "yes" ]; then \ ${ECHO_MSG} `${ECHO_CMD} "=> Patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${PATCHDIR}/||g"` ; \ fi; \ ${FALSE} ; \ fi; \ ;; \ esac; \ done; \ fi; \ fi .endif .if !target(run-autotools-fixup) run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. .if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX) -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ -name acinclude.m4 \)` ; do \ ${SED} -i.fbsd10bak \ -e 's|freebsd1\*)|freebsd1.\*)|g' \ -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \ -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \ -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \ $${f} ; \ cmp -s $${f}.fbsd10bak $${f} || \ ${ECHO_MSG} "===> FreeBSD 10 autotools fix applied to $${f}"; \ ${TOUCH} ${TOUCH_FLAGS} -mr $${f}.fbsd10bak $${f} ; \ ${RM} -f $${f}.fbsd10bak ; \ done .endif .endif # Configure .if !target(do-configure) do-configure: @if [ -f ${SCRIPTDIR}/configure ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/configure; \ fi .if defined(GNU_CONFIGURE) @CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \ | ${XARGS} -n 1 ${DIRNAME}); \ for _D in $${CONFIG_GUESS_DIRS}; do \ ${RM} $${_D}/config.guess; \ ${CP} ${TEMPLATES}/config.guess $${_D}/config.guess; \ ${CHMOD} a+rx $${_D}/config.guess; \ ${RM} $${_D}/config.sub; \ ${CP} ${TEMPLATES}/config.sub $${_D}/config.sub; \ ${CHMOD} a+rx $${_D}/config.sub; \ done .endif .if defined(HAS_CONFIGURE) @(cd ${CONFIGURE_WRKSRC} && \ ${SET_LATE_CONFIGURE_ARGS} \ if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ INSTALL="/usr/bin/install -c" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_LIB="${INSTALL_LIB}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; then \ ${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ ${FALSE}; \ fi) .endif .endif # Build # XXX: ${MAKE_ARGS:N${DESTDIRNAME}=*} would be easier but it is not valid with the old fmake DO_MAKE_BUILD?= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} .if !target(do-build) do-build: @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} ${ALL_TARGET}; then \ if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Compilation failed unexpectedly."; \ (${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT} 75 79 ; \ fi; \ ${FALSE}; \ fi) .endif # Check conflicts .if !target(check-conflicts) check-conflicts: check-build-conflicts check-install-conflicts .endif .if !target(check-build-conflicts) check-build-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_BUILD) ) && !defined(DISABLE_CONFLICTS) && !defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They will not build together."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1;\ fi .endif .endif .if !target(identify-install-conflicts) identify-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) ) && !defined(DISABLE_CONFLICTS) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " You may want to stop build with Ctrl + C."; \ sleep 10; \ fi .endif .endif .if !target(check-install-conflicts) check-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) || ( defined(CONFLICTS_BUILD) && defined(DEFER_CONFLICTS_CHECK) ) ) && !defined(DISABLE_CONFLICTS) .if defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ - | while read pkgname prfx orgn; do \ + | 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 \ + | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1; \ fi .endif # defined(DEFER_CONFLICTS_CHECK) .endif .endif # Install .if !target(do-install) && !defined(NO_INSTALL) do-install: @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif # Test .if !target(do-test) && defined(TEST_TARGET) DO_MAKE_TEST?= ${SETENV} ${TEST_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${TEST_ARGS:C,^${DESTDIRNAME}=.*,,g} do-test: @(cd ${TEST_WRKSRC}; if ! ${DO_MAKE_TEST} ${TEST_TARGET}; then \ if [ -n "${TEST_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Tests failed unexpectedly."; \ (${ECHO_CMD} "${TEST_FAIL_MESSAGE}") | ${FMT} 75 79 ; \ fi; \ ${FALSE}; \ fi) .elif !target(do-test) do-test: @${DO_NADA} .endif # Package .if !target(do-package) PKG_CREATE_ARGS= -r ${STAGEDIR} -m ${METADIR} -p ${TMPPLIST} .if defined(PKG_CREATE_VERBOSE) PKG_CREATE_ARGS+= -v .endif do-package: create-manifest do-package: ${TMPPLIST} @if [ -d ${PACKAGES} ]; then \ if [ ! -d ${PKGREPOSITORY} ]; then \ if ! ${MKDIR} ${PKGREPOSITORY}; then \ ${ECHO_MSG} "=> Can't create directory ${PKGREPOSITORY}."; \ exit 1; \ fi; \ fi; \ fi @for cat in ${CATEGORIES}; do \ ${RM} -f ${PACKAGES}/$$cat/${PKGNAMEPREFIX}${PORTNAME}*${PKG_SUFX} ; \ done @${MKDIR} ${WRKDIR}/pkg @if ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \ if [ -d ${PKGREPOSITORY} -a -w ${PKGREPOSITORY} ]; then \ ${LN} -f ${WRKDIR_PKGFILE} ${PKGFILE} 2>/dev/null \ || ${CP} -f ${WRKDIR_PKGFILE} ${PKGFILE}; \ if [ "${PKGORIGIN}" = "ports-mgmt/pkg" -o "${PKGORIGIN}" = "ports-mgmt/pkg-devel" ]; then \ if [ ! -d ${PKGLATESTREPOSITORY} ]; then \ if ! ${MKDIR} ${PKGLATESTREPOSITORY}; then \ ${ECHO_MSG} "=> Can't create directory ${PKGLATESTREPOSITORY}."; \ exit 1; \ fi; \ fi ; \ ${LN} -sf ../${PKGREPOSITORYSUBDIR}/${PKGNAME}${PKG_SUFX} ${PKGLATESTFILE} ; \ fi; \ elif [ ! -d ${PACKAGES} ]; then \ ${LN} -f ${WRKDIR_PKGFILE} ${PKGFILE} 2>/dev/null \ || ${CP} -f ${WRKDIR_PKGFILE} ${PKGFILE}; \ fi; \ else \ cd ${.CURDIR} && eval ${MAKE} delete-package >/dev/null; \ exit 1; \ fi .endif # Some support rules for do-package .if !target(delete-package) delete-package: @${ECHO_MSG} "===> Deleting package for ${PKGNAME}" # When staging, the package may only be in the workdir if not root @${RM} -f ${PKGFILE} ${WRKDIR_PKGFILE} 2>/dev/null || : .endif .if !target(delete-package-list) delete-package-list: @${ECHO_CMD} "[ -f ${PKGFILE} ] && (${ECHO_CMD} deleting ${PKGFILE}; ${RM} -f ${PKGFILE})" .endif # Used by scripts and users to install a package from local repository. # Poudriere -i uses this, please keep. .if !target(install-package) .if defined(FORCE_PKG_REGISTER) _INSTALL_PKG_ARGS= -f .endif .if defined(INSTALLS_DEPENDS) _INSTALL_PKG_ARGS+= -A .endif install-package: @if [ -f "${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}" ]; then \ _pkgfile="${WRKDIR_PKGFILE}"; \ else \ _pkgfile="${PKGFILE}"; \ fi; \ ${PKG_ADD} ${_INSTALL_PKG_ARGS} $${_pkgfile} .endif # Utility targets follow .if !target(check-already-installed) .if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER) check-already-installed: @${ECHO_MSG} "===> Checking if ${PKGBASE} already installed"; \ pkgname=`${PKG_INFO} -q -O ${PKGBASE}`; \ if [ -n "$${pkgname}" ]; then \ v=`${PKG_VERSION} -t $${pkgname} ${PKGNAME}`; \ if [ "$${v}" = "<" ]; then \ ${ECHO_CMD} "===> An older version of ${PKGBASE} is already installed ($${pkgname})"; \ else \ ${ECHO_CMD} "===> ${PKGNAME} is already installed"; \ fi; \ ${ECHO_MSG} " You may wish to \`\`make deinstall'' and install this port again"; \ ${ECHO_MSG} " by \`\`make reinstall'' to upgrade it properly."; \ ${ECHO_MSG} " If you really wish to overwrite the old port of ${PKGBASE}"; \ ${ECHO_MSG} " without deleting it first, set the variable \"FORCE_PKG_REGISTER\""; \ ${ECHO_MSG} " in your environment or the \"make install\" command line."; \ exit 1; \ fi .endif .endif .if !target(check-umask) check-umask: @if [ `${SH} -c umask` != 0022 ]; then \ ${ECHO_MSG} "===> Warning: your umask is \"`${SH} -c umask`"\".; \ ${ECHO_MSG} " If this is not desired, set it to an appropriate value"; \ ${ECHO_MSG} " and install this port again by \`\`make reinstall''."; \ fi .endif .if !target(install-mtree) install-mtree: @${DO_NADA} .endif .if !target(install-ldconfig-file) install-ldconfig-file: . if defined(USE_LDCONFIG) || defined(USE_LDCONFIG32) . if defined(USE_LDCONFIG) . if !defined(USE_LINUX_PREFIX) . if ${USE_LDCONFIG} != "${LOCALBASE}/lib" && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Installing ldconfig configuration file" . if defined(NO_MTREE) || ${PREFIX} != ${LOCALBASE} @${MKDIR} ${STAGEDIR}${LOCALBASE}/${LDCONFIG_DIR} . endif @${ECHO_CMD} ${USE_LDCONFIG} | ${TR} ' ' '\n' \ > ${STAGEDIR}${LOCALBASE}/${LDCONFIG_DIR}/${PKGBASE} @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG_DIR}/${PKGBASE} >> ${TMPPLIST} . if ${PREFIX} != ${LOCALBASE} @${ECHO_CMD} "@dir ${LOCALBASE}/${LDCONFIG_DIR}" >> ${TMPPLIST} . endif . endif . endif . endif . if defined(USE_LDCONFIG32) . if !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Installing 32-bit ldconfig configuration file" . if defined(NO_MTREE) || ${PREFIX} != ${LOCALBASE} @${MKDIR} ${STAGEDIR}${LOCALBASE}/${LDCONFIG32_DIR} . endif @${ECHO_CMD} ${USE_LDCONFIG32} | ${TR} ' ' '\n' \ > ${STAGEDIR}${LOCALBASE}/${LDCONFIG32_DIR}/${PKGBASE} @${ECHO_CMD} ${LOCALBASE}/${LDCONFIG32_DIR}/${PKGBASE} >> ${TMPPLIST} . if ${PREFIX} != ${LOCALBASE} @${ECHO_CMD} "@dir ${LOCALBASE}/${LDCONFIG32_DIR}" >> ${TMPPLIST} . endif . endif . endif . endif .endif .if !target(create-users-groups) .if defined(GROUPS) || defined(USERS) _UG_OUTPUT= ${WRKDIR}/users-groups.sh PKGPREINSTALL+= ${_UG_OUTPUT} create-users-groups: @${RM} -f ${_UG_OUTPUT} || ${TRUE} .if ${OPSYS} != FreeBSD || ${OSVERSION} < 1002000 @${ECHO_CMD} "PW=${PW}" >> ${_UG_OUTPUT} .else @${ECHO_CMD} -e "if [ -n \"\$${PKG_ROOTDIR}\" -a \"\$${PKG_ROOTDIR}\" != \"/\" ]; then PW=\"${PW} -R \$${PKG_ROOTDIR}\"; else PW=${PW}; fi" >> ${_UG_OUTPUT} .endif .if defined(GROUPS) .for _file in ${GID_FILES} .if !exists(${_file}) @${ECHO_CMD} "** ${_file} doesn't exist. Exiting."; exit 1 .endif .endfor @${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 ${OPSYS} != FreeBSD || ${OSVERSION} < 1002000 @if [ ! ${USERS_BLACKLIST:M${_user}} ]; then \ ${ECHO_CMD} "@unexec PW=${PW}; \ if \$${PW} usershow ${_user} >/dev/null 2>&1; then \ echo \"==> You should manually remove the \\\"${_user}\\\" user. \"; fi" >> ${TMPPLIST}; \ fi .else @if [ ! ${USERS_BLACKLIST:M${_user}} ]; then \ ${ECHO_CMD} "@unexec if [ -n \"\$${PKG_ROOTDIR}\" -a \"\$${PKG_ROOTDIR}\" != \"/\" ]; then PW=\"${PW} -R \$${PKG_ROOTDIR}\"; else PW=${PW}; fi; \ if \$${PW} usershow ${_user} >/dev/null 2>&1; then \ echo \"==> You should manually remove the \\\"${_user}\\\" user. \"; fi" >> ${TMPPLIST}; \ fi .endif .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}" test-message: @${ECHO_MSG} "===> Testing for ${PKGNAME}" package-message: @${ECHO_MSG} "===> Building package for ${PKGNAME}" # Empty pre-* and post-* targets .for stage in pre post .for name in pkg check-sanity fetch extract patch configure build stage install package .if exists(${SCRIPTDIR}/${stage}-${name}) .if !target(${stage}-${name}-script) ${stage}-${name}-script: @ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/-script$//} .endif .endif .endfor .endfor .if !target(pretty-print-www-site) pretty-print-www-site: @www_site=$$(cd ${.CURDIR} && ${MAKE} www-site); \ if [ -n "$${www_site}" ]; then \ ${ECHO_MSG} -n " and/or visit the "; \ ${ECHO_MSG} -n "web site"; \ ${ECHO_MSG} " for further information"; \ fi .endif ################################################################ # Some more targets supplied for users' convenience ################################################################ # Checkpatch # # Special target to verify patches .if !target(checkpatch) checkpatch: @cd ${.CURDIR} && ${MAKE} ${PATCH_SILENT} PATCH_CHECK_ONLY=yes ${_PATCH_DEP} ${_PATCH_REAL_SEQ} .endif # Reinstall # # Special target to re-run install .if !target(reinstall) reinstall: @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} @cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install .endif .if !target(restage) restage: @${RM} -rf ${STAGEDIR} ${STAGE_COOKIE} ${INSTALL_COOKIE} ${PACKAGE_COOKIE} @cd ${.CURDIR} && ${MAKE} stage .endif # Deinstall # # Special target to remove installation .if !target(deinstall) deinstall: .if defined(UID) && ${UID} != 0 && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}" @${ECHO_MSG} "===> Returning to user credentials" .else @${ECHO_MSG} "===> Deinstalling for ${PKGBASE}" @if ${PKG_INFO} -e ${PKGBASE}; then \ p=`${PKG_INFO} -q -O ${PKGBASE}`; \ ${ECHO_MSG} "===> Deinstalling $${p}"; \ ${PKG_DELETE} -f ${PKGBASE} ; \ else \ ${ECHO_MSG} "===> ${PKGBASE} not installed, skipping"; \ fi @${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} .endif .endif # Deinstall-all # # Special target to remove installation of all ports of the same origin .if !target(deinstall-all) deinstall-all: .if ${UID} != 0 && !defined(INSTALL_AS_USER) @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${.TARGET}" @${ECHO_MSG} "===> Returning to user credentials" .else @${ECHO_MSG} "===> Deinstalling for ${PKGORIGIN}" @deinstall_names=`${PKG_INFO} -q -O ${PKGORIGIN}`; \ for oldpkgorigin in $$(${GREP} "|${PKGORIGIN}|" ${PORTSDIR}/MOVED | ${CUT} -f 1 -d '|' | ${SORT} -u); do \ deinstall_names="$${deinstall_names} $$(${PKG_INFO} -q -O $${oldpkgorigin})"; \ done; \ if [ -n "$${deinstall_names}" ]; then \ for d in $${deinstall_names}; do \ ${ECHO_MSG} "===> Deinstalling $${d}"; \ ${PKG_DELETE} -f $${d}; \ done; \ else \ ${ECHO_MSG} "===> ${PKGORIGIN} not installed, skipping"; \ fi; \ ${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE} .endif .endif # Cleaning up .if !target(do-clean) do-clean: @if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \ ${RM} -rf ${WRKDIR}; \ else \ ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ fi; \ fi .endif .if !target(clean) clean: .if !defined(NOCLEANDEPENDS) @cd ${.CURDIR} && ${MAKE} limited-clean-depends .endif @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" .if target(pre-clean) @cd ${.CURDIR} && ${MAKE} pre-clean .endif @cd ${.CURDIR} && ${MAKE} do-clean .if target(post-clean) @cd ${.CURDIR} && ${MAKE} post-clean .endif .endif .if !target(pre-distclean) pre-distclean: @${DO_NADA} .endif .if !target(distclean) distclean: pre-distclean clean @cd ${.CURDIR} && ${MAKE} delete-distfiles RESTRICTED_FILES="${_DISTFILES} ${_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/:[^:]+$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ 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; \ ${ECHO_CMD} -n ${MKDIR} ${_DISTDIR} '&& ' ; \ ${ECHO_CMD} -n cd ${_DISTDIR} '&& { ' ; \ 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; \ 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/:[^-:][^:]*$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ 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; \ ${ECHO_CMD} -n ${MKDIR} ${_DISTDIR} '&& ' ; \ ${ECHO_CMD} -n cd ${_DISTDIR} '&& { ' ; \ 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'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ 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/:[^-:][^:]*$$//'` ; \ if [ $$_file = $$file ]; then \ select=''; \ else \ select=`${ECHO_CMD} $${_file##*:} | ${SED} -e 's/,/ /g'` ; \ fi; \ 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: 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: package .endif ################################################################ # Dependency checking ################################################################ .if !target(depends) depends: pkg-depends extract-depends patch-depends lib-depends fetch-depends build-depends run-depends .for deptype in PKG EXTRACT PATCH FETCH BUILD LIB RUN TEST ${deptype:tl}-depends: .if defined(${deptype}_DEPENDS) && !defined(NO_DEPENDS) @${SETENV} \ dp_RAWDEPENDS="${${deptype}_DEPENDS}" \ dp_DEPTYPE="${deptype}_DEPENDS" \ dp_DEPENDS_TARGET="${DEPENDS_TARGET}" \ dp_DEPENDS_PRECLEAN="${DEPENDS_PRECLEAN}" \ dp_DEPENDS_CLEAN="${DEPENDS_CLEAN}" \ dp_DEPENDS_ARGS="${DEPENDS_ARGS}" \ dp_USE_PACKAGE_DEPENDS="${USE_PACKAGE_DEPENDS}" \ dp_USE_PACKAGE_DEPENDS_ONLY="${USE_PACKAGE_DEPENDS_ONLY}" \ dp_PKG_ADD="${PKG_ADD}" \ dp_PKG_INFO="${PKG_INFO}" \ dp_WRKDIR="${WRKDIR}" \ dp_PKGNAME="${PKGNAME}" \ dp_STRICT_DEPENDS="${STRICT_DEPENDS}" \ dp_LOCALBASE="${LOCALBASE}" \ dp_LIB_DIRS="${LIB_DIRS}" \ dp_SH="${SH}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ ${SH} ${SCRIPTSDIR}/do-depends.sh .endif .endfor .endif # Dependency lists: both build and runtime, recursive. Print out directory names. _UNIFIED_DEPENDS=${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} ${TEST_DEPENDS} _DEPEND_SPECIALS= ${_UNIFIED_DEPENDS:M*\:*\:*:C,^[^:]*:([^:]*):.*$,\1,} all-depends-list: @${ALL-DEPENDS-LIST} # This script is shared among several dependency list variables. See file for # usage. DEPENDS-LIST= \ ${SETENV} \ PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ dp_PKGNAME="${PKGNAME}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ ${SH} ${SCRIPTSDIR}/depends-list.sh ALL-DEPENDS-LIST= ${DEPENDS-LIST} -r ${_UNIFIED_DEPENDS:Q} TEST-DEPENDS-LIST= ${DEPENDS-LIST} ${TEST_DEPENDS:Q} CLEAN-DEPENDS-LIST= ${DEPENDS-LIST} -wr ${_UNIFIED_DEPENDS:Q} CLEAN-DEPENDS-LIMITED-LIST= ${DEPENDS-LIST} -w ${_UNIFIED_DEPENDS:Q} .if !target(clean-depends) clean-depends: @for dir in $$(${CLEAN-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} NOCLEANDEPENDS=yes clean); \ done .endif .if !target(limited-clean-depends) limited-clean-depends: @for dir in $$(${CLEAN-DEPENDS-LIMITED-LIST}); do \ (cd $$dir; ${MAKE} NOCLEANDEPENDS=yes clean); \ done .endif .if !target(deinstall-depends) deinstall-depends: @for dir in $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} deinstall); \ done .endif .if !target(fetch-specials) fetch-specials: @${ECHO_MSG} "===> Fetching all distfiles required by ${PKGNAME} for building" @for dir in ${_DEPEND_SPECIALS}; do \ case $$dir in \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac; \ (cd $$dir; ${MAKE} fetch); \ done .endif .if !target(fetch-recursive) fetch-recursive: @${ECHO_MSG} "===> Fetching all distfiles for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch); \ done .endif .if !target(fetch-recursive-list) fetch-recursive-list: @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch-list); \ done .endif # Used by fetch-required and fetch-required list, this script looks # at each of the dependencies. If 3 items are specified in the tuple, # such as foo:${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 \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac; \ case $$dir in \ *:*) if [ $$prog != $${prog\#/} -o ! -e $$prog ]; then \ dir=$${dir%%:*}; \ else \ continue; \ fi;; \ *) if [ -d ${PKG_DBDIR}/$$(cd $$dir; ${MAKE} -V PKGNAME) ]; then \ continue; \ fi;; \ esac; \ echo cd $$dir; cd $$dir; ${MAKE} $$targ; \ done .if !target(fetch-required) fetch-required: fetch .if defined(NO_DEPENDS) @${ECHO_MSG} "===> NO_DEPENDS is set, not fetching any other distfiles for ${PKGNAME}" .else @${ECHO_MSG} "===> Fetching all required distfiles for ${PKGNAME} and dependencies" .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(fetch-required-list) fetch-required-list: fetch-list .if !defined(NO_DEPENDS) .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch-list; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(checksum-recursive) checksum-recursive: @${ECHO_MSG} "===> Fetching and checking checksums for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} checksum); \ done .endif # Dependency lists: build and runtime. Print out directory names. build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${BUILD-DEPENDS-LIST} .endif BUILD-DEPENDS-LIST= \ for dir in $$(${ECHO_CMD} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" | ${SED} -E -e 's,([^: ]*):([^: ]*)(:[^ ]*)?,\2,g' -e 'y/ /\n/'| ${SORT} -u); do \ case $$dir in \ /*) pdir=$$dir ;; \ *) pdir=${PORTSDIR}/$$dir ;; \ esac ; \ if [ -d $$pdir ]; then \ ${ECHO_CMD} $$pdir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$pdir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done | ${SORT} -u run-depends-list: .if defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${RUN-DEPENDS-LIST} .endif RUN-DEPENDS-LIST= \ for dir in $$(${ECHO_CMD} "${_LIB_RUN_DEPENDS:C,.*:([^:]*).*,\1,}" | ${SED} -e 'y/ /\n/' | ${SORT} -u); do \ case $$dir in \ /*) pdir=$$dir ;; \ *) pdir=${PORTSDIR}/$$dir ;; \ esac ; \ if [ -d $$pdir ]; then \ ${ECHO_CMD} $$pdir; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$pdir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done | ${SORT} -u test-depends-list: .if defined(TEST_DEPENDS) @${TEST-DEPENDS-LIST} .endif # Package (recursive runtime) dependency list. Print out both directory names # and package names. package-depends-list: .if defined(CHILD_DEPENDS) || defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${PACKAGE-DEPENDS-LIST} .endif _LIB_RUN_DEPENDS= ${LIB_DEPENDS} ${RUN_DEPENDS} PACKAGE-DEPENDS-LIST?= \ if [ "${CHILD_DEPENDS}" ]; then \ installed=$$(${PKG_INFO} -qO ${PKGORIGIN} 2>/dev/null || \ ${TRUE}); \ if [ "$$installed" ]; then \ break; \ fi; \ if [ -z "$$installed" ]; then \ installed="${PKGNAME}"; \ fi; \ for pkgname in $$installed; do \ ${ECHO_CMD} "$$pkgname ${.CURDIR} ${PKGORIGIN}"; \ done; \ fi; \ checked="${PARENT_CHECKED}"; \ for dir in ${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}; do \ case "$$dir" in \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac ; \ dir=$$(${REALPATH} $$dir); \ if [ -d $$dir ]; then \ case $$checked in \ $$dir|$$dir\ *|*\ $$dir|*\ $$dir\ *) continue;; \ esac; \ childout=$$(cd $$dir; ${MAKE} CHILD_DEPENDS=yes PARENT_CHECKED="$$checked" package-depends-list); \ set -- $$childout; \ childdir=""; \ while [ $$\# != 0 ]; do \ childdir="$$childdir $$2"; \ ${ECHO_CMD} "$$1 $$2 $$3"; \ shift 3; \ done; \ checked="$$dir $$childdir $$checked"; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done ACTUAL-PACKAGE-DEPENDS?= \ depfiles="" ; \ for lib in ${LIB_DEPENDS:C/\:.*//}; do \ depfiles="$$depfiles `${SETENV} LIB_DIRS="${LIB_DIRS}" LOCALBASE="${LOCALBASE}" ${SH} ${SCRIPTSDIR}/find-lib.sh $${lib}`" ; \ done ; \ ${SETENV} PKG_BIN="${PKG_BIN}" ${SH} ${SCRIPTSDIR}/actual-package-depends.sh $${depfiles} ${RUN_DEPENDS:C/(.*)\:.*/"\1"/} 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:C,(^[^/]),${PORTSDIR}/\1,} _PATCH_DEPENDS=${PATCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} _RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} . if exists(${DESCR}) _DESCR=${DESCR} . else _DESCR=/dev/null . endif . if defined(BUILDING_INDEX) && defined(INDEX_PORTS) INDEX_OUT=${INDEX_TMPDIR}/${INDEXFILE}.desc.aggr . else INDEX_OUT=/dev/stdout . endif describe: @(${ECHO_CMD} -n "${PKGNAME}|${.CURDIR}|${PREFIX}|"; \ ${ECHO_CMD} -n ${COMMENT:Q}; \ ${ECHO_CMD} -n "|${_DESCR}|${MAINTAINER}|${CATEGORIES}|${_EXTRACT_DEPENDS}|${_PATCH_DEPENDS}|${_FETCH_DEPENDS}|${_BUILD_DEPENDS:O:u}|${_RUN_DEPENDS:O:u}|"; \ while read one two discard; do \ case "$$one" in \ WWW:) case "$$two" in \ https://*|http://*|ftp://*) ${ECHO_CMD} -n "$$two" ;; \ *) ${ECHO_CMD} -n "http://$$two" ;; \ esac; \ break; \ ;; \ esac; \ done < ${DESCR}; ${ECHO_CMD}) >>${INDEX_OUT} . endif www-site: .if exists(${DESCR}) @${AWK} '$$1 ~ /^WWW:/ {print $$2}' ${DESCR} | ${HEAD} -1 .else @${ECHO_CMD} .endif .if !target(readmes) readmes: readme .endif .if !target(readme) readme: @${RM} -f ${.CURDIR}/README.html @cd ${.CURDIR} && ${MAKE} ${.CURDIR}/README.html .endif ${.CURDIR}/README.html: @${ECHO_MSG} "===> Creating README.html for ${PKGNAME}" @${SED} -e 's|%%PORT%%|'$$(${ECHO_CMD} ${.CURDIR} | \ ${SED} -e 's|.*/\([^/]*/[^/]*\)$$|\1|')'|g' \ -e 's|%%PKG%%|${PKGNAME}|g' \ -e 's|%%COMMENT%%|'"$$(${ECHO_CMD} ${COMMENT:Q})"'|' \ -e '/%%COMMENT%%/d' \ -e 's|%%DESCR%%|'"$$(${ECHO_CMD} ${DESCR} | \ ${SED} -e 's|${.CURDIR}/||')"'|' \ -e 's|%%EMAIL%%|'"$$(${ECHO_CMD} "${MAINTAINER}" | \ ${SED} -e 's/([^)]*)//;s/.*.*//')"'|g' \ -e 's|%%MAINTAINER%%|${MAINTAINER}|g' \ -e 's|%%WEBSITE%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-www-site)"'|' \ -e 's|%%BUILD_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-build-depends-list)"'|' \ -e 's|%%RUN_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-run-depends-list)"'|' \ -e 's|%%TOP%%|'"$$(${ECHO_CMD} ${CATEGORIES} | \ ${SED} -e 's| .*||' -e 's|[^/]*|..|g')"'/..|' \ ${TEMPLATES}/README.port >> ${.TARGET} # The following two targets require an up-to-date INDEX in ${PORTSDIR} _PRETTY_PRINT_DEPENDS_LIST=\ if [ ! -r ${INDEXDIR}/${INDEXFILE} ] ; then \ ${ECHO_MSG} "${.TARGET} requires an INDEX file (${INDEXFILE}). Please run make index or make fetchindex."; \ else \ target=${.TARGET:C/pretty-print-(.*)-depends-list/\1/} ; \ if [ "$$target" = "build" ] ; then fldnum=8 ; else fldnum=9 ; fi; \ ${ECHO_MSG} -n 'This port requires package(s) "' ; \ ${ECHO_MSG} -n `${AWK} -F\| "\\$$1 ~ /^${PKGNAME}/ {print \\$$$${fldnum};}" ${INDEXDIR}/${INDEXFILE}` ; \ ${ECHO_MSG} "\" to $$target."; \ fi; .if !target(pretty-print-build-depends-list) pretty-print-build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || \ defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif .if !target(pretty-print-run-depends-list) pretty-print-run-depends-list: .if defined(RUN_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif _SUB_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} .if !target(apply-slist) apply-slist: .if defined(SUB_FILES) .for file in ${SUB_FILES} .if !exists(${FILESDIR}/${file}.in) @${ECHO_MSG} "** Missing ${FILESDIR}/${file}.in for ${PKGNAME}."; exit 1 .else @${SED} ${_SUB_LIST_TEMP} -e '/^@comment /d' ${FILESDIR}/${file}.in > ${WRKDIR}/${file} .endif .endfor .for i in pkg-message pkg-install pkg-deinstall pkg-req .if ${SUB_FILES:M${i}*}!="" ${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*} .endif .endfor .endif .endif # Generate packing list. Also tests to make sure all required package # files exist. .if !target(generate-plist) generate-plist: ${WRKDIR} @${ECHO_MSG} "===> Generating temporary packing list" @${MKDIR} ${TMPPLIST:H} @if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi @>${TMPPLIST} @for file in ${PLIST_FILES}; do \ ${ECHO_CMD} $${file} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} >> ${TMPPLIST}; \ done @if [ -f ${PLIST} ]; then \ ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \ fi # 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} "@postexec ${LDCONFIG_CMD}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG_CMD}" >> ${TMPPLIST} .endif .else .if defined(USE_LDCONFIG) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@postexec ${LDCONFIG} -m ${USE_LDCONFIG}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@postexec ${LDCONFIG} -m ${USE_LDCONFIG} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .if defined(USE_LDCONFIG32) .if !defined(INSTALL_AS_USER) @${ECHO_CMD} "@postexec ${LDCONFIG} -32 -m ${USE_LDCONFIG32}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -32 -R" >> ${TMPPLIST} .else @${ECHO_CMD} "@postexec ${LDCONFIG} -32 -m ${USE_LDCONFIG32} || ${TRUE}" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LDCONFIG} -32 -R || ${TRUE}" >> ${TMPPLIST} .endif .endif .endif .endif ${TMPPLIST}: @cd ${.CURDIR} && ${MAKE} generate-plist ${TMPPLIST_SORT}: ${TMPPLIST} @${SORT} -u ${TMPPLIST} >${TMPPLIST_SORT} .for _type in EXAMPLES DOCS .if !target(add-plist-${_type:tl}) .if defined(PORT${_type}) && !defined(NOPORT${_type}) add-plist-${_type:tl}: .for x in ${PORT${_type}} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${${_type}DIR}/${x} ]; then \ ${ECHO_CMD} ${${_type}DIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORT${_type}:S/^/${STAGEDIR}${${_type}DIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .endfor .if !target(add-plist-data) .if defined(PORTDATA) add-plist-data: .for x in ${PORTDATA} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${DATADIR}/${x} ]; then \ ${ECHO_CMD} ${DATADIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORTDATA:S/^/${STAGEDIR}${DATADIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .if !target(add-plist-info) .if defined(INFO) add-plist-info: .for i in ${INFO} @${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}:@info\ :g >> ${TMPPLIST} .endfor .endif .endif # If we're installing into a non-standard PREFIX, we need to remove that directory at # deinstall-time .if !target(add-plist-post) .if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} && \ ${PREFIX} != "/usr" && !defined(NO_PREFIX_RMDIR)) add-plist-post: @${ECHO_CMD} "@dir ${PREFIX}" >> ${TMPPLIST} .endif .endif .if !target(install-rc-script) .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES" install-rc-script: @${ECHO_MSG} "===> Staging rc.d startup script(s)" @for i in ${USE_RC_SUBR}; do \ _prefix=${PREFIX}; \ [ "${PREFIX}" = "/usr" ] && _prefix="" ; \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}$${_prefix}/etc/rc.d/$${i%.sh}; \ ${ECHO_CMD} "$${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .endif .endif .if !target(check-man) check-man: stage @${ECHO_MSG} "====> Checking man pages (check-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ err=0 ; \ for dir in $$mdirs; do \ for f in $$(find $$dir -name "*.gz"); do \ ${ECHO_CMD} "===> Checking $${f##*/}" ; \ gunzip -c $$f | mandoc -Tlint -Werror && continue ; \ err=1 ; \ done ; \ done ; \ exit $$err .endif # Compress all manpage not already compressed which are not hardlinks # Find all manpages which are not compressed and are hadlinks, and only get the list of inodes concerned, for each of them compress the first one found and recreate the hardlinks for the others # Fixes all dead symlinks left by the previous round .if !target(compress-man) compress-man: @${ECHO_MSG} "====> Compressing man pages (compress-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ for dir in $$mdirs; do \ ${FIND} $$dir -type f \! -name "*.gz" -links 1 -exec ${GZIP_CMD} {} \; ; \ ${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -exec ${STAT} -f '%i' {} \; | \ ${SORT} -u | while read inode ; do \ unset ref ; \ for f in $$(${FIND} $$dir -type f -inum $${inode} -print); do \ if [ -z $$ref ]; then \ ref=$${f}.gz ; \ ${GZIP_CMD} $${f} ; \ continue ; \ fi ; \ ${RM} -f $${f} ; \ (cd $${f%/*}; ${LN} -f $${ref##*/} $${f##*/}.gz) ; \ done ; \ done ; \ ${FIND} $$dir -type l \! -name "*.gz" | while read link ; do \ ${LN} -sf $$(readlink $$link).gz $$link.gz ;\ ${RM} -f $$link ; \ done; \ done .endif .if !target(stage-dir) stage-dir: @${MKDIR} ${STAGEDIR}${PREFIX} .if !defined(NO_MTREE) @${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${PREFIX} > /dev/null .endif .endif .if !target(makeplist) makeplist: stage @${SETENV} ${CO_ENV} ${SH} ${SCRIPTSDIR}/check-stagedir.sh makeplist .endif .if !target(check-plist) check-plist: stage @${ECHO_MSG} "====> Checking for pkg-plist issues (check-plist)" @${SETENV} ${CO_ENV} ${SH} ${SCRIPTSDIR}/check-stagedir.sh checkplist @${ECHO_MSG} "===> No pkg-plist issues found (check-plist)" .endif .if !target(check-orphans) check-orphans: check-plist .endif .if !target(stage-qa) stage-qa: @${ECHO_MSG} "====> Running Q/A tests (stage-qa)" @${SETENV} ${QA_ENV} ${SH} ${SCRIPTSDIR}/qa.sh .if !defined(DEVELOPER) @${ECHO_MSG} "/!\\ To run stage-qa automatically add DEVELOPER=yes to your environment /!\\" .endif .endif # Fake installation of package so that user can pkg delete it later. .if !target(fake-pkg) STAGE_ARGS= -i ${STAGEDIR} .if !defined(NO_PKG_REGISTER) fake-pkg: create-manifest .if defined(INSTALLS_DEPENDS) @${ECHO_MSG} "===> Registering installation for ${PKGNAME} as automatic" .else @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" .endif .if defined(INSTALLS_DEPENDS) @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .else @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CMD} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .endif @${RM} -rf ${METADIR} .endif .endif # Depend is generally meaningless for arbitrary ports, but if someone wants # one they can override this. This is just to catch people who've gotten into # the habit of typing `make depend all install' as a matter of course. # Same goes for tags .for _t in depend tags .if !target(${_t}) ${_t}: .endif .endfor .if !defined(NOPRECIOUSMAKEVARS) # These won't change, so we can pass them through the environment .for var in ${_EXPORTED_VARS} .if empty(.MAKEFLAGS:M${var}=*) && !empty(${var}) .MAKEFLAGS: ${var}=${${var}:Q} .endif .endfor .endif .if !target(pre-check-config) pre-check-config: .for single in ${OPTIONS_SINGLE} . for opt in ${OPTIONS_SINGLE_${single}} . if empty(ALL_OPTIONS:M${single}) || !empty(PORT_OPTIONS:M${single}) . if !empty(PORT_OPTIONS:M${opt}) . if defined(OPTFOUND) OPTIONS_WRONG_SINGLE+= ${single} . else OPTFOUND= true . endif . endif . else # if conditional and if the condition is unchecked, remove opt from the list of # set options PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} OPTNOCHECK= true . endif . endfor . if !defined(OPTFOUND) && !defined(OPTNOCHECK) OPTIONS_WRONG_SINGLE+= ${single} . endif . undef OPTFOUND . undef OPTNOCHECK .endfor .undef single .for radio in ${OPTIONS_RADIO} . for opt in ${OPTIONS_RADIO_${radio}} . if !empty(PORT_OPTIONS:M${opt}) . if defined(OPTFOUND) OPTIONS_WRONG_RADIO+= ${radio} . else OPTFOUND= true . endif . endif . endfor . undef OPTFOUND .endfor .for multi in ${OPTIONS_MULTI} . for opt in ${OPTIONS_MULTI_${multi}} . if empty(ALL_OPTIONS:M${multi}) || !empty(PORT_OPTIONS:M${multi}) . if !empty(PORT_OPTIONS:M${opt}) OPTFOUND= true . endif . else # if conditional and if the condition is unchecked, remove opt from the list of # set options PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} OPTNOCHECK= true . endif . endfor . if !defined(OPTFOUND) && !defined(OPTNOCHECK) OPTIONS_WRONG_MULTI+= ${multi} . endif . undef OPTFOUND . undef OPTNOCHECK .endfor .undef multi .for opt in ${PORT_OPTIONS} . for conflict in ${${opt}_PREVENTS} . if ${PORT_OPTIONS:M${conflict}} . if empty(OPTIONS_WRONG_PREVENTS:M${opt}) OPTIONS_WRONG_PREVENTS+= ${opt} . endif OPTIONS_WRONG_PREVENTS_${opt}+= ${conflict} . endif . endfor .endfor .undef conflict .undef opt .endif #pre-check-config .if !target(_check-config) _check-config: pre-check-config .for multi in ${OPTIONS_WRONG_MULTI} @${ECHO_MSG} "====> You must check at least one option in the ${multi} multi" .endfor .for single in ${OPTIONS_WRONG_SINGLE} @${ECHO_MSG} "====> You must select one and only one option from the ${single} single" .endfor .for radio in ${OPTIONS_WRONG_RADIO} @${ECHO_MSG} "====> You cannot select multiple options from the ${radio} radio" .endfor .if defined(OPTIONS_WRONG_PREVENTS) @${ECHO_MSG} "====> Two or more enabled options conflict with each other" . for prevents in ${OPTIONS_WRONG_PREVENTS} @${ECHO_MSG} "=====> Option ${prevents} conflicts with ${OPTIONS_WRONG_PREVENTS_${prevents}} (select only one)" . if defined(${prevents}_PREVENTS_MSG) @${ECHO_MSG} "======> ${${prevents}_PREVENTS_MSG}" . endif . endfor .endif .if !empty(OPTIONS_WRONG_MULTI) || !empty(OPTIONS_WRONG_SINGLE) || !empty(OPTIONS_WRONG_RADIO) || !empty(OPTIONS_WRONG_PREVENTS) _CHECK_CONFIG_ERROR= true .endif .endif # _check-config .if !target(check-config) check-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @${FALSE} .endif .endif # check-config .if !target(sanity-config) sanity-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @echo -n "Config is invalid. Re-edit? [Y/n] "; \ read answer; \ case $$answer in \ [Nn]|[Nn][Oo]) \ exit 0; \ esac; \ cd ${.CURDIR} && ${MAKE} config .endif .endif # sanity-config .if !target(pre-config) pre-config: D4P_ENV= PKGNAME="${PKGNAME}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ ALL_OPTIONS="${ALL_OPTIONS}" \ OPTIONS_MULTI="${OPTIONS_MULTI}" \ OPTIONS_SINGLE="${OPTIONS_SINGLE}" \ OPTIONS_RADIO="${OPTIONS_RADIO}" \ OPTIONS_GROUP="${OPTIONS_GROUP}" \ NEW_OPTIONS="${NEW_OPTIONS}" \ DIALOG4PORTS="${DIALOG4PORTS}" \ PREFIX="${PREFIX}" \ LOCALBASE="${LOCALBASE}" \ PORTSDIR="${PORTSDIR}" \ MAKE="${MAKE}" \ D4PHEIGHT="${D4PHEIGHT}" \ D4PWIDTH="${D4PWIDTH}" \ D4PFULLSCREEN="${D4PFULLSCREEN}" .if exists(${PKGHELP}) D4P_ENV+= PKGHELP="${PKGHELP}" .endif .for opt in ${ALL_OPTIONS} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" .endfor .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} D4P_ENV+= OPTIONS_${otype}_${m}="${OPTIONS_${otype}_${m}}" \ ${m}_DESC=""${${m}_DESC:Q}"" . for opt in ${OPTIONS_${otype}_${m}} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" . endfor . endfor .endfor .undef m .undef otype .undef opt .endif # pre-config .if !target(do-config) do-config: .if empty(ALL_OPTIONS) && empty(OPTIONS_SINGLE) && empty(OPTIONS_MULTI) && empty(OPTIONS_RADIO) && empty(OPTIONS_GROUP) @${ECHO_MSG} "===> No options to configure" .else @optionsdir=${OPTIONS_FILE:H}; \ if [ ${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 \"${MKDIR} $${optionsdir} 2> /dev/null\"") || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1); \ ${ECHO_MSG} "===> Returning to user credentials" ; \ else \ ${MKDIR} $${optionsdir} 2> /dev/null || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1) ; \ fi @TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${SETENV} ${D4P_ENV} ${SH} ${SCRIPTSDIR}/dialog4ports.sh $${TMPOPTIONSFILE} || { \ ${RM} -f $${TMPOPTIONSFILE}; \ ${ECHO_MSG} "===> Options unchanged"; \ exit 0; \ }; \ ${ECHO_CMD}; \ if [ ! -e $${TMPOPTIONSFILE} ]; then \ ${ECHO_MSG} "===> No user-specified options to save for ${PKGNAME}"; \ exit 0; \ fi; \ SELOPTIONS=$$(${CAT} $${TMPOPTIONSFILE}); \ ${RM} -f $${TMPOPTIONSFILE}; \ TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} -f $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${ECHO_CMD} "# This file is auto-generated by 'make config'." > $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "# Options for ${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_OPTIONS_READ=${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_FILE_COMPLETE_OPTIONS_LIST=${COMPLETE_OPTIONS_LIST}" >> $${TMPOPTIONSFILE}; \ for i in ${COMPLETE_OPTIONS_LIST}; do \ if ${ECHO_CMD} $${SELOPTIONS} | ${GREP} -qw $${i}; then \ ${ECHO_CMD} "OPTIONS_FILE_SET+=$${i}" >> $${TMPOPTIONSFILE}; \ else \ ${ECHO_CMD} "OPTIONS_FILE_UNSET+=$${i}" >> $${TMPOPTIONSFILE}; \ fi; \ done; \ if [ ${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) && (make(*config*) || (!empty(.MAKEFLAGS:M-V) && !empty(.MAKEFLAGS:M*_DESC))) .include "${PORTSDIR}/Mk/bsd.options.desc.mk" MULTI_EOL= : you have to choose at least one of them SINGLE_EOL= : you have to select exactly one of them RADIO_EOL= : you can only select none or one of them showconfig: check-config .if !empty(COMPLETE_OPTIONS_LIST) @${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME}": .for opt in ${ALL_OPTIONS} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}=$${match:-off}" . if !empty(${opt}_DESC) @${ECHO_MSG} -n ": "${${opt}_DESC:Q} . endif @${ECHO_MSG} "" .endfor #multi and conditional multis .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} . if empty(${m}_DESC) @${ECHO_MSG} "====> Options available for the ${otype:tl} ${m}${${otype}_EOL}" . else @${ECHO_MSG} "====> ${${m}_DESC}${${otype}_EOL}" . endif . for opt in ${OPTIONS_${otype}_${m}} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="on" ; ${ECHO_MSG} -n " ${opt}=$${match:-off}" . if !empty(${opt}_DESC) @${ECHO_MSG} -n ": "${${opt}_DESC:Q} . endif @${ECHO_MSG} "" . endfor . endfor .endfor .undef otype .undef m .undef opt @${ECHO_MSG} "===> Use 'make config' to modify these settings" .endif .endif # showconfig .if !target(showconfig-recursive) showconfig-recursive: @${ECHO_MSG} "===> The following configuration options are available for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} showconfig); \ done .endif # showconfig-recursive .if !target(rmconfig) rmconfig: .if exists(${OPTIONS_FILE}) -@${ECHO_MSG} "===> Removing user-configured options for ${PKGNAME}"; \ optionsdir=${OPTIONS_FILE:H}; \ if [ ${UID} != 0 -a "x${INSTALL_AS_USER}" = "x" -a ! -w "${OPTIONS_FILE}" ]; then \ ${ECHO_MSG} "===> Switching to root credentials to remove ${OPTIONS_FILE} and $${optionsdir}"; \ ${SU_CMD} "${RM} -f ${OPTIONS_FILE} ; \ ${RMDIR} $${optionsdir}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${RM} -f ${OPTIONS_FILE}; \ ${RMDIR} $${optionsdir} 2>/dev/null || return 0; \ fi .else @${ECHO_MSG} "===> No user-specified options configured for ${PKGNAME}" .endif .endif # rmconfig .if !target(rmconfig-recursive) rmconfig-recursive: @${ECHO_MSG} "===> Removing user-specified options for ${PKGNAME} and dependencies"; @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} rmconfig); \ done .endif # rmconfig-recursive .if !target(pretty-print-config) MULTI_START= [ MULTI_END= ] GROUP_START= [ GROUP_END= ] SINGLE_START= ( SINGLE_END= ) RADIO_START= ( RADIO_END= ) pretty-print-config: .for opt in ${ALL_OPTIONS} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="+" ; ${ECHO_MSG} -n "$${match:--}${opt} " .endfor .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} @${ECHO_MSG} -n "${m}${${otype}_START} " . for opt in ${OPTIONS_${otype}_${m}} @[ -z "${PORT_OPTIONS:M${opt}}" ] || match="+" ; ${ECHO_MSG} -n "$${match:--}${opt} " . endfor @${ECHO_MSG} -n "${${otype}_END} " . endfor .endfor .undef otype .undef m .undef opt @${ECHO_MSG} "" .endif # pretty-print-config desktop-categories: @categories=""; \ for native_category in ${CATEGORIES}; do \ c=""; \ case $$native_category in \ accessibility) c="Utility Accessibility" ;; \ archivers) c="Utility Archiving" ;; \ astro) c="Education Science Astronomy" ;; \ audio) c="AudioVideo Audio" ;; \ benchmarks) c="System" ;; \ biology) c="Education Science Biology" ;; \ cad) c="Graphics Engineering" ;; \ comms) c="Utility" ;; \ converters) c="Utility" ;; \ databases) c="Office Database" ;; \ deskutils) c="Utility" ;; \ devel) c="Development" ;; \ dns) c="Network" ;; \ elisp) c="Development" ;; \ editors) c="Utility" ;; \ emulators) c="System Emulator" ;; \ finance) c="Office Finance" ;; \ ftp) c="Network FileTransfer" ;; \ games) c="Game" ;; \ geography) c="Education Science Geography" ;; \ gnome) c="GNOME GTK" ;; \ graphics) c="Graphics" ;; \ hamradio) c="HamRadio" ;; \ haskell) c="Development" ;; \ irc) c="Network IRCClient" ;; \ java) c="Development Java" ;; \ kde) c="KDE Qt" ;; \ lang) c="Development" ;; \ lisp) c="Development" ;; \ mail) c="Office Email" ;; \ mate) c="MATE GTK" ;; \ math) c="Education Science Math" ;; \ mbone) c="Network AudioVideo" ;; \ multimedia) c="AudioVideo" ;; \ net) c="Network" ;; \ net-im) c="Network InstantMessaging" ;; \ net-mgmt) c="Network" ;; \ net-p2p) c="Network P2P" ;; \ news) c="Network News" ;; \ palm) c="Office PDA" ;; \ parallel) c="ParallelComputing" ;; \ pear) c="Development WebDevelopment" ;; \ perl5) c="Development" ;; \ python) c="Development" ;; \ ruby) c="Development" ;; \ rubygems) c="Development" ;; \ scheme) c="Development" ;; \ science) c="Science Education" ;; \ security) c="System Security" ;; \ shells) c="System Shell" ;; \ sysutils) c="System" ;; \ tcl*|tk*) c="Development" ;; \ textproc) c="Utility TextTools" ;; \ www) c="Network" ;; \ x11-clocks) c="Utility Clock" ;; \ x11-fm) c="System FileManager" ;; \ xfce) c="GTK XFCE" ;; \ zope) c="Development WebDevelopment" ;; \ esac; \ if [ -n "$$c" ]; then \ categories="$$categories $$c"; \ fi; \ done; \ if [ -n "$$categories" ]; then \ for c in $$categories; do ${ECHO_MSG} "$$c"; done \ | ${SORT} -u | ${TR} '\n' ';'; \ ${ECHO_MSG}; \ fi # http://standards.freedesktop.org/menu-spec/menu-spec-latest.html DESKTOP_CATEGORIES_MAIN= AudioVideo Audio Video Development Education \ Game Graphics Network Office Science Settings System Utility DESKTOP_CATEGORIES_ADDITIONAL= Building Debugger IDE GUIDesigner Profiling \ RevisionControl Translation Calendar ContactManagement Database \ Dictionary Chart Email Finance FlowChart PDA ProjectManagement \ Presentation Spreadsheet WordProcessor 2DGraphics VectorGraphics \ RasterGraphics 3DGraphics Scanning OCR Photography Publishing Viewer \ TextTools DesktopSettings HardwareSettings Printing PackageManager \ Dialup InstantMessaging Chat IRCClient Feed FileTransfer HamRadio News \ P2P RemoteAccess Telephony TelephonyTools VideoConference WebBrowser \ WebDevelopment Midi Mixer Sequencer Tuner TV AudioVideoEditing Player \ Recorder DiscBurning ActionGame AdventureGame ArcadeGame BoardGame \ BlocksGame CardGame KidsGame LogicGame RolePlaying Shooter Simulation \ SportsGame StrategyGame Art Construction Music Languages \ ArtificialIntelligence Astronomy Biology Chemistry ComputerScience \ DataVisualization Economy Electricity Geography Geology Geoscience \ History Humanities ImageProcessing Literature Maps Math \ NumericalAnalysis MedicalSoftware Physics Robotics Spirituality Sports \ ParallelComputing Amusement Archiving Compression Electronics Emulator \ Engineering FileTools FileManager TerminalEmulator Filesystem Monitor \ Security Accessibility Calculator Clock TextEditor Documentation Adult \ Core KDE GNOME MATE XFCE GTK Qt Motif Java ConsoleOnly DESKTOP_CATEGORIES_RESERVED= Screensaver TrayIcon Applet Shell VALID_DESKTOP_CATEGORIES+= ${DESKTOP_CATEGORIES_MAIN} \ ${DESKTOP_CATEGORIES_ADDITIONAL} \ ${DESKTOP_CATEGORIES_RESERVED} .if defined(DESKTOP_ENTRIES) check-desktop-entries: @set -- ${DESKTOP_ENTRIES} XXX; \ if [ `${EXPR} \( $$# - 1 \) % 6` -ne 0 ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: the DESKTOP_ENTRIES list must contain one or more groups of 6 elements"; \ exit 1; \ fi; \ num=1; \ while [ $$# -gt 6 ]; do \ entry="#$$num"; \ if [ -n "$$4" ]; then \ entry="$$entry ($$4)"; \ elif [ -n "$$1" ]; then \ entry="$$entry ($$1)"; \ fi; \ if [ -z "$$1" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 1 (Name) is empty"; \ exit 1; \ fi; \ if ${ECHO_CMD} "$$3" | ${GREP} -iq '.\(png\|svg\|xpm\)$$'; then \ if ! ${ECHO_CMD} "$$3" | ${GREP} -iq '^/'; then \ ${ECHO_MSG} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 3 (Icon) should be either absolute path or icon name without extension if installed icons follow Icon Theme Specification"; \ fi; \ fi; \ if [ -z "$$4" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 4 (Exec) is empty"; \ exit 1; \ fi; \ if [ -n "$$5" ]; then \ for c in `${ECHO_CMD} "$$5" | ${TR} ';' ' '`; do \ if ! ${ECHO_CMD} ${VALID_DESKTOP_CATEGORIES} | ${GREP} -wq $$c; then \ ${ECHO_CMD} "${PKGNAME}: Makefile warning: in desktop entry $$entry: category $$c is not a valid desktop category"; \ fi; \ done; \ if ! ${ECHO_CMD} "$$5" | ${GREP} -q "`${ECHO_CMD} ${DESKTOP_CATEGORIES_MAIN} | ${SED} -E 's,[[:blank:]]+,\\\|,g'`"; then \ ${ECHO_CMD} "${PKGNAME}: Makefile warning: in desktop entry $$entry: field 5 (Categories) must contain at least one main desktop category (make -VDESKTOP_CATEGORIES_MAIN)"; \ fi; \ if ! ${ECHO_CMD} "$$5" | ${GREP} -q ';$$'; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 5 (Categories) does not end with a semicolon"; \ exit 1; \ fi; \ else \ if [ -z "`cd ${.CURDIR} && ${MAKE} desktop-categories`" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 5 (Categories) is empty and could not be deduced from the CATEGORIES variable"; \ exit 1; \ fi; \ fi; \ if [ "x$$6" != "xtrue" ] && [ "x$$6" != "xfalse" ] && [ "x$$6" != "x" ]; then \ ${ECHO_MSG} "${PKGNAME}: Makefile error: in desktop entry $$entry: field 6 (StartupNotify) is not \"true\", \"false\" or \"\"(empty)"; \ exit 1; \ fi; \ shift 6; \ num=`${EXPR} $$num + 1`; \ done .endif .if !target(install-desktop-entries) .if defined(DESKTOP_ENTRIES) install-desktop-entries: @set -- ${DESKTOP_ENTRIES} XXX; \ while [ $$# -gt 6 ]; do \ filename="`${ECHO_CMD} "$$4" | ${SED} -e 's,^/,,g;s,[/ ],_,g;s,[^_[:alnum:]],,g'`.desktop"; \ pathname="${STAGEDIR}${DESKTOPDIR}/$$filename"; \ categories="$$5"; \ if [ -z "$$categories" ]; then \ categories="`cd ${.CURDIR} && ${MAKE} desktop-categories`"; \ fi; \ ${ECHO_CMD} "${DESKTOPDIR}/$$filename" >> ${TMPPLIST}; \ ${ECHO_CMD} "[Desktop Entry]" > $$pathname; \ ${ECHO_CMD} "Type=Application" >> $$pathname; \ ${ECHO_CMD} "Version=1.0" >> $$pathname; \ ${ECHO_CMD} "Name=$$1" >> $$pathname; \ comment="$$2"; \ if [ -z "$$2" ]; then \ comment="`cd ${.CURDIR} && ${MAKE} -VCOMMENT`"; \ fi; \ ${ECHO_CMD} "GenericName=$$comment" >> $$pathname; \ ${ECHO_CMD} "Comment=$$comment" >> $$pathname; \ if [ -n "$$3" ]; then \ ${ECHO_CMD} "Icon=$$3" >> $$pathname; \ fi; \ ${ECHO_CMD} "Exec=$$4" >> $$pathname; \ ${ECHO_CMD} "Categories=$$categories" >> $$pathname; \ if [ -n "$$6" ]; then \ ${ECHO_CMD} "StartupNotify=$$6" >> $$pathname; \ fi; \ shift 6; \ done .endif .endif .if defined(WARNING) WARNING_WAIT?= 10 show-warnings: @${ECHO_MSG} "/!\\ WARNING /!\\" .for m in ${WARNING} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} @sleep ${WARNING_WAIT} .endif .if defined(DEVELOPER) .if defined(DEV_WARNING) DEV_WARNING_WAIT?= 10 show-dev-warnings: @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile warnings, please consider fixing /!\\" @${ECHO_MSG} .for m in ${DEV_WARNING} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} .if defined(DEV_WARNING_FATAL) @${FALSE} .else @sleep ${DEV_WARNING_WAIT} .endif .endif .if defined(DEV_ERROR) show-dev-errors: @${ECHO_MSG} "/!\\ ${PKGNAME}: Makefile errors /!\\" @${ECHO_MSG} .for m in ${DEV_ERROR} @${ECHO_MSG} "${m}" .endfor @${ECHO_MSG} @${FALSE} .endif .endif #DEVELOPER # Please note that the order of the following targets is important, and # should not be modified. _TARGETS_STAGES= SANITY PKG FETCH EXTRACT PATCH CONFIGURE BUILD INSTALL TEST PACKAGE STAGE # Define the SEQ of actions to take when each target is ran, and which targets # it depends on before running its SEQ. # # Main target has a priority of 500, pre-target 300, post-target 700, # target-depends 150. Other targets are spaced in between those # # If you change the pre-foo and post-foo values here, go and keep them in sync # in _OPTIONS_TARGETS in bsd.options.mk _SANITY_SEQ= 050:post-chroot 100:pre-everything 150:check-makefile \ 200:show-warnings 210:show-dev-warnings 220:show-dev-errors \ 250:check-categories 300:check-makevars \ 350:check-desktop-entries 400:check-depends \ 450:identify-install-conflicts 500:check-deprecated \ 550:check-vulnerable 600:check-license 650:check-config \ 700:buildanyway-message 750:options-message ${_USES_sanity} _PKG_DEP= check-sanity _PKG_SEQ= 500:pkg-depends _FETCH_DEP= pkg _FETCH_SEQ= 150:fetch-depends 300:pre-fetch 450:pre-fetch-script \ 500:do-fetch 550:fetch-specials 700:post-fetch \ 850:post-fetch-script \ ${_OPTIONS_fetch} ${_USES_fetch} _EXTRACT_DEP= fetch _EXTRACT_SEQ= 010:check-build-conflicts 050:extract-message 100:checksum \ 150:extract-depends 190:clean-wrkdir 200:${EXTRACT_WRKDIR} \ 300:pre-extract 450:pre-extract-script 500:do-extract \ 700:post-extract 850:post-extract-script \ ${_OPTIONS_extract} ${_USES_extract} _PATCH_DEP= extract _PATCH_SEQ= 050:ask-license 100:patch-message 150:patch-depends \ 300:pre-patch 450:pre-patch-script 500:do-patch \ 700:post-patch 850:post-patch-script \ ${_OPTIONS_patch} ${_USES_patch} _CONFIGURE_DEP= patch _CONFIGURE_SEQ= 150:build-depends 151:lib-depends 200:configure-message \ 300:pre-configure 450:pre-configure-script 460:run-autotools \ 490:run-autotools-fixup 500:do-configure 700:post-configure \ 850:post-configure-script \ ${_OPTIONS_configure} ${_USES_configure} _BUILD_DEP= configure _BUILD_SEQ= 100:build-message 300:pre-build 450:pre-build-script \ 500:do-build 700:post-build 850:post-build-script \ ${_OPTIONS_build} ${_USES_build} _STAGE_DEP= build # STAGE is special in its numbering as it has install and stage, so install is # the main, and stage goes after. _STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \ 151:lib-depends 200:apply-slist 300:pre-install \ 400:generate-plist 450:pre-su-install 475:create-users-groups \ 500:do-install 550:kmod-post-install 700:post-install \ 750:post-install-script 800:post-stage 850:compress-man \ 860:install-rc-script 870:install-ldconfig-file \ 880:install-license 890:install-desktop-entries \ 900:add-plist-info 910:add-plist-docs 920:add-plist-examples \ 930:add-plist-data 940:add-plist-post ${POST_PLIST:C/^/990:/} \ ${_OPTIONS_install} ${_USES_install} \ ${_OPTIONS_stage} ${_USES_stage} .if defined(DEVELOPER) _STAGE_SEQ+= 995:stage-qa .else stage-qa: stage .endif _TEST_DEP= stage _TEST_SEQ= 100:test-message 150:test-depends 300:pre-test 500:do-test \ 800:post-test \ ${_OPTIONS_test} ${_USES_test} _INSTALL_DEP= stage _INSTALL_SEQ= 100:install-message 150:run-depends 151:lib-depends \ 200:check-already-installed _INSTALL_SUSEQ= 300:fake-pkg 500:security-check _PACKAGE_DEP= stage _PACKAGE_SEQ= 100:package-message 300:pre-package 450:pre-package-script \ 500:do-package 850:post-package-script \ ${_OPTIONS_package} ${_USES_package} # Enforce order for -jN builds .for _t in ${_TARGETS_STAGES} # Check if the port need to change the default order of some targets... . if defined(TARGET_ORDER_OVERRIDE) _tmp_seq:= . for _entry in ${_${_t}_SEQ} # for _target because :M${_target} does not work with fmake . for _target in ${_entry:C/^[0-9]+://} . if ${TARGET_ORDER_OVERRIDE:M*\:${_target}} _tmp_seq:= ${_tmp_seq} ${TARGET_ORDER_OVERRIDE:M*\:${_target}} . else _tmp_seq:= ${_tmp_seq} ${_entry} . endif . endfor . endfor _${_t}_SEQ:= ${_tmp_seq} . endif . for s in ${_${_t}_SEQ:O:C/^[0-9]+://} . if target(${s}) . if ! ${NOTPHONY:M${s}} _PHONY_TARGETS+= ${s} . endif _${_t}_REAL_SEQ+= ${s} . endif . endfor . for s in ${_${_t}_SUSEQ:O:C/^[0-9]+://} . if target(${s}) . if ! ${NOTPHONY:M${s}} _PHONY_TARGETS+= ${s} . endif _${_t}_REAL_SUSEQ+= ${s} . endif . endfor .ORDER: ${_${_t}_DEP} ${_${_t}_REAL_SEQ} .endfor # Define all of the main targets which depend on a sequence of other targets. # See above *_SEQ and *_DEP. The _DEP will run before this defined target is # ran. The _SEQ will run as this target once _DEP is satisfied. .for target in extract patch configure build stage install package # Check if config dialog needs to show and execute it if needed. If is it not # needed (_OPTIONS_OK), then just depend on the cookie which is defined later # to depend on the *_DEP and execute the *_SEQ. # If options are required, execute config-conditional and then re-execute the # target noting that config is no longer needed. .if !target(${target}) && defined(_OPTIONS_OK) _PHONY_TARGETS+= ${target} ${target}: ${${target:tu}_COOKIE} .elif !target(${target}) ${target}: config-conditional @cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${PKGBASE:tu}=1 ${${target:tu}_COOKIE} .elif target(${target}) && defined(IGNORE) .endif .if !exists(${${target:tu}_COOKIE}) # Define the real target behavior. Depend on the target's *_DEP. Execute # the target's *_SEQ. Also handle su and USE_SUBMAKE needs. .if ${UID} != 0 && defined(_${target:tu}_REAL_SUSEQ) && !defined(INSTALL_AS_USER) . if defined(USE_SUBMAKE) ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} @cd ${.CURDIR} && ${MAKE} ${_${target:tu}_REAL_SEQ} . else # !USE_SUBMAKE ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ} . endif # USE_SUBMAKE @${ECHO_MSG} "===> Switching to root credentials for '${target}' target" @cd ${.CURDIR} && \ ${SU_CMD} "${MAKE} ${_${target:tu}_REAL_SUSEQ}" @${ECHO_MSG} "===> Returning to user credentials" @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} .else # No SU needed . if defined(USE_SUBMAKE) ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} @cd ${.CURDIR} && \ ${MAKE} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} . else # !USE_SUBMAKE ${${target:tu}_COOKIE}: ${_${target:tu}_DEP} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ} @${TOUCH} ${TOUCH_FLAGS} ${.TARGET} . endif # USE_SUBMAKE .endif # SU needed .else # exists(cookie) ${${target:tu}_COOKIE}:: @if [ -e ${.TARGET} ]; then \ ${DO_NADA}; \ else \ cd ${.CURDIR} && ${MAKE} ${.TARGET}; \ fi .endif # !exists(cookie) .endfor # foreach(targets) .PHONY: ${_PHONY_TARGETS} check-sanity fetch pkg .if !target(check-sanity) check-sanity: ${_SANITY_REAL_SEQ} .endif .if !target(fetch) fetch: ${_FETCH_DEP} ${_FETCH_REAL_SEQ} .endif .if !target(pkg) pkg: ${_PKG_DEP} ${_PKG_REAL_SEQ} .endif .if !target(test) test: ${_TEST_DEP} ${_TEST_REAL_SEQ} .endif .endif # End of post-makefile section. .endif # End of the DESTDIR if statement Index: head/Mk/bsd.port.subdir.mk =================================================================== --- head/Mk/bsd.port.subdir.mk (revision 412341) +++ head/Mk/bsd.port.subdir.mk (revision 412342) @@ -1,511 +1,511 @@ # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 # $FreeBSD$ # # The include file contains the default targets # for building ports subdirectories. # # # +++ variables +++ # # STRIP - The flag passed to the install program to cause the binary # to be stripped. This is to be used when building your # own install script so that the entire system can be made # stripped/not-stripped using a single knob. [-s] # # OPSYS - Get the operating system type [`uname -s`] # # SUBDIR - A list of subdirectories that should be built as well. # Each of the targets will execute the same target in the # subdirectories. # # # +++ targets +++ # # README.html: # Creating README.html for package. # # afterinstall, all, beforeinstall, build, checksum, clean, # clean-for-cdrom, clean-restricted, # clean-for-cdrom-list, clean-restricted-list, # configure, deinstall, # depend, depends, describe, extract, fetch, fetch-list, # ignorelist, ignorelist-verbose, # install, maintainer, makesum, package, readmes, realinstall, reinstall, # tags # # search: # Search for ports using either 'make search key=' # or 'make search name='. PORTSDIR?= /usr/ports TEMPLATES?= ${PORTSDIR}/Templates .if defined(PORTSTOP) README= ${TEMPLATES}/README.top .else README= ${TEMPLATES}/README.category .endif MOVEDDIR?= ${PORTSDIR} MOVEDFILE?= MOVED .include "${PORTSDIR}/Mk/bsd.commands.mk" .MAIN: all .if !defined(DEBUG_FLAGS) STRIP?= -s .endif # These are variables that are invariant for the lifetime of a recursive port traversal # (index build, etc), so it is more efficient to precompute them here and pass them in # to child makes explicitly, instead of recomputing them tens of thousands of times. .if !defined(NOPRECIOUSMAKEVARS) .if !defined(ARCH) ARCH!= ${UNAME} -p .endif _EXPORTED_VARS+= ARCH .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 OSVERSION!= ${SYSCTL} -n kern.osreldate .endif .endif _EXPORTED_VARS+= OSVERSION WITH_PKG= yes WITH_PKGNG= yes .if !defined(_OSRELEASE) _OSRELEASE!= ${UNAME} -r .endif _EXPORTED_VARS+= _OSRELEASE .if !defined(OSREL) OSREL= ${_OSRELEASE:C/[-(].*//} .endif _EXPORTED_VARS+= OSREL .if !defined(OPSYS) OPSYS!= ${UNAME} -s .endif _EXPORTED_VARS+= OPSYS .if ${ARCH} == "amd64" || ${ARCH} =="ia64" .if !defined(HAVE_COMPAT_IA32_KERN) HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi; echo .if empty(HAVE_COMPAT_IA32_KERN) .undef HAVE_COMPAT_IA32_KERN .endif .endif .endif _EXPORTED_VARS+= HAVE_COMPAT_IA32_KERN .if !defined(CONFIGURE_MAX_CMD_LEN) CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax .endif _EXPORTED_VARS+= CONFIGURE_MAX_CMD_LEN .if !defined(_JAVA_VERSION_LIST_REGEXP) _JAVA_VERSION_LIST_REGEXP!= ${MAKE} -V _JAVA_VERSION_LIST_REGEXP USE_JAVA=1 -f ${PORTSDIR}/Mk/bsd.port.mk .endif _EXPORTED_VARS+= _JAVA_VERSION_LIST_REGEXP .if !defined(_JAVA_VENDOR_LIST_REGEXP) _JAVA_VENDOR_LIST_REGEXP!= ${MAKE} -V _JAVA_VENDOR_LIST_REGEXP USE_JAVA=1 -f ${PORTSDIR}/Mk/bsd.port.mk .endif _EXPORTED_VARS+= _JAVA_VENDOR_LIST_REGEXP .if !defined(_JAVA_OS_LIST_REGEXP) _JAVA_OS_LIST_REGEXP!= ${MAKE} -V _JAVA_OS_LIST_REGEXP USE_JAVA=1 -f ${PORTSDIR}/Mk/bsd.port.mk .endif _EXPORTED_VARS+= _JAVA_OS_LIST_REGEXP .if !defined(_JAVA_PORTS_INSTALLED) _JAVA_PORTS_INSTALLED!= ${MAKE} -V _JAVA_PORTS_INSTALLED USE_JAVA=1 -f ${PORTSDIR}/Mk/bsd.port.mk .endif _EXPORTED_VARS+= _JAVA_PORTS_INSTALLED .if !defined(UID) UID!= ${ID} -u .endif _EXPORTED_VARS+= UID .endif INDEXDIR?= ${PORTSDIR} INDEXFILE?= INDEX-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # local customization of the ports tree .sinclude "${.CURDIR}/Makefile.local" TARGETS+= all TARGETS+= build TARGETS+= checksum TARGETS+= clean TARGETS+= clean-for-cdrom TARGETS+= clean-for-cdrom-list TARGETS+= clean-restricted TARGETS+= clean-restricted-list TARGETS+= configure TARGETS+= deinstall TARGETS+= depend TARGETS+= depends TARGETS+= distclean TARGETS+= extract TARGETS+= fetch TARGETS+= fetch-list TARGETS+= ignorelist TARGETS+= ignorelist-verbose TARGETS+= makesum TARGETS+= maintainer TARGETS+= package TARGETS+= package-recursive TARGETS+= realinstall TARGETS+= reinstall TARGETS+= tags .for __target in ${TARGETS} .if !target(${__target}) .if defined(SUBDIR) && !empty(SUBDIR) ${__target}: ${SUBDIR:S/^/_/:S/$/.${__target}/} .else ${__target}: .endif .endif .endfor .if defined(SUBDIR) && !empty(SUBDIR) .for __target in ${TARGETS} checksubdirs describe readmes ${SUBDIR:S/^/_/:S/$/.${__target}/}: _SUBDIRUSE .endfor _SUBDIRUSE: .USE @OK=""; sub=${.TARGET:S/^_//:R}; \ for dud in $$DUDS; do \ if [ $${dud} = $$sub ]; then \ OK="false"; \ ${ECHO_MSG} "===> ${DIRPRFX}$$sub skipped"; \ fi; \ done; \ if test -d ${.CURDIR}/$${sub}.${MACHINE_ARCH}; then \ edir=$${sub}.${MACHINE_ARCH}; \ elif test -d ${.CURDIR}/$${sub}; then \ edir=$${sub}; \ else \ OK="false"; \ ${ECHO_MSG} "===> ${DIRPRFX}$${sub} non-existent"; \ fi; \ if [ "$$OK" = "" ]; then \ ${ECHO_MSG} "===> ${DIRPRFX}$${edir}"; \ cd ${.CURDIR}/$${edir}; \ ${MAKE} -B ${.TARGET:E:realinstall=install} \ DIRPRFX=${DIRPRFX}$$edir/; \ fi .for _subdir in ${SUBDIR:S/^/_/} ${_subdir}:: ${_subdir:S/$/.all/} .endfor .endif .if !target(install) .if !target(beforeinstall) beforeinstall: .endif .if !target(afterinstall) afterinstall: .endif install: afterinstall afterinstall: realinstall realinstall: beforeinstall ${SUBDIR:S/^/_/:S/$/.realinstall/} .endif IGNOREDIR= Mk Templates Tools distfiles packages pkg Keywords .if !target(checksubdirs) .if defined(PORTSTOP) checksubdirs: checksubdir ${SUBDIR:S/^/_/:S/$/.checksubdirs/} .else checksubdirs: checksubdir .endif .endif .if !target(checksubdir) checksubdir: @for d in *; do \ if [ -d "$$d" ]; then \ found=0; \ for s in ${SUBDIR} ${IGNOREDIR}; do \ if [ "x$$s" = "x$$d" ]; then \ found=1; \ break; \ fi; \ done; \ if [ $$found = 0 ]; then \ ${ECHO_MSG} "Warning: directory $$d not in SUBDIR"; \ fi; \ fi; \ done @for s in ${SUBDIR}; do \ if ! [ -d ${.CURDIR}/$$s ]; then \ ${ECHO_MSG} "Warning: directory $$s in SUBDIR does not exist"; \ fi \ done .endif .if !target(describe) .if defined(PORTSTOP) # This is a bit convoluted to deal with the fact that make will overlap I/O from child make processes # if they write more than 2k: this will corrupt the INDEX file. make -P does not do this, but it adds # extraneous output and redirects stderr, so we lose error reporting from child makes. Instead we have # to roll our own implementation of make -P and make sure that each child make writes to their own file, # which we will combine at the end. This gives substantial performance benefits over doing a make -j1 .if defined(BUILDING_INDEX) describe: ${SUBDIR:S/^/describe./} .for i in ${SUBDIR} describe.$i: @cd ${.CURDIR}; ${MAKE} -B ${i:S/^/_/:S/$/.describe/} > ${INDEX_TMPDIR}/${INDEXFILE}.desc.${i} .endfor .else describe: ${SUBDIR:S/^/_/:S/$/.describe/} .endif .else describe: @for sub in ${SUBDIR}; do \ if ${TEST} -d ${.CURDIR}/$${sub}; then \ ${ECHO_MSG} "===> ${DIRPRFX}$${sub}"; \ cd ${.CURDIR}/$${sub}; \ ${MAKE} -B describe || \ (${ECHO_CMD} "===> ${DIRPRFX}$${sub} failed" >&2; \ exit 1) ;\ else \ ${ECHO_MSG} "===> ${DIRPRFX}$${sub} non-existent"; \ fi; \ done .endif .endif .if !target(readmes) .if defined(PORTSTOP) readmes: readme ${SUBDIR:S/^/_/:S/$/.readmes/} @${ECHO_MSG} "===> Creating README.html for all ports" @perl ${PORTSDIR}/Tools/make_readmes < ${INDEXDIR}/${INDEXFILE} .else readmes: readme .endif .endif .if !target(readme) readme: @${RM} -f README.html @${MAKE} README.html .endif HTMLIFY= ${SED} -e 's/&/\&/g' -e 's/>/\>/g' -e 's/ Creating README.html" @> $@.tmp .for entry in ${SUBDIR} .if exists(${entry}) .if defined(PORTSTOP) @${ECHO_CMD} -n ''"`${ECHO_CMD} ${entry} | ${HTMLIFY}`"': ' >> $@.tmp .else @${ECHO_CMD} -n ''"`cd ${entry}; ${MAKE} package-name | ${HTMLIFY}`: " >> $@.tmp .endif @${ECHO_CMD} `cd ${entry}; ${MAKE} -V COMMENT` | ${HTMLIFY} >> $@.tmp .endif .endfor @${SORT} -t '>' +1 -2 $@.tmp > $@.tmp2 .if exists(${DESCR}) @${HTMLIFY} ${DESCR} > $@.tmp3 .else @> $@.tmp3 .endif .if defined(COMMENT) @${ECHO_CMD} "${COMMENT}" | ${HTMLIFY} > $@.tmp4 .else @> $@.tmp4 .endif @${CAT} ${README} | \ ${SED} -e 's/%%CATEGORY%%/'"`basename ${.CURDIR}`"'/g' \ -e '/%%COMMENT%%/r$@.tmp4' \ -e '/%%COMMENT%%/d' \ -e '/%%DESCR%%/r$@.tmp3' \ -e '/%%DESCR%%/d' \ -e '/%%SUBDIR%%/r$@.tmp2' \ -e '/%%SUBDIR%%/d' \ > $@ @${RM} -f $@.tmp $@.tmp2 $@.tmp3 $@.tmp4 # Pass in the cached invariant variables to child makes. .if !defined(NOPRECIOUSMAKEVARS) .for var in ${_EXPORTED_VARS} .if empty(.MAKEFLAGS:M${var}=*) && !empty(${var}) .MAKEFLAGS: ${var}=${${var}:Q} .endif .endfor .endif PORTSEARCH_DISPLAY_FIELDS?=name,path,info,maint,index,bdeps,rdeps,www PORTSEARCH_KEYLIM?=0 PORTSEARCH_XKEYLIM?=0 PORTSEARCH_IGNORECASE?=1 PORTSEARCH_MOVED?=1 _PORTSEARCH= \ here=${.CURDIR}; \ if [ ! -r ${INDEXDIR}/${INDEXFILE} ] ; then \ ${ECHO_MSG} "The ${.TARGET} target requires ${INDEXFILE}. Please run make index or make fetchindex."; \ else \ cd ${PORTSDIR}; \ if [ -z "$$key" -a -z "$$xkey" -a \ -z "$$name" -a -z "$$xname" -a \ -z "$$path" -a -z "$$xpath" -a \ -z "$$info" -a -z "$$xinfo" -a \ -z "$$maint" -a -z "$$xmaint" -a \ -z "$$cat" -a -z "$$xcat" -a \ -z "$$bdeps" -a -z "$$xbdeps" -a \ -z "$$rdeps" -a -z "$$xrdeps" -a \ -z "$$www" -a -z "$$xwww" ]; \ then \ ${ECHO_MSG} "The ${.TARGET} target requires a keyword parameter or name parameter,"; \ ${ECHO_MSG} "e.g.: \"make ${.TARGET} key=somekeyword\""; \ ${ECHO_MSG} "or \"make ${.TARGET} name=somekeyword\""; \ exit; \ fi; \ ${AWK} -F\| -v there="$$here/" -v top="$$(pwd -P)" \ -v key="$$key" -v xkey="$$xkey" \ -v name="$$name" -v xname="$$xname" \ -v path="$$path" -v xpath="$$xpath" \ -v info="$$info" -v xinfo="$$xinfo" \ -v maint="$$maint" -v xmaint="$$xmaint" \ -v cat="$$cat" -v xcat="$$xcat" \ -v bdeps="$$bdeps" -v xbdeps="$$xbdeps" \ -v rdeps="$$rdeps" -v xrdeps="$$xrdeps" \ -v www="$$www" -v xwww="$$xwww" \ -v icase="$${icase:-${PORTSEARCH_IGNORECASE}}" \ -v keylim="$${keylim:-${PORTSEARCH_KEYLIM}}" \ -v xkeylim="$${xkeylim:-${PORTSEARCH_XKEYLIM}}" \ -v display="$${display:-${PORTSEARCH_DISPLAY_FIELDS}}" \ -v xdisplay="$$xdisplay" \ 'BEGIN { \ gsub(/\+/,"\\+",name); \ if (substr(there, 1, length(top)) == top) \ there = "${PORTSDIR}" substr(there, 1 + length(top)); \ therelen = length(there); \ keylen = length(key); keylim = keylim && keylen; \ if (!keylim && keylen) \ parms[0] = (icase ? tolower(key) : key); \ xkeylen = length(xkey); xkeylim = xkeylim && xkeylen; \ if (!xkeylim && xkeylen) \ xparms[0] = (icase ? tolower(xkey) : xkey); \ if (icase) { \ if (length(name)) parms[1] = tolower(name); if (length(xname)) xparms[1] = tolower(xname); \ if (length(path)) parms[2] = tolower(path); if (length(xpath)) xparms[2] = tolower(xpath); \ if (length(info)) parms[4] = tolower(info); if (length(xinfo)) xparms[4] = tolower(xinfo); \ if (length(maint)) parms[6] = tolower(maint); if (length(xmaint)) xparms[6] = tolower(xmaint); \ if (length(cat)) parms[7] = tolower(cat); if (length(xcat)) xparms[7] = tolower(xcat); \ if (length(bdeps)) parms[8] = tolower(bdeps); if (length(xbdeps)) xparms[8] = tolower(xbdeps); \ if (length(rdeps)) parms[9] = tolower(rdeps); if (length(xrdeps)) xparms[9] = tolower(xrdeps); \ if (length(www)) parms[10] = tolower(www); if (length(xwww)) xparms[10] = tolower(xwww); \ } else { \ if (length(name)) parms[1] = name; if (length(xname)) xparms[1] = xname; \ if (length(path)) parms[2] = path; if (length(xpath)) xparms[2] = xpath; \ if (length(info)) parms[4] = info; if (length(xinfo)) xparms[4] = xinfo; \ if (length(maint)) parms[6] = maint; if (length(xmaint)) xparms[6] = xmaint; \ if (length(cat)) parms[7] = cat; if (length(xcat)) xparms[7] = xcat; \ if (length(bdeps)) parms[8] = bdeps; if (length(xbdeps)) xparms[8] = xbdeps; \ if (length(rdeps)) parms[9] = rdeps; if (length(xrdeps)) xparms[9] = xrdeps; \ if (length(www)) parms[10] = www; if (length(xwww)) xparms[10] = xwww; \ } \ fields["name"] = 1; names[1] = "Port"; \ fields["path"] = 2; names[2] = "Path"; \ fields["info"] = 4; names[4] = "Info"; \ fields["maint"] = 6; names[6] = "Maint"; \ fields["cat"] = 7; names[7] = "Index"; \ fields["bdeps"] = 8; names[8] = "B-deps"; \ fields["rdeps"] = 9; names[9] = "R-deps"; \ fields["www"] = 10; names[10] = "WWW"; \ split(display, d, /,[ \t]*/); \ split(xdisplay, xd, /,[ \t]*/); \ for (i in d) { \ toprint = 1; \ for (j in xd) { \ if (d[i] == xd[j] ) { \ toprint=0; \ break; \ }\ } \ if (toprint == 1 ) disp[fields[d[i]]] = 1; \ } \ } \ { \ if (match($$2, "^/usr/ports/[^/]*/[^/]*$$") > 0) \ sub("^/usr/ports", "${PORTSDIR}", $$2); \ if (substr($$2, 1, therelen) != there) \ next; \ for (i in parms) \ if ((icase ? tolower($$i) : $$i) !~ parms[i]) \ next; \ for (i in xparms) \ if ((icase ? tolower($$i) : $$i) ~ xparms[i]) \ next; \ found = 0; \ for (i = 1; i < 11; i++) \ if (i in disp) { \ if (xkeylim && (icase ? tolower($$i) : $$i) ~ xkey) \ next; \ if (!found && keylim && (icase ? tolower($$i) : $$i) ~ key) \ found = 1; \ } \ if (keylim && !found) \ next; \ for (i = 1; i < 11; i++) \ if (i in disp) \ printf("%s:\t%s\n", names[i], $$i); \ print(""); \ }' ${INDEXDIR}/${INDEXFILE}; \ if [ "$$name" -o "$$xname" ] && [ ${PORTSEARCH_MOVED} -gt 0 ]; \ then \ ${AWK} -F\| -v name="$$name" -v xname="$$xname" \ -v icase="$${icase:-${PORTSEARCH_IGNORECASE}}" \ 'BEGIN { \ if (icase) { \ - if (length(name)) name = tolower(name); if (length(xname)) xname = tolower(xname); \ + if (length(name)) name = tolower(name); if (length(xname)) xname = tolower(xname); \ } \ fields["name"] = 1; names[1] = "Port"; \ fields["destination"] = 2; names[2] = "Moved"; \ fields["date"] = 3; names[3] = "Date"; \ fileds["reason"] = 4; names[4] = "Reason"; \ } \ { \ oldname = $$1; newname = $$2; \ if (oldname ~ /^\#/) next; \ sub(".*\/", "", oldname); newname = sub(".*\/", "", newname); \ if (((icase ? tolower(oldname) : oldname) ~ name) || \ ((icase ? tolower(newname) : newname) ~ name)) { \ - for (i = 1; i <= 4; i++) { \ - printf("%s:\t%s\n", names[i], $$i); \ - } \ + for (i = 1; i <= 4; i++) { \ + printf("%s:\t%s\n", names[i], $$i); \ + } \ print(""); \ } \ }' ${MOVEDDIR}/${MOVEDFILE}; \ fi \ fi search: @${_PORTSEARCH} quicksearch: @export display="name,path,info" ; \ ${_PORTSEARCH} Index: head/accessibility/dasher/Makefile =================================================================== --- head/accessibility/dasher/Makefile (revision 412341) +++ head/accessibility/dasher/Makefile (revision 412342) @@ -1,40 +1,40 @@ # Created by: lewiz # $FreeBSD$ # $MCom: ports/accessibility/dasher/Makefile,v 1.66 2009/03/18 04:59:21 marcus Exp $ PORTNAME= dasher PORTVERSION= 4.10.1 PORTREVISION= 8 PORTEPOCH= 2 CATEGORIES= accessibility editors x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= lewiz@compsoc.man.ac.uk COMMENT= Information efficient text-entry interface BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian USES= gettext gmake pathfix pkgconfig tar:bzip2 USE_GNOME= gnomeprefix intlhack libgnomeui atspi \ libwnck gnomedocutils GNU_CONFIGURE= yes INSTALLS_ICONS= yes INSTALLS_OMF= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= dasher.schemas CONFIGURE_ARGS+= --disable-speech post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-O2||g' @${REINPLACE_CMD} -e 's|__gnu_cxx::lldiv|lldiv|' \ - ${WRKSRC}/Src/DasherCore/DasherViewSquare.cpp + ${WRKSRC}/Src/DasherCore/DasherViewSquare.cpp .include Index: head/accessibility/gok/Makefile =================================================================== --- head/accessibility/gok/Makefile (revision 412341) +++ head/accessibility/gok/Makefile (revision 412342) @@ -1,30 +1,30 @@ # Created by: Adam Weinberger # $FreeBSD$ # $MCom: ports/accessibility/gok/Makefile,v 1.112 2010/09/29 07:37:57 kwm Exp $ PORTNAME= gok PORTVERSION= 2.30.1 PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= accessibility sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME On-Screen Keyboard (GOK) LIB_DEPENDS= libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra \ - libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib + libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib USES= gmake gettext libtool pathfix pkgconfig tar:bzip2 INSTALLS_OMF= yes USE_GNOME= gnomeprefix intlhack libgnomeui atspi libwnck \ gnomespeech libxml2 INSTALLS_ICONS= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GCONF_SCHEMAS= gok.schemas .include Index: head/accessibility/orca/Makefile =================================================================== --- head/accessibility/orca/Makefile (revision 412341) +++ head/accessibility/orca/Makefile (revision 412342) @@ -1,51 +1,51 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= orca PORTVERSION= 3.18.2 CATEGORIES= accessibility gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Scriptable screen reader BUILD_DEPENDS= py3?-dbus>=0:${PORTSDIR}/devel/py3-dbus \ py3?-xdg>=0:${PORTSDIR}/devel/py3-xdg \ py3?-cairo>=0:${PORTSDIR}/graphics/py3-cairo \ itstool:${PORTSDIR}/textproc/itstool LIB_DEPENDS= libatspi.so:${PORTSDIR}/accessibility/at-spi2-core RUN_DEPENDS= py3?-dbus>=0:${PORTSDIR}/devel/py3-dbus \ py3?-speech-dispatcher>=0:${PORTSDIR}/accessibility/py3-speech-dispatcher \ py3?-atspi>=0:${PORTSDIR}/accessibility/py3-atspi \ py3?-xdg>=0:${PORTSDIR}/devel/py3-xdg \ py3?-cairo>=0:${PORTSDIR}/graphics/py3-cairo # conflict with py*-json-py because orca uses the json from python itself # and py*-json-py shadows this. CONFLICTS= py*-json-py-[0-9]* PORTSCOUT= limitw:1,even USES= gettext gmake gnome pathfix pkgconfig python:3 tar:xz USE_GNOME= gtk30 py3gobject3 intlhack INSTALLS_ICONS= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ - ${WRKSRC}/src/orca/orca_i18n.py + ${WRKSRC}/src/orca/orca_i18n.py .include .if ${PYTHON_REL} < 3500 PYOEXTENSION= pyo .else PYOEXTENSION= opt-1.pyc .endif PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} \ PYVER=${PYTHON_VER:S/.//} .include Index: head/archivers/file-roller/Makefile =================================================================== --- head/archivers/file-roller/Makefile (revision 412341) +++ head/archivers/file-roller/Makefile (revision 412342) @@ -1,57 +1,57 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= file-roller PORTVERSION= 3.16.4 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= archivers gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Archive manager for zip files, tar, etc BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar \ - zipinfo:${PORTSDIR}/archivers/unzip + zipinfo:${PORTSDIR}/archivers/unzip # Port unzip is desired, but specify the uniquely named zipinfo to ensure # archivers/unzip is pulled in. Using "unzip" is satisfied by base unzip PORTSCOUT= limitw:1,even USES= desktop-file-utils gettext gmake libarchive libtool \ pathfix pkgconfig tar:xz USE_GNOME= gtk30 intlhack introspection:build USE_XORG= sm INSTALLS_ICONS= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-packagekit INSTALL_TARGET= install-strip PORTDOCS= AUTHORS NEWS README TODO ChangeLog GLIB_SCHEMAS= org.gnome.FileRoller.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= DOCS NAUTILUS OPTIONS_DEFAULT=NAUTILUS NAUTILUS_DESC= Enable Nautilus extension NAUTILUS_USE= GNOME=nautilus3 NAUTILUS_CONFIGURE_ENABLE= nautilus-actions post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/fr-command-tar.c \ ${WRKSRC}/src/fr-command-zip.c post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR} .endfor .include Index: head/astro/gpsman/Makefile =================================================================== --- head/astro/gpsman/Makefile (revision 412341) +++ head/astro/gpsman/Makefile (revision 412342) @@ -1,50 +1,50 @@ # Created by: David Wolfskill # $FreeBSD$ PORTNAME= gpsman PORTVERSION= 6.4.4.2 CATEGORIES= astro tk geography MASTER_SITES= SF/${PORTNAME}/distrib MAINTAINER= david@catwhisker.org COMMENT= Tcl/Tk-based GPS management utility OPTIONS_DEFINE= DOCS USES+= tk:wrapper,run tar:tgz WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} GPSMANDIR= ${PREFIX}/lib/${PORTNAME} PLIST_SUB+= GPSMANDIR=${GPSMANDIR:S/${PREFIX}\///} NO_BUILD= yes PORTDOCS= * GPSMAN_DEFAULT_PORT?= /dev/cuau0 DOCS_SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" \ - ${WRKSRC}/util/exerciser.tcl \ + ${WRKSRC}/util/exerciser.tcl \ ${WRKSRC}/manual/html/info/l_realtime.doc.txt \ ${WRKSRC}/gpsman.tcl @${REINPLACE_CMD} -e "s:%%WISH%%:${WISH}:; s:%%GPSMANDIR%%:${GPSMANDIR}:g" ${WRKSRC}/gpsman.tcl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gpsman.tcl ${STAGEDIR}${PREFIX}/bin/gpsman ${INSTALL_MAN} ${WRKSRC}/man/man1/gpsman.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${GPSMANDIR}/gmsrc/gmicons ${STAGEDIR}${GPSMANDIR}/util ${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${STAGEDIR}${GPSMANDIR}/gmsrc ${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${STAGEDIR}${GPSMANDIR}/gmsrc/gmicons ${INSTALL_DATA} ${WRKSRC}/util/*.sh ${STAGEDIR}${GPSMANDIR}/util ${INSTALL_DATA} ${WRKSRC}/util/*.tcl ${STAGEDIR}${GPSMANDIR}/util do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html/info ${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manual/html/*.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/manual/html/*.gif ${STAGEDIR}${DOCSDIR}/html .for i in gif txt ps ${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.${i} ${STAGEDIR}${DOCSDIR}/html/info .endfor .include Index: head/astro/routino/Makefile =================================================================== --- head/astro/routino/Makefile (revision 412341) +++ head/astro/routino/Makefile (revision 412342) @@ -1,32 +1,32 @@ # Created by: Muhammad Moinur Rahman # $FreeBSD$ PORTNAME= routino PORTVERSION= 3.1.1 CATEGORIES= astro MASTER_SITES= http://www.routino.org/download/ MAINTAINER= bofh@FreeBSD.org COMMENT= Router for OpenStreetMap Data LICENSE= AGPLv3 OPTIONS_DEFINE= DOCS USES= gmake perl5 tar:tgz #USE_GCC= any USE_LDCONFIG= yes #MAKE_JOBS_UNSAFE= yes post-patch: ${REINPLACE_CMD} 's|doc/routino|share/doc/routino|' \ - ${WRKSRC}/Makefile.conf + ${WRKSRC}/Makefile.conf ${REINPLACE_CMD} 's|gcc|${CC}|' \ - ${WRKSRC}/Makefile.conf + ${WRKSRC}/Makefile.conf post-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/web && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} \ "! -name Makefile") ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${WWWDIR}/bin/* .include Index: head/audio/ccaudio2/Makefile =================================================================== --- head/audio/ccaudio2/Makefile (revision 412341) +++ head/audio/ccaudio2/Makefile (revision 412342) @@ -1,26 +1,26 @@ # Created by: gahr # $FreeBSD$ PORTNAME= ccaudio2 PORTVERSION= 2.2.0 CATEGORIES= audio MASTER_SITES= GNU/ccaudio MAINTAINER= ports@FreeBSD.org COMMENT= C++ class framework for manipulating audio files LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libccgnu2.so:${PORTSDIR}/devel/commoncpp \ - libucommon.so:${PORTSDIR}/devel/ucommon \ + libucommon.so:${PORTSDIR}/devel/ucommon \ libgsm.so:${PORTSDIR}/audio/gsm \ libspeex.so:${PORTSDIR}/audio/speex USES= cmake:outsource pathfix pkgconfig USE_LDCONFIG= yes CMAKE_ARGS+= -DWITH_INCLUDES:PATH=${LOCALBASE}/include \ -DCMAKE_INSTALL_MANDIR:STRING=man .include Index: head/audio/jack_mixer/Makefile =================================================================== --- head/audio/jack_mixer/Makefile (revision 412341) +++ head/audio/jack_mixer/Makefile (revision 412342) @@ -1,29 +1,29 @@ # Created by: gahr # $FreeBSD$ PORTNAME= jack_mixer PORTVERSION= 10 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://download.gna.org/${PORTNAME:S/_//}/ MAINTAINER= ports@FreeBSD.org COMMENT= Mixer for the jack audio connection kit LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/fpconst.py:${PORTSDIR}/math/py-fpconst \ - ${LOCALBASE}/include/pygtk-2.0/pygtk/pygtk.h:${PORTSDIR}/x11-toolkits/py-gtk2 + ${LOCALBASE}/include/pygtk-2.0/pygtk/pygtk.h:${PORTSDIR}/x11-toolkits/py-gtk2 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= libtool pkgconfig python USE_GNOME= gconf2 GCONF_SCHEMAS= jack_mixer.schemas INSTALLS_ICONS= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include Index: head/audio/libcanberra/Makefile =================================================================== --- head/audio/libcanberra/Makefile (revision 412341) +++ head/audio/libcanberra/Makefile (revision 412342) @@ -1,67 +1,67 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/trunk/audio/libcanberra/Makefile 20031 2014-11-02 21:47:55Z kwm $ PORTNAME= libcanberra PORTVERSION= 0.30 PORTREVISION= 3 CATEGORIES= audio devel MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ \ http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-0.30.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/ MAINTAINER= gnome@FreeBSD.org COMMENT= Implementation of the Freedesktop sound theme spec LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libltdl.so:${PORTSDIR}/devel/libltdl USES= gmake libtool pathfix pkgconfig tar:xz USE_GNOME= gnomeprefix gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-lynx --disable-tdb --disable-alsa CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .if defined(SLAVEPORT) OPTIONS_DEFINE= PULSEAUDIO GSTREAMER .endif PLIST_SUB= VERSION=${PORTVERSION} .include .if defined(SLAVEPORT) USE_GNOME+= gtk30 LIB_DEPENDS+= libcanberra.so:${PORTSDIR}/audio/libcanberra CONFIGURE_ARGS+=--enable-gtk3 .else CONFIGURE_ARGS+=--disable-gtk3 .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio PLIST_SUB+= PULSE="" .else CONFIGURE_ARGS+=--disable-pulse PLIST_SUB+= PULSE="@comment " .endif .if ${PORT_OPTIONS:MGSTREAMER} USE_GSTREAMER1= yes PLIST_SUB+= GSTREAMER="" .else CONFIGURE_ARGS+=--disable-gstreamer PLIST_SUB+= GSTREAMER="@comment " .endif .endif # end slaveport post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure .include Index: head/audio/musicpd/Makefile =================================================================== --- head/audio/musicpd/Makefile (revision 412341) +++ head/audio/musicpd/Makefile (revision 412342) @@ -1,223 +1,223 @@ # $FreeBSD$ PORTNAME= musicpd PORTVERSION= 0.19.10 CATEGORIES= audio ipv6 MASTER_SITES= http://www.musicpd.org/download/mpd/${PORTVERSION:R}/ DISTNAME= mpd-${PORTVERSION} MAINTAINER= crees@FreeBSD.org COMMENT= Remote-controllable music daemon LICENSE= GPLv2 USES= gmake pkgconfig compiler:c++11-lib tar:xz GNU_CONFIGURE= yes USE_GNOME= glib20 LIB_DEPENDS= libboost_iostreams.so:${PORTSDIR}/devel/boost-libs \ libicudata.so:${PORTSDIR}/devel/icu USE_RC_SUBR= ${PORTNAME} CONFIGURE_ARGS+=--disable-alsa --disable-systemd-daemon --disable-roar CFLAGS+= -I${PREFIX}/include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/sidplay/builders BROKEN_powerpc64= Does not build on powerpc64 PORTDOCS= AUTHORS README COPYING NEWS SUB_FILES= pkg-message OPTIONS_DEFINE= ID3TAG IPV6 ARCHIVE SAMPLERATE SQLITE3 \ CDPARANOIA LAME MMS VORBISENC DOCS OPTIONS_RADIO= ZEROCONF OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER OPTIONS_MULTI= FILE_FORMAT OPTIONS_MULTI_FILE_FORMAT= AAC ADPLUG FFMPEG FLAC FLUIDSYNTH \ GME MAD MIKMOD MODPLUG MPG123 MUSEPACK \ OPUS SIDPLAY2 SNDFILE TREMOR TWOLAME \ VORBIS WAV WAVPACK WILDMIDI OPTIONS_GROUP= PLAYBACK OPTIONS_GROUP_PLAYBACK= AO CURL HTTPD JACK OPENAL OSS PIPE PULSEAUDIO SHOUTCAST ADPLUG_DESC= AdPlug support GME_DESC= GME support (video game music files) LAME_DESC= Support for MP3 Icecast Streams PIPE_DESC= Support for writing PCM audio to a pipe SIDPLAY2_DESC= Sidplay support (C64 mono and stereo files) TREMOR_DESC= Tremor decoder (not with SHOUTCAST; use VORBIS) TWOLAME_DESC= TwoLAME support (mp2) VORBISENC_DESC= Ogg Vorbis encoder WILDMIDI_DESC= WildMIDI support (MIDI files) OPTIONS_DEFAULT=ID3TAG IPV6 MAD OSS FLAC VORBIS WAV FFMPEG SNDFILE CURL AAC_CONFIGURE_ENABLE=aac AAC_LIB_DEPENDS=libfaad.so:${PORTSDIR}/audio/faad ADPLUG_CONFIGURE_ENABLE=adplug ADPLUG_LIB_DEPENDS=libadplug.so:${PORTSDIR}/audio/libadplug AO_CONFIGURE_ENABLE=ao AO_LIB_DEPENDS=libao.so:${PORTSDIR}/audio/libao CDPARANOIA_CONFIGURE_ENABLE=cdio-paranoia CDPARANOIA_LIB_DEPENDS=libcdda_paranoia.so:${PORTSDIR}/audio/cdparanoia CURL_CONFIGURE_ENABLE=curl CURL_LIB_DEPENDS=libcurl.so:${PORTSDIR}/ftp/curl FFMPEG_CONFIGURE_ENABLE=ffmpeg FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ libavformat.so:${PORTSDIR}/multimedia/ffmpeg \ libavutil.so:${PORTSDIR}/multimedia/ffmpeg FLAC_CONFIGURE_ENABLE=flac FLAC_LIB_DEPENDS=libFLAC.so:${PORTSDIR}/audio/flac FLUIDSYNTH_CONFIGURE_ENABLE=fluidsynth FLUIDSYNTH_LIB_DEPENDS=libfluidsynth.so:${PORTSDIR}/audio/fluidsynth GME_CONFIGURE_ENABLE=gme GME_LIB_DEPENDS=libgme.so:${PORTSDIR}/audio/libgme HTTPD_CONFIGURE_ENABLE=httpd-output ID3TAG_CONFIGURE_ENABLE=id3 ID3TAG_LIB_DEPENDS=libid3tag.so:${PORTSDIR}/audio/libid3tag IPV6_CONFIGURE_ENABLE=ipv6 JACK_CONFIGURE_ENABLE=jack JACK_LIB_DEPENDS=libjack.so:${PORTSDIR}/audio/jack LAME_CONFIGURE_ENABLE=lame-encoder LAME_LIB_DEPENDS=libmp3lame.so:${PORTSDIR}/audio/lame MAD_CONFIGURE_ENABLE=mad MAD_LIB_DEPENDS=libmad.so:${PORTSDIR}/audio/libmad MIKMOD_CONFIGURE_ENABLE=mikmod MIKMOD_LIB_DEPENDS=libmikmod.so:${PORTSDIR}/audio/libmikmod MMS_CONFIGURE_ENABLE=mms MMS_LIB_DEPENDS=libmms.so:${PORTSDIR}/net/libmms MODPLUG_CONFIGURE_ENABLE=modplug MODPLUG_LIB_DEPENDS=libmodplug.so:${PORTSDIR}/audio/libmodplug MPG123_CONFIGURE_ENABLE=mpg123 MPG123_LIB_DEPENDS=libmpg123.so:${PORTSDIR}/audio/mpg123 MUSEPACK_CONFIGURE_ENABLE=mpc MUSEPACK_LIB_DEPENDS=libmpcdec.so:${PORTSDIR}/audio/musepack OPENAL_CONFIGURE_ENABLE=openal OPENAL_LIB_DEPENDS=libopenal.so:${PORTSDIR}/audio/openal OPUS_CONFIGURE_ENABLE=opus OPUS_LIB_DEPENDS=libopus.so:${PORTSDIR}/audio/opus OSS_CONFIGURE_ENABLE=oss PIPE_CONFIGURE_ENABLE=pipe-output PULSEAUDIO_CONFIGURE_ENABLE=pulse PULSEAUDIO_LIB_DEPENDS=libpulse.so:${PORTSDIR}/audio/pulseaudio SAMPLERATE_CONFIGURE_ENABLE=lsr SAMPLERATE_LIB_DEPENDS=libsamplerate.so:${PORTSDIR}/audio/libsamplerate SIDPLAY2_CONFIGURE_ENABLE=sidplay SIDPLAY2_LIB_DEPENDS=libsidplay2.so:${PORTSDIR}/audio/libsidplay2 SNDFILE_CONFIGURE_ENABLE=sndfile SNDFILE_LIB_DEPENDS=libsndfile.so:${PORTSDIR}/audio/libsndfile SQLITE3_CONFIGURE_ENABLE=sqlite SQLITE3_LIB_DEPENDS=libsqlite3.so:${PORTSDIR}/databases/sqlite3 TREMOR_CONFIGURE_WITH=tremor TREMOR_LIB_DEPENDS=libvorbisidec.so:${PORTSDIR}/audio/libtremor TWOLAME_CONFIGURE_ENABLE=twolame-encoder TWOLAME_LIB_DEPENDS=libtwolame.so:${PORTSDIR}/audio/twolame VORBISENC_CONFIGURE_ENABLE=vorbis-encoder VORBISENC_LIB_DEPENDS=libvorbisenc.so:${PORTSDIR}/audio/libvorbis VORBIS_CONFIGURE_ENABLE=vorbis VORBIS_LIB_DEPENDS=libvorbis.so:${PORTSDIR}/audio/libvorbis WAV_CONFIGURE_ENABLE=audiofile WAV_LIB_DEPENDS=libaudiofile.so:${PORTSDIR}/audio/libaudiofile WAVPACK_CONFIGURE_ENABLE=wavpack WAVPACK_LIB_DEPENDS=libwavpack.so:${PORTSDIR}/audio/wavpack WILDMIDI_CONFIGURE_ENABLE=wildmidi WILDMIDI_LIB_DEPENDS=libWildMidi.so:${PORTSDIR}/audio/wildmidi MPDUSER?= mpd MPDGROUP?= mpd USERS= ${MPDUSER} GROUPS= ${MPDGROUP} .include .ifdef MPDCONF IGNORE=Please remove the MPDCONF line from make.conf, then rename ${PREFIX}/etc/${MPDCONF} to musicpd.conf, if it exists .endif .if exists(${PREFIX}/etc/mpd.conf) MSG=does not expect ${PREFIX}/etc/mpd.conf to exist. .if !exists(${PREFIX}/etc/musicpd.conf) IGNORE=${MSG} Move it to ${PREFIX}/etc/musicpd.conf. .else IGNORE=${MSG} You also have musicpd.conf-- check carefully to see which one you want, and remove mpd.conf. .endif .endif .if ${PORT_OPTIONS:MARCHIVE} CONFIGURE_ARGS+=--enable-bzip2 \ --enable-zzip \ --enable-iso9660 LIB_DEPENDS+= libzzip.so:${PORTSDIR}/devel/zziplib \ libcdio_paranoia.so:${PORTSDIR}/sysutils/libcdio-paranoia .else CONFIGURE_ARGS+=--disable-bzip2 \ --disable-zzip \ --disable-iso9660 .endif .if ${PORT_OPTIONS:MAVAHI} CONFIGURE_ARGS+=--with-zeroconf=avahi LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app .else CONFIGURE_ARGS+=--with-zeroconf=no .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} CONFIGURE_ARGS+=--with-zeroconf=bonjour LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder .else CONFIGURE_ARGS+=--with-zeroconf=no .endif # libshout streaming support will be disabled by configure script when built # also with tremor since the latter does not support vorbis encoding .if ${PORT_OPTIONS:MSHOUTCAST} . if ${PORT_OPTIONS:MTREMOR} IGNORE= shoutcast and tremor do not coexist; use vorbis instead . endif LIB_DEPENDS+= libshout.so:${PORTSDIR}/audio/libshout CONFIGURE_ARGS+=--enable-vorbis-encoder \ --enable-shout .else CONFIGURE_ARGS+=--disable-shout .endif post-patch: # Replace ~/ with /var/mpd and make musicpd run as mpd by default @${REINPLACE_CMD} -e 's,^#\([^"]*"\)~/,\1/var/mpd,g' \ -e 's,^#\(user[^"]*"\)nobody,\1${MPDUSER},g' \ ${WRKSRC}/doc/mpdconf.example # Uncomment OSS audio output part from MPDCONF; dragons! start=$$(expr $$(${SED} -n '/^# type *"oss"/=' \ ${WRKSRC}/doc/mpdconf.example) - 1); \ finish=$$(for n in $$(${JOT} 10 $$start); do \ - [ "$$(${SED} -n $${n}p ${WRKSRC}/doc/mpdconf.example)" = \ + [ "$$(${SED} -n $${n}p ${WRKSRC}/doc/mpdconf.example)" = \ "#}" ] && echo $$n || true; done); \ ${REINPLACE_CMD} -e "$${start},$${finish}s,^#,," \ ${WRKSRC}/doc/mpdconf.example # Fix man pages for executable names @${REINPLACE_CMD} -e 's/^\(\.B m\)pd/\1usicpd/' \ -e 's#^\(\.BI \)/etc/mpd.conf#\1${PREFIX}/etc/${PORTNAME}.conf#' \ -e 's#^mpd.conf#${PORTNAME}.conf#' \ -e 's#^mpd(1)#musicpd(1)#' \ ${WRKSRC}/doc/mpd.1 ${WRKSRC}/doc/mpd.conf.5 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/mpd \ ${STAGEDIR}/${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/doc/mpd.1 \ ${STAGEDIR}/${PREFIX}/man/man1/${PORTNAME}.1 ${INSTALL_MAN} ${WRKSRC}/doc/mpd.conf.5 \ ${STAGEDIR}/${PREFIX}/man/man5/${PORTNAME}.conf.5 ${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}/${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/mpdconf.example \ ${STAGEDIR}/${PREFIX}/etc/${PORTNAME}.conf.sample .include Index: head/audio/osalp/Makefile =================================================================== --- head/audio/osalp/Makefile (revision 412341) +++ head/audio/osalp/Makefile (revision 412342) @@ -1,41 +1,41 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= osalp PORTVERSION= 0.7.5 PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-beta MAINTAINER= ports@FreeBSD.org COMMENT= Open Source Audio Library Project RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame \ - libvorbis.so:${PORTSDIR}/audio/libvorbis + libvorbis.so:${PORTSDIR}/audio/libvorbis USES= libtool GNU_CONFIGURE= yes CFLAGS+= -fPIC -DPIC CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-all USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION} CONFLICTS= libaudiofile-[0-9]* post-patch: ${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \ 's|iostream.h|iostream|; \ s|[[:space:]]cout| std::cout|g; \ s|[[:space:]]endl| std::endl|g; \ s|[[:space:]]cerr| std::cerr|g;' post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \ ${STAGEDIR}${PREFIX}/lib/aflib/lib*-${PORTVERSION}.so .include Index: head/comms/aprsd/Makefile =================================================================== --- head/comms/aprsd/Makefile (revision 412341) +++ head/comms/aprsd/Makefile (revision 412342) @@ -1,55 +1,55 @@ # Created by: db # $FreeBSD$ PORTNAME= aprsd PORTVERSION= 2.2.515 PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.2.5-15 DISTNAME= aprsd-2.2.5-15 MAINTAINER= hamradio@FreeBSD.org COMMENT= Server daemon providing Internet access to APRS packet data LICENSE= GPLv2 GNU_CONFIGURE= yes SUB_FILES= pkg-message pkg-deinstall USE_RC_SUBR= aprsd USERS= aprsd tnc GROUPS= aprsd dialer tnc APRSD_RC_USER= aprsd APRSD_RC_GROUP= aprsd RC_SUB_LIST= LOCALBASE=${LOCALBASE} APRSD_RC_USER=${APRSD_RC_USER} \ APRSD_RC_GROUP=${APRSD_RC_GROUP} OPTIONS_DEFINE= DOCS EXAMPLES .include post-patch: ${REINPLACE_CMD} -e 's|%%CONFPATH%%|${PREFIX}/etc/aprsd/|' \ - -e 's|%%LOGPATH%%|/var/log/aprsd/|' \ + -e 's|%%LOGPATH%%|/var/log/aprsd/|' \ ${WRKSRC}/src/aprsd.cpp ${REINPLACE_CMD} -e 's|%%LOGPATH%%|/var/log/aprsd/|' \ ${WRKSRC}/src/utils.cpp pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/aprsd ${MKDIR} ${STAGEDIR}"/var/log/aprsd" post-install: @cd ${WRKSRC}/admin .for f in INIT.TNC RESTORE.TNC aprsd.conf welcome.txt user.deny ${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${PREFIX}/etc/aprsd/$f.samp .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in chkaprsd udp_example ${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${EXAMPLESDIR} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} .include Index: head/comms/p5-SMS-Send-TW-PChome/Makefile =================================================================== --- head/comms/p5-SMS-Send-TW-PChome/Makefile (revision 412341) +++ head/comms/p5-SMS-Send-TW-PChome/Makefile (revision 412342) @@ -1,23 +1,23 @@ # Created by: Tsung-Han Yeh # $FreeBSD$ PORTNAME= SMS-Send-TW-PChome PORTVERSION= 0.03 PORTREVISION= 1 CATEGORIES= comms perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= snowfly@yuntech.edu.tw COMMENT= SMS::Send driver for sms.pchome.com.tw RUN_DEPENDS= p5-SMS-Send>=0:${PORTSDIR}/comms/p5-SMS-Send \ - p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv \ + p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv \ p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize \ p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/comms/p5-SMS-Send-TW-Socket2Air/Makefile =================================================================== --- head/comms/p5-SMS-Send-TW-Socket2Air/Makefile (revision 412341) +++ head/comms/p5-SMS-Send-TW-Socket2Air/Makefile (revision 412342) @@ -1,23 +1,23 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= SMS-Send-TW-Socket2Air PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= comms perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= SMS::Send driver for Socket2Air RUN_DEPENDS= p5-SMS-Send>=0:${PORTSDIR}/comms/p5-SMS-Send \ - p5-Switch>=0:${PORTSDIR}/lang/p5-Switch \ + p5-Switch>=0:${PORTSDIR}/lang/p5-Switch \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/comms/p5-SMS-Send-TW-chtsns/Makefile =================================================================== --- head/comms/p5-SMS-Send-TW-chtsns/Makefile (revision 412341) +++ head/comms/p5-SMS-Send-TW-chtsns/Makefile (revision 412342) @@ -1,24 +1,24 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= SMS-Send-TW-chtsns PORTVERSION= 0.03 PORTREVISION= 1 CATEGORIES= comms perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw COMMENT= SMS::Send driver for SNS service of CHT RUN_DEPENDS= p5-SMS-Send>=0:${PORTSDIR}/comms/p5-SMS-Send \ - p5-Switch>=0:${PORTSDIR}/lang/p5-Switch \ + p5-Switch>=0:${PORTSDIR}/lang/p5-Switch \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-WWW-Mechanize>=0:${PORTSDIR}/www/p5-WWW-Mechanize \ p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/comms/p5-SMS-Send-TW-emome/Makefile =================================================================== --- head/comms/p5-SMS-Send-TW-emome/Makefile (revision 412341) +++ head/comms/p5-SMS-Send-TW-emome/Makefile (revision 412342) @@ -1,23 +1,23 @@ # Created by: Tsung-Han Yeh # $FreeBSD$ PORTNAME= SMS-Send-TW-emome PORTVERSION= 0.04 PORTREVISION= 1 CATEGORIES= comms perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= snowfly@yuntech.edu.tw COMMENT= SMS::Send driver for www.emome.net RUN_DEPENDS= p5-SMS-Send>=0.03:${PORTSDIR}/comms/p5-SMS-Send \ - p5-Crypt-SSLeay>=0.57:${PORTSDIR}/security/p5-Crypt-SSLeay \ + p5-Crypt-SSLeay>=0.57:${PORTSDIR}/security/p5-Crypt-SSLeay \ p5-WWW-Mechanize>=1.20:${PORTSDIR}/www/p5-WWW-Mechanize \ p5-Text-Iconv>=:${PORTSDIR}/converters/p5-Text-Iconv BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/converters/fribidi/Makefile =================================================================== --- head/converters/fribidi/Makefile (revision 412341) +++ head/converters/fribidi/Makefile (revision 412342) @@ -1,32 +1,32 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= fribidi PORTVERSION= 0.19.7 CATEGORIES= converters MASTER_SITES= http://fribidi.org/download/ MAINTAINER= gnome@FreeBSD.org COMMENT= Free Implementation of the Unicode Bidirectional Algorithm LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake libtool pathfix tar:bz2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static --without-glib INSTALL_TARGET= install-strip .if !defined(WITH_DEBUG) CONFIGURE_ARGS+=--disable-debug .endif post-patch: @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' < \ - ${FILESDIR}/fribidi-config > ${WRKDIR}/fribidi-config + ${FILESDIR}/fribidi-config > ${WRKDIR}/fribidi-config post-install: ${INSTALL_SCRIPT} ${WRKDIR}/fribidi-config ${STAGEDIR}${PREFIX}/bin .include Index: head/databases/freetds/Makefile =================================================================== --- head/databases/freetds/Makefile (revision 412341) +++ head/databases/freetds/Makefile (revision 412342) @@ -1,75 +1,75 @@ # Created by: Domas Mituzas # $FreeBSD$ PORTNAME= freetds PORTVERSION= 0.95.87 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= databases MASTER_SITES= ftp://ftp.freetds.org/pub/freetds/stable/ MAINTAINER= bofh@FreeBSD.org COMMENT= Sybase/Microsoft TDS protocol library LICENSE= GPLv2 LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt TDS_VER?= 5.0 USES= autoreconf gmake iconv libtool:keepla pkgconfig readline tar:bzip2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lgcrypt -lpthread CONFIGURE_ARGS= --with-tdsver=${TDS_VER} --sysconfdir=${ETCDIR} \ - --enable-sybase-compat --enable-msdblib + --enable-sybase-compat --enable-msdblib USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= DOCS MARS OPTIONS_SINGLE= SSL ODBC OPTIONS_SINGLE_SSL= OPENSSL GNUTLS OPTIONS_DEFAULT= OPENSSL MARS UNIXODBC OPTIONS_SINGLE_ODBC= IODBC UNIXODBC OPENSSL_USE= OPENSSL=yes OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls GNUTLS_CONFIGURE_ON= --with-gnutls IODBC_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc IODBC_CONFIGURE_ON= --with-iodbc=${LOCALBASE} IODBC_CPPFLAGS= -I${LOCALBASE}/include/libiodbc UNIXODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC UNIXODBC_CONFIGURE_ON= --with-unixodbc=${LOCALBASE} MARS_DESC= Enable MARS code (Experimental) MARS_CONFIGURE_ON= --enable-mars .include .if ${PORT_OPTIONS:MIODBC} || ${PORT_OPTIONS:MUNIXODBC} PLIST_SUB+= ODBC="" .else PLIST_SUB+= ODBC="@comment " .endif post-extract: @cd ${WRKSRC} && ${LN} -s freetds.conf freetds.conf.sample @cd ${WRKSRC} && ${LN} -s locales.conf locales.conf.sample @cd ${WRKSRC}/src/pool && ${LN} -s pool.conf pool.conf.sample post-patch: @${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \ 's||| ; \ s|/freetds.conf|/freetds.conf.sample|g ; \ s|/locales.conf|/locales.conf.sample|g ; \ s|/pool.conf|/pool.conf.sample|g ; \ s| common.h||g' @${REINPLACE_CMD} -e 's|\(\$with_iodbc/include\)|\1/libiodbc|g' \ ${WRKSRC}/configure.ac post-install: ${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample .include Index: head/databases/leofs/Makefile =================================================================== --- head/databases/leofs/Makefile (revision 412341) +++ head/databases/leofs/Makefile (revision 412342) @@ -1,249 +1,249 @@ # Created by: Mikolaj Golub # $FreeBSD$ PORTNAME= leofs PORTVERSION= 1.2.18.1 CATEGORIES= databases DIST_SUBDIR= ${PORTNAME} MAINTAINER= trociny@FreeBSD.org COMMENT= Highly scalable, fault-tolerant distributed file system LICENSE= APACHE20 BUILD_DEPENDS= ${LOCALBASE}/lib/erlang17/bin/erlc:${PORTSDIR}/lang/erlang-runtime17 \ ${LOCALBASE}/bin/cmake:${PORTSDIR}/devel/cmake \ ${LOCALBASE}/lib/libcheck.a:${PORTSDIR}/devel/libcheck USE_GITHUB= yes GH_ACCOUNT= leo-project LEOFS_USER= leofs LEOFS_GROUP= leofs USERS= ${LEOFS_USER} GROUPS= ${LEOFS_GROUP} LEOFS_ETCDIR= ${ETCDIR} LEOFS_BASEDIR= ${PREFIX}/lib/${PORTNAME} LEOFS_DBDIR= /var/db/${PORTNAME} LEOFS_LOGDIR= /var/log/${PORTNAME} LEOFS_RUNDIR= /var/run/${PORTNAME} LEOFS_SBIN_FILES= \ leo_gateway \ leo_manager \ leo_manager_slave \ leo_storage \ leofs PLIST_SUB+= LEOFS_USER=${LEOFS_USER} \ LEOFS_GROUP=${LEOFS_GROUP} \ LEOFS_DBDIR=${LEOFS_DBDIR} \ LEOFS_LOGDIR=${LEOFS_LOGDIR} \ LEOFS_RUNDIR=${LEOFS_RUNDIR} SUB_LIST+= LEOFS_USER=${LEOFS_USER} \ LEOFS_GROUP=${LEOFS_GROUP} \ LEOFS_ETCDIR=${LEOFS_ETCDIR} \ LEOFS_BASEDIR=${LEOFS_BASEDIR} \ LEOFS_DBDIR=${LEOFS_DBDIR} \ LEOFS_LOGDIR=${LEOFS_LOGDIR} \ LEOFS_RUNDIR=${LEOFS_RUNDIR} SUB_FILES+= ${LEOFS_SBIN_FILES:S/^/sbin-/} USES= gmake pkgconfig dos2unix USE_RC_SUBR= ${PORTNAME} DOS2UNIX_FILES= deps/leo_*/snmp/snmpa_*/leo_*_snmp.config ALL_TARGET= release MAKE_JOBS_UNSAFE=yes MAKE_ENV= PATH=${LOCALBASE}/lib/erlang17/bin:${PATH} LEOFS_DEPS= \ leo-project/leo_gateway=1.2.18:leo_gateway \ leo-project/leo_manager=1.2.18:leo_manager \ leo-project/leo_storage=1.2.18:leo_storage \ DeadZen/goldrush=0.1.7:goldrush \ basho/bitcask=2.0.1:bitcask \ basho/cuttlefish=2.0.5:cuttlefish \ basho/eleveldb=2.1.4:eleveldb \ basho/lager=2.2.0:lager \ basho/leveldb=2.1.3:leveldb \ davisp/jiffy=0.14.4:jiffy \ eproxus/meck=0.8.2:meck \ extend/cowlib=1.0.0:cowlib \ extend/ranch=1.0.0:ranch \ ferd/recon=2.2.1:recon \ jcomellas/getopt=v0.8.2:getopt \ leo-project/bear=0.8.2-for-leofs:bear \ leo-project/cowboy=for-leofs-1.2.11:cowboy \ leo-project/elarm=5953a2f:elarm \ leo-project/erlang-lz4=0.2.2:lz4 \ leo-project/erpcgen=0.2.3:erpcgen \ leo-project/fifo_utils=0d38c3e:fifo_utils \ leo-project/folsom=0.8.2-for-leofs:folsom \ leo-project/leo_backend_db=1.1.15:leo_backend_db \ leo-project/leo_cache=0.6.10:leo_cache \ leo-project/leo_commons=1.1.6:leo_commons \ leo-project/leo_dcerl=0.4.0:leo_dcerl \ leo-project/leo_logger=1.2.2:leo_logger \ leo-project/leo_mcerl=0.6.0:leo_mcerl \ leo-project/leo_mq=1.3.18:leo_mq \ leo-project/leo_object_storage=1.2.12:leo_object_storage \ leo-project/leo_ordning_reda=1.1.4:leo_ordning_reda \ leo-project/leo_pod=0.6.6:leo_pod \ leo-project/leo_redundant_manager=1.9.22:leo_redundant_manager \ leo-project/leo_rpc=0.10.7:leo_rpc \ leo-project/leo_s3_libs=1.1.10:leo_s3_libs \ leo-project/leo_statistics=1.1.10:leo_statistics \ leo-project/leo_watchdog=0.12.1:leo_watchdog \ leo-project/libcutil=0.4.3:libcutil \ leo-project/nfs_rpc_server=0.2.3:nfs_rpc_server \ leo-project/savanna_agent=0.4.13:savanna_agent \ leo-project/savanna_commons=0.8.16:savanna_commons \ manopapad/proper=7d535ac:proper \ seancribbs/neotoma=1.7.3:neotoma \ .for dep in ${LEOFS_DEPS} account= ${dep:C,/.*$,,} project= ${dep:C,^[^/]+/([^=]+)=.*$,\1,} tagname= ${dep:C,^[^=]+=([^:]+):.*$,\1,} label= ${dep:C,^.*:,,} GH_ACCOUNT:= ${GH_ACCOUNT} ${account}:${label} GH_PROJECT:= ${GH_PROJECT} ${project}:${label} GH_TAGNAME:= ${GH_TAGNAME} ${tagname}:${label} .endfor post-extract: .for dep in ${LEOFS_DEPS} .for tagname in ${dep:C,^[^=]+=([^\?]+)\?.*$,\1,} .for label in ${dep:C,^.*:,,} @${MKDIR} ${WRKSRC}/deps @${MV} ${WRKSRC_${label}} ${WRKSRC}/deps/${label} @if [ -f "${WRKSRC}/deps/${label}/src/${label}.app.src" ]; then \ ${REINPLACE_CMD} -e "s|{vsn, *git}|{vsn, \"${tagname}\"}|" \ "${WRKSRC}/deps/${label}/src/${label}.app.src"; \ fi .endfor .endfor .endfor @(cd ${WRKSRC}/deps/eleveldb/c_src && ${LN} -s ../../leveldb) @(cd ${WRKSRC}/deps/leo_mcerl/c_src && ${LN} -s ../../libcutil) @(cd ${WRKSRC}/deps/leo_dcerl/c_src && ${LN} -s ../../libcutil) post-patch: @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g; \ s|%%LEOFS_DBDIR%%|${LEOFS_DBDIR}|g; \ s|%%LEOFS_LOGDIR%%|${LEOFS_LOGDIR}|g;' \ ${WRKSRC}/deps/leo_gateway/priv/leo_gateway.conf \ ${WRKSRC}/deps/leo_gateway/priv/leo_gateway.schema \ ${WRKSRC}/deps/leo_gateway/snmp/snmpa_gateway_0/leo_gateway_snmp.config \ ${WRKSRC}/deps/leo_manager/priv/leo_manager_0.conf \ ${WRKSRC}/deps/leo_manager/priv/leo_manager_0.schema \ ${WRKSRC}/deps/leo_manager/priv/leo_manager_1.conf \ ${WRKSRC}/deps/leo_manager/priv/leo_manager_1.schema \ ${WRKSRC}/deps/leo_manager/snmp/snmpa_manager_0/leo_manager_snmp.config \ ${WRKSRC}/deps/leo_manager/snmp/snmpa_manager_1/leo_manager_snmp.config \ ${WRKSRC}/deps/leo_storage/priv/leo_storage.conf \ ${WRKSRC}/deps/leo_storage/priv/leo_storage.schema \ ${WRKSRC}/deps/leo_storage/snmp/snmpa_storage_0/leo_storage_snmp.config pre-build: (cd ${WRKSRC}/deps/erpcgen && ${MAKE_ENV} ${MAKE}) (cd ${WRKSRC} && ${MAKE_ENV} ./deps/erpcgen/priv/erpcgen \ -a [svc_callback,xdr,hrl] deps/leo_gateway/src/leo_nfs_proto3.x) (cd ${WRKSRC} && ${MAKE_ENV} ./deps/erpcgen/priv/erpcgen \ -a [svc_callback,xdr,hrl] deps/leo_gateway/src/leo_nfs_mount3.x) (cd ${WRKSRC}/deps/nfs_rpc_server/src && \ ${MAKE_ENV} erl -noshell -pa ../../erpcgen/ebin \ -eval 'erpcgen:file(pmap, [xdrlib,clnt])' -s init stop) (cd ${WRKSRC}/deps/nfs_rpc_server/src && \ ${MAKE_ENV} erl -noshell -pa ../../erpcgen/ebin \ -eval 'erpcgen:file(nfs_rpc, [xdrlib,clnt])' -s init stop) FIND_ARGS= "! -name *.bak ! -name *.orig" do-install: ${MKDIR} \ ${STAGEDIR}${LEOFS_BASEDIR}/bin \ ${STAGEDIR}${LEOFS_BASEDIR}/snmp \ ${STAGEDIR}${LEOFS_BASEDIR}/releases/1 \ ${STAGEDIR}${LEOFS_ETCDIR} \ ${STAGEDIR}${LEOFS_DBDIR} \ ${STAGEDIR}${LEOFS_LOGDIR} \ ${STAGEDIR}${LEOFS_RUNDIR} (cd ${WRKSRC}/package/leo_gateway && \ ${COPYTREE_BIN} erts-*/bin ${STAGEDIR}${LEOFS_BASEDIR} ${FIND_ARGS} && \ ${COPYTREE_SHARE} etc ${STAGEDIR}${LEOFS_BASEDIR} ${FIND_ARGS} && \ ${COPYTREE_SHARE} lib ${STAGEDIR}${LEOFS_BASEDIR} ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_manager_0 && \ ${COPYTREE_SHARE} etc ${STAGEDIR}${LEOFS_BASEDIR} ${FIND_ARGS} && \ ${COPYTREE_SHARE} lib ${STAGEDIR}${LEOFS_BASEDIR} ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_storage && \ ${COPYTREE_SHARE} etc ${STAGEDIR}${LEOFS_BASEDIR} ${FIND_ARGS} && \ ${COPYTREE_SHARE} lib ${STAGEDIR}${LEOFS_BASEDIR} ${FIND_ARGS}) ${INSTALL_DATA} ${WRKSRC}/package/leo_manager_1/etc/leo_manager.schema \ ${STAGEDIR}${LEOFS_BASEDIR}/etc/leo_manager_slave.schema ${INSTALL_DATA} ${WRKSRC}/package/leo_manager_1/etc/leo_manager.conf \ ${STAGEDIR}${LEOFS_BASEDIR}/etc/leo_manager_slave.conf ${INSTALL_SCRIPT} ${WRKSRC}/package/leo_gateway/bin/cuttlefish \ ${STAGEDIR}${LEOFS_BASEDIR}/bin ${INSTALL_DATA} ${WRKSRC}/package/leo_gateway/releases/start_erl.data \ ${STAGEDIR}${LEOFS_BASEDIR}/releases ${INSTALL_DATA} ${WRKSRC}/package/leo_gateway/releases/1/start_clean.* \ ${STAGEDIR}${LEOFS_BASEDIR}/releases/1 (cd ${WRKSRC}/package/leo_gateway/releases && ${COPYTREE_SHARE} . \ ${STAGEDIR}${LEOFS_BASEDIR}/releases/leo_gateway ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_manager_0/releases && ${COPYTREE_SHARE} . \ ${STAGEDIR}${LEOFS_BASEDIR}/releases/leo_manager ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_storage/releases && ${COPYTREE_SHARE} . \ ${STAGEDIR}${LEOFS_BASEDIR}/releases/leo_storage ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_gateway/snmp/snmpa_gateway_0 && \ ${COPYTREE_SHARE} . \ ${STAGEDIR}${LEOFS_BASEDIR}/snmp/snmpa_gateway ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_manager_0/snmp/snmpa_manager_0 && \ ${COPYTREE_SHARE} . \ ${STAGEDIR}${LEOFS_BASEDIR}/snmp/snmpa_manager ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_manager_1/snmp/snmpa_manager_1 && \ ${COPYTREE_SHARE} . \ ${STAGEDIR}${LEOFS_BASEDIR}/snmp/snmpa_manager_slave ${FIND_ARGS}) (cd ${WRKSRC}/package/leo_storage/snmp/snmpa_storage_0 && \ ${COPYTREE_SHARE} . \ ${STAGEDIR}${LEOFS_BASEDIR}/snmp/snmpa_storage ${FIND_ARGS}) ${INSTALL_DATA} ${WRKSRC}/package/leo_gateway/etc/leo_gateway.conf \ ${STAGEDIR}${LEOFS_ETCDIR}/leo_gateway.conf.sample ${INSTALL_DATA} ${WRKSRC}/package/leo_gateway/etc/server_cert.pem \ ${STAGEDIR}${LEOFS_ETCDIR}/server_cert.pem.sample ${INSTALL_DATA} ${WRKSRC}/package/leo_gateway/etc/server_key.pem \ ${STAGEDIR}${LEOFS_ETCDIR}/server_key.pem.sample ${INSTALL_DATA} ${WRKSRC}/package/leo_manager_0/etc/leo_manager.conf \ ${STAGEDIR}${LEOFS_ETCDIR}/leo_manager.conf.sample ${INSTALL_DATA} ${WRKSRC}/package/leo_manager_1/etc/leo_manager.conf \ ${STAGEDIR}${LEOFS_ETCDIR}/leo_manager_slave.conf.sample ${INSTALL_DATA} ${WRKSRC}/package/leo_storage/etc/leo_storage.conf \ ${STAGEDIR}${LEOFS_ETCDIR}/leo_storage.conf.sample ${INSTALL_SCRIPT} ${WRKSRC}/leofs-adm ${STAGEDIR}${PREFIX}/sbin/leofs-adm .for f in ${LEOFS_SBIN_FILES} ${INSTALL_SCRIPT} ${WRKDIR}/sbin-${f} ${STAGEDIR}${PREFIX}/sbin/${f} .endfor cd ${STAGEDIR}${PREFIX} ; \ ${FIND} ${LEOFS_BASEDIR:S/${PREFIX}\///} \ ${LEOFS_LIBXDIR:S/${PREFIX}\///} -type f -o -type l \ - | ${SORT} > ${WRKDIR}/PLIST.leofs + | ${SORT} > ${WRKDIR}/PLIST.leofs cd ${STAGEDIR}${PREFIX} ; \ ${FIND} ${LEOFS_BASEDIR:S/${PREFIX}\///} \ ${LEOFS_LIBXDIR:S/${PREFIX}\///} -type d -empty \ - | ${SORT} -r | ${SED} -e 's/^/@dir /' \ + | ${SORT} -r | ${SED} -e 's/^/@dir /' \ >> ${WRKDIR}/PLIST.leofs ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script ${ECHO_CMD} "/Insert PLIST.leofs" >> ${WRKDIR}/ex.script ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script ${ECHO_CMD} "r ${WRKDIR}/PLIST.leofs" >> ${WRKDIR}/ex.script ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-leofs cd ${WRKDIR} ; ex < ex.script .include Index: head/databases/libgda4/Makefile =================================================================== --- head/databases/libgda4/Makefile (revision 412341) +++ head/databases/libgda4/Makefile (revision 412342) @@ -1,168 +1,168 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/databases/libgda4/Makefile,v 1.27 2012/09/01 23:02:08 mezz Exp $ PORTNAME= libgda PORTVERSION= 4.2.12 PORTREVISION?= 7 CATEGORIES= databases gnome MASTER_SITES= GNOME PKGNAMESUFFIX?= 4 DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT?= Provides uniform access to different kinds of data sources CONFLICTS= libgda5-ui-[0-9]* PORTSCOUT= ignore:1 USES= tar:xz LIBGDA4_SLAVE?= no .if !defined(REFERENCE_PORT) LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib USES+= gettext gmake libtool pathfix pkgconfig USE_GNOME= gnomeprefix glib20 libxslt intlhack referencehack USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE=yes CONFIGURE_ARGS= --without-oracle \ --disable-crypto \ --enable-introspection=no \ --without-gtksourceview \ --without-goocanvas \ --without-graphviz CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib .if ${LIBGDA4_SLAVE}=="no" OPTIONS_DEFINE= UI SOUP KEYRING OPTIONS_DEFAULT=UI UI_DESC= Build UI tools SOUP_DESC= Web provider KEYRING_DESC= Support gnome-keyring .endif .include VERSION= 4.0 PLIST_SUB= VERSION=${VERSION} .if ${LIBGDA4_SLAVE}=="no" .if ${PORT_OPTIONS:MUI} CONFIGURE_ARGS+=--with-ui BUILD_DEPENDS+= xml2po:${PORTSDIR}/textproc/gnome-doc-utils USE_GNOME+= gtk20 INSTALLS_ICONS= yes PLIST_SUB+= UI="" .else CONFIGURE_ARGS+=--without-ui PLIST_SUB+= UI="@comment " .endif .if ${PORT_OPTIONS:MSOUP} CONFIGURE_ARGS+=--with-libsoup LIB_DEPENDS+= libsoup-2.so:${PORTSDIR}/devel/libsoup PLIST_SUB+= WEB="" .else CONFIGURE_ARGS+=--without-libsoup PLIST_SUB+= WEB="@comment " .endif .if ${PORT_OPTIONS:MKEYRING} CONFIGURE_ARGS+=--with-gnome-keyring LIB_DEPENDS+= libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring .else CONFIGURE_ARGS+=--without-gnome-keyring .endif MAN1= gda-sql.1 gda-sql-4.0.1 .else USE_GNOME+= libgda4 .endif .if ${LIBGDA4_SLAVE}=="bdb" USE_BDB= yes CONFIGURE_ARGS+= --with-bdb=${LOCALBASE} .else CONFIGURE_ARGS+= --without-bdb .endif .if ${LIBGDA4_SLAVE}=="ldap" USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} .else CONFIGURE_ARGS+= --without-ldap .endif .if ${LIBGDA4_SLAVE}=="mysql" USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} .else CONFIGURE_ARGS+= --without-mysql .endif .if ${LIBGDA4_SLAVE}=="postgresql" USES+= pgsql CONFIGURE_ARGS+= --with-postgres=${LOCALBASE} .else CONFIGURE_ARGS+= --without-postgres .endif # MDB (MS Access) .if ${LIBGDA4_SLAVE}=="mdb" LIB_DEPENDS+= libmdbsql.so:${PORTSDIR}/databases/mdbtools CONFIGURE_ARGS+= --with-mdb=${LOCALBASE} .else CONFIGURE_ARGS+= --without-mdb .endif .if ${LIBGDA4_SLAVE}=="jdbc" USE_JAVA= yes JAVA_VERSION= 1.6 JAVA_VENDOR= openjdk .else CONFIGURE_ARGS+= --without-java .endif post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|"db.h|"db${BDB_VER}/db.h|g' \ -e 's|ldb47|l${BDB_LIB_NAME}|g' \ -e 's|ldb|l${BDB_LIB_NAME}|g' \ -e 's|libdb|lib${BDB_LIB_NAME}|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|||' \ - ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ + ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ ${WRKSRC}/providers/bdb/gda-bdb-test.c .if ${LIBGDA4_SLAVE}!="no" #. for d in msql firebird odbc freetds mdb ldap mysql sqlite postgres . for d in bdb jdbc mdb mysql postgres reuseable/postgres reuseable/mysql ldap @${REINPLACE_CMD} -e 's|$$(top_builddir)/libgda/libgda-4.0.la|-lgda-4.0|g' \ ${WRKSRC}/providers/${d}/Makefile.in . endfor .endif pre-build: .if ${LIBGDA4_SLAVE}=="postgresql" cd ${WRKSRC}/providers/reuseable/postgres && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-postgres.la .endif .if ${LIBGDA4_SLAVE}=="mysql" cd ${WRKSRC}/providers/reuseable/mysql && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-mysql.la .endif .if ${LIBGDA4_SLAVE}=="no" post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config \ ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config.sample .endif .include .endif Index: head/databases/libgda5/Makefile =================================================================== --- head/databases/libgda5/Makefile (revision 412341) +++ head/databases/libgda5/Makefile (revision 412342) @@ -1,152 +1,152 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= libgda PORTVERSION?= 5.2.4 PORTREVISION?= 0 CATEGORIES= databases gnome MASTER_SITES= GNOME PKGNAMESUFFIX?= 5 DIST_SUBDIR= gnome3 MAINTAINER?= gnome@FreeBSD.org COMMENT?= Provides uniform access to different kinds of data sources USES= tar:xz LIBGDA5_SLAVE?= no .if !defined(REFERENCE_PORT) BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib USES+= gettext gmake libtool pathfix pkgconfig USE_GNOME= glib20 libxslt intlhack referencehack USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip #MAKE_JOBS_UNSAFE=yes CONFIGURE_ARGS= --without-oracle \ --disable-crypto \ --disable-default-binary \ --enable-introspection CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib .include VERSION= 5.0 PLIST_SUB= VERSION=${VERSION} .if ${LIBGDA5_SLAVE}!="no" USE_GNOME+= libgda5 .endif .if ${LIBGDA5_SLAVE}==ui CONFIGURE_ARGS+=--with-ui USE_GNOME+= gtk30 gnomedocutils INSTALLS_ICONS= yes .else CONFIGURE_ARGS+=--without-ui .endif .if ${LIBGDA5_SLAVE}==bdb USE_BDB= 5 CONFIGURE_ARGS+= --with-bdb=${LOCALBASE} .else CONFIGURE_ARGS+= --without-bdb .endif .if ${LIBGDA5_SLAVE}==ldap USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} .else CONFIGURE_ARGS+= --without-ldap .endif .if ${LIBGDA5_SLAVE}==mysql USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} .else CONFIGURE_ARGS+= --without-mysql .endif .if ${LIBGDA5_SLAVE}==postgresql USES+= pgsql CONFIGURE_ARGS+= --with-postgres=${LOCALBASE} .else CONFIGURE_ARGS+= --without-postgres .endif # MDB (MS Access) .if ${LIBGDA5_SLAVE}==mdb LIB_DEPENDS+= libmdbsql.so:${PORTSDIR}/databases/mdbtools CONFIGURE_ARGS+= --with-mdb=${LOCALBASE} .else CONFIGURE_ARGS+= --without-mdb .endif .if ${LIBGDA5_SLAVE}==jdbc USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_VENDOR= bsdjava openjdk CFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd .else CONFIGURE_ARGS+= --without-java .endif post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|"db.h|"db${BDB_VER}/db.h|g' \ -e 's|ldb47|l${BDB_LIB_NAME}|g' \ -e 's|ldb|l${BDB_LIB_NAME}|g' \ -e 's|libdb|lib${BDB_LIB_NAME}|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|||' \ - ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ + ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ ${WRKSRC}/providers/bdb/gda-bdb-test.c .if ${LIBGDA5_SLAVE} == jdbc @${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH}|g' \ ${WRKSRC}/getsp.java .endif .if ${LIBGDA5_SLAVE}!="no" @${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} \ -e 's|$$(top_builddir)/libgda/libgda-5.0.la|-lgda-5.0|g' \ -e 's|../libgda/libgda-5.0.la|-lgda-5.0|g' \ {} \; .endif .if ${LIBGDA5_SLAVE} == jdbc pre-configure: @cd ${WRKSRC} && ${LOCALBASE}/bin/javac getsp.java .endif pre-build: .if ${LIBGDA5_SLAVE}==postgresql cd ${WRKSRC}/providers/reuseable/postgres && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-postgres.la .endif .if ${LIBGDA5_SLAVE}==mysql cd ${WRKSRC}/providers/reuseable/mysql && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-mysql.la .endif .if ${LIBGDA5_SLAVE}==ui cd ${WRKSRC}/libgda && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} gda-enum-types.h .endif .if ${LIBGDA5_SLAVE}==no post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config \ ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config.sample .endif .if ${LIBGDA5_SLAVE}==ui post-install: ${INSTALL_DATA} ${WRKSRC}/libgda-ui-5.0.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ .endif .include .endif Index: head/databases/mysql57-server/Makefile =================================================================== --- head/databases/mysql57-server/Makefile (revision 412341) +++ head/databases/mysql57-server/Makefile (revision 412342) @@ -1,135 +1,135 @@ # Created by: "Mahdi Mokhtari " # $FreeBSD$ PORTNAME= mysql PORTVERSION= 5.7.10 PORTREVISION?= 3 CATEGORIES= databases ipv6 MASTER_SITES= MYSQL/MySQL-5.7:MySQL SF/boost/boost/1.59.0:boost PKGNAMESUFFIX?= 57-server DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:MySQL boost_1_59_0.tar.gz:boost MAINTAINER= mokhi64@gmail.com COMMENT= Multithreaded SQL database (server) LICENSE= GPLv2 SLAVEDIRS= databases/mysql57-client USES= cmake:outsource shebangfix OPTIONS_RADIO= SSL OPTIONS_RADIO_SSL= BUNDLED_SSL OPENSSL WITHOUT_SSL OPTIONS_DEFAULT+= OPENSSL NO_OPTIONS_SORT= yes BUNDLED_SSL_DESC= SSL/TLS support via (bundled) CyaSSL WITHOUT_SSL_DESC= No SSL/TLS support CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR="share/mysql/tests" \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DLOCAL_BOOST_DIR=${WRKDIR}/boost_1_59_0 \ -DBOOST_INCLUDE_DIR=${WRKDIR}/boost_1_59_0 \ -DWITH_INNODB_EXTRA_DEBUG=0 SHEBANG_FILES= scripts/*.pl* scripts/*.sh .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif BUNDLED_SSL_CMAKE_ON= -DWITH_SSL=bundled OPENSSL_USE= OPENSSL=yes WITHOUT_SSL_CMAKE_ON= -DWITH_SSL=no # MySQL-Server part .if !defined(CLIENT_ONLY) USE_MYSQL= yes WANT_MYSQL_VER= 57 USES+= bison:build cpe perl5 USE_PERL5= run CONFLICTS_INSTALL= mariadb[0-9]*-server-* \ mysql[0-46-9][0-689]-server-* \ percona[0-9]*-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin MMAN1= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ mysql.server.1 mysql_convert_table_format.1 mysql_fix_extensions.1 \ mysql_install_db.1 mysql_plugin.1 mysql_secure_installation.1 mysql_setpermission.1 \ - mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ + mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" OPTIONS_GROUP= STORAGE OPTIONS_GROUP_STORAGE= ARCHIVE BLACKHOLE EXAMPLE FEDERATED INNOBASE PARTITION PERFSCHEMA OPTIONS_SUB= YES STORAGE_DESC= Permissible "Storage Engines" (to compile statically into the server) ARCHIVE_DESC= Compile "Archive Storage" statically in server BLACKHOLE_DESC= Compile "Blackhole Storage" statically in server EXAMPLE_DESC= Compile "Example Storage" statically in server FEDERATED_DESC= Compile "Federated Storage" statically in server INNOBASE_DESC= Compile "InnoDB Storage" statically in server PARTITION_DESC= Compile "Partitioning support Storage" statically in server PERFSCHEMA_DESC= Compile "Performance Schema Storage" statically in server ARCHIVE_CMAKE_ON= -DWITH_ARCHIVE_STORAGE_ENGINE=1 BLACKHOLE_CMAKE_ON= -DWITH_BLACKHOLE_STORAGE_ENGINE=1 EXAMPLE_CMAKE_ON= -DWITH_EXAMPLE_STORAGE_ENGINE=1 FEDERATED_CMAKE_ON= -DWITH_FEDERATED_STORAGE_ENGINE=1 INNOBASE_CMAKE_ON= -DWITH_INNOBASE_STORAGE_ENGINE=1 PARTITION_CMAKE_ON= -DWITH_PARTITION_STORAGE_ENGINE=1 PERFSCHEMA_CMAKE_ON= -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 OPTIONS_GROUP+= FEATURES OPTIONS_GROUP_FEATURES= PERFSCHM FEATURES_DESC= Default features knobs PERFSCHM_DESC= Enable "Performance Schema" by default (High RAM usage) OPTIONS_DEFAULT+= PERFSCHM PERFSCHM_SUB_LIST+= PERFSCHEMRC="" PERFSCHM_SUB_LIST_OFF+= PERFSCHEMRC="--skip-performance-schema" .else USES+= readline .endif .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 CC= clang CXX= clang++ CPP= clang-cpp OPENSSL_CMAKE_ON= -DWITH_SSL=system .elif ${OSVERSION} >= 1000000 OPENSSL_CMAKE_ON= -DWITH_SSL=yes .endif post-extract: @${RM} -rvf ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h post-patch: @${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt .include Index: head/databases/p5-DBIx-Dump/Makefile =================================================================== --- head/databases/p5-DBIx-Dump/Makefile (revision 412341) +++ head/databases/p5-DBIx-Dump/Makefile (revision 412342) @@ -1,22 +1,22 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= DBIx-Dump PORTVERSION= 0.04 PORTREVISION= 2 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Module for dumping database (DBI) data into a variety of formats BUILD_DEPENDS= p5-DBI>=1.57:${PORTSDIR}/databases/p5-DBI RUN_DEPENDS:= ${BUILD_DEPENDS} \ - p5-Spreadsheet-WriteExcel>=0:${PORTSDIR}/textproc/p5-Spreadsheet-WriteExcel \ + p5-Spreadsheet-WriteExcel>=0:${PORTSDIR}/textproc/p5-Spreadsheet-WriteExcel \ p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS USES= perl5 USE_PERL5= configure .include Index: head/databases/p5-DBIx-Sunny/Makefile =================================================================== --- head/databases/p5-DBIx-Sunny/Makefile (revision 412341) +++ head/databases/p5-DBIx-Sunny/Makefile (revision 412342) @@ -1,30 +1,30 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= DBIx-Sunny PORTVERSION= 0.22 PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Simple DBI wrapper supports SQLite and MySQL LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-DBI>=1.615:${PORTSDIR}/databases/p5-DBI \ p5-Class-Accessor-Lite>=0.05:${PORTSDIR}/devel/p5-Class-Accessor-Lite \ p5-Class-Data-Inheritable>=0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ p5-DBIx-TransactionManager>=0:${PORTSDIR}/databases/p5-DBIx-TransactionManager \ p5-Data-Validator>=0:${PORTSDIR}/devel/p5-Data-Validator RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-DBD-SQLite>=1.31:${PORTSDIR}/databases/p5-DBD-SQLite \ p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires \ - p5-Capture-Tiny>=0:${PORTSDIR}/devel/p5-Capture-Tiny + p5-Capture-Tiny>=0:${PORTSDIR}/devel/p5-Capture-Tiny USES= perl5 USE_PERL5= modbuild .include Index: head/databases/rubygem-dm-serializer/Makefile =================================================================== --- head/databases/rubygem-dm-serializer/Makefile (revision 412341) +++ head/databases/rubygem-dm-serializer/Makefile (revision 412342) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= dm-serializer PORTVERSION= 1.2.2 CATEGORIES= databases rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= DataMapper plugin for serializing Resources and Collections LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-dm-core>=1.2.0:${PORTSDIR}/databases/rubygem-dm-core \ rubygem-fastercsv>=1.5:${PORTSDIR}/devel/rubygem-fastercsv \ - rubygem-json>=1.6:${PORTSDIR}/devel/rubygem-json \ + rubygem-json>=1.6:${PORTSDIR}/devel/rubygem-json \ rubygem-json_pure>=1.6:${PORTSDIR}/devel/rubygem-json_pure \ rubygem-multi_json>=1.0:${PORTSDIR}/devel/rubygem-multi_json NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes .include Index: head/deskutils/vit/Makefile =================================================================== --- head/deskutils/vit/Makefile (revision 412341) +++ head/deskutils/vit/Makefile (revision 412342) @@ -1,39 +1,39 @@ # Created by: gahr # $FreeBSD$ PORTNAME= vit PORTVERSION= 1.2 CATEGORIES= deskutils MASTER_SITES= http://taskwarrior.org/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Curses-based interface to taskwarrior LICENSE= GPLv3 RUN_DEPENDS= p5-Curses>=0:${PORTSDIR}/devel/p5-Curses \ - p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \ + p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \ task:${PORTSDIR}/deskutils/taskwarrior BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 shebangfix SHEBANG_FILES= vit.pl GNU_CONFIGURE= yes ALL_TARGET= build PLIST_FILES= bin/vit \ etc/vit-commands \ man/man1/vit.1.gz \ man/man5/vitrc.5.gz post-patch: ${REINPLACE_CMD} -e '1774,1778d' \ ${WRKSRC}/${CONFIGURE_SCRIPT} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/vit ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/commands ${STAGEDIR}${PREFIX}/etc/vit-commands ${INSTALL_MAN} ${WRKSRC}/vit.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/vitrc.5 ${STAGEDIR}${PREFIX}/man/man5 .include Index: head/devel/bmake/Makefile =================================================================== --- head/devel/bmake/Makefile (revision 412341) +++ head/devel/bmake/Makefile (revision 412342) @@ -1,46 +1,46 @@ # Created by: Mikolaj Golub # $FreeBSD$ PORTNAME= bmake PORTVERSION= 20160307 CATEGORIES= devel MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg/ \ http://www.gtlib.cc.gatech.edu/pub/NetBSD/misc/sjg/ \ ftp://ftp.uk.netbsd.org/pub/NetBSD/misc/sjg/ \ ftp://ftp.de.netbsd.org/pub/NetBSD/misc/sjg/ DISTFILES= bmake-${PORTVERSION}.tar.gz mk-20151111.tar.gz MAINTAINER= trociny@FreeBSD.org COMMENT= Portable version of NetBSD 'make' utility LICENSE= BSD3CLAUSE PORTSCOUT= skipv:200910007 WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: .SILENT ${REINPLACE_CMD} 's/^\.Nx/NetBSD/' ${WRKDIR}/bmake/bmake.1 do-build: ${SETENV} ${MAKE_ENV} ${SH} ${WRKDIR}/bmake/boot-strap \ --with-default-sys-path='.../share/mk:${PREFIX}/share/mk' \ -m ${WRKDIR}/mk objdir=${WRKDIR}/obj prefix=${PREFIX} do-install: ${INSTALL_PROGRAM} ${WRKDIR}/obj/bmake ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/bmake/bmake.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${SH} ${WRKDIR}/mk/install-mk ${STAGEDIR}${PREFIX}/share/mk cd ${STAGEDIR}${PREFIX} ; \ ${FIND} share/mk -type f -o -type l \ - | ${SORT} \ - >${WRKDIR}/PLIST.share-mk + | ${SORT} \ + >${WRKDIR}/PLIST.share-mk ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script ${ECHO_CMD} "/Insert PLIST.share-mk" >> ${WRKDIR}/ex.script ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-mk" >> ${WRKDIR}/ex.script ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-mk cd ${WRKDIR} ; ex < ex.script .include Index: head/devel/cdash/Makefile =================================================================== --- head/devel/cdash/Makefile (revision 412341) +++ head/devel/cdash/Makefile (revision 412342) @@ -1,56 +1,56 @@ # Created by: gahr # $FreeBSD$ PORTNAME= cdash PORTVERSION= 2.2.3 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.cdash.org/wp-content/uploads/2014/11/ DISTNAME= CDash-2-2-3 MAINTAINER= ports@FreeBSD.org COMMENT= Web-based software testing server LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt USES= dos2unix cmake:outsource zip DOS2UNIX_GLOB= *.php *.xml *.xsl *.txt CMAKE_ARGS= -DCDASH_DB_NAME:STRING=cdash \ - -DCDASH_DB_LOGIN:STRING=cdash \ - -DCDASH_DB_TYPE:STRING=${DB_TYPE} + -DCDASH_DB_LOGIN:STRING=cdash \ + -DCDASH_DB_TYPE:STRING=${DB_TYPE} USE_PHP= curl gd pdo session xsl zlib NO_ARCH= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/./-/g} PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message SUB_LIST= DB_TYPE=${DB_TYPE} OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL OPTIONS_DEFAULT=MYSQL .include .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes USE_PHP+= pdo_mysql DB_TYPE= mysql .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql USE_PHP+= pgsql pdo_pgsql DB_TYPE= pgsql .endif do-install: ${MKDIR} ${WRKSRC}/rss ${CP} ${WRKSRC}/backup/.htaccess ${WRKSRC}/rss/.htaccess ${MKDIR} ${STAGEDIR}${PREFIX}/www/CDash ${FIND} ${WRKSRC} -name "*.orig" -delete ${MV} ${WRKSRC}/cdash/config.local.php ${WRKSRC}/cdash/config.local.sample.php cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/www/CDash .include Index: head/devel/cmake/Makefile =================================================================== --- head/devel/cmake/Makefile (revision 412341) +++ head/devel/cmake/Makefile (revision 412342) @@ -1,71 +1,71 @@ # Created by: Kyle Martin # $FreeBSD$ PORTNAME= cmake PORTVERSION= 3.5.0 PORTREVISION?= 0 CATEGORIES= devel MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/ MAINTAINER= kde@FreeBSD.org COMMENT?= Cross-platform Makefile generator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Copyright.txt USE_KDE4= # env CONFIGURE_ENV= MAKE=make CONFIGURE_ARGS= --prefix=${PREFIX} \ --datadir="/${DATADIR_REL}" \ --docdir="/${DOCSDIR_REL}" \ --system-libs \ --parallel=${MAKE_JOBS_NUMBER} \ --init="${PATCHDIR}/InitialCache.cmake" .if !defined(CMAKE_MODULES) OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes USES+= libarchive HAS_CONFIGURE= yes LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libexpat.so:${PORTSDIR}/textproc/expat2 \ libjsoncpp.so:${PORTSDIR}/devel/jsoncpp RUN_DEPENDS= ${LOCALBASE}/share/cmake/Modules/CMake.cmake:${PORTSDIR}/devel/cmake-modules MANPAGES_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx MANPAGES_CONFIGURE_ON= --sphinx-man .endif .include .if defined(STRIP) && ${STRIP} != "" && !defined(WITH_DEBUG) INSTALL_TARGET= install/strip .endif post-patch: @(${FIND} ${WRKSRC}/Modules -name "*.cmake" -print0; \ ${FIND} ${WRKSRC}/Tests -name "CMakeLists.txt" -print0 ) | \ ${XARGS} -0 -n 100 ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g; \ s,/usr/X11R6,${LOCALBASE},g' @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${WRKSRC}/Source/cmLocalGenerator.cxx \ ${WRKSRC}/Source/CPack/cmCPackGenerator.cxx \ ${WRKSRC}/bootstrap @${REINPLACE_CMD} -e 's,/opt/kde4,${KDE4_PREFIX},g' \ ${WRKSRC}/Modules/FindKDE4.cmake @${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,' \ - ${WRKSRC}/Modules/FindDCMTK.cmake + ${WRKSRC}/Modules/FindDCMTK.cmake @${FIND} ${WRKSRC} -name "*.bak" -delete -o -name "*.orig" -delete # cmake-gui(1) is installed by devel/cmake-gui. Remove the man page's source to # prevent it from being built/installed by devel/cmake. ${RM} ${WRKSRC}/Help/manual/cmake-gui.1.rst .if !defined(CMAKE_MODULES) post-install: ${INSTALL_DATA} ${WRKSRC}/Auxiliary/cmake-mode.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp .endif .include Index: head/devel/cons-test/Makefile =================================================================== --- head/devel/cons-test/Makefile (revision 412341) +++ head/devel/cons-test/Makefile (revision 412342) @@ -1,60 +1,60 @@ # Created by: rv@FreeBSD.org # $FreeBSD$ PORTNAME= cons-test PORTVERSION= 2.2.0 PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://www.dsmit.com/cons/stable/ \ http://www.gnu.org/software/cons/stable/ \ ftp://ftp.gnu.org/pub/old-gnu/cons/ \ http://www.baldmt.com/cons/stable/ MAINTAINER= ports@FreeBSD.org COMMENT= Test bed for `Cons' development LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${LOCALBASE}/bin/cons:${PORTSDIR}/devel/cons USES= perl5 tar:tgz WRKSRC= ${WRKDIR}/cons-${PORTVERSION}/test NO_BUILD= yes NO_ARCH= yes PLIST_SUB= CONS_VER="${PORTVERSION}" CONS_TEST="${CONS_TEST}" DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-test//}-${PORTVERSION}/test CONS_TEST= cons-${PORTVERSION}/test PORTDOCS= CHANGES COPYRIGHT README TODO Tests.txt TESTS= 1..83,101..147 TEST_LIBS= Cmd.pm Cons.pm OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's:/usr/lib:${PREFIX}/lib:g' \ ${WRKSRC}/cons-test do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cons-test ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${CONS_TEST}/t ${PERL} -e 'for (${TESTS}) {$$f=sprintf "t%04d.t", $$_;\ $$x= "${INSTALL_DATA} ${WRKSRC}/t/$$f \ - ${STAGEDIR}${PREFIX}/lib/${CONS_TEST}/t";\ + ${STAGEDIR}${PREFIX}/lib/${CONS_TEST}/t";\ printf "$$x\n"; system $$x;}' @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${CONS_TEST}/Test/Cmd ${INSTALL_DATA} ${WRKSRC}/Test/Cmd.pm \ ${STAGEDIR}${PREFIX}/lib/${CONS_TEST}/Test ${INSTALL_DATA} ${WRKSRC}/Test/Cmd/Cons.pm \ ${STAGEDIR}${PREFIX}/lib/${CONS_TEST}/Test/Cmd ${INSTALL_MAN} ${WRKSRC}/cons-test.1.gz \ ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/devel/cvsdadm/Makefile =================================================================== --- head/devel/cvsdadm/Makefile (revision 412341) +++ head/devel/cvsdadm/Makefile (revision 412342) @@ -1,42 +1,42 @@ # Created by: Serge Gagnon # $FreeBSD$ PORTNAME= cvsdadm PORTVERSION= 0.3.2 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/ \ - SAVANNAH + SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Tool for CVSd pserver user administration LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE WRKSRC= ${WRKDIR}/${PORTNAME} USES= shebangfix perl5 NO_BUILD= yes NO_ARCH= yes USE_PERL5= run POD2TEXT?= pod2text PORTDOCS= cvsdadm.README SHEBANG_FILES= cvsdadm PLIST_FILES= bin/cvsdadm \ man/man1/cvsdadm.1.gz OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cvsdadm ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cvsdadm.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${POD2TEXT} ${WRKSRC}/cvsdadm > ${WRKSRC}/${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/devel/dcmtk/Makefile =================================================================== --- head/devel/dcmtk/Makefile (revision 412341) +++ head/devel/dcmtk/Makefile (revision 412342) @@ -1,50 +1,50 @@ # Created by: gahr # $FreeBSD$ PORTNAME= dcmtk DISTVERSION= 3.6.0 PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= ftp://dicom.offis.de/pub/dicom/offis/software/${PORTNAME}/${PORTNAME}${PORTVERSION:S/.//g}/ MAINTAINER= ports@FreeBSD.org COMMENT= Toolkit to work with DICOM objects LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ - libpng.so:${PORTSDIR}/graphics/png + libpng.so:${PORTSDIR}/graphics/png USE_GNOME= libxml2 USE_LDCONFIG= yes USE_OPENSSL= yes USES= cmake:outsource jpeg CMAKE_ARGS+= -DDCMTK_WITH_DOXYGEN:BOOL=OFF \ - -DDCMTK_WITH_OPENSSL:BOOL=ON + -DDCMTK_WITH_OPENSSL:BOOL=ON SHLIBS= dcmdata dcmdsig dcmimage dcmimgle dcmjpeg dcmnet \ dcmpstat dcmqrdb dcmsr dcmtls dcmwlm ijg8 ijg12 \ ijg16 i2d ofstd oflog charls dcmjpls SHLIBVER= ${PORTVERSION:R:R} PLIST_SUB= SHLIBVER=${SHLIBVER} PORTDOCS= * OPTIONS_DEFINE= DOCS CFLAGS_amd64= -fPIC post-patch: ${FIND} ${WRKSRC} -name "*.h.orig" -delete post-patch-DOCS-off: ${FIND} ${WRKSRC} -name CMakeLists.txt | ${XARGS} \ ${REINPLACE_CMD} -e '/INSTALL_DOCDIR/d' post-install: ${INSTALL_DATA} ${WRKSRC}/doxygen/manpages/man1/*.1 ${STAGEDIR}${PREFIX}/man/man1/ .for shlib in ${SHLIBS} @${MV} ${STAGEDIR}${PREFIX}/lib/lib${shlib}.so ${STAGEDIR}${PREFIX}/lib/lib${shlib}.so.${SHLIBVER} @${LN} -sf ${PREFIX}/lib/lib${shlib}.so.${SHLIBVER} ${STAGEDIR}${PREFIX}/lib/lib${shlib}.so .endfor .include Index: head/devel/eggdbus/Makefile =================================================================== --- head/devel/eggdbus/Makefile (revision 412341) +++ head/devel/eggdbus/Makefile (revision 412342) @@ -1,34 +1,34 @@ # Created by: Koop Mast # $FreeBSD$ # $MCom: ports/devel/eggdbus/Makefile,v 1.3 2009/11/24 01:46:27 marcus Exp $ PORTNAME= eggdbus PORTVERSION= 0.6 PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://hal.freedesktop.org/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= D-Bus bindings for GObject LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib USE_GNOME= glib20 USES= gettext gmake libtool:keepla pathfix pkgconfig MAKE_JOBS_UNSAFE=yes GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --localstatedir=/var CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib BUILD_DEPENDS+= docbook-sgml>0:${PORTSDIR}/textproc/docbook-sgml \ - xsltproc:${PORTSDIR}/textproc/libxslt \ + xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl post-patch: @${REINPLACE_CMD} -e 's|-Wl,--as-needed||' \ - ${WRKSRC}/configure + ${WRKSRC}/configure .include Index: head/devel/gitlist/Makefile =================================================================== --- head/devel/gitlist/Makefile (revision 412341) +++ head/devel/gitlist/Makefile (revision 412342) @@ -1,48 +1,48 @@ # Created by: Andre Rikkert de Koe - ARK-ICT # $FreeBSD$ PORTNAME= gitlist PORTVERSION= 0.5.0 CATEGORIES= devel www MASTER_SITES= https://s3.amazonaws.com/gitlist/ \ http://freebsd.ark-ict.nl/ports/ MAINTAINER= andre@ark-ict.nl COMMENT= Web based Git repository browser written in PHP LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= git:${PORTSDIR}/devel/git PLIST= ${WRKDIR}/plist WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes WANT_PHP_WEB= yes USERS?= ${WWWOWN} GROUPS?= ${WWWGRP} SUB_FILES= pkg-message post-patch: ${MKDIR} ${WRKSRC}/cache cd ${WRKSRC}; \ ${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ - ${FIND} . ! -type d | ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," > ${PLIST}; + ${FIND} . ! -type d | ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," > ${PLIST}; ${ECHO} "@dir %%WWWDIR%%/vendor/phpmd/phpmd/setup" >> ${PLIST} ${ECHO} "@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%/cache" >> ${PLIST} do-install: cd ${WRKSRC}; \ IFS="$$(printf '\n\t')"; \ for src in $$( ${FIND} . ); do \ dst="${STAGEDIR}${WWWDIR}$${src#.}"; \ if ${TEST} -d "$$src"; then \ ${MKDIR} "$$dst"; \ else \ ${INSTALL_DATA} "$$src" "$$dst"; \ fi \ done .include Index: head/devel/glib20-reference/Makefile =================================================================== --- head/devel/glib20-reference/Makefile (revision 412341) +++ head/devel/glib20-reference/Makefile (revision 412342) @@ -1,21 +1,21 @@ # Created by: Jean-Yves Lefort # $FreeBSD$ PORTREVISION= 0 BOOKS= glib gobject gio do-install: .for d in ${BOOKS} if [ -d ${REFERENCE_SRC}/${d}/html ]; then \ - ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${d}; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${d}; \ cd ${REFERENCE_SRC}/${d}/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/${d}; \ fi .endfor # overwrite this from bsd.port.mk, because we not don't honow DOCSDIR add-plist-docs: @${DO_NADA} .include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk" Index: head/devel/gnome-vfsmm/Makefile =================================================================== --- head/devel/gnome-vfsmm/Makefile (revision 412341) +++ head/devel/gnome-vfsmm/Makefile (revision 412342) @@ -1,32 +1,32 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ # $MCom: ports/devel/gnome-vfsmm/Makefile,v 1.31 2009/03/17 15:22:21 kwm Exp $ PORTNAME= gnome-vfsmm PORTVERSION= 2.26.0 PORTREVISION= 5 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= bland@FreeBSD.org COMMENT= C++ wrapper for gnomevfs2 library BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 USES= gmake libtool:keepla pathfix pkgconfig tar:bzip2 USE_GNOME= glibmm gnomevfs2 GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip PLIST_SUB= VERSION="2.6" API_VERSION="2.6" post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples// ; \ - /^SUBDIRS =/s/docs//' \ + /^SUBDIRS =/s/docs//' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|\(-lglibmm\)|-L\$$(GMM_PROCDIR)/../.. \1|" \ ${WRKSRC}/tools/extra_defs_gen/Makefile.in .include Index: head/devel/go-json-rest/Makefile =================================================================== --- head/devel/go-json-rest/Makefile (revision 412341) +++ head/devel/go-json-rest/Makefile (revision 412342) @@ -1,27 +1,27 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= go-json-rest PORTVERSION= 1.0.0 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= GH \ 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 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} + ${STAGEDIR}${PREFIX}/${GO_LIBDIR}/${GO_PKGNAME} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/go-sql-driver/Makefile =================================================================== --- head/devel/go-sql-driver/Makefile (revision 412341) +++ head/devel/go-sql-driver/Makefile (revision 412342) @@ -1,22 +1,22 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= go-sql-driver PORTVERSION= 1.1 DISTVERSIONPREFIX= v CATEGORIES= devel MASTER_SITES= GH \ - http://mirrors.rit.edu/zi/ + http://mirrors.rit.edu/zi/ MAINTAINER= lattera@gmail.com COMMENT= Lightweight and fast MySQL driver for go USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_PROJECT= mysql GO_PKGNAME= github.com/${PORTNAME}/${GH_PROJECT} .include .include "${PORTSDIR}/lang/go/files/bsd.go.mk" .include Index: head/devel/gsoap/Makefile =================================================================== --- head/devel/gsoap/Makefile (revision 412341) +++ head/devel/gsoap/Makefile (revision 412342) @@ -1,46 +1,46 @@ # Created by: Sergey Matveychuk # $FreeBSD$ PORTNAME= gsoap PORTVERSION= 2.8.29 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}2/gSOAP DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Generator Tools for Coding SOAP/XML Web Services in C and C++ LICENSE= GPLv2 CONFIGURE_ENV= LEX=flex YACC=yacc GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes USES= autoreconf pathfix zip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} OPTIONS_RADIO= SSL OPTIONS_RADIO_SSL= GNUTLS OPENSSL OPTIONS_DEFAULT= OPENSSL GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ - libgcrypt.so:${PORTSDIR}/security/libgcrypt \ + libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libgpg-error.so:${PORTSDIR}/security/libgpg-error GNUTLS_CONFIGURE_ON= --enable-gnutls GNUTLS_LDFLAGS= -L${LOCALBASE}/lib OPENSSL_CONFIGURE_ENABLE= ssl post-patch: @${REINPLACE_CMD} -e 's| sys/timeb.h | |' \ -e 's|-DSOAPCPP_IMPORT_PATH=|-DSOAPCPP2_IMPORT_PATH=|' \ -e 's|-DWSDL_IMPORT_PATH=|-DWSDL2H_IMPORT_PATH=|' \ ${WRKSRC}/${CONFIGURE_SCRIPT} ${REINPLACE_CMD} -e 's|$$(libdir)|$$(libdir)data|' \ ${WRKSRC}/Makefile.am post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/gsoap ${INSTALL_DATA} ${WRKSRC}/gsoap/stdsoap2.c ${WRKSRC}/gsoap/dom.cpp \ ${STAGEDIR}${PREFIX}/lib/gsoap @${LN} -fs stdsoap2.c ${STAGEDIR}${PREFIX}/lib/gsoap/stdsoap2.cpp @${LN} -fs dom.cpp ${STAGEDIR}${PREFIX}/lib/gsoap/dom.c .include Index: head/devel/libqxt/Makefile =================================================================== --- head/devel/libqxt/Makefile (revision 412341) +++ head/devel/libqxt/Makefile (revision 412342) @@ -1,73 +1,73 @@ # Created by: gahr # $FreeBSD$ PORTNAME= libqxt PORTVERSION= 0.6.2 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://dev.libqxt.org/libqxt/get/ DISTNAME= v${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Extension library for Qt BROKEN= unfetchable BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash USE_BDB= 44+ USES= tar:bzip2 USE_QT4= qmake_build moc_build rcc_build corelib gui gui \ designer USE_LDCONFIG= ${PREFIX}/lib/qxt QT_NONSTANDARD= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -prefix ${PREFIX} \ -libdir ${PREFIX}/lib/qxt \ -qmake-bin ${QMAKE} \ -featuredir ${PREFIX}/${QT_MKSPECDIR_REL}/features \ -I ${BDB_INCLUDE_DIR} \ -I ${LOCALBASE}/include/avahi-compat-libdns_sd \ -L ${BDB_LIB_DIR} \ -verbose DESTDIRNAME= INSTALL_ROOT COMMIT= dadc327c2a6a WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-${COMMIT} PLIST_SUB+= SHVER_1=${PORTVERSION} \ - SHVER_2=${PORTVERSION:R} \ + SHVER_2=${PORTVERSION:R} \ SHVER_3=${PORTVERSION:R:R} OPTIONS_DEFAULT= AVAHI OPTIONS_SINGLE= ZEROCONF OPTIONS_SINGLE_ZEROCONF= AVAHI MDNSRESPONDER AVAHI_LIB_DEPENDS= libdns_sd.so:${PORTSDIR}/net/avahi-libdns MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:${PORTSDIR}/net/mDNSResponder STRIP_FILES= lib/qxt/lib*.so.${PORTVERSION} \ ${QT_PLUGINDIR_REL}/designer/libQxtDesignerPlugins.so post-patch: ${REINPLACE_CMD} -e '\ s|/bin/bash|${LOCALBASE}/bin/bash|g; \ /^QXT_MODULES/s|docs||g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e \ 's,$$$$\[QT_INSTALL_PLUGINS\],${PREFIX}/${QT_PLUGINDIR_REL},' \ ${WRKSRC}/src/designer/designer.pro ${REINPLACE_CMD} -e '\ s|ldb|l${BDB_LIB_NAME} -L${BDB_LIB_DIR}|g; \ /INCLUDEPATH/s|\.|${BDB_INCLUDE_DIR}|g' \ ${WRKSRC}/config.tests/db/db.pro regression-test: cd ${WRKSRC}/tests && \ ${QMAKE} tests.pro && ${MAKE} && \ ${FIND} unit -type f -perm -0755 -exec {} \; post-install: ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,} .include Index: head/devel/libvirt/Makefile =================================================================== --- head/devel/libvirt/Makefile (revision 412341) +++ head/devel/libvirt/Makefile (revision 412342) @@ -1,159 +1,159 @@ # Created by: Jason Helfman # $FreeBSD$ PORTNAME= libvirt PORTVERSION= 1.3.2 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://libvirt.org/sources/ \ ftp://libvirt.org/libvirt/ MAINTAINER= novel@FreeBSD.org COMMENT= Toolkit to interact with virtualization capabilities LICENSE= LGPL3 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libxml2.so:${PORTSDIR}/textproc/libxml2 \ libssh2.so:${PORTSDIR}/security/libssh2 BUILD_DEPENDS= dnsmasq:${PORTSDIR}/dns/dnsmasq \ xsltproc:${PORTSDIR}/textproc/libxslt RUN_DEPENDS= dnsmasq:${PORTSDIR}/dns/dnsmasq \ dmidecode:${PORTSDIR}/sysutils/dmidecode OPTIONS_DEFINE= DOCS GNUTLS NLS QEMU SASL OPTIONS_DEFAULT= GNUTLS OPTIONS_DEFINE_amd64= XEN .if exists(/usr/sbin/bhyve) OPTIONS_DEFINE_amd64+= BHYVE OPTIONS_DEFAULT_amd64+= BHYVE .else PLIST_SUB+= BHYVE="@comment " CONFIGURE_ARGS+= --without-bhyve .endif QEMU_DESC= QEMU driver BHYVE_DESC= bhyve driver XEN_DESC= Xen support via libxl OPTIONS_SUB= yes BHYVE_CONFIGURE_WITH= bhyve QEMU_CONFIGURE_WITH= qemu yajl QEMU_CFLAGS= -I${LOCALBASE}/include QEMU_LIB_DEPENDS= libyajl.so:${PORTSDIR}/devel/yajl QEMU_RUN_DEPENDS= dmidecode:${PORTSDIR}/sysutils/dmidecode \ qemu-io:${PORTSDIR}/emulators/qemu-devel GNUTLS_CONFIGURE_ON= --with-gnutls=${LOCALBASE} GNUTLS_CONFIGURE_OFF= --without-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ON= --with-libintl-prefix=${LOCALBASE} SASL_CONFIGURE_WITH= sasl SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 XEN_CONFIGURE_WITH= libxl XEN_CFLAGS= -I${LOCALBASE}/include XEN_LIB_DEPENDS= libxenlight.so:${PORTSDIR}/sysutils/xen-tools VARDIR= /var USE_RC_SUBR= libvirtd virtlogd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-avahi \ --without-polkit \ --without-hal \ --without-udev \ --without-netcf \ --without-sysctl \ --without-lxc \ --without-uml \ --without-xen \ --without-login-shell \ --with-ssh2 \ --localstatedir=${VARDIR} # random_data fix can be removed when 8.x is eol CONFIGURE_ENV= ac_cv_type_struct_random_data="" # limit production release x.x.x PORTSCOUT= limit:\d+\.\d+\.\d+$$ LDFLAGS+= -L${LOCALBASE}/lib -fstack-protector USES= charsetfix cpe gmake libtool pathfix perl5 pkgconfig CPE_VENDOR= redhat USE_PERL5= build USE_LDCONFIG= yes INSTALL_TARGET= install-strip SHLIB_VER= 0.1003.${PORTVERSION:E} PLIST_SUB+= PORTVERSION="-${PORTVERSION}" \ SHLIB_VER=${SHLIB_VER} PORTDOCS= * SUB_FILES= pkg-message .include .if !${PLIST_SUB:MXEN} PLIST_SUB+= XEN="@comment " .endif CONF_FILES= \ libvirt-admin.conf \ libvirt.conf \ libvirtd.conf \ libxl.conf \ qemu.conf \ virtlockd.conf \ - virtlogd.conf + virtlogd.conf post-patch: @${REINPLACE_CMD} -e 's|ln -s ../default.xml|true|' \ -e 's|$$(DESTDIR)$$(confdir)/qemu/networks|${STAGEDIR}${EXAMPLESDIR}/networks|' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|cp $$(DESTDIR)|cp -f $$(DESTDIR)|' \ ${WRKSRC}/src/Makefile.in post-install: @${RMDIR} ${STAGEDIR}${EXAMPLESDIR}/networks/autostart @${MKDIR} ${STAGEDIR}${ETCDIR}/qemu/networks/autostart @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in AUTHORS ChangeLog INSTALL NEWS README TODO ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .for dir in run/libvirt/network \ run/libvirt/qemu \ run/libvirt/lockd \ log/libvirt/uml \ log/libvirt/qemu \ log/libvirt/lxc \ lib/libvirt/boot \ lib/libvirt/lockd/files \ lib/libvirt/images \ lib/libvirt/dnsmasq \ lib/libvirt/filesystems \ lib/libvirt/network \ lib/libvirt/qemu/channel/target \ cache/libvirt/qemu @${MKDIR} "${STAGEDIR}/${VARDIR}/${dir}" .endfor .for file in ${CONF_FILES} @if test -f ${STAGEDIR}${ETCDIR}/${file}; then \ ${MV} ${STAGEDIR}${ETCDIR}/${file} \ ${STAGEDIR}${ETCDIR}/${file}.sample; fi .endfor regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include Index: head/devel/newtonsoft-json/Makefile =================================================================== --- head/devel/newtonsoft-json/Makefile (revision 412341) +++ head/devel/newtonsoft-json/Makefile (revision 412342) @@ -1,45 +1,45 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # $FreeBSD$ PORTNAME= newtonsoft-json PORTVERSION= 6.0.5 CATEGORIES= devel MAINTAINER= bofh@FreeBSD.org COMMENT= Popular high-performance JSON framework for .NET LICENSE= MIT USES= mono USE_GITHUB= yes GH_ACCOUNT= JamesNK GH_PROJECT= Newtonsoft.Json SUB_FILES= Newtonsoft.Json.pc PLIST_FILES= lib/mono/Newtonsoft.Json/Newtonsoft.Json.dll \ lib/mono/gac/Newtonsoft.Json/6.0.0.0__b9a188c8922137c6/Newtonsoft.Json.dll \ lib/mono/gac/Newtonsoft.Json/6.0.0.0__b9a188c8922137c6/Newtonsoft.Json.dll.mdb \ libdata/pkgconfig/Newtonsoft.Json.pc do-build: (cd ${WRKSRC}/Src/Newtonsoft.Json && ${SETENV} ${MAKE_ENV} xbuild Newtonsoft.Json.csproj \ /property:SignAssembly=true \ /property:AssemblyOriginatorKeyFile=Dynamic.snk \ /property:Configuration=Release \ /property:DefineConstants='SIGNED NET45 TRACE') (cd ${WRKSRC}/Src/Newtonsoft.Json/bin/Release/Net45 && \ ${SETENV} ${MAKE_ENV} monodis Newtonsoft.Json.dll --output=Newtonsoft.Json.il) (cd ${WRKSRC}/Src/Newtonsoft.Json/bin/Release/Net45 && \ ${SETENV} ${MAKE_ENV} ilasm /dll /key:../../../Dynamic.snk Newtonsoft.Json.il) do-install: (cd ${WRKSRC}/Src/Newtonsoft.Json/bin/Release/Net45 && \ ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil \ - /root ${STAGEDIR}${PREFIX}/lib/ \ - /package Newtonsoft.Json /i Newtonsoft.Json.dll) + /root ${STAGEDIR}${PREFIX}/lib/ \ + /package Newtonsoft.Json /i Newtonsoft.Json.dll) (cd ${WRKDIR} && ${INSTALL_DATA} Newtonsoft.Json.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig) .include Index: head/devel/omniORB/Makefile =================================================================== --- head/devel/omniORB/Makefile (revision 412341) +++ head/devel/omniORB/Makefile (revision 412342) @@ -1,58 +1,58 @@ # Created by: ejc@bazzle.com # $FreeBSD$ PORTNAME= omniORB PORTVERSION= 4.2.1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Robust high performance CORBA ORB for C++ and Python LICENSE= GPLv2 CONFLICTS= omniORB41-4.1.* PLIST_SUB+= SONUM=${PORTVERSION:C/.*\.//} GNU_CONFIGURE= yes USE_OPENSSL= yes USES= gmake pkgconfig python tar:bzip2 USE_LDCONFIG= yes MAKEFILE= GNUmakefile CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} CONFIGURE_ARGS= --datadir=${DATADIR} --with-openssl=${OPENSSLBASE} \ --with-omniORB-config=${PREFIX}/etc/omniORB.cfg \ --with-omniNames-logdir=/var/log OPTIONS_DEFINE= DOCS STATIC OPTIONS_DEFAULT= DOCS STATIC OPTIONS_SUB= yes STATIC_CONFIGURE_OFF= --disable-static post-patch: @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#g' ${WRKSRC}/mk/beforeauto.mk.in @${REINPLACE_CMD} -e 's#%%STAGEDIR%%%%PREFIX%%#${STAGEDIR}${PREFIX}#g' \ - ${WRKSRC}/contrib/pkgconfig/GNUmakefile.in + ${WRKSRC}/contrib/pkgconfig/GNUmakefile.in post-install: @${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${STAGEDIR}${PYTHON_SITELIBDIR}/omniidl')" @${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${STAGEDIR}${PYTHON_SITELIBDIR}/omniidl_be')" ${INSTALL_DATA} ${WRKSRC}/sample.cfg ${STAGEDIR}${PREFIX}/etc/omniORB.cfg.sample @cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} *.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @cd ${WRKSRC}/man/man8 && ${INSTALL_MAN} *.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .for i in catior convertior omniMapper omniNames omnicpp nameclt omkdepend genior @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} .endfor .for i in libomniDynamic4.so.2.1 libomnisslTP4.so.2.1 libCOS4.so.2.1 \ libomniCodeSets4.so.2.1 libomniZIOPDynamic4.so.2.1 libomniZIOP4.so.2.1 \ libomniConnectionMgmt4.so.2.1 libomniORB4.so.2.1 libCOSDynamic4.so.2.1 \ libomnithread.so.4.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${i} .endfor @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_omniidlmodule.so.4.2 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} COPYING README.FIRST.txt README.unix.txt \ ReleaseNotes.txt ${STAGEDIR}${DOCSDIR} @${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${STAGEDIR}${DOCSDIR} - .include Index: head/devel/omniORB-4.1/Makefile =================================================================== --- head/devel/omniORB-4.1/Makefile (revision 412341) +++ head/devel/omniORB-4.1/Makefile (revision 412342) @@ -1,65 +1,65 @@ # Created by: ejc@bazzle.com # $FreeBSD$ PORTNAME= omniORB PORTVERSION= 4.1.7 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 41 MAINTAINER= ports@FreeBSD.org COMMENT= Robust high performance CORBA ORB for C++ and Python LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= omniORB-4.2.* PLIST_SUB+= SONUM=${PORTVERSION:C/.*\.//} GNU_CONFIGURE= yes USE_OPENSSL= yes USES= gmake pkgconfig python tar:bzip2 USE_LDCONFIG= yes MAKEFILE= GNUmakefile CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} CONFIGURE_ARGS= --datadir=${DATADIR} --with-openssl=${OPENSSLBASE} \ --with-omniORB-config=${PREFIX}/etc/omniORB.cfg \ --with-omniNames-logdir=/var/log OPTIONS_DEFINE= DOCS EXAMPLES STATIC OPTIONS_DEFAULT= DOCS EXAMPLES STATIC OPTIONS_SUB= yes STATIC_CONFIGURE_OFF= --disable-static BINS= catior convertior genior nameclt omkdepend omniMapper omniNames omnicpp .include pre-configure: ${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#g' ${WRKSRC}/mk/beforeauto.mk.in ${REINPLACE_CMD} -e 's#%%STAGEDIR%%%%PREFIX%%#${STAGEDIR}${PREFIX}#g' \ - ${WRKSRC}/contrib/pkgconfig/GNUmakefile.in + ${WRKSRC}/contrib/pkgconfig/GNUmakefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/_omniidlmodule.so ${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${STAGEDIR}${PYTHON_SITELIBDIR}/omniidl')" ${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${STAGEDIR}${PYTHON_SITELIBDIR}/omniidl_be')" cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} *.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 cd ${WRKSRC}/man/man8 && ${INSTALL_MAN} *.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .for bin in ${BINS} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${bin} .endfor .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} COPYING README.FIRST.txt README.unix \ ReleaseNotes.txt ${STAGEDIR}${DOCSDIR} ${TAR} cCf ${WRKSRC}/doc - . | ${TAR} xUCf ${STAGEDIR}${DOCSDIR} - .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/sample.cfg ${STAGEDIR}${EXAMPLESDIR}/omniORB.cfg .endif .include Index: head/devel/p5-JSON-Path/Makefile =================================================================== --- head/devel/p5-JSON-Path/Makefile (revision 412341) +++ head/devel/p5-JSON-Path/Makefile (revision 412342) @@ -1,24 +1,24 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= JSON-Path PORTVERSION= 0.205 PORTREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Search nested hashref/arrayref structures using JSONPath LICENSE= MIT BUILD_DEPENDS= p5-Exporter-Tiny>=0:${PORTSDIR}/devel/p5-Exporter-Tiny \ - p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ + p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ p5-LV>=0:${PORTSDIR}/devel/p5-LV RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/devel/p5-JSON-Schema/Makefile =================================================================== --- head/devel/p5-JSON-Schema/Makefile (revision 412341) +++ head/devel/p5-JSON-Schema/Makefile (revision 412342) @@ -1,28 +1,28 @@ # Created by: Tom Judge # $FreeBSD$ PORTNAME= JSON-Schema PORTVERSION= 0.016 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= tj@FreeBSD.org COMMENT= Validate JSON against a schema LICENSE= MIT BUILD_DEPENDS= p5-Exporter-Tiny>=0:${PORTSDIR}/devel/p5-Exporter-Tiny \ - p5-JSON>=2.0:${PORTSDIR}/converters/p5-JSON \ - p5-JSON-Path>=0:${PORTSDIR}/devel/p5-JSON-Path \ - p5-JSON-Hyper>=0:${PORTSDIR}/devel/p5-JSON-Hyper \ - p5-HTTP-Link-Parser>=0:${PORTSDIR}/www/p5-HTTP-Link-Parser \ + p5-JSON>=2.0:${PORTSDIR}/converters/p5-JSON \ + p5-JSON-Path>=0:${PORTSDIR}/devel/p5-JSON-Path \ + p5-JSON-Hyper>=0:${PORTSDIR}/devel/p5-JSON-Hyper \ + p5-HTTP-Link-Parser>=0:${PORTSDIR}/www/p5-HTTP-Link-Parser \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-autovivification>=0:${PORTSDIR}/devel/p5-autovivification \ p5-match-simple>=0:${PORTSDIR}/devel/p5-match-simple RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/devel/p5-POE-Component-RSSAggregator/Makefile =================================================================== --- head/devel/p5-POE-Component-RSSAggregator/Makefile (revision 412341) +++ head/devel/p5-POE-Component-RSSAggregator/Makefile (revision 412342) @@ -1,24 +1,24 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= POE-Component-RSSAggregator PORTVERSION= 1.11 PORTREVISION= 1 CATEGORIES= devel perl5 textproc MASTER_SITES= CPAN PKGNAMEPREFIX= p5- #DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/} MAINTAINER= perl@FreeBSD.org COMMENT= Watch Muliple RSS Feeds for New Headlines BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-XML-RSS-Feed>=0:${PORTSDIR}/textproc/p5-XML-RSS-Feed \ - p5-POE-Component-Client-DNS>=0.98:${PORTSDIR}/dns/p5-POE-Component-Client-DNS \ - p5-POE-Component-Client-HTTP>=0.51:${PORTSDIR}/www/p5-POE-Component-Client-HTTP + p5-POE-Component-Client-DNS>=0.98:${PORTSDIR}/dns/p5-POE-Component-Client-DNS \ + p5-POE-Component-Client-HTTP>=0.51:${PORTSDIR}/www/p5-POE-Component-Client-HTTP RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/devel/pinba_engine/Makefile =================================================================== --- head/devel/pinba_engine/Makefile (revision 412341) +++ head/devel/pinba_engine/Makefile (revision 412342) @@ -1,49 +1,49 @@ # Created by: raven428 # $FreeBSD$ PORTNAME= pinba_engine PORTVERSION= 2011.08.18 PORTREVISION= 4 CATEGORIES= devel MAINTAINER= raven428@gmail.com COMMENT= Mysql-engine part of statistics server for PHP BUILD_DEPENDS= ${LOCALBASE}/include/google/protobuf/descriptor.h:${PORTSDIR}/devel/protobuf \ - ${LOCALBASE}/include/event.h:${PORTSDIR}/devel/libevent2 \ + ${LOCALBASE}/include/event.h:${PORTSDIR}/devel/libevent2 \ ${LOCALBASE}/include/Judy.h:${PORTSDIR}/devel/judy \ ${LOCALBASE}/lib/mysql/plugin:${PORTSDIR}/${_MYSQL_SERVER} \ - ${NONEXISTENT}:${PORTSDIR}/${_MYSQL_SERVER}:configure \ + ${NONEXISTENT}:${PORTSDIR}/${_MYSQL_SERVER}:configure \ bison:${PORTSDIR}/devel/bison \ cmake:${PORTSDIR}/devel/cmake LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf USE_GITHUB= yes GH_ACCOUNT= tony2001 GH_TAGNAME= 3a0cb51 USE_MYSQL= yes IGNORE_WITH_MYSQL= 50 MYSQL_WRKSRC= $$(cd ${PORTSDIR}/${_MYSQL_SERVER} && ${MAKE} -V WRKSRC) GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= autoreconf gmake libtool USE_LDCONFIG= ${PREFIX}/lib/mysql/plugin CONFIGURE_ARGS= --disable-static \ --with-mysql=${MYSQL_WRKSRC} \ --libdir=${PREFIX}/lib/mysql/plugin CFLAGS+= -I${LOCALBASE}/include/mysql SUB_FILES= pkg-message PORTDOCS= NEWS TODO README post-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${INSTALL} ${WRKSRC}/default_tables.sql ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include Index: head/devel/rubygem-paperclip/Makefile =================================================================== --- head/devel/rubygem-paperclip/Makefile (revision 412341) +++ head/devel/rubygem-paperclip/Makefile (revision 412342) @@ -1,26 +1,26 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= paperclip PORTVERSION= 4.3.6 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Easy upload management for ActiveRecord LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-activemodel4>=3.2.0:${PORTSDIR}/databases/rubygem-activemodel4 \ rubygem-activesupport4>=3.2.0:${PORTSDIR}/devel/rubygem-activesupport4 \ - rubygem-cocaine>=0.5.5:${PORTSDIR}/devel/rubygem-cocaine \ + rubygem-cocaine>=0.5.5:${PORTSDIR}/devel/rubygem-cocaine \ rubygem-mimemagic>=0.3.0:${PORTSDIR}/misc/rubygem-mimemagic \ - rubygem-mime-types>=0:${PORTSDIR}/misc/rubygem-mime-types + rubygem-mime-types>=0:${PORTSDIR}/misc/rubygem-mime-types NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes .include Index: head/devel/rubygem-ruby-bugzilla/Makefile =================================================================== --- head/devel/rubygem-ruby-bugzilla/Makefile (revision 412341) +++ head/devel/rubygem-ruby-bugzilla/Makefile (revision 412342) @@ -1,25 +1,25 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= ruby-bugzilla PORTVERSION= 0.6.4 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Access to Bugzilla through WebService APIs in Ruby LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= rubygem-gruff>=0:${PORTSDIR}/graphics/rubygem-gruff \ - rubygem-highline>=0:${PORTSDIR}/devel/rubygem-highline + rubygem-highline>=0:${PORTSDIR}/devel/rubygem-highline NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes PLIST_FILES= bin/bzconsole .include Index: head/devel/ucommon/Makefile =================================================================== --- head/devel/ucommon/Makefile (revision 412341) +++ head/devel/ucommon/Makefile (revision 412342) @@ -1,28 +1,28 @@ # Created by: gahr # $FreeBSD$ PORTNAME= ucommon PORTVERSION= 7.0.0 CATEGORIES= devel MASTER_SITES= GNU/commoncpp MAINTAINER= ports@FreeBSD.org COMMENT= Very lightweight C++ design pattern library LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER USES= cmake:outsource pathfix pkgconfig CMAKE_ARGS+= -DBUILD_TESTING:BOOL=ON \ - -DCMAKE_INSTALL_BINDIR:STRING=bin/${PORTNAME} \ + -DCMAKE_INSTALL_BINDIR:STRING=bin/${PORTNAME} \ -DCMAKE_INSTALL_MANDIR:STRING=man USE_LDCONFIG= yes USE_OPENSSL= yes post-install: ${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon regression-test: build cd ${BUILD_WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test .include Index: head/dns/getdns/Makefile =================================================================== --- head/dns/getdns/Makefile (revision 412341) +++ head/dns/getdns/Makefile (revision 412342) @@ -1,67 +1,67 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= getdns PORTVERSION= 0.9.0 PORTREVISION= 2 CATEGORIES= dns ipv6 MASTER_SITES= https://getdnsapi.net/dist/ \ - https://mirrors.rit.edu/zi/ \ + https://mirrors.rit.edu/zi/ \ http://getdnsapi.net/dist/ \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Modern asynchronous DNS API LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ - libidn.so:${PORTSDIR}/dns/libidn \ + libidn.so:${PORTSDIR}/dns/libidn \ libldns.so:${PORTSDIR}/dns/ldns \ libunbound.so:${PORTSDIR}/dns/unbound USES= libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libidn=${LOCALBASE} --docdir=${DOCSDIR} \ --with-trust-anchor=${LOCALBASE}/etc/unbound/root.key PLIST_SUB+= PORTVERSION="${PORTVERSION}" SUB_FILES+= pkg-message OPTIONS_SUB= yes OPTIONS_DEFINE= EXAMPLES DOCS LIBEV LIBUV LIBEVENT LIBEV_DESC= Build with libev extension LIBUV_DESC= Build with libuv extension LIBEVENT_DESC= Build with libevent extension LIBEV_LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev LIBEV_CONFIGURE_WITH= libev LIBUV_LIB_DEPENDS= libuv.so:${PORTSDIR}/devel/libuv LIBUV_CONFIGURE_WITH= libuv LIBEVENT_LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 LIBEVENT_CONFIGURE_WITH=libevent .include .include .if ${OSVERSION} <= 1000000 CONFIGURE_ARGS+= --disable-gost .endif post-patch: ${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \ - -e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in + -e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in post-install: .if ${PORT_OPTIONS:MEXAMPLES} (cd ${WRKSRC}/spec/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/) .endif ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetdns.so.* .include Index: head/dns/p5-pgeodns/Makefile =================================================================== --- head/dns/p5-pgeodns/Makefile (revision 412341) +++ head/dns/p5-pgeodns/Makefile (revision 412342) @@ -1,24 +1,24 @@ # $FreeBSD$ PORTNAME= pgeodns PORTVERSION= 1.41 PORTREVISION= 2 CATEGORIES= dns perl5 MASTER_SITES= GHC PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Geographic NameServer BUILD_DEPENDS= p5-Geo-IP>=0:${PORTSDIR}/net/p5-Geo-IP \ - p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ + p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn USES= perl5 USE_PERL5= configure USE_GITHUB= yes GH_ACCOUNT= abh .include Index: head/editors/gedit-plugins/Makefile =================================================================== --- head/editors/gedit-plugins/Makefile (revision 412341) +++ head/editors/gedit-plugins/Makefile (revision 412342) @@ -1,59 +1,59 @@ # Created by: Adam Weinberger # $FreeBSD$ PORTNAME= gedit-plugins PORTVERSION= 3.18.0 CATEGORIES= editors gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Plugins for GEdit 3 BUILD_DEPENDS= gedit>=0:${PORTSDIR}/editors/gedit \ valac:${PORTSDIR}/lang/vala \ itstool:${PORTSDIR}/textproc/itstool LIB_DEPENDS= libpeas-1.0.so:${PORTSDIR}/devel/libpeas \ libzeitgeist-2.0.so:${PORTSDIR}/sysutils/zeitgeist \ libgit2-glib-1.0.so:${PORTSDIR}/devel/libgit2-glib RUN_DEPENDS= gedit>=0:${PORTSDIR}/editors/gedit PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool pathfix pkgconfig \ python:3 tar:xz USE_GNOME= gtk30 gtksourceview3 intlhack USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.gedit.plugins.drawspaces.gschema.xml \ org.gnome.gedit.plugins.wordcompletion.gschema.xml USES+= python BUILD_DEPENDS+= py3?-dbus>=0:${PORTSDIR}/devel/py3-dbus LIB_DEPENDS+= libgucharmap_2_90.so:${PORTSDIR}/deskutils/gucharmap RUN_DEPENDS+= py3?-dbus>=0:${PORTSDIR}/devel/py3-dbus \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:${PORTSDIR}/devel/py3-libpeas USE_GNOME+= vte3 CONFIGURE_ARGS+=--enable-python GLIB_SCHEMAS+= org.gnome.gedit.plugins.terminal.gschema.xml post-patch: @${REINPLACE_CMD} -e 's| \\t\\r\\n\\f|[:space:]|g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure .include .if ${PYTHON_REL} < 3500 PYOEXTENSION= pyo .else PYOEXTENSION= opt-1.pyc .endif PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} \ PYVER=${PYTHON_VER:S/.//} .include Index: head/editors/the/Makefile =================================================================== --- head/editors/the/Makefile (revision 412341) +++ head/editors/the/Makefile (revision 412342) @@ -1,77 +1,77 @@ # Created by: giffunip@asme.org # $FreeBSD$ PORTNAME= the PORTVERSION= 3.3.r4 CATEGORIES= editors MASTER_SITES= http://downloads.sourceforge.net/hessling-editor/ DISTNAME= THE-${PORTVERSION:S/.r/RC/} MAINTAINER= comet.berkeley@gmail.com COMMENT= THE, The Hessling Editor, is like the vm/cms xedit editor LICENSE= GPLv2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ncurses \ --with-rexxincdir=${LOCALBASE}/include \ --with-rexxlibdir=${LOCALBASE}/lib ALL_TARGET= all html OPTIONS_DEFINE= XAW3D XCURSES REXX_IMC XAW3D_DESC= Enable Xaw3D XCURSES_DESC= Build XCurses (X11) version REXX_REGINA_DESC= Enable Rexx interpreter .include .if ${ARCH} == "powerpc" BROKEN= Does not configure on powerpc .endif .if ${PORT_OPTIONS:MXAW3D} CONFIGURE_ARGS+=--with-xaw3d LIB_DEPENDS+= libxaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d .endif .if ${PORT_OPTIONS:MXCURSES} CONFIGURE_ARGS+=--with-xcurses \ --with-cursesincdir=${LOCALBASE}/include \ --with-curseslibdir=${LOCALBASE}/lib BUILD_DEPENDS+= pdcurses:${PORTSDIR}/devel/pdcurses LIB_DEPENDS+= libxcurses.so:${PORTSDIR}/devel/pdcurses PLIST_SUB= XCURSES="" NCURSES="@comment " .else PLIST_SUB= XCURSES="@comment " NCURSES="" .endif .if ${PORT_OPTIONS:MREXX_IMC} BUILD_DEPENDS+= rexx:${PORTSDIR}/lang/rexx-imc RUN_DEPENDS+= rexx:${PORTSDIR}/lang/rexx-imc CONFIGURE_ARGS+= --with-rexx=rexximc .else BUILD_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina RUN_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina CONFIGURE_ARGS+= --with-rexx=regina .endif post-extract: ${REINPLACE_CMD} -e 's|(datadir)/THE|(datadir)/the|g' \ - -e 's|/share/THE|/share/the|g' ${WRKSRC}/Makefile.in + -e 's|/share/THE|/share/the|g' ${WRKSRC}/Makefile.in pre-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/the64.gif ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/the64.png ${STAGEDIR}${DOCSDIR} post-install: .if ${PORT_OPTIONS:MXCURSES} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xthe ${LN} -sf xthe ${STAGEDIR}${PREFIX}/bin/the .else ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nthe ${LN} -sf nthe ${STAGEDIR}${PREFIX}/bin/the .endif .include Index: head/ftp/wget/Makefile =================================================================== --- head/ftp/wget/Makefile (revision 412341) +++ head/ftp/wget/Makefile (revision 412342) @@ -1,76 +1,76 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= wget DISTVERSION= 1.16.3 PORTREVISION= 1 CATEGORIES= ftp www ipv6 MASTER_SITES= GNU MAINTAINER= vd@FreeBSD.org COMMENT= Retrieve files from the Net via HTTP(S) and FTP LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= charsetfix cpe gmake makeinfo perl5 tar:xz USE_PERL5= build CPE_VENDOR= gnu GNU_CONFIGURE= yes OPTIONS_SUB= yes OPTIONS_RADIO= SSL OPTIONS_RADIO_SSL=GNUTLS OPENSSL OPTIONS_DEFINE= IPV6 NLS IDN PCRE OPTIONS_DEFAULT=OPENSSL IDN PCRE_DESC= Support Perl regular expressions in addition to POSIX IPV6_CONFIGURE_ENABLE= ipv6 NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_CPPFLAGS= -I${LOCALBASE}/include NLS_LDFLAGS= -L${LOCALBASE}/lib IDN_USES= iconv IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn IDN_CONFIGURE_ENABLE= iri IDN_CONFIGURE_ON= --with-libidn=${LOCALBASE} PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre PCRE_CPPFLAGS= -I${LOCALBASE}/include PCRE_LDFLAGS= -L${LOCALBASE}/lib PCRE_CONFIGURE_ENV_OFF= ac_cv_header_pcre_h=no .include .if ${PORT_OPTIONS:MOPENSSL} USE_OPENSSL= yes CONFIGURE_ARGS+=--with-ssl=openssl --with-libssl-prefix=${OPENSSLBASE} CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .elif ${PORT_OPTIONS:MGNUTLS} USES+= pkgconfig LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls CONFIGURE_ARGS+=--with-ssl=gnutls CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .else CONFIGURE_ARGS+=--without-ssl .endif INFO= wget # eliminate gmakism post-patch: ${REINPLACE_CMD} -e 's,$$<,$$(srcdir)/wget.texi,' \ - -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \ + -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \ ${WRKSRC}/doc/Makefile.in ${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \ -e 's,@file{},@file{${PREFIX}},' \ ${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi ${REINPLACE_CMD} -e '/ac_fn_c_check_header_mongrel.*uuid\/uuid.h/ d' \ ${WRKSRC}/configure .include Index: head/games/adonthell/Makefile =================================================================== --- head/games/adonthell/Makefile (revision 412341) +++ head/games/adonthell/Makefile (revision 412342) @@ -1,66 +1,66 @@ # Created by: Miguel Mendez # $FreeBSD$ # $MCom: ports/games/adonthell/Makefile,v 1.1 2006/10/04 20:13:33 ahze Exp $ PORTNAME= adonthell PORTVERSION= 0.3.5 PORTREVISION= 13 CATEGORIES= games MASTER_SITES= SAVANNAH DISTFILES= ${PORTNAME}-src-${PORTVERSION}${EXTRACT_SUFX} \ - wastesedge-src-${WEDGE_VERSION}${EXTRACT_SUFX} + wastesedge-src-${WEDGE_VERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Free role playing game LICENSE= GPLv2 LICENSE_DISTFILES= ${DISTFILES} LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \ libfreetype.so:${PORTSDIR}/print/freetype2 USES= gettext gmake python USE_SDL= mixer ttf sdl USE_GCC= any GNU_CONFIGURE= yes CONFIGURE_ENV= PYPACKAGE="${PYTHON_CMD}" ac_cv_path_P_SWIG=no CONFIGURE_ARGS= --disable-py-debug CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/adonthell \ bin/adonthell-${PORTVERSION:R} \ bin/adonthell-wastesedge \ share/pixmaps/wastesedge_16x16.xpm \ share/pixmaps/wastesedge_32x32.xpm PORTDATA= * BROKEN_sparc64= Does not build on sparc64 DESKTOP_ENTRIES="Adonthell" "" "" "adonthell" "" "" WEDGE_VERSION= 0.3.5 post-patch: @cd ${WRKSRC} && ${REINPLACE_CMD} -e \ 's|-g -Wall|$$CFLAGS -Wall|g ; \ s|-lpthread|-pthread|g' configure @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ 's|@adonthell_binary@|${PREFIX}/bin/adonthell|' Makefile.in @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ 's|test $$adonthell_major_ver -eq 0 .*|true ;|' configure @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ 's|^[[:space:]]*_||' scripts/modules/player_text.py post-install: cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} \ && ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} \ --with-adonthell-binary=${STAGEDIR}${PREFIX}/bin/adonthell \ ${CONFIGURE_TARGET} cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${SETENV} HOME=${WRKDIR} \ ${MAKE_CMD} cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${SETENV} HOME=${WRKDIR} \ ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET} .include Index: head/games/cultivation/Makefile =================================================================== --- head/games/cultivation/Makefile (revision 412341) +++ head/games/cultivation/Makefile (revision 412342) @@ -1,55 +1,55 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= cultivation PORTVERSION= 8 PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} DISTNAME= Cultivation_${PORTVERSION}_UnixSource MAINTAINER= amdmi3@FreeBSD.org COMMENT= Unique game of conflict and cooperation in a gardening community LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio USES= gmake USE_XORG= x11 xi xext xmu USE_GL= glut WRKSRC= ${WRKDIR}/${DISTNAME}/game2 BUILD_WRKSRC= ${WRKSRC}/gameSource MAKE_ARGS= CXX=${CXX} EXTRA_PATCHES= ${FILESDIR}/portaudio19.patch:-p2 PLIST_FILES= bin/Cultivation PORTDATA= * PORTDOCS= changeLog.txt how_to_play.txt OPTIONS_DEFINE= DOCS post-patch: @cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.common \ ../minorGems/build/Makefile.minorGems gameSource/Makefile.all \ ../minorGems/build/Makefile.minorGems_targets > gameSource/Makefile @${REINPLACE_CMD} -e 's|font\.tga|${DATADIR}/font.tga|; \ s|language\.txt|${DATADIR}/language.txt|; \ s|features\.txt|${DATADIR}/features.txt|' \ - ${BUILD_WRKSRC}/game.cpp + ${BUILD_WRKSRC}/game.cpp @${REINPLACE_CMD} -e 's|"languages"|"${DATADIR}/languages"|' \ ${WRKSRC}/../minorGems/util/TranslationManager.cpp do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Cultivation ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR}/languages ${INSTALL_DATA} ${BUILD_WRKSRC}/font.tga ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/features.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/language.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${BUILD_WRKSRC}/languages/* ${STAGEDIR}${DATADIR}/languages ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/documentation/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/games/gcompris/Makefile =================================================================== --- head/games/gcompris/Makefile (revision 412341) +++ head/games/gcompris/Makefile (revision 412342) @@ -1,40 +1,40 @@ # Created by: Martin Klaffenboeck # $FreeBSD$ PORTNAME= gcompris PORTVERSION= 15.10 CATEGORIES= games gnome MASTER_SITES= http://gcompris.net/download/ MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome2 educational games and activities for kids ages 2 to 10 LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= texi2html:${PORTSDIR}/textproc/texi2html \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \ libao.so:${PORTSDIR}/audio/libao \ libassetml.so:${PORTSDIR}/devel/libassetml \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ gnucap:${PORTSDIR}/cad/gnucap USES= display:configure gettext gmake libtool localbase pathfix \ pkgconfig python:2 shebangfix sqlite tar:bzip2 SHEBANG_FILES= boards/voices/*.sh GNU_CONFIGURE= yes USE_GSTREAMER= yes USE_SDL= mixer USE_GNOME= intlhack gnomeprefix gtk20 pygtk2 libxml2 librsvg2 post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ - ${WRKSRC}/src/gcompris/gcompris.c + ${WRKSRC}/src/gcompris/gcompris.c @${FIND} ${WRKSRC} -type f -name "*.bak" -delete post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gcompris/lib*.so .include Index: head/games/gnono/Makefile =================================================================== --- head/games/gnono/Makefile (revision 412341) +++ head/games/gnono/Makefile (revision 412342) @@ -1,36 +1,36 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= gnono PORTVERSION= 1.9.1 PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Uno card game USE_GNOME= gtk20 libgnomeui intltool USES= gettext gmake pkgconfig tar:bzip2 INSTALLS_ICONS= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \ - 's|-DG.*_DISABLE_DEPRECATED||g' -e 's|-Werror||g' + 's|-DG.*_DISABLE_DEPRECATED||g' -e 's|-Werror||g' @${REINPLACE_CMD} -e 's|glib/garray.h|glib.h|g' \ -e 's|glib/gmessages.h|glib.h|g' \ -e 's|glib/gtypes.h|glib.h|g' \ -e 's|glib/gmem.h|glib.h|g' \ -e 's|glib/gmain.h|glib.h|g' \ ${WRKSRC}/src/ai.[ch] \ ${WRKSRC}/src/cards.[ch] \ ${WRKSRC}/src/game.[ch] \ ${WRKSRC}/src/interface.[ch] \ ${WRKSRC}/src/main.c \ ${WRKSRC}/src/players.[ch] \ ${WRKSRC}/src/preferences.[ch] .include Index: head/games/osgg/Makefile =================================================================== --- head/games/osgg/Makefile (revision 412341) +++ head/games/osgg/Makefile (revision 412342) @@ -1,40 +1,40 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= osgg PORTVERSION= 0.99 PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= OldSkool Gravity Game USES= tar:bzip2 USE_SDL= sdl image ttf mixer USE_GL= yes WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-extract: @${FIND} -d ${WRKSRC} -name .svn -exec ${RM} -rf {} \; post-patch: @${RM} -f ${WRKSRC}/osgg @${REINPLACE_CMD} -e 's|"[a-z]*.txt"|DATADIR&|; s|endian.h|sys/&|' \ ${WRKSRC}/main.cpp do-build: cd ${WRKSRC} && ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --libs --cflags` \ -lGL -lSDL_image -lSDL_ttf -lSDL_mixer -o ${PORTNAME} \ -DDATADIR="\"${DATADIR}/\"" \ - main.cpp text.cpp sound.cpp + main.cpp text.cpp sound.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC} && ${COPYTREE_SHARE} "*.txt *.ogg Bandal.ttf icon.png levels" ${STAGEDIR}${DATADIR}/ .include Index: head/games/stransball2/Makefile =================================================================== --- head/games/stransball2/Makefile (revision 412341) +++ head/games/stransball2/Makefile (revision 412342) @@ -1,44 +1,44 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= stransball2 PORTVERSION= 1.5 PORTREVISION= 10 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \ http://braingames.bugreport.nl/stransball2/ DISTNAME= ${PORTNAME}-v${PORTVERSION:C/\.//}-linux MAINTAINER= amdmi3@FreeBSD.org COMMENT= Sequel to Transball and Transball 2 THRUST-type games LIB_DEPENDS= libSGE.so:${PORTSDIR}/devel/sdl_sge USES= gmake dos2unix zip DOS2UNIX_FILES= sources/main.cpp USE_SDL= sdl image mixer sound BUILD_WRKSRC= ${WRKSRC}/sources PLIST_FILES= bin/${PORTNAME} PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS post-extract: @${RM} -f ${WRKSRC}/sound/WS_FTP.LOG post-patch: @${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} \ -e 's|demos/|${DATADIR}/&|g; s|graphics/|${DATADIR}/&|g; \ s|maps/|${DATADIR}/&|g; s|sound/|${DATADIR}/&|g; \ - s|"maps"|"${DATADIR}/maps"|g' + s|"maps"|"${DATADIR}/maps"|g' do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${STAGEDIR}${DATADIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/tetrinet-x/Makefile =================================================================== --- head/games/tetrinet-x/Makefile (revision 412341) +++ head/games/tetrinet-x/Makefile (revision 412342) @@ -1,36 +1,36 @@ # Created by: gmarco@giovannelli.it # $FreeBSD$ PORTNAME= tetrinet-x PORTVERSION= 1.13.16 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/ \ - ftp://ftp.dementia.nu/tetrinet/servers/tetrix/ + ftp://ftp.dementia.nu/tetrinet/servers/tetrix/ DISTNAME= ${PORTNAME}.${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= gmarco@gufi.org COMMENT= Addictive 6 player tetr*s game WRKSRC= ${WRKDIR}/tetrinetx-${PORTVERSION} SUB_FILES= pkg-message USE_RC_SUBR= tetrinetx do-build: (cd ${WRKSRC}/src && \ ${CC} ${CFLAGS} main.c -o ../bin/tetrix.freebsd) (cd ${WRKSRC}/contrib/query/src && \ ${CC} ${CFLAGS} query.c -o ../../../bin/server-query) do-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/bin/tetrix.freebsd ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/bin/server-query ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/bin/game.conf ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/bin/game.log ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/bin/game.secure ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/bin/game.winlist ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} -m 751 ${WRKDIR}/tetrinetx ${STAGEDIR}${PREFIX}/etc/rc.d .include Index: head/graphics/cinepaint/Makefile =================================================================== --- head/graphics/cinepaint/Makefile (revision 412341) +++ head/graphics/cinepaint/Makefile (revision 412342) @@ -1,76 +1,76 @@ # Created by: David Yeske # $FreeBSD$ PORTNAME= cinepaint DISTVERSION= 1.0-4 PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/CinePaint/CinePaint-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Editing tool used for painting and retouching of movies LICENSE= GPLv2 LGPL21 MIT LICENSE_COMB= multi LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libftgl.so:${PORTSDIR}/graphics/ftgl \ liblcms.so:${PORTSDIR}/graphics/lcms \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ - libfltk.so:${PORTSDIR}/x11-toolkits/fltk + libfltk.so:${PORTSDIR}/x11-toolkits/fltk OPTIONS_DEFINE= OYRANOS PRINT OYRANOS_DESC= ICC profile support via Oyranos PRINT_DESC= Gutenprint (gimp-print) plugin GNU_CONFIGURE= yes USES= autoreconf desktop-file-utils gettext ghostscript:run \ gmake jpeg libtool pkgconfig python USE_XORG= xmu USE_GNOME= gtk20 USE_LDCONFIG= yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VER="${DISTVERSION}" .include .if ${PORT_OPTIONS:MOYRANOS} LIB_DEPENDS+= liboyranos.so:${PORTSDIR}/graphics/oyranos .else CONFIGURE_ENV+= ac_cv_path_OY_CONFIG=no .endif .if ${PORT_OPTIONS:MPRINT} LIB_DEPENDS+= libgutenprint.so:${PORTSDIR}/print/gutenprint-base PLIST_SUB+= PRINT="" .else CONFIGURE_ARGS+= --disable-print PLIST_SUB+= PRINT="@comment " .endif post-extract: @${LN} -sf gimprc.in ${WRKSRC}/cinepaintrc.in @${LN} -sf gimprc_user.in ${WRKSRC}/cinepaintrc_user.in post-patch: @${REINPLACE_CMD} -e \ '/^pkgconfigdir/s|$$(libdir)|$$(prefix)/libdata| ; \ s|gimprc|cinepaintrc|g' \ ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e \ '/cms-profile-path/s|".*"|"${LOCALBASE}/share/color/icc"| ; \ s|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/cinepaintrc.in @${REINPLACE_CMD} -e \ 's|gimprc|cinepaintrc|g' \ ${WRKSRC}/user_install.in @${REINPLACE_CMD} -e \ 's|static GDrawableType|static GImageType|' \ ${WRKSRC}/plug-ins/psd/psd.c .include Index: head/graphics/gimp-app/Makefile =================================================================== --- head/graphics/gimp-app/Makefile (revision 412341) +++ head/graphics/gimp-app/Makefile (revision 412342) @@ -1,127 +1,127 @@ # Created by: erich@FreeBSD.org # $FreeBSD$ PORTNAME?= gimp-app PORTVERSION= 2.8.16 PORTREVISION?= 2 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} DISTNAME= gimp-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= GNU Image Manipulation Program LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libgegl-0.2.so:${PORTSDIR}/graphics/gegl \ libbabl-0.1.so:${PORTSDIR}/x11/babl RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes GNU_CONFIGURE= yes USES+= cpe desktop-file-utils execinfo gettext gmake jpeg libtool \ localbase pathfix pkgconfig tar:bzip2 USE_XORG= xpm xmu xext USE_GNOME+= intlhack gtk20 USE_LDCONFIG= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc/gimp \ --disable-gtk-doc \ --without-linux-input \ --with-print \ --enable-default-binary \ --with-lcms=lcms2 \ --disable-gimp-console \ --disable-python \ --with-desktop-dir=${PREFIX}/share \ --docdir=${PREFIX}/share/doc/gimp \ --enable-default-binary CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread LIBS+= -lexecinfo CPE_PRODUCT= gimp CPE_VENDOR= gnu PLIST_SUB+= LIBVER=0.800.16 .if !defined(GIMP_SLAVE) OPTIONS_DEFINE?= AA DBUS LIBEXIF GHOSTSCRIPT GVFS HELPBROWSER JASPER \ LIBMNG LIBRSVG2 POPPLER SIMD WMF OPTIONS_DEFAULT= AA DBUS LIBEXIF GVFS HELPBROWSER LIBMNG LIBRSVG2 \ POPPLER WMF OPTIONS_SUB= yes AA_DESC= Ascii-art Plug-in HELPBROWSER_DESC= Internal help browser .endif .if defined(GIMP_SLAVE) PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config GIMP_LIBS= `${PKG_CONFIG} --libs gimp-2.0` GIMP_THUMB_LIBS=`${PKG_CONFIG} --libs gimpthumb-2.0` GIMP_UI_LIBS= `${PKG_CONFIG} --libs gimpui-2.0` LIB_DEPENDS+= libgimp-2.0.so:${PORTSDIR}/graphics/gimp-app .else DEBUG_CONFIGURE_ON= --enable-debug AA_LIB_DEPENDS= libaa.so:${PORTSDIR}/graphics/aalib AA_CONFIGURE_OFF= --without-aa DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib DBUS_CONFIGURE_WITH= dbus GHOSTSCRIPT_USES= ghostscript GHOSTSCRIPT_CONFIGURE_WITH= gs GVFS_USE= GNOME=gvfs GVFS_LIB_DEPENDS_OFF= libcurl.so:${PORTSDIR}/ftp/curl GVFS_CONFIGURE_OFF= --without-gvfs HELPBROWSER_LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 HELPBROWSER_CONFIGURE_WITH= webkit JASPER_LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper JASPER_CONFIGURE_WITH= libjasper LIBEXIF_LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif LIBEXIF_CONFIGURE_OFF= --without-libexif LIBMNG_LIB_DEPENDS= libmng.so:${PORTSDIR}/graphics/libmng LIBMNG_CONFIGURE_OFF= --without-libmng LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_CONFIGURE_WITH=librsvg POPPLER_LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib POPPLER_CONFIGURE_OFF= --without-poppler SIMD_CONFIGURE_OFF= --disable-mmx \ --disable-sse \ --disable-altivec WMF_LIB_DEPENDS= libwmf.so:${PORTSDIR}/graphics/libwmf WMF_CONFIGURE_OFF= --without-wmf .endif post-patch: @${REINPLACE_CMD} -e 's|%%GIMP_LIBS%%|${GIMP_LIBS}|; \ s|%%GIMP_THUMB_LIBS%%|${GIMP_THUMB_LIBS}|; \ s|%%GIMP_UI_LIBS%%|${GIMP_UI_LIBS}|' \ ${WRKSRC}/plug-ins/pygimp/Makefile.in @${REINPLACE_CMD} -e 's/-u /-Wl,-u,/' \ ${WRKSRC}/app/Makefile.in @${REINPLACE_CMD} -e 's|"libpng"|"libpng15"|' \ - -e 's|x86_64|amd64|g' \ + -e 's|x86_64|amd64|g' \ ${WRKSRC}/configure .include Index: head/graphics/inkscape/Makefile =================================================================== --- head/graphics/inkscape/Makefile (revision 412341) +++ head/graphics/inkscape/Makefile (revision 412342) @@ -1,87 +1,87 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ PORTNAME= inkscape PORTVERSION= 0.91 PORTREVISION= 6 CATEGORIES= graphics gnome MASTER_SITES= https://inkscape.global.ssl.fastly.net/media/resources/file/ \ LOCAL/kwm MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \ libgc.so:${PORTSDIR}/devel/boehm-gc \ libgsl.so:${PORTSDIR}/math/gsl \ libgtkspell.so:${PORTSDIR}/textproc/gtkspell \ liblcms.so:${PORTSDIR}/graphics/lcms \ libpng.so:${PORTSDIR}/graphics/png \ libMagick++-6.so:${PORTSDIR}/graphics/ImageMagick #RUN_DEPENDS= p5-XML-XQL>=0:${PORTSDIR}/textproc/p5-XML-XQL USE_GNOME= gtkmm24 intlhack libxslt USES= compiler:c++0x cpe desktop-file-utils gettext gmake iconv \ libtool pathfix perl5 pkgconfig python:run shebangfix tar:bzip2 GNU_CONFIGURE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --without-gnome-vfs python_CMD?= ${LOCALBASE}/bin/python2 SHEBANG_FILES= cxxtest/cxxtestgen.pl share/extensions/*.p[lm] \ share/extensions/*.py share/extensions/genpofiles.sh OPTIONS_DEFINE= POPPLER OPENMP VISIO CDR DBUS WPG OPTIONS_DEFAULT=POPPLER VISIO CDR WPG OPTIONS_SUB= yes CDR_DESC= Support for CorelDRAW diagrams CDR_CONFIGURE_ENABLE= cdr CDR_LIB_DEPENDS= librevenge-stream-0.0.so:${PORTSDIR}/textproc/librevenge \ libcdr-0.1.so:${PORTSDIR}/graphics/libcdr01 DBUS_CONFIGURE_ENABLE= dbusapi DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib OPENMP_USES= compiler:openmp OPENMP_USES_OFF= compiler:features POPPLER_DESC= PDF preview rendering POPPLER_CONFIGURE_ENABLE= poppler-cairo POPPLER_LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib VISIO_DESC= Support for Microsoft Visio diagrams VISIO_CONFIGURE_ENABLE= visio VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:${PORTSDIR}/textproc/librevenge \ libvisio-0.1.so:${PORTSDIR}/textproc/libvisio01 WPG_DESC= Support for WordPerfect graphics WPG_CONFIGURE_ENABLE= wpg WPG_LIB_DEPENDS= libwpg-0.3.so:${PORTSDIR}/graphics/libwpg03 .include .if ${CHOSEN_COMPILER_TYPE} == clang CPPFLAGS+= -Wno-mismatched-tags -Wno-unknown-attributes .endif # Base clang 3.4.1 in FreeBSD 9.3 fails to compile this code on i386 # but base clang 3.4.1 in FreeBSD 10.1 succeeds. The difference *appears* # to be the patch applied in r271597 (head) / r271739 (stable/10). The # latter happened shortly before 10.1 was branched. .if ${ARCH} == i386 && ${OPSYS} == FreeBSD && ${OSVERSION} < 1001000 && \ ( ${COMPILER_TYPE} == clang || ${ALT_COMPILER_TYPE} == clang ) BUILD_DEPENDS+= clang34:${PORTSDIR}/lang/clang34 CPP= ${LOCALBASE}/bin/clang-cpp34 CC= ${LOCALBASE}/bin/clang34 CXX= ${LOCALBASE}/bin/clang++34 .endif post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure .include Index: head/graphics/p5-Graphics-Color/Makefile =================================================================== --- head/graphics/p5-Graphics-Color/Makefile (revision 412341) +++ head/graphics/p5-Graphics-Color/Makefile (revision 412342) @@ -1,28 +1,28 @@ # Created by: chinsan # $FreeBSD$ PORTNAME= Graphics-Color PORTVERSION= 0.31 CATEGORIES= graphics perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Device and library agnostic color spaces LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-Color-Library>=0.02:${PORTSDIR}/graphics/p5-Color-Library \ p5-Moose>=0.74:${PORTSDIR}/devel/p5-Moose \ - p5-MooseX-Aliases>=0.03:${PORTSDIR}/devel/p5-MooseX-Aliases \ - p5-MooseX-Clone>=0.03:${PORTSDIR}/devel/p5-MooseX-Clone \ - p5-MooseX-Storage>=0.23:${PORTSDIR}/devel/p5-MooseX-Storage \ - p5-MooseX-Types>=0.19:${PORTSDIR}/devel/p5-MooseX-Types + p5-MooseX-Aliases>=0.03:${PORTSDIR}/devel/p5-MooseX-Aliases \ + p5-MooseX-Clone>=0.03:${PORTSDIR}/devel/p5-MooseX-Clone \ + p5-MooseX-Storage>=0.23:${PORTSDIR}/devel/p5-MooseX-Storage \ + p5-MooseX-Types>=0.19:${PORTSDIR}/devel/p5-MooseX-Types RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Test-Number-Delta>=0:${PORTSDIR}/devel/p5-Test-Number-Delta USES= perl5 USE_PERL5= configure .include Index: head/graphics/py-gvgen/Makefile =================================================================== --- head/graphics/py-gvgen/Makefile (revision 412341) +++ head/graphics/py-gvgen/Makefile (revision 412342) @@ -1,35 +1,35 @@ # Created by: Sofian Brabez # $FreeBSD$ PORTNAME= gvgen PORTVERSION= 0.9 PORTREVISION= 1 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org COMMENT= Easy python interface to generate dot files LICENSE= GPLv2 USES= python USE_PYTHON= distutils autoplist USE_GITHUB= yes GH_ACCOUNT= stricaud GH_TAGNAME= 777ab06 NO_ARCH= yes OPTIONS_DEFINE= DOCS PORTDOCS= crypto-folks.png gvgen-legend.png gvgen-propertyforeachlinks.2.png \ - gvgen-smartmode-2.png gvgen-cluster-node-link.png gvgen-legendin.png \ + gvgen-smartmode-2.png gvgen-cluster-node-link.png gvgen-legendin.png \ gvgen-propertylink.png gvgen-styles.png gvgen-defaultstyle.png \ - gvgen-links.png gvgen-smartmode-1.png + gvgen-links.png gvgen-smartmode-1.png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/irc/evangeline/Makefile =================================================================== --- head/irc/evangeline/Makefile (revision 412341) +++ head/irc/evangeline/Makefile (revision 412342) @@ -1,66 +1,66 @@ # Created by: Edini # $FreeBSD$ PORTNAME= evangeline PORTVERSION= 1.1.4 CATEGORIES= irc tcl MASTER_SITES= http://www.averse.piasta.pl/_data/evangeline/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-b1 MAINTAINER= ports@FreeBSD.org COMMENT= IRC Bot based on Eggdrop LICENSE= GPLv2 WRKSRC= ${WRKDIR}/${PORTNAME} USES= gmake tcl GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-tcllib=${LOCALBASE}/lib/libtcl${TCL_SHLIB_VER}.so \ - --with-tclinc=${TCL_INCLUDEDIR}/tcl.h + --with-tclinc=${TCL_INCLUDEDIR}/tcl.h PLIST_FILES= bin/evangeline OPTIONS_DEFINE= IPV6 CRYPT OPTIONS_DEFAULT= CRYPT CRYPT_DESC= Enable Encryption .include .if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif .if ${PORT_OPTIONS:MCRYPT} CONFIGURE_ARGS+= --enable-crypt .else CONFIGURE_ARGS+= --disable-crypt .endif pre-everything:: @${ECHO_MSG} 'To redefine the "admin" user name, set ADMIN_NAME' @${ECHO_MSG} 'To redefine the "Permanent owner" name, set OWNER_NAME' post-patch: @${REINPLACE_CMD} 's,^read usersq,usersq=n,' ${WRKDIR}/evangeline/configure # Turns out that putting ADMIN_NAME more than 9 chars creates an overflow... # Fix that here while replacing the name. post-configure: .if !empty(ADMIN_NAME) @${REINPLACE_CMD} \ 's,^char admin[^ ]* = [^;]*,const char* admin = "${ADMIN_NAME}",' \ ${WRKDIR}/evangeline/src/main.c .endif .if !empty(OWNER_NAME) @${REINPLACE_CMD} \ 's,^char owner[^ ]* = [^;]*,const char* owner = "${OWNER_NAME}",' \ ${WRKDIR}/evangeline/src/main.c .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION}-B1 ${STAGEDIR}${PREFIX}/bin/evangeline .include Index: head/java/netbeans/Makefile =================================================================== --- head/java/netbeans/Makefile (revision 412341) +++ head/java/netbeans/Makefile (revision 412342) @@ -1,51 +1,51 @@ # Created by: olgeni@FreeBSD.org # $FreeBSD$ PORTNAME= netbeans PORTVERSION= 8.1 CATEGORIES= java devel MASTER_SITES= http://download.netbeans.org/netbeans/${PORTVERSION}/final/zip/ \ - http://dlc.sun.com.edgesuite.net/netbeans/${PORTVERSION}/final/zip/ + http://dlc.sun.com.edgesuite.net/netbeans/${PORTVERSION}/final/zip/ DISTNAME= netbeans-${PORTVERSION}-201510222201 MAINTAINER= kwm@FreeBSD.org COMMENT= Modular, standards-based integrated development environment LICENSE= CDDL GPLv2 LICENSE_COMB= dual USES= shebangfix zip SHEBANG_FILES= extide/ant/bin/antRun.pl \ extide/ant/bin/complete-ant-cmd.pl \ extide/ant/bin/runant.pl \ extide/ant/bin/runant.py USE_JAVA= yes JAVA_VERSION= 1.7+ NO_BUILD= yes WRKSRC= ${WRKDIR}/netbeans DATADIR= ${PREFIX}/${PORTNAME}-${PORTVERSION} PLIST_SUB+= PORTVERSION=${PORTVERSION} DESKTOP_ENTRIES="NetBeans" \ "NetBeans IDE" \ ${DATADIR}/nb/netbeans.png \ ${PORTNAME}-${PORTVERSION} \ "Development;" \ false post-patch: @${REINPLACE_CMD} -i "" -e '57s|#||;57s|/path/to/jdk|${JAVA_HOME}|' \ ${WRKSRC}/etc/netbeans.conf @${FIND} ${WRKSRC} -name "*.orig" -delete do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR} ${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/bin/netbeans ${LN} -sf ${DATADIR}/bin/netbeans ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${PORTVERSION} post-install: ${FIND} ${STAGEDIR}${DATADIR} -type f -ipath "*/bin/*" | ${XARGS} ${CHMOD} ${BINMODE} .include Index: head/lang/expect/Makefile =================================================================== --- head/lang/expect/Makefile (revision 412341) +++ head/lang/expect/Makefile (revision 412342) @@ -1,38 +1,38 @@ # Created by: pst # $FreeBSD$ PORTNAME= expect PORTVERSION= 5.45.3 CATEGORIES= lang tcl tk MASTER_SITES= SF/expect/Expect/${PORTVERSION:R} DISTNAME= ${PORTNAME}${PORTVERSION:R} MAINTAINER= tcltk@FreeBSD.org COMMENT= Sophisticated scripter based on Tcl/Tk LIBEXPECT_VER= ${PORTVERSION:S/.//g} WRKSRC= ${WRKDIR}/${DISTNAME} USES= tcl autoreconf USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared \ --exec-prefix=${PREFIX} \ --datadir=${DATADIR} \ --with-tclconfig=${TCL_LIBDIR} \ --with-tclinclude=${TCL_INCLUDEDIR} CONFIGURE_ENV= ac_cv_sys_long_file_names=yes PLIST_SUB+= EXPECT_VER=${PORTVERSION} \ LIBEXPECT_VER=${LIBEXPECT_VER} post-install: ${LN} -sf expect${PORTVERSION}/libexpect${LIBEXPECT_VER}.so \ - ${STAGEDIR}${PREFIX}/lib/libexpect.so.1 + ${STAGEDIR}${PREFIX}/lib/libexpect.so.1 ${LN} -sf libexpect.so.1 \ ${STAGEDIR}${PREFIX}/lib/libexpect.so do-test: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test .include Index: head/lang/haskell-mode.el/Makefile =================================================================== --- head/lang/haskell-mode.el/Makefile (revision 412341) +++ head/lang/haskell-mode.el/Makefile (revision 412342) @@ -1,58 +1,58 @@ # Created by: Josh Elsasser # $FreeBSD$ PORTNAME= haskell-mode PORTVERSION= 13.18 DISTVERSIONPREFIX=v CATEGORIES= lang elisp MAINTAINER= aehlig@linta.de COMMENT= Emacs lisp mode for editing haskell programs LICENSE= GPLv3 USE_EMACS= yes OPTIONS_DEFINE= DOCS GH_ACCOUNT= haskell PORTDOCS= NEWS README.md USE_GITHUB= yes USES= gmake ALL_TARGET= haskell-mode-autoloads.el ELISPDIR= ${PREFIX}/${PLIST_DIRS} ELISPFILES= ghc-core.el ghci-script-mode.el haskell-align-imports.el \ haskell-cabal.el haskell-checkers.el \ haskell-collapse.el haskell-commands.el \ haskell-compile.el haskell-compat.el \ haskell-complete-module.el haskell-completions.el \ - haskell-customize.el \ + haskell-customize.el \ haskell-debug.el haskell-decl-scan.el \ haskell-doc.el haskell-font-lock.el haskell-hoogle.el \ haskell-indent.el haskell-indentation.el \ haskell-interactive-mode.el haskell-lexeme.el haskell-load.el \ haskell-menu.el haskell-mode-pkg.el haskell-mode.el \ haskell-mode-autoloads.el haskell-modules.el \ haskell-move-nested.el haskell-navigate-imports.el \ haskell-package.el haskell-presentation-mode.el \ haskell-process.el haskell-repl.el haskell-sandbox.el \ haskell-session.el \ haskell-sort-imports.el haskell-string.el \ haskell-unicode-input-method.el haskell-utils.el \ haskell.el highlight-uses-mode.el inf-haskell.el \ w3m-haddock.el PLIST_DIRS= share/emacs/site-lisp/${PORTNAME}/ PLIST_FILES= ${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g} SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${ELISPDIR} ${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ELISPDIR}/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include Index: head/mail/evolution/Makefile =================================================================== --- head/mail/evolution/Makefile (revision 412341) +++ head/mail/evolution/Makefile (revision 412342) @@ -1,120 +1,120 @@ # Created by: Ade Lovett # $FreeBSD$ PORTNAME= evolution PORTVERSION= 3.18.5.1 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Integrated mail, calendar and address book distributed suite BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool \ highlight:${PORTSDIR}/textproc/highlight LIB_DEPENDS= libnss3.so:${PORTSDIR}/security/nss \ libgcr-3.so:${PORTSDIR}/security/gcr \ libgtkspell3-3.so:${PORTSDIR}/textproc/gtkspell3 \ libgeocode-glib.so:${PORTSDIR}/net/geocode-glib \ libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \ libcryptui.so:${PORTSDIR}/security/libcryptui \ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \ libnotify.so:${PORTSDIR}/devel/libnotify RUN_DEPENDS= highlight:${PORTSDIR}/textproc/highlight \ gnome-keyring>=3.0.0:${PORTSDIR}/security/gnome-keyring PORTSCOUT= limitw:1,even USES= desktop-file-utils bison gettext gmake gnome libtool \ pathfix perl5 pkgconfig tar:xz USE_GNOME= evolutiondataserver3 gnomedesktop3 intltool GNU_CONFIGURE= yes USE_GSTREAMER1= yes INSTALLS_ICONS= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-nss=yes \ --disable-autoar \ --with-sub-version=" FreeBSD GNOME Team Port" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.evolution.gschema.xml \ org.gnome.evolution.addressbook.gschema.xml \ org.gnome.evolution.calendar.gschema.xml \ org.gnome.evolution.importer.gschema.xml \ org.gnome.evolution.mail.gschema.xml \ org.gnome.evolution.shell.gschema.xml \ org.gnome.evolution.bogofilter.gschema.xml \ org.gnome.evolution.spamassassin.gschema.xml \ org.gnome.evolution.plugin.attachment-reminder.gschema.xml \ org.gnome.evolution.plugin.autocontacts.gschema.xml \ org.gnome.evolution.plugin.email-custom-header.gschema.xml \ org.gnome.evolution.plugin.external-editor.gschema.xml \ org.gnome.evolution.plugin.face-picture.gschema.xml \ org.gnome.evolution.plugin.itip.gschema.xml \ org.gnome.evolution.plugin.mail-notification.gschema.xml \ org.gnome.evolution.plugin.prefer-plain.gschema.xml \ org.gnome.evolution.plugin.publish-calendar.gschema.xml \ org.gnome.evolution.plugin.templates.gschema.xml EVO_VERSION= 3.18 PLIST_SUB= VERSION=${EVO_VERSION} \ PORTVERSION=2.12 OPTIONS_DEFINE= LDAP WEATHER CANBERRA PST OPTIONS_DEFAULT=LDAP WEATHER CANBERRA BOGOFILTER OPTIONS_GROUP= SPAM OPTIONS_GROUP_SPAM=SPAMASSASSIN BOGOFILTER OPTIONS_SUB= yes CANBERRA_DESC= Canberra theme audio plugin WEATHER_DESC= Weather calendar backend SPAM_DESC= Spam filter support SPAMASSASSIN_DESC= SpamAssassin spam filtering BOGOFILTER_DESC= Bogofilter spam filtering PST_DESC= Outlook .pst importer MAPS_DESC= Contact maps LDAP_CONFIGURE_WITH= openldap LDAP_USE= OPENLDAP=yes WEATHER_LIB_DEPENDS= libgweather-3.so:${PORTSDIR}/net/libgweather WEATHER_CONFIGURE_ENABLE= weather SPAMASSASSIN_CONFIGURE_WITH= spamassassin SPAMASSASSIN_BUILD_DEPENDS= spamassassin:${PORTSDIR}/mail/spamassassin SPAMASSASSIN_RUN_DEPENDS= spamassassin:${PORTSDIR}/mail/spamassassin BOGOFILTER_CONFIGURE_WITH= bogofilter BOGOFILTER_BUILD_DEPENDS= bogofilter:${PORTSDIR}/mail/bogofilter BOGOFILTER_RUN_DEPENDS= bogofilter:${PORTSDIR}/mail/bogofilter CANBERRA_LIB_DEPENDS= libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 CANBERRA_CONFIGURE_ENABLE= canberra PST_CONFIGURE_ENABLE= pst-import PST_BUILD_DEPENDS= libpst>=0.6.58_1:${PORTSDIR}/mail/libpst PST_RUN_DEPENDS= libpst>=0.6.58_1:${PORTSDIR}/mail/libpst CONFIGURE_ARGS+=--disable-contact-maps #MAPS_CONFIGURE_ENABLE= contact-maps #MAPS_LIB_DEPENDS= libchamplain-0.12.so:${PORTSDIR}/graphics/libchamplain \ # libclutter-gtk-1.0.so:${PORTSDIR}/graphics/clutter-gtk3 #MAPS_BUILD_DEPENDS= geoclue>=0:${PORTSDIR}/net/geoclue .include post-patch: @${REINPLACE_CMD} -e '/^plugins_standard_always/s/audio-inline//' \ - -e 's|-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi|${KRB5_LIB}|g' \ + -e 's|-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi|${KRB5_LIB}|g' \ -e 's|-Wl,--no-undefined||g' \ -e 's|-Wmissing-include-dirs||g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ ${WRKSRC}/modules/spamassassin/evolution-spamassassin.c \ ${WRKSRC}/modules/bogofilter/evolution-bogofilter.c # @${SH} ${FILESDIR}/fix-plugins.sh ${WRKSRC} .include Index: head/mail/evolution-mapi/Makefile =================================================================== --- head/mail/evolution-mapi/Makefile (revision 412341) +++ head/mail/evolution-mapi/Makefile (revision 412342) @@ -1,37 +1,37 @@ # Created by: Koop Mast # $FreeBSD$ PORTNAME= evolution-mapi PORTVERSION= 3.18.4 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Evolution Microsoft Exchange plugin through OpenChange BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool \ evolution>=3.0.0:${PORTSDIR}/mail/evolution LIB_DEPENDS= libmapi.so:${PORTSDIR}/mail/libmapi RUN_DEPENDS= evolution>=3.0.0:${PORTSDIR}/mail/evolution PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool pkgconfig tar:xz USE_GNOME= intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral CFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/ INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/src/libexchangemapi/Makefile.in @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ -e 's|$$(prefix)/$$(DATADIRNAME)/|$$(prefix)/share/|g' \ - ${WRKSRC}/configure + ${WRKSRC}/configure .include Index: head/mail/roundcube-sauserprefs/Makefile =================================================================== --- head/mail/roundcube-sauserprefs/Makefile (revision 412341) +++ head/mail/roundcube-sauserprefs/Makefile (revision 412342) @@ -1,29 +1,29 @@ # Created by: Stefan Bethke # $FreeBSD$ PORTNAME= sauserprefs PORTVERSION= 1.10 # PLEASE MIRROR DISTFILE WITH VERSIONED DIR PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.tehinterweb.co.uk/roundcube/plugins/ \ - LOCAL/bdrewery/${PORTNAME}/${PORTVERSION}/ + LOCAL/bdrewery/${PORTNAME}/${PORTVERSION}/ PKGNAMEPREFIX= roundcube- DISTNAME= ${PORTNAME} MAINTAINER= stb@lassitu.de COMMENT= Roundcube plugin to manage SpamAssassin prefs LICENSE= GPLv3 RUN_DEPENDS= roundcube>=0.8:${PORTSDIR}/mail/roundcube NO_BUILD= yes NO_ARCH= yes WWWDIR= ${PREFIX}/www/roundcube/plugins/sauserprefs do-install: ${MKDIR} ${STAGEDIR}/${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}/${WWWDIR} .include Index: head/mail/simscan/Makefile =================================================================== --- head/mail/simscan/Makefile (revision 412341) +++ head/mail/simscan/Makefile (revision 412342) @@ -1,138 +1,138 @@ # Created by: Anton Karpov # $FreeBSD$ PORTNAME= simscan PORTVERSION= 1.4.0 PORTREVISION= 7 CATEGORIES= mail security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Fast Content/Anti-virus Scanner for qmail Written in C USES= qmail:build GNU_CONFIGURE= yes USERS= ${PORTNAME} GROUPS= ${USERS} WORKDIR?= ${QMAIL_PREFIX}/${PORTNAME} QMAIL_QUEUE= ${QMAIL_PREFIX}/bin/qmail-queue SUB_FILES= pkg-message SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX} \ SIMSCAN_DIR=${PORTNAME} PLIST_SUB= QMAIL_PREFIX=${QMAIL_PREFIX} \ SIMSCAN_DIR=${PORTNAME} OPTIONS_DEFINE= CLAMAV RIPMIME SPAMD USER DOMAIN ATTACH DROPMSG PASSTHRU HEADERS DSPAM DOCS OPTIONS_DEFAULT= CLAMAV RIPMIME CLAMAV_DESC= Support for ClamAV Virus Scanning RIPMIME_DESC= Ripmime Processing (if Clamav ScanMail disabled) SPAMD_DESC= Support for SpamAssassin Spam Filtering USER_DESC= Turn On Per User SpamAssassin (required SPAMD) DOMAIN_DESC= Turn On Per Domain Based Checking ATTACH_DESC= Turn On Attachment Scanning (required CLAMAV) DROPMSG_DESC= Drop Message in Case of Virus Found PASSTHRU_DESC= Pass Spam Thru, Do Not Reject (required SPAMD) HEADERS_DESC= Add a Received Line With Versions of Scanners DSPAM_DESC= Turn on DSPAM scanning CONFIGURE_ARGS=--enable-clamavdb-path=/var/db/clamav \ --enable-qmaildir=${QMAIL_PREFIX} \ - --enable-spamc-user=n \ + --enable-spamc-user=n \ --enable-workdir=${WORKDIR} \ --enable-user=nobody CLAMAV_CONFIGURE_OFF= --enable-clamav=n CLAMAV_BUILD_DEPENDS= clamdscan:${PORTSDIR}/security/clamav RIPMIME_CONFIGURE_OFF= --disable-ripmime RIPMIME_BUILD_DEPENDS= ripmime:${PORTSDIR}/mail/ripmime SPAMD_BUILD_DEPENDS= spamassassin:${PORTSDIR}/mail/spamassassin SPAMD_CONFIGURE_ON= --enable-spam=y \ --enable-spamassassin-path=${LOCALBASE}/bin/spamassassin USER_CONFIGURE_ON= --enable-spamc-user=y DOMAIN_CONFIGURE_ON= --enable-per-domain=y ATTACH_CONFIGURE_ON= --enable-attach=y DROPMSG_CONFIGURE_ON= --enable-dropmsg=y PASSTHRU_CONFIGURE_ON= --enable-spam-passthru=y HEADERS_CONFIGURE_ON= --enable-received=y \ --enable-sigtool-path=${LOCALBASE}/bin/sigtool DSPAM_CONFIGURE_ON= --enable-dspam=y DSPAM_BUILD_DEPENDS= dspam:${PORTSDIR}/mail/dspam .if defined(SPAM_HITS) CONFIGURE_ARGS+=--enable-spam-hits=${SPAM_HITS} .endif .if defined(QUARANTINE_DIR) CONFIGURE_ARGS+=--enable-quarantinedir=${QUARANTINE_DIR} .endif .if defined(SPAMC_ARGS) CONFIGURE_ARGS+=--enable-spamc-args=${SPAMC_ARGS} .endif .if defined(QMAIL_QUEUE) CONFIGURE_ARGS+=--enable-qmail-queue=${QMAIL_QUEUE} .endif PORTDOCS= AUTHORS ChangeLog README TODO if ! ${TEST} -f ${QMAIL_QUEUE}; then \ ${ECHO_MSG} "Unable to find qmail-queue binary trying '${QMAIL_QUEUE}'."; \ ${ECHO_MSG} "Please set QMAIL_PREFIX to your qmail installation directory !"; \ exit 1; \ fi post-patch: @${REINPLACE_CMD} -E 's,($f/daily.cvd"),\1 || test -d "$$f/daily.inc",' \ ${WRKSRC}/configure @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/cdb/conf-cc @${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/cdb/conf-ld @${ECHO_CMD} ${STAGEDIR}${PREFIX} > ${WRKSRC}/cdb/conf-home @${REINPLACE_CMD} -E -e 's|@qmaildir@|$$(DESTDIR)@qmaildir@|' \ -e 's|@workdir@|$$(DESTDIR)@workdir@|' \ -e '/ch(mod|own)/d' \ ${WRKSRC}/Makefile.in pre-configure: @${ECHO_MSG} "" @${ECHO_MSG} "=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=" @${ECHO_MSG} "You may also use the following build options:" @${ECHO_MSG} "" @${ECHO_MSG} "QMAIL_PREFIX Base qmail directory. Default is ${QMAIL_PREFIX}" @${ECHO_MSG} "WORKDIR Directory to unpack emails. Default is ${QMAIL_PREFIX}/${PORTNAME}" @${ECHO_MSG} "QMAIL_QUEUE Define full path and name of the qmail-queue program" @${ECHO_MSG} " Incoming mail is passed to this program after being" @${ECHO_MSG} " scanned by SimScan. Default is ${QMAIL_PREFIX}/bin/qmail-queue" @${ECHO_MSG} "SPAMC_ARGS Define the arguments to pass to spamc." @${ECHO_MSG} " Be sure to place quotes around the options you define" @${ECHO_MSG} "SPAM_HITS Reject spam only above this hit level" @${ECHO_MSG} " Default is 10.0. Useful without PASSTHRU option" @${ECHO_MSG} "QUARANTINE_DIR Directory to keep spam and/or infected emails" @${ECHO_MSG} " Default is disabled" @${ECHO_MSG} "=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=" @${ECHO_MSG} "" pre-install: ${MKDIR} ${STAGEDIR}${QMAIL_PREFIX}/bin post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/mail/tmda/Makefile =================================================================== --- head/mail/tmda/Makefile (revision 412341) +++ head/mail/tmda/Makefile (revision 412342) @@ -1,61 +1,61 @@ # Created by: Jason R. Mastaler # $FreeBSD$ PORTNAME= tmda PORTVERSION= 1.1.12 PORTREVISION= 2 CATEGORIES= mail python MASTER_SITES= ftp://tmda.net/pub/tmda/releases/ \ LOCAL/sergei MAINTAINER= ports@FreeBSD.org COMMENT= Python-based SPAM reduction system LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python shebangfix tar:tgz SHEBANG_FILES= contrib/tofmipd.init SUB_FILES= pkg-message NO_ARCH= yes DOCS= CODENAMES CRYPTO README THANKS NEWS UPGRADE SAMPLES= tmda.el tofmipd.sysconfig vtmdarc SCRIPTS= collectaddys def2html printcdb printdbm sendit.sh \ - smtp-check-sender tofmipd.init tofmipd.sysconfig \ + smtp-check-sender tofmipd.init tofmipd.sysconfig \ update-internaldomains vadduser-tmda vmailmgr-vdir.sh \ vpopmail-vdir.sh wrapfd3.sh OPTIONS_DEFINE= CDB DOCS EXAMPLES CDB_RUN_DEPENDS=${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb do-build: cd ${WRKSRC} && ${PYTHON_CMD} ./compileall do-install: @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/TMDA/pythonlib/email @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/TMDA/pythonlib/email/mime @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/TMDA/Queue ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/*.py* ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/TMDA ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/pythonlib/email/*.py* \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/TMDA/pythonlib/email ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/pythonlib/email/mime/*.py* \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/TMDA/pythonlib/email/mime ${INSTALL_SCRIPT} ${WRKSRC}/TMDA/Queue/*.py* \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/TMDA/Queue @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/templates/*.txt ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/bin/tmda-* ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/dot-tmda/filters ${STAGEDIR}${EXAMPLESDIR}/dot-tmda/lists cd ${WRKSRC}/contrib && \ ${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${EXAMPLESDIR} && \ ${INSTALL_DATA} ${SAMPLES} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/contrib/dot-tmda && \ ${INSTALL_DATA} [Rc]* ${STAGEDIR}${EXAMPLESDIR}/dot-tmda && \ ${INSTALL_DATA} filters/* ${STAGEDIR}${EXAMPLESDIR}/dot-tmda/filters && \ ${INSTALL_DATA} lists/* ${STAGEDIR}${EXAMPLESDIR}/dot-tmda/lists @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/html ${STAGEDIR}${DOCSDIR}/pdf cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} && \ ${CP} -r doc/html doc/pdf ${STAGEDIR}${DOCSDIR} .include Index: head/mail/tpop3d/Makefile =================================================================== --- head/mail/tpop3d/Makefile (revision 412341) +++ head/mail/tpop3d/Makefile (revision 412342) @@ -1,79 +1,79 @@ # Created by: chris@shagged.org # $FreeBSD$ PORTNAME= tpop3d PORTVERSION= 1.5.5 PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= Virtual-domain capable POP3 server supporting MySQL, PgSQL etc auth USE_OPENSSL= yes GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib -lcrypto CONFIGURE_ARGS= --enable-auth-other \ --enable-tcp-wrappers \ --enable-tls \ --with-mailspool-directory=/var/mail OPTIONS_DEFINE= LDAP PERLAUTH PASSWDAUTH FLATAUTH GDBMAUTH MAILDIR MBOXINDICES DRAC FIX_PERLAUTH DOCS OPTIONS_RADIO= DB OPTIONS_RADIO_DB= MYSQL PGSQL DB_DESC= Authentication database PERLAUTH_DESC= Use Perl authentication PASSWDAUTH_DESC= Use /etc/passwd authentication FLATAUTH_DESC= Use /etc/passwd-style flat file authentication GDBMAUTH_DESC= Use authentication against GNU dbm files MAILDIR_DESC= Compile Maildir support MBOXINDICES_DESC= Save Mbox indices DRAC_DESC= DRAC RFC for POP-before-SMTP relaying FIX_PERLAUTH_DESC= Only try it if perl-auth coredumps DRAC_CONFIGURE_ENABLE= drac MAILDIR_CONFIGURE_ENABLE= mbox-maildir PERLAUTH_CONFIGURE_ENABLE= auth-perl FLATAUTH_CONFIGURE_ENABLE= auth-flatfile GDBMAUTH_CONFIGURE_ENABLE= auth-gdbm PASSWDAUTH_CONFIGURE_ENABLE= auth-passwd MBOXINDICES_CONFIGURE_ENABLE= mbox-bsd-save-indices DRAC_BUILD_DEPENDS= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac GDBMAUTH_CPPFLAGS= -I${LOCALBASE}/include GDBMAUTH_LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --enable-auth-mysql \ --with-mysql-lib-dir=${LOCALBASE}/lib/mysql \ --with-mysql-include-dir=${LOCALBASE}/include/mysql PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --enable-auth-pgsql \ --with-pgsql-lib-dir=${LOCALBASE}/lib \ --with-pgsql-include-dir=${LOCALBASE}/include LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_ON= --enable-auth-ldap --with-openldap-root=${LOCALBASE} PERLAUTH_USES= perl5 FIX_PERLAUTH_EXTRA_PATCHES=${PATCHDIR}/extra-patch-auth_perl.c USE_RC_SUBR= tpop3d DEFAULT_CONFIG= ${PREFIX}/etc/tpop3d.conf.sample PORTDOCS= CHANGES CREDITS FAQ HACKING INSTALL PORTABILITY \ - README README.POP-before-SMTP README.auth_mysql TODO + README README.POP-before-SMTP README.auth_mysql TODO post-patch: @${REINPLACE_CMD} '/^CFLAGS/ s, -g -O2,,' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} 's,/etc/tpop3d,${PREFIX}/etc/tpop3d,g' \ ${WRKSRC}/tpop3d.conf.5 ${WRKSRC}/tpop3d.8 do-install: ${INSTALL_DATA} ${FILESDIR}/tpop3d.conf.dist \ ${STAGEDIR}${DEFAULT_CONFIG} ${INSTALL_MAN} ${WRKSRC}/tpop3d.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_MAN} ${WRKSRC}/tpop3d.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${INSTALL_PROGRAM} ${WRKSRC}/tpop3d ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/math/spooles/Makefile =================================================================== --- head/math/spooles/Makefile (revision 412341) +++ head/math/spooles/Makefile (revision 412342) @@ -1,116 +1,116 @@ # Created by: Pedro Giffuni # $FreeBSD$ PORTNAME= spooles PORTVERSION= 2.2 PORTREVISION= 12 CATEGORIES= math MASTER_SITES= http://www.netlib.org/linalg/spooles/ .ifdef WITH_MPI PKGNAMESUFFIX= -mpich .endif DISTNAME= ${PORTNAME}.${PORTVERSION} DIST_SUBDIR= spooles EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= maho@FreeBSD.org COMMENT= SParse Object Oriented Linear Equations Solver .if defined(WITH_MPI) BUILD_DEPENDS= ${LOCALBASE}/lib/libmpich.a:${PORTSDIR}/net/mpich2 .endif USES= gmake tar:tgz OPTIONS_DEFINE= DOCS .if defined(WITH_MPI) PLIST_SUB+= MPI="" PLIST_SUB+= MT="@comment " CONFLICTS= spooles-2* .else PLIST_SUB+= MT="" PLIST_SUB+= MPI="@comment " CONFLICTS= spooles-mpich-2* .endif .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} AllInOne.ps.gz Eigen.ps.gz \ - Install.ps.gz LinSol.ps.gz Ordering.ps.gz \ + Install.ps.gz LinSol.ps.gz Ordering.ps.gz \ PP99.ps.gz ReferenceManual.ps.gz .endif .if ${ARCH} == "sparc64" PICFLAG?= -fPIC .else PICFLAG?= -fpic .endif .SILENT: pre-everything:: .if !defined(WITH_MPI) ${ECHO_MSG} "make WITH_MPI=yes for mpich version" .endif do-extract: ${MKDIR} ${WRKSRC} ; cd ${WRKSRC} ; ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} post-patch: ${MKDIR} ${WRKSRC}_SHARED ; ${CP} -r ${WRKSRC}/* ${WRKSRC}_SHARED @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' \ -e 's+%%CFLAGS%%+${CFLAGS}+g;' \ -e 's+%%CC%%+${CC}+g;' ${WRKSRC}/Make.inc @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+g;' \ -e 's+%%CFLAGS%%+${CFLAGS} ${PICFLAG}+g;' \ -e 's+%%CC%%+${CC}+g;' ${WRKSRC}_SHARED/Make.inc do-build: .if defined(WITH_MPI) @(cd ${WRKSRC}/MPI/src ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f makeGlobalLib) @(cd ${WRKSRC}_SHARED/MPI/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f makeGlobalLib) @(cd ${WRKSRC}_SHARED ; ld -Bshareable -o libspooles.so.1 -x -soname libspooles.so.1 --whole-archive spooles.a ) .else @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} global -f makefile) @(cd ${WRKSRC}/MT/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f makeGlobalLib) @(cd ${WRKSRC}_SHARED; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} global -f makefile) @(cd ${WRKSRC}_SHARED/MT/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f makeGlobalLib) @(cd ${WRKSRC}_SHARED ; ld -Bshareable -o libspooles.so.1 -x -soname libspooles.so.1 --whole-archive spooles.a ) .endif do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/spooles ${INSTALL_DATA} ${WRKSRC}/spooles.a ${STAGEDIR}${PREFIX}/lib/libspooles.a ${INSTALL_DATA} ${WRKSRC}_SHARED/libspooles.so.1 ${STAGEDIR}${PREFIX}/lib ${LN} -sf libspooles.so.1 ${STAGEDIR}${PREFIX}/lib/libspooles.so .if defined(WITH_MPI) ${MKDIR} ${STAGEDIR}${PREFIX}/include/spooles/MPI ${INSTALL_DATA} ${WRKSRC}/MPI/*.h ${STAGEDIR}${PREFIX}/include/spooles/MPI .else ${MKDIR} ${STAGEDIR}${PREFIX}/include/spooles/MT ${INSTALL_DATA} ${WRKSRC}/MT/*.h ${STAGEDIR}${PREFIX}/include/spooles/MT .endif ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/spooles/ .for i in A2 BPG Chv ChvList ChvManager Coords DenseMtx DSTree Drand \ DV ETree FrontMtx GPart Graph I2Ohash IIheap IV IVL Ideq InpMtx \ Lock MSMD PatchAndGoInfo Pencil SolveMap SubMtx SubMtxList SubMtxManager \ SymbFac Tree Utilities ZV misc ${MKDIR} ${STAGEDIR}${PREFIX}/include/spooles/${i} ${INSTALL_DATA} ${WRKSRC}/${i}/*.h ${STAGEDIR}${PREFIX}/include/spooles/${i} .endfor .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/AllInOne.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Eigen.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Install.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/LinSol.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/Ordering.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/PP99.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/ReferenceManual.ps.gz ${STAGEDIR}${DOCSDIR} .endif .include Index: head/math/superlu_mt/Makefile =================================================================== --- head/math/superlu_mt/Makefile (revision 412341) +++ head/math/superlu_mt/Makefile (revision 412342) @@ -1,123 +1,123 @@ # Created by: Pedro Giffuni # $FreeBSD$ PORTNAME= superlu_mt PORTVERSION= 2.0.20080115 PORTREVISION= 7 CATEGORIES= math MASTER_SITES= http://crd.lbl.gov/~xiaoye/SuperLU/ \ http://crd.lbl.gov/~xiaoye/:doc DISTNAME= ${PORTNAME}_2.0 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} simax97.ps.gz:doc DIST_SUBDIR= superlu2 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bf@FreeBSD.org COMMENT= Routines for performing multithreaded sparse factorization USES= fortran gmake OPTIONS_DEFINE= DOCS .include .if exists(${LOCALBASE}/lib/libgoto2.so) WITH_BLAS?= gotoblas .elif exists(${LOCALBASE}/lib/libatlas.so) WITH_BLAS?= atlas .else WITH_BLAS?= reference .endif .if ${WITH_BLAS} == reference LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas BLAS= -lblas .elif ${WITH_BLAS} == gotoblas LIB_DEPENDS+= libgoto2.so:${PORTSDIR}/math/gotoblas BLAS= -lgoto2p BROKEN= Build stops while testing .elif ${WITH_BLAS} == atlas LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas BLAS= -lptf77blas .endif .if ${ARCH} == "sparc64" || ${ARCH} == "amd64" FPIC= -fPIC .else FPIC= -fpic .endif .if ${ARCH} == "sparc64" BROKEN= Does not link on sparc64 .endif USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/SuperLU_MT_2.0 WRKSRC_SHARED= ${WRKDIR}/SuperLU_MT_2.0_shared ALL_TARGET= lib SVERSION= 1 ARCH2FIX= CBLAS/Makefile MAKE_INC/make.openmp MAKE_INC/make.exemplar \ MAKE_INC/make.pthreads TESTING/MATGEN/Makefile \ make.inc SRC/Makefile post-patch: .for fmk in ${ARCH2FIX} @${REINPLACE_CMD} -e 's|^ARCH *.= ar|ARCMD = ar| ; \ s|\$$(ARCH)|$$(ARCMD)|' ${WRKSRC}/${fmk} .endfor ${CP} -r ${WRKSRC} ${WRKSRC_SHARED} @${REINPLACE_CMD} -e 's+%%BLAS%%+-L${LOCALBASE}/lib ${BLAS}+ ; \ s+%%CC%%+${CC}+; s+%%FC%%+${FC}+; \ s+%%CPPFLAGS%%+${CPPFLAGS}+; \ s+%%CFLAGS%%+${CFLAGS}+; \ s+%%FFLAGS%%+${FFLAGS}+; \ s+%%LDFLAGS%%+${LDFLAGS}+; \ s+%%FPIC%%++ ' \ ${WRKSRC}/make.inc @${REINPLACE_CMD} -e 's+%%BLAS%%+-L${LOCALBASE}/lib ${BLAS}+ ; \ s+%%CC%%+${CC}+; s+%%FC%%+${FC}+; \ s+%%CPPFLAGS%%+${CPPFLAGS}+; \ s+%%CFLAGS%%+${CFLAGS} ${FPIC}+; \ s+%%FFLAGS%%+${FFLAGS} ${FPIC}+; \ s+%%LDFLAGS%%+${LDFLAGS}+; \ s+%%FPIC%%+${FPIC}+ ' \ ${WRKSRC_SHARED}/make.inc do-build: cd ${WRKSRC} ; ${MAKE_CMD} LDFLAGS="${LDFLAGS}" cd ${WRKSRC_SHARED} ; ${MAKE_CMD} LDFLAGS="${LDFLAGS}" ${RM} -rf ${WRKDIR}/tmp_static ${MKDIR} ${WRKDIR}/tmp_static cd ${WRKDIR}/tmp_static ${FIND} ${WRKSRC} -name "*\.a" -exec ${CP} {} ${WRKDIR}/tmp_static \; ${RM} -rf ${WRKDIR}/tmp_shared ${MKDIR} ${WRKDIR}/tmp_shared ${FIND} ${WRKSRC_SHARED} -name "*\.a" -exec ${CP} {} ${WRKDIR}/tmp_shared \; @cd ${WRKDIR}/tmp_shared ; for i in `ls *.a | ${SED} 's/\.a//' `; do \ ${RM} -f $${i}.so.* $${i}.so ; \ - ${FC} ${CFLAGS} ${FPIC} ${LDFLAGS} -shared -o $${i}.so.${SVERSION} \ + ${FC} ${CFLAGS} ${FPIC} ${LDFLAGS} -shared -o $${i}.so.${SVERSION} \ -Wl,-soname,$${i}.so.${SVERSION} -Wl,--allow-multiple-definition \ -Wl,--whole-archive $${i}.a -Wl,--no-whole-archive -Wl,--as-needed; \ ${LN} -s $${i}.so.${SVERSION} $${i}.so ;\ done do-install: ${INSTALL_DATA} ${WRKDIR}/tmp_static/libsuperlu_mt.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKDIR}/tmp_shared/libsuperlu_mt.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s -f libsuperlu_mt.so.${SVERSION} libsuperlu_mt.so ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME} .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} # ${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${STAGEDIR}${DOCSDIR} # ${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/*.ps ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/simax97.ps.gz ${STAGEDIR}${DOCSDIR} .endif regression-test: do-build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} testing) @(cd ${WRKSRC_SHARED} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} testing) .include Index: head/math/vtk5/Makefile =================================================================== --- head/math/vtk5/Makefile (revision 412341) +++ head/math/vtk5/Makefile (revision 412342) @@ -1,286 +1,286 @@ # Created by: Mykola Khotyaintsev # $FreeBSD$ PORTNAME= vtk PORTVERSION= 5.10.1 PORTREVISION= 5 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${PORTVERSION:R}/ PKGNAMESUFFIX= 5 MAINTAINER= ports@FreeBSD.org COMMENT= The Visualization Toolkit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Copyright.txt LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff WRKSRC= ${WRKDIR}/VTK${PORTVERSION} CONFLICTS= vtk-4* SUB_FILES= vtk.3 USES= alias cmake:outsource jpeg USE_XORG= xt USE_LDCONFIG= ${PREFIX}/lib/vtk-${PORTVERSION:R} CXXFLAGS+= -DUSE_INTERP_ERRORLINE OPTIONS_DEFINE= SHARED THEORA VTKMPEG2 GL2PS OSMESA QT4 JAVA \ PYTHON TCLTK DBGLEAKS LEGACY DOCS OPTIONS_DEFAULT=SHARED GL2PS QT4 TCLTK LEGACY SHARED_DESC= Build shared libraries VTKMPEG2_DESC= Patented MPEG2 encoder module GL2PS_DESC= OpenGL to PostScript conversion module OSMESA_DESC= Use Mesa for off-screen rendering DBGLEAKS_DESC= Build leak checking support LEGACY_DESC= Include legacy code PLIST_SUB+= VER1="${PORTVERSION}" \ VER2="${PORTVERSION:R}" \ VER3="${PORTVERSION:R:R}" PORTDOCS= README.html CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON \ -DBUILD_TESTING:BOOL=OFF \ -DKWSYS_LFS_DISABLE:BOOL=ON \ -DVTK_USE_PARALLEL:BOOL=ON \ -DVTK_USE_GUISUPPORT:BOOL=ON \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T:BOOL=ON \ -DVTK_DATA_ROOT:PATH=${EXAMPLESDIR}/VTKData \ -DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libGL.so \ -DOPENGL_glu_LIBRARY:FILEPATH=${LOCALBASE}/lib/libGLU.so .include .if ${PORT_OPTIONS:MSHARED} CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ -DVTK_USE_SYSTEM_JPEG:BOOL=ON \ -DVTK_USE_SYSTEM_PNG:BOOL=ON \ -DVTK_USE_SYSTEM_TIFF:BOOL=ON \ -DVTK_USE_SYSTEM_ZLIB:BOOL=ON PLIST_SUB+= SHARED="" \ STATIC="@comment " .else CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=OFF \ -DVTK_USE_SYSTEM_EXPAT:BOOL=OFF \ -DVTK_USE_SYSTEM_JPEG:BOOL=OFF \ -DVTK_USE_SYSTEM_PNG:BOOL=OFF \ -DVTK_USE_SYSTEM_TIFF:BOOL=OFF \ -DVTK_USE_SYSTEM_ZLIB:BOOL=OFF PLIST_SUB+= SHARED="@comment " \ STATIC="" .endif .if ${PORT_OPTIONS:MVTKMPEG2} LIB_DEPENDS+= libvtkMPEG2Encode.so:${PORTSDIR}/multimedia/vtkmpeg2encode PLIST_SUB+= MPEG="" CMAKE_ARGS+= -DVTK_USE_PATENTED:BOOL=ON \ -DVTK_USE_MPEG2_ENCODER:BOOL=ON \ -DvtkMPEG2Encode_INCLUDE_PATH=${LOCALBASE}/include/vtk-${PORTVERSION:R} \ -DvtkMPEG2Encode_LIBRARIES=${LOCALBASE}/lib/libvtkMPEG2Encode.so .else PLIST_SUB+= MPEG="@comment " .endif .if ${PORT_OPTIONS:MTHEORA} LIB_DEPENDS+= libogg.so:${PORTSDIR}/audio/libogg \ - libtheora.so:${PORTSDIR}/multimedia/libtheora + libtheora.so:${PORTSDIR}/multimedia/libtheora PLIST_SUB+= THEORA="" CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON .else PLIST_SUB+= THEORA="@comment " CMAKE_ARGS+= -DVTK_USE_OGGTHEORA_ENCODER:BOOL=OFF .endif .if ${PORT_OPTIONS:MGL2PS} LIB_DEPENDS+= libgl2ps.so:${PORTSDIR}/print/gl2ps CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON PLIST_SUB+= GL2PS="" .else PLIST_SUB+= GL2PS="@comment " .endif .if ${PORT_OPTIONS:MOSMESA} LIB_DEPENDS+= libOSMesa.so:${PORTSDIR}/graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF PLIST_SUB+= X11="@comment " .else USE_GL= yes CMAKE_ARGS+= -DVTK_USE_X:BOOL=ON PLIST_SUB+= X11="" .endif .if ${PORT_OPTIONS:MQT4} USE_QT4= corelib designer gui opengl qmake_build uic_build \ moc_build rcc_build CMAKE_ARGS+= -DVTK_USE_GUISUPPORT:BOOL=ON \ - -DVTK_USE_QVTK:BOOL=ON \ - -DVTK_USE_QT:BOOL=ON \ - -DDESIRED_QT_VERSION:STRING=4 \ + -DVTK_USE_QVTK:BOOL=ON \ + -DVTK_USE_QT:BOOL=ON \ + -DDESIRED_QT_VERSION:STRING=4 \ -DQT_QMAKE_EXECUTABLE:FILEPATH=${QMAKE} \ -DVTK_INSTALL_QT_DIR:FILEPATH=/lib/qt4/plugins/designer PLIST_SUB+= QT="" .else CMAKE_ARGS+= -DVTK_USE_GUISUPPORT:BOOL=OFF PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} IGNORE= python wrapping does not stage properly .if ${PORT_OPTIONS:MSHARED} == "" IGNORE= python wrapping requires shared libraries.\ Run make config again and enable the SHARED option .endif USES+= python USE_PYTHON= distutils PYDISTUTILS_PKGNAME= VTK # INSTALLS_EGGINFO support has been removed # INSTALLS_EGGINFO= yes CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=ON \ - -DVTK_PYTHON_SETUP_ARGS:STRING='--prefix="${PREFIX}"' + -DVTK_PYTHON_SETUP_ARGS:STRING='--prefix="${PREFIX}"' PLIST_SUB+= PYTHON="" .else CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=OFF PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MTCLTK} CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON PLIST_SUB+= TCLTK="" .else CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=OFF PLIST_SUB+= TCLTK="@comment " .endif # Used by both tcl/tk and python .if ${PORT_OPTIONS:MTCLTK} || ${PORT_OPTIONS:MPYTHON} USES+= tk CMAKE_ARGS+= -DVTK_USE_TK:BOOL=ON \ -DTCL_INCLUDE_PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH=${TK_INCLUDEDIR} PLIST_SUB+= WRAP_PYTHON_OR_TCLTK="" \ TCLTK_VER="${TCL_VER}" .else PLIST_SUB+= WRAP_PYTHON_OR_TCLTK="@comment " .endif .if ${PORT_OPTIONS:MJAVA} .if ${PORT_OPTIONS:MSHARED} == "" IGNORE= java wrapping requires shared libraries.\ Run make config again and enable the SHARED option .endif .if ${ARCH} == "amd64" CXXFLAGS+= -fPIC .endif CATEGORIES+= java USE_JAVA= yes JAVA_VENDOR= openjdk JAVA_VERSION= 1.6+ CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=ON \ - -DJAVA_AWT_INCLUDE_PATH:FILEPATH=${JAVA_HOME}/include \ - -DJAVA_INCLUDE_PATH:FILEPATH=${JAVA_HOME}/include \ - -DJAVA_INCLUDE_PATH2:FILEPATH=${JAVA_HOME}/include/freebsd \ + -DJAVA_AWT_INCLUDE_PATH:FILEPATH=${JAVA_HOME}/include \ + -DJAVA_INCLUDE_PATH:FILEPATH=${JAVA_HOME}/include \ + -DJAVA_INCLUDE_PATH2:FILEPATH=${JAVA_HOME}/include/freebsd \ -DJAVA_AWT_LIBRARY:FILEPATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:FILEPATH=${JAVA_HOME}/jre/lib/${ARCH}/server/libjvm.so PLIST_SUB+= JAVA="" .else PLIST_SUB+= JAVA="@comment " .endif # Wrapping .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MTCLTK} || ${PORT_OPTIONS:MJAVA} PLIST_SUB+= WRAPPING="" .else PLIST_SUB+= WRAPPING="@comment " .endif .if ${PORT_OPTIONS:MDBGLEAKS} CMAKE_ARGS+= -DVTK_DEBUG_LEAKS:BOOL=ON .else CMAKE_ARGS+= -DVTK_DEBUG_LEAKS:BOOL=OFF .endif .if ${PORT_OPTIONS:MLEGACY} CMAKE_ARGS+= -DVTK_LEGACY_REMOVE:BOOL=OFF PLIST_SUB+= LEGACY="" .else CMAKE_ARGS+= -DVTK_LEGACY_REMOVE:BOOL=ON PLIST_SUB+= LEGACY="@comment " .endif post-patch: ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ ${WRKSRC}/Hybrid/vtkVRMLImporter.cxx # ${REINPLACE_CMD} -e '222s|)|) \&\& !defined(__FreeBSD__)|' \ # ${WRKSRC}/Utilities/kwsys/SharedForward.h.in ${REINPLACE_CMD} -e '25,30d' ${WRKSRC}/Wrapping/Python/setup.py.in .if ${PORT_OPTIONS:MSHARED} ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|g' \ ${WRKSRC}/IO/vtkPNGReader.cxx .endif post-configure: .if ${PORT_OPTIONS:MJAVA} ${REINPLACE_CMD} -e 's|-ljawt$$||' \ ${CONFIGURE_WRKSRC}/Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/link.txt .endif pre-install: .if ${PORT_OPTIONS:MPYTHON} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .endif ${MKDIR} ${STAGEDIR}${PREFIX}/man/man3 ${INSTALL_MAN} ${WRKDIR}/vtk.3 ${STAGEDIR}${PREFIX}/man/man3 .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.html ${STAGEDIR}${DOCSDIR} .endif LIBS_TOFIX= vtkNetCDF_cxx vtkhdf5 vtkhdf5_hl LIBDIR= ${PREFIX}/lib/vtk-${PORTVERSION:R}/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/qt4/plugins/designer/libQVTKWidgetPlugin.so # Ports system wants us to conform to lib.so.x format, but VTK5 # only installs lib.so.x.y and lib.so.x.y.z. .if ${PORT_OPTIONS:MSHARED} @for lib in ${LIBS_TOFIX}; do \ ${INSTALL_LIB} ${STAGEDIR}${LIBDIR}/lib$$lib.so ${STAGEDIR}${LIBDIR}/lib$$lib.so.${PORTVERSION}; \ ${LN} -sf lib$$lib.so.${PORTVERSION} ${STAGEDIR}${LIBDIR}/lib$$lib.so.${PORTVERSION:R}; \ done @cd ${STAGEDIR}${LIBDIR}; \ for lib in *.so; do \ ${RM} -f $$lib; \ ${LN} -sf $$lib.${PORTVERSION} $$lib.${PORTVERSION:R}; \ ${LN} -sf $$lib.${PORTVERSION:R} $$lib.${PORTVERSION:R:R}; \ ${LN} -sf $$lib.${PORTVERSION:R:R} $$lib; \ done .if ${PORT_OPTIONS:MQT4} @cd ${STAGEDIR}${LIBDIR}; \ for lib in libQVTK*.so; do \ ${RM} -f $$lib; \ ${LN} -sf $$lib.${PORTVERSION} $$lib; \ ${LN} -sf $$lib.${PORTVERSION} $$lib.${PORTVERSION:R:R}; \ done .endif .endif .if ${PORT_OPTIONS:MVTKMPEG2} @${ECHO_CMD} @${ECHO_CMD} "This port uses the patented MPEG2 encoder." @${ECHO_CMD} .endif .include Index: head/math/vtk6/Makefile =================================================================== --- head/math/vtk6/Makefile (revision 412341) +++ head/math/vtk6/Makefile (revision 412342) @@ -1,220 +1,220 @@ # Created by: gahr # $FreeBSD$ PORTNAME= vtk PORTVERSION= 6.2.0 PORTREVISION= 2 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 6 DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= stephen@FreeBSD.org COMMENT= The Visualization Toolkit LICENSE= BSD3CLAUSE LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \ - libpng.so:${PORTSDIR}/graphics/png \ + libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libexpat.so:${PORTSDIR}/textproc/expat2 # # TODO # * VTK Groups CONFLICTS= vtk-4* USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= xt USES= alias cmake:outsource jpeg CXXFLAGS+= -I${LOCALBASE}/include VTK_SHORT_VER= ${PORTVERSION:R} PLIST_SUB+= VER2=${VTK_SHORT_VER} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OSMESA EXAMPLES SHARED OPTIONS_DEFAULT=PYTHON SHARED #OPTIONS_DEFAULT=MPI Qt JAVA PYTHON TCLTK DESIGNER OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Options groups #VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views VTK_GROUPS= MPI VTK_WRAPS= JAVA TCLTK PYTHON OPTIONS_GROUP= Groups Wrapping OPTIONS_GROUP_Groups=${VTK_GROUPS} OPTIONS_GROUP_Wrapping=${VTK_WRAPS} .for g in ${VTK_GROUPS} $g_DESC= Build the $g group .endfor .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor # Qt radio OPTIONS_RADIO= Qt OPTIONS_RADIO_Qt= QT4 QT5 Qt_DESC= Qt GUI support QT4_DESC= Qt 4 toolkit support QT5_DESC= Qt 5 toolkit support CMAKE_ARGS+= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_NO_DOCUMENTATION=ON \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ -DVTK_USE_SYSTEM_TIFF:BOOL=ON \ -DVTK_USE_SYSTEM_PNG:BOOL=ON \ -DVTK_USE_SYSTEM_JPEG:BOOL=ON \ -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \ -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \ -DSTAGEDIR=${STAGEDIR} \ -DModule_vtkTestingCore:BOOL=ON \ -DModule_vtkTestingRendering:BOOL=ON SHARED_CMAKE_ON= -DBUILD_SHARED_LIBS:BOOL=ON SHARED_CMAKE_OFF= -DBUILD_SHARED_LIBS:BOOL=OFF # Mangling so that it will build when science/netcdf is installed. post-patch: ${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \ ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/xxxnetcdf.h ${FIND} ${WRKSRC}/ThirdParty/netcdf -type f | ${XARGS} ${REINPLACE_CMD} \ -E 's/[[:<:]]netcdf\.h[[:>:]]/xxxnetcdf.h/' .include .for g in ${VTK_GROUPS} . if ${PORT_OPTIONS:M${g}} CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON . else CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF . endif .endfor .if ${PORT_OPTIONS:MOSMESA} LIB_DEPENDS+= libOSMesa.so:${PORTSDIR}/graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF PLIST_SUB+= X11="@comment " \ OSMESA="" .else USE_GL= gl PLIST_SUB+= X11="" \ OSMESA="@comment " .endif .if ${PORT_OPTIONS:MEXAMPLES} CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=ON .endif .if ${PORT_OPTIONS:MMPI} LIB_DEPENDS+= libmpi.so:${PORTSDIR}/net/openmpi CMAKE_ARGS+= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec PLIST_SUB+= MPI="" .else PLIST_SUB+= MPI="@comment " .endif .if ${PORT_OPTIONS:MQT4} USE_QT4= gui_build gui_run network_build network_run sql_build sql_run \ moc_build uic_build qmake_build rcc_build opengl webkit_build \ webkit_run CMAKE_ARGS+= -DVTK_QT_VERSION:STRING="4" .endif .if ${PORT_OPTIONS:MQT5} USE_QT5= gui_build gui_run network_build network_run sql_build sql_run \ qmake_build opengl webkit_build buildtools webkit_run CMAKE_ARGS+= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 .endif .if ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5} CMAKE_ARGS+= -DVTK_Group_Qt:BOOL=ON PLIST_SUB+= QT="" .else PLIST_SUB+= QT="@comment " CMAKE_ARGS+= -DVTK_Group_Qt:BOOL=OFF .endif .if ${PORT_OPTIONS:MDESIGNER} .if ${PORT_OPTIONS:MQT5} USE_QT5+= designer .elif ${PORT_OPTIONS:MQT4} USE_QT4+= designer .else IGNORE= designer requires either QT4 or QT5 .endif PLIST_SUB+= DESIGNER="" CMAKE_ARGS+= -DQT_DESIGNER_PLUGIN:BOOL=ON .else PLIST_SUB+= DESIGNER="@comment " CMAKE_ARGS+= -DQT_DESIGNER_PLUGIN:BOOL=OFF .endif # Wrapping .if ${PORT_OPTIONS:MJAVA} CATEGORIES+= java USE_JAVA= yes CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=ON \ - -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ + -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so PLIST_SUB+= JAVA="" .else CMAKE_ARGS+= -DVTK_WRAP_JAVA:BOOL=OFF \ - -DModule_vtkWrappingJava:BOOL=OFF + -DModule_vtkWrappingJava:BOOL=OFF PLIST_SUB+= JAVA="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=ON \ - -DVTK_INSTALL_PYTHON_MODULE_DIR:STRING=${PYTHONPREFIX_SITELIBDIR} \ + -DVTK_INSTALL_PYTHON_MODULE_DIR:STRING=${PYTHONPREFIX_SITELIBDIR} \ -DModule_vtkRenderingMatplotlib:BOOL=ON \ -DModule_vtkPythonInterpreter:BOOL=ON PLIST_SUB+= PYTHON="" RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:${PORTSDIR}/math/py-matplotlib .else CMAKE_ARGS+= -DVTK_WRAP_PYTHON:BOOL=OFF PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MTCLTK} USES+= tk CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON \ - -DVTK_Group_Tk:BOOL=ON \ + -DVTK_Group_Tk:BOOL=ON \ -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} PLIST_SUB+= TCLTK="" .else CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=OFF \ - -DVTK_Group_Tk:BOOL=OFF + -DVTK_Group_Tk:BOOL=OFF PLIST_SUB+= TCLTK="@comment " .endif .if ${PORT_OPTIONS:MJAVA} || ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MTCLTK} PLIST_SUB+= WRAP="" .else PLIST_SUB+= WRAP="@comment " .endif .if ${PORT_OPTIONS:MDOCS} CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=ON BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen .else CMAKE_ARGS+= -DBUILD_DOCUMENTATION:BOOL=OFF .endif .include Index: head/multimedia/gstreamer-plugins/Makefile =================================================================== --- head/multimedia/gstreamer-plugins/Makefile (revision 412341) +++ head/multimedia/gstreamer-plugins/Makefile (revision 412342) @@ -1,172 +1,172 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ # $MCom: ports/multimedia/gstreamer-plugins/Makefile,v 1.125 2010/03/16 19:33:10 mezz Exp $ PORTNAME= gstreamer PORTVERSION?= ${BASE_PORTVERSION} # When chasing a shared library for a plug-in bump the PORTREVISION in the # plug-in port instead, like ${category}/gstreamer-plugin-${PLUGIN}. PORTREVISION?= 6 PORTEPOCH= 3 CATEGORIES?= multimedia audio MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \ http://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \ http://gstreamer.freedesktop.org/src/gst-plugins-good/:good \ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/:ugly PKGNAMESUFFIX?= -plugins${GST_PLUGIN_SUFFIX} MAINTAINER= multimedia@FreeBSD.org COMMENT?= GStreamer written collection of plugins handling several media types BUILD_DEPENDS+= v4l_compat>=1.0.20110720:${PORTSDIR}/multimedia/v4l_compat \ gstreamer>=0.10.36:${PORTSDIR}/multimedia/gstreamer \ orc>=0.4.14:${PORTSDIR}/devel/orc LIB_DEPENDS+= libgstreamer-0.10.so:${PORTSDIR}/multimedia/gstreamer \ liborc-0.4.so:${PORTSDIR}/devel/orc PORTSCOUT= limit:0\.10\..* CFLAGS:= ${CFLAGS} -O2 -Wno-format BASE_PORTVERSION= 0.10.36 BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION} BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX} BAD_PORTVERSION= 0.10.23 BAD_DISTNAME= gst-plugins-bad-${BAD_PORTVERSION} BAD_DISTFILE= ${BAD_DISTNAME}${EXTRACT_SUFX} GOOD_PORTVERSION= 0.10.31 GOOD_DISTNAME= gst-plugins-good-${GOOD_PORTVERSION} GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX} UGLY_PORTVERSION= 0.10.19 UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION} UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX} DIST?= good SHLIB_VERSION= 1 VERSION= ${GST_VERSION} WANT_GSTREAMER= yes USE_GNOME+= introspection:build USES= gettext gmake libtool:keepla pathfix pkgconfig shebangfix tar:bzip2 GNU_CONFIGURE= yes GST_PLUGIN?= base INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-option-checking CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} CFLAGS+= -I${LOCALBASE}/include DEFAULT_AUDIOSINK?= osssink DEFAULT_AUDIOSRC?= osssrc # Include bsd.port.options.mk and not bsd.port.pre.mk to be able to use USES .include .if ${ARCH}=="i386" PLIST_SUB+= I386="" .else PLIST_SUB+= I386="@comment " .endif .if ${GST_PLUGIN} == "base" gst_base_DIST= base NO_GSTREAMER_COMMON= yes USE_LDCONFIG= yes USE_XORG= x11 xv xext videoproto xextproto PLIST_SUB+= VERSION="${VERSION}" \ SHLIB_VERSION="${SHLIB_VERSION}" SHEBANG_FILES= tools/gst-visualise-m.m .else USE_GSTREAMER= yes .endif .include "${MASTERDIR}/Makefile.common" .if ${DIST}=="base" EXTRACT_ONLY=${BASE_DISTFILE} WRKSRC=${WRKDIR}/${BASE_DISTNAME} PORTVERSION= ${BASE_PORTVERSION} DISTFILES+= ${BASE_DISTFILE}:base PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins/files .elif ${DIST}=="bad" EXTRACT_ONLY=${BAD_DISTFILE} WRKSRC=${WRKDIR}/${BAD_DISTNAME} PORTVERSION= ${BAD_PORTVERSION} DISTFILES+= ${BAD_DISTFILE}:bad PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-bad/files .elif ${DIST}=="ugly" EXTRACT_ONLY=${UGLY_DISTFILE} WRKSRC=${WRKDIR}/${UGLY_DISTNAME} PORTVERSION= ${UGLY_PORTVERSION} DISTFILES+= ${UGLY_DISTFILE}:ugly PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-ugly/files .elif ${DIST}=="makesum" DISTFILES+= ${BASE_DISTFILE}:base ${BAD_DISTFILE}:bad \ ${UGLY_DISTFILE}:ugly ${GOOD_DISTFILE}:good .else EXTRACT_ONLY=${GOOD_DISTFILE} WRKSRC=${WRKDIR}/${GOOD_DISTNAME} PORTVERSION= ${GOOD_PORTVERSION} DISTFILES+= ${GOOD_DISTFILE}:good PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins-good/files .endif # cdrom default device .ifdef(WITH_CDROM_DEVICE) DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE} .else DEFAULT_CDROM_DEVICE=/dev/acd0 .endif # dvd default device .ifdef(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else DEFAULT_DVD_DEVICE=/dev/acd0 .endif post-patch: .if ${DIST}=="bad" @${REINPLACE_CMD} -e 's|opencv <= 2.2.0|opencv <= 2.3.99|g' \ -e 's|GST_LIBVERSION=23:0:0|GST_LIBVERSION=0:0:0|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \ ${WRKSRC}/ext/resindvd/resindvdbin.c \ ${WRKSRC}/ext/resindvd/resindvdsrc.c .endif @${FIND} ${WRKSRC}/ext -name Makefile.in | \ ${XARGS} -n 10 ${REINPLACE_CMD} -e \ 's|$$(top_builddir)/gst-libs/gst/tag/libgsttag-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgsttag-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/audio/libgstaudio-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstaudio-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/riff/libgstriff-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstriff-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstsignalprocessor-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstbasevideo-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstbasevideo-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/video/libgstvideo-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstvideo-@GST_MAJORMINOR@.la|; \ s|$$(top_builddir)/gst-libs/gst/cdda/libgstcdda-$$(GST_MAJORMINOR).la|${LOCALBASE}/lib/libgstcdda-@GST_MAJORMINOR@.la|' @${FIND} ${WRKSRC} -type f | \ ${XARGS} -n 10 ${REINPLACE_CMD} -e \ 's|= 901504 && ${OSVERSION} < 902502) || \ (${OSVERSION} >= 1000037 && ${OSVERSION} < 1000056)) USE_GCC= any .endif .endif .include Index: head/multimedia/ogmtools/Makefile =================================================================== --- head/multimedia/ogmtools/Makefile (revision 412341) +++ head/multimedia/ogmtools/Makefile (revision 412342) @@ -1,53 +1,53 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= ogmtools PORTVERSION= 1.5 PORTREVISION= 13 CATEGORIES= multimedia audio MASTER_SITES= http://www.bunkus.org/videotools/ogmtools/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Tools to extract from/get info about/create OGG media streams LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis USES= tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ogg-prefix=${LOCALBASE} \ - --with-vorbis-prefix=${LOCALBASE} + --with-vorbis-prefix=${LOCALBASE} OPTIONS_DEFINE= DVDREAD OPTIONS_DEFAULT= DVDREAD DVDREAD_DESC= DVD title chapter extraction via libdvdread DVDREAD_LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread DVDREAD_CONFIGURE_ON= --with-dvdread \ --with-dvdread-includes=${LOCALBASE} \ --with-dvdread-libs=${LOCALBASE} DVDREAD_CONFIGURE_OFF= --without-dvdread OPTIONS_SUB= yes post-patch: # disable GNU auto* tools @${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \ -n 10 ${REINPLACE_CMD} -E -e \ 's!^(ACLOCAL|AUTOCONF|AUTOMAKE|AUTOHEADER).+$$!\1=${TRUE}!' # C{,XX}FLAGS safeness @${REINPLACE_CMD} -E -e \ 's|^(CFLAGS).*(-DLINUX)|\1=${CFLAGS} \2|' \ ${WRKSRC}/avilib/Makefile.in @${REINPLACE_CMD} -E -e \ 's|^(CFLAGS[[:space:]]*)=|\1+=|; \ s|^(CXXFLAGS[[:space:]]*)=|\1+=|' \ ${WRKSRC}/Makefile.in post-configure: # malloc.h -> stdlib.h # stdint.h -> inttypes.h @${FIND} ${WRKSRC} -type f | ${XARGS} \ -n 10 ${REINPLACE_CMD} -E -e \ 's!malloc.h!stdlib.h!; \ s|stdint.h|inttypes.h|' .include Index: head/net/avahi-app/Makefile =================================================================== --- head/net/avahi-app/Makefile (revision 412341) +++ head/net/avahi-app/Makefile (revision 412342) @@ -1,158 +1,158 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= avahi PORTVERSION= 0.6.31 PORTREVISION?= 5 CATEGORIES?= net dns MASTER_SITES= http://www.avahi.org/download/ PKGNAMESUFFIX?= -app MAINTAINER?= gnome@FreeBSD.org COMMENT?= Service discovery on a local network AVAHI_SLAVE?= no .if ${AVAHI_SLAVE} != header LIB_DEPENDS?= libexpat.so:${PORTSDIR}/textproc/expat2 \ libdaemon.so:${PORTSDIR}/devel/libdaemon \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libgdbm.so:${PORTSDIR}/databases/gdbm USERS?= ${PORTNAME} GROUPS?= ${USERS} USES+= alias gettext gmake libtool pathfix pkgconfig USE_GNOME+= glib20 intltool introspection USE_GNOME_SUBR= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS?=--with-distro=freebsd \ --with-dbus-system-socket=unix:path=/var/run/dbus/system_bus_socket \ --disable-monodoc \ --disable-doxygen-doc \ --disable-doxygen-dot \ --disable-qt3 \ --localstatedir=/var \ --enable-compat-howl CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_KQUEUE LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .if ${AVAHI_SLAVE} == no CONFLICTS= howl-[0-9]* DAEMON_CONFIG_FILES= hosts avahi-daemon.conf .endif USE_RC_SUBR=yes .endif # !avahi-header .include .if ${AVAHI_SLAVE} != header .if ${AVAHI_SLAVE} == autoipd CONFIGURE_ARGS+=--enable-autoipd .else CONFIGURE_ARGS+=--disable-autoipd .endif .if ${AVAHI_SLAVE} == gtk CONFIGURE_ARGS+=--enable-gtk .else CONFIGURE_ARGS+=--disable-gtk .endif .if ${AVAHI_SLAVE} == gtk3 CONFIGURE_ARGS+=--enable-gtk3 .else CONFIGURE_ARGS+=--disable-gtk3 .endif .if ${AVAHI_SLAVE} == libdns CONFIGURE_ARGS+=--enable-compat-libdns_sd .else CONFIGURE_ARGS+=--disable-compat-libdns_sd .endif .if ${AVAHI_SLAVE} == python CONFIGURE_ARGS+=--enable-python .else CONFIGURE_ARGS+=--disable-python .endif .if ${AVAHI_SLAVE} == qt4 CONFIGURE_ARGS+=--enable-qt4 \ --disable-expat \ --disable-gdbm .else CONFIGURE_ARGS+=--disable-qt4 .endif .if ${AVAHI_SLAVE} == sharp CONFIGURE_ARGS+=--enable-mono .else CONFIGURE_ARGS+=--disable-mono .endif CONFIGURE_ARGS+=--disable-stack-protector post-patch: avahi-post-patch avahi-post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \ ${WRKSRC}/man/*.* @${RM} -f ${WRKSRC}/man/*.bak @${REINPLACE_CMD} -e 's|-ldl||g ; s|netdev|network|g' \ ${WRKSRC}/configure \ ${WRKSRC}/avahi-client/Makefile.in \ ${WRKSRC}/avahi-daemon/Makefile.in @${REINPLACE_CMD} -e 's|have_inotify=yes|have_inotify=no|' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ - ${REINPLACE_CMD} -e 's|(LIBINTL)|(INTLLIBS)|g ; \ + ${REINPLACE_CMD} -e 's|(LIBINTL)|(INTLLIBS)|g ; \ s|(LIBICONV)|(LTLIBICONV)|g' @${REINPLACE_CMD} -e 's|%%RC_SUBR%%|/etc/rc.subr| ; \ - s|%%GNOME_SUBR%%|${GNOME_SUBR}|' \ + s|%%GNOME_SUBR%%|${GNOME_SUBR}|' \ ${WRKSRC}/initscript/freebsd/avahi-dnsconfd.sh.in \ ${WRKSRC}/initscript/freebsd/avahi-daemon.sh.in @${REINPLACE_CMD} -e 's|dbus_connection_disconnect|dbus_connection_close|g' \ - ${WRKSRC}/avahi-client/client.c \ + ${WRKSRC}/avahi-client/client.c \ ${WRKSRC}/avahi-daemon/dbus-protocol.c @${REINPLACE_CMD} -e 's|^_||g' \ ${WRKSRC}/avahi-ui/*.desktop.in.in @${REINPLACE_CMD} -e 's|am: install-avahiincludeHEADERS|am:|g' \ ${WRKSRC}/avahi-ui/Makefile.in post-build: avahi-post-build avahi-post-build: .for f in ${AVAHI_PKGCONFIG} @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${f} .endfor pre-su-install: avahi-pre-su-install avahi-pre-su-install: .if ${AVAHI_SLAVE}=="no" @${MKDIR} ${STAGEDIR}${PREFIX}/lib/avahi @${TOUCH} -f ${STAGEDIR}${PREFIX}/lib/avahi/.keep .endif post-install: avahi-post-install avahi-post-install: .if defined(MANPAGES) .for f in ${MANPAGES} ${INSTALL_DATA} ${WRKSRC}/man/${f} ${STAGEDIR}${PREFIX}/man/man${f:E}/${f} .endfor .endif .for f in ${AVAHI_PKGCONFIG} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/libdata/pkgconfig .endfor .for f in ${DAEMON_CONFIG_FILES} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/avahi ${INSTALL_DATA} ${WRKSRC}/avahi-daemon/${f} \ ${STAGEDIR}${PREFIX}/etc/avahi/${f}.sample .endfor .if ${AVAHI_SLAVE}==no ${INSTALL_DATA} ${FILESDIR}/org.freedesktop.Avahi.service \ ${STAGEDIR}${PREFIX}/share/dbus-1/system-services .endif .endif # ! avahi-header .include Index: head/net/exaddos/Makefile =================================================================== --- head/net/exaddos/Makefile (revision 412341) +++ head/net/exaddos/Makefile (revision 412342) @@ -1,40 +1,40 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= exaddos PORTVERSION= 0.4.0 CATEGORIES= net MASTER_SITES= http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Monitor your network for DDoS LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE 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 + ${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:${PORTSDIR}/net-mgmt/py-snmp4 USE_GITHUB= yes GH_ACCOUNT= Exa-Networks USES= python tar:tgz 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} .include Index: head/net/freeradius3/Makefile =================================================================== --- head/net/freeradius3/Makefile (revision 412341) +++ head/net/freeradius3/Makefile (revision 412342) @@ -1,372 +1,372 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= freeradius DISTVERSION= 3.0.11 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \ http://ftp.cc.uoc.gr/mirrors/ftp.freeradius.org/%SUBDIR%/ \ http://mirrors.rit.edu/zi/ MASTER_SITE_SUBDIR= . old PKGNAMESUFFIX= 3 DISTNAME= freeradius-server-${DISTVERSION} MAINTAINER= zi@FreeBSD.org COMMENT= Free RADIUS server implementation LICENSE= GPLv2 LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm \ libtalloc.so:${PORTSDIR}/devel/talloc LOGDIR?= /var/log KRB5_CONFIG?= /usr/bin/krb5-config --libs CONFLICTS_INSTALL= gnu-radius-[0-9].* openradius-[0-9].* radiusd-cistron-[0-9].* \ freeradius-mysql-[0-9].* freeradius-[^3].* USE_RC_SUBR= radiusd USES= gmake shebangfix tar:bzip2 SHEBANG_FILES= src/modules/rlm_counter/rad_counter scripts/sql/radsqlrelay GNU_CONFIGURE= yes USE_OPENSSL= yes # Prevent /root/.rnd leftover MAKE_ARGS+= HOME=/dev/null CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= ${CPPFLAGS} LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g} OPTIONS_SUB= yes OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \ PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \ EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \ FREETDS IDN SSL_PORT DOCS SQLITE3 OPTIONS_DEFAULT=USER PERL USER_DESC= Run as user freeradius, group freeradius HEIMDAL_DESC= With Heimdal Kerberos support HEIMDAL_PORT_DESC= With Heimdal Kerberos from ports UNIXODBC_DESC= With unixODBC database support FIREBIRD_DESC= With Firebird database support (EXPERIMENTAL) EXPERIMENTAL_DESC= Build experimental modules UDPFROMTO_DESC= Compile in UDPFROMTO support DEVELOPER_DESC= Enable developer options EDIR_DESC= Enable eDirectory support (implies LDAP) REST_DESC= Enable RESTful API support SSL_PORT_DESC= Use OpenSSL from the ports collection SQLITE3_CONFIGURE_WITH=rlm_sql_sqlite SQLITE3_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 .include # Default requirements for rc script _REQUIRE= NETWORKING SERVERS .if ${PORT_OPTIONS:MUSER} SUB_LIST+= RUN_AS_USER="yes" .else SUB_LIST+= RUN_AS_USER="no" .endif # User and group to use if USER option is chosen RADIUS_USER= freeradius RADIUS_GROUP= freeradius USERS= ${RADIUS_USER} GROUPS= ${RADIUS_GROUP} .if ${PORT_OPTIONS:MKERBEROS} || ${PORT_OPTIONS:MHEIMDAL} .if ${PORT_OPTIONS:MHEIMDAL} .if ${PORT_OPTIONS:MHEIMDAL_PORT} LIB_DEPENDS+= libkrb5.so:${PORTSDIR}/security/heimdal .endif CONFIGURE_ARGS+=--enable-heimdal-krb5 --enable-pthread-support .else LIB_DEPENDS+= libkrb5support.so:${PORTSDIR}/security/krb5 .endif CONFIGURE_ARGS+=--with-rlm_krb5 .if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MHEIMDAL_PORT) CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=/usr/lib CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=/usr/include CONFIGURE_ENV+= KRB5LIBS="$$(${KRB5_CONFIG})" .else CONFIGURE_ARGS+=--with-rlm-krb5-lib-dir=${LOCALBASE}/lib CONFIGURE_ARGS+=--with-rlm-krb5-include-dir=${LOCALBASE}/include .endif PLIST_SUB+= KRB5="" .else CONFIGURE_ARGS+=--without-rlm_krb5 PLIST_SUB+= KRB5="@comment " .endif .if ${PORT_OPTIONS:MEDIR} CONFIGURE_ARGS+=--with-edir .if empty(PORT_OPTIONS:MLDAP) PORT_OPTIONS+= LDAP .endif .else CONFIGURE_ARGS+=--without-edir .endif .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= YES LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 CONFIGURE_ARGS+=--with-rlm_ldap PLIST_SUB+= LDAP="" _REQUIRE+= slapd .else CONFIGURE_ARGS+=--without-rlm_ldap PLIST_SUB+= LDAP="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= YES CONFIGURE_ARGS+=--with-rlm_sql_mysql PLIST_SUB+= MYSQL="" _REQUIRE+= mysql .else CONFIGURE_ARGS+=--without-rlm_sql_mysql PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+=--with-rlm_sql_postgresql PLIST_SUB+= PGSQL="" _REQUIRE+= postgresql .else CONFIGURE_ARGS+=--without-rlm_sql_postgresql PLIST_SUB+= PGSQL="@comment " .endif .if ${PORT_OPTIONS:MUNIXODBC} CONFIGURE_ARGS+=--with-rlm_sql_unixodbc PLIST_SUB+= UNIXODBC="" LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC .else CONFIGURE_ARGS+=--without-rlm_sql_unixodbc PLIST_SUB+= UNIXODBC="@comment " .endif .if ${PORT_OPTIONS:MFIREBIRD} USES+= firebird CONFIGURE_ARGS+=--with-rlm_sql_firebird PLIST_SUB+= FIREBIRD="" .else CONFIGURE_ARGS+=--without-rlm_sql_firebird PLIST_SUB+= FIREBIRD="@comment " .endif # Firebird module is still experimental .if ${PORT_OPTIONS:MFIREBIRD} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 CONFIGURE_ARGS+=--with-rlm_perl PLIST_SUB+= RLMPERL="" .else CONFIGURE_ARGS+=--without-perl --without-rlm_perl PLIST_SUB+= RLMPERL="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python CONFIGURE_ARGS+=--with-rlm_python \ --with-rlm-python-lib-dir=${PYTHON_LIBDIR} \ --with-rlm-python-include-dir=${PYTHON_INCLUDEDIR} PLIST_SUB+= RLMPYTHON="" .else CONFIGURE_ARGS+=--without-rlm_python PLIST_SUB+= RLMPYTHON="@comment " .endif .if ${PORT_OPTIONS:MRUBY} IGNORE= with ruby support leaks memory, breaks signal handling. Please disable RUBY support USE_RUBY= yes CONFIGURE_ARGS+=--with-rlm_ruby PLIST_SUB+= RLMRUBY="" .else CONFIGURE_ARGS+=--without-rlm_ruby --with-ruby=no PLIST_SUB+= RLMRUBY="@comment " .endif # rlm_ruby module is still experimental .if ${PORT_OPTIONS:MRUBY} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MREDIS} LIB_DEPENDS+= libhiredis.so:${PORTSDIR}/databases/hiredis CONFIGURE_ARGS+=--with-rlm_redis --with-rlm_rediswho PLIST_SUB+= RLMREDIS="" .else CONFIGURE_ARGS+=--without-rlm_redis --without-rlm_rediswho PLIST_SUB+= RLMREDIS="@comment " .endif # redis module is still experimental .if ${PORT_OPTIONS:MREDIS} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MREST} LIB_DEPENDS+= libjson-c.so:${PORTSDIR}/devel/json-c \ - libcurl.so:${PORTSDIR}/ftp/curl + libcurl.so:${PORTSDIR}/ftp/curl CONFIGURE_ARGS+=--with-rlm_rest \ --with-libcurl=${LOCALBASE} \ --with-jsonc-lib-dir=${LOCALBASE}/lib \ --with-jsonc-include-dir=${LOCALBASE}/include PLIST_SUB+= RLMREST="" .else CONFIGURE_ARGS+=--without-rlm_rest PLIST_SUB+= RLMREST="@comment " .endif # rest module is still experimental .if ${PORT_OPTIONS:MREST} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MFREETDS} LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+=--with-rlm_freetds PLIST_SUB+= RLMFREETDS="" .else CONFIGURE_ARGS+=--without-rlm_freetds PLIST_SUB+= RLMFREETDS="@comment " .endif # freetds module is still experimental .if ${PORT_OPTIONS:MFREETDS} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MIDN} LIB_DEPENDS+= libidn.so:${PORTSDIR}/dns/libidn CONFIGURE_ARGS+=--with-rlm_idn PLIST_SUB+= RLMIDN="" .else CONFIGURE_ARGS+=--without-rlm_idn PLIST_SUB+= RLMIDN="@comment " .endif # freetds module is still experimental .if ${PORT_OPTIONS:MIDN} && empty(PORT_OPTIONS:MEXPERIMENTAL) EXPM= yes .endif .if ${PORT_OPTIONS:MEXPERIMENTAL} || defined(EXPM) CONFIGURE_ARGS+=--with-experimental-modules PLIST_SUB+= EXPM="" .else CONFIGURE_ARGS+=--without-experimental-modules PLIST_SUB+= EXPM="@comment " .endif .if ${PORT_OPTIONS:MDEVELOPER} CONFIGURE_ARGS+=--enable-developer # Turn off compiler optimisations CFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -Ee 's:-O[0-9]?[[:space:]]*::g' .else CONFIGURE_ARGS+=--quiet .endif # Compile in UDPFROMTO support .if ${PORT_OPTIONS:MUDPFROMTO} CONFIGURE_ARGS+=--with-udpfromto .endif .if ${PORT_OPTIONS:MSSL_PORT} WITH_OPENSSL_PORT=yes .endif .include # if we're installing, place sample configs into ${EXAMPLESDIR} MAKE_ARGS+= raddbdir="${EXAMPLESDIR}/raddb" R=${STAGEDIR} FREERADIUS_LIBDIR= lib/freeradius-${PORTVERSION} PLIST_SUB+= LIBDIR="${FREERADIUS_LIBDIR}" USE_LDCONFIG= ${PREFIX}/${FREERADIUS_LIBDIR} .if empty(PORT_OPTIONS:MDOCS) CONFIGURE_ARGS+=--without-docdir PLIST_SUB+= PORTDOCS="@comment " SUB_LIST+= PORTDOCS="@comment " .else CONFIGURE_ARGS+=--with-docdir=${DOCSDIR} PLIST_SUB+= PORTDOCS="" SUB_LIST+= PORTDOCS="" .endif # This conditionality avoids -L/usr/lib in the radiusd build step when # building with base system OpenSSL .if ${OPENSSLLIB} != "/usr/lib" CONFIGURE_ARGS+=--with-openssl-libraries=${OPENSSLLIB} .endif CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \ --with-openssl-includes=${OPENSSLINC} \ --prefix=${PREFIX} --libdir=${PREFIX}/${FREERADIUS_LIBDIR} \ --localstatedir=/var \ --without-rlm_eap_ikev2 \ --without-rlm_eap_tnc \ --without-rlm_eap2 \ --without-rlm_opendirectory \ --without-rlm_sql_db2 \ --without-rlm_sql_iodbc \ --without-rlm_sql_sybase \ --without-rlm_yubikey \ --without-rlm_sql_oracle \ --without-rlm_securid \ --without-rlm_cache_memcached \ --with-vmps \ --with-collectdclient-lib-dir=/dev/null .if ${ARCH} == amd64 CONFIGURE_ARGS+=--with-pic .endif SUB_FILES+= pkg-install pkg-message SUB_LIST+= RADIUS_USER="${RADIUS_USER}" \ RADIUS_GROUP="${RADIUS_GROUP}" \ RADDB_WORK="${WRKSRC}/raddb" \ RADDB="${PREFIX}/etc/raddb" \ LOGDIR="${LOGDIR}" \ LIBDIR="${PREFIX}/${FREERADIUS_LIBDIR}" SUB_LIST+= REQUIRE="${_REQUIRE}" post-patch: # never try to find execinfo.h (needed until we can enable/disable backtrace @${REINPLACE_CMD} -e '/#include /d' ${WRKSRC}/configure @${REINPLACE_CMD} -Ee "s:tests/all.mk ::" ${WRKSRC}/src/all.mk @${CP} ${WRKSRC}/m4/ax_with_prog.m4 ${WRKSRC} # Patch raddb/certs/Makefile for the full path to the openssl binary (using # ports OpenSSL if installed) @${REINPLACE_CMD} -E \ -e "s:^([[:space:]])+openssl:\1${OPENSSLBASE}/bin/openssl:g" \ ${WRKSRC}/raddb/certs/Makefile @${REINPLACE_CMD} -Ee 's: ..R...sbindir./rc.radiusd : :' \ ${WRKSRC}/scripts/all.mk # If we're using Heimdal from base, alter the LIBS variable .if ${PORT_OPTIONS:MHEIMDAL} && empty(PORT_OPTIONS:MHEIMDAL_PORT) @${REINPLACE_CMD} -e 's|LIBS|KRB5LIBS|g' ${WRKSRC}/src/modules/rlm_krb5/configure @${REINPLACE_CMD} -e 's|-lkrb5|$$(${KRB5_CONFIG})|g' \ ${WRKSRC}/src/modules/rlm_krb5/configure .endif .if empty(PORT_OPTIONS:MRUBY) @${RM} -fr ${WRKSRC}/src/modules/rlm_ruby/ .endif post-build: @${FIND} ${WRKSRC}/build/lib -type f -name '*.so' -exec ${STRIP_CMD} {} \; @${FIND} ${WRKSRC}/build/bin -type f -exec ${STRIP_CMD} {} \; .include Index: head/net/hsflowd/Makefile =================================================================== --- head/net/hsflowd/Makefile (revision 412341) +++ head/net/hsflowd/Makefile (revision 412342) @@ -1,33 +1,33 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= hsflowd PORTVERSION= 1.24.1 CATEGORIES= net MASTER_SITES= SF/host-sflow/Latest/ \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Agent that exports metrics using the sFlow protocol USES= fmake SUB_FILES= pkg-message USE_RC_SUBR= ${PORTNAME} MAKE_ENV= BINDIR=${PREFIX}/sbin INITDIR=${PREFIX}/etc/rc.d \ CONFDIR=${ETCDIR} INSTROOT=${STAGEDIR} MAKE_JOBS_UNSAFE= yes post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|g' \ - -e '/scripts\/hsflowd /d' \ + -e '/scripts\/hsflowd /d' \ -e 's|hsflowd.conf|hsflowd.conf.sample|g' \ - ${WRKSRC}/src/FreeBSD/Makefile ${WRKSRC}/src/sflow/Makefile \ + ${WRKSRC}/src/FreeBSD/Makefile ${WRKSRC}/src/sflow/Makefile \ ${WRKSRC}/src/json/Makefile @${REINPLACE_CMD} -e 's|/etc|${ETCDIR}|g' ${WRKSRC}/src/FreeBSD/hsflowd.h @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ - ${WRKSRC}/src/FreeBSD/scripts/hsflowd + ${WRKSRC}/src/FreeBSD/scripts/hsflowd @${MV} ${WRKSRC}/src/FreeBSD/scripts/hsflowd.conf \ - ${WRKSRC}/src/FreeBSD/scripts/hsflowd.conf.sample + ${WRKSRC}/src/FreeBSD/scripts/hsflowd.conf.sample .include Index: head/net/netatalk/Makefile =================================================================== --- head/net/netatalk/Makefile (revision 412341) +++ head/net/netatalk/Makefile (revision 412342) @@ -1,134 +1,134 @@ # Created by: stb # $FreeBSD$ PORTNAME= netatalk PORTVERSION= 2.2.5 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= net print MASTER_SITES= SF MAINTAINER= marcus@FreeBSD.org COMMENT= File server for Mac OS X LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt USES= gmake iconv libtool perl5 tar:bzip2 USE_BDB= 46+ GNU_CONFIGURE= yes CPPFLAGS+= -D_IPP_PRIVATE_STRUCTURES INSTALL_TARGET= install-strip USE_RC_SUBR= netatalk CONFIGURE_ARGS+= --with-tcp-wrappers \ --with-pkgconfdir=${PREFIX}/etc \ ${ICONV_CONFIGURE_BASE} \ --with-libgcrypt-dir=${LOCALBASE} \ --with-uams-path=${PREFIX}/libexec/netatalk-uams \ --with-bdb=${LOCALBASE} OPTIONS_DEFINE= SRVLOC PAM TIMELORD KRB5 ZEROCONF LDAP SENDFILE SRVLOC_DESC= Service Location Protocol support TIMELORD_DESC= Timelord network time service KRB5_DESC= Kerberos V UAM ZEROCONF_DESC= Zeroconf (Bonjour) support SENDFILE_DESC= sendfile support FILES= AppleVolumes.default AppleVolumes.system afp_ldap.conf \ afpd.conf netatalk.conf LINKS= unbin unhex unsingle hqx2bin single2bin macbinary \ binheader nadheader CONFLICTS= bigloo-2.* cap-6.0.* tct-1.* netatalk-1* yudit-[0-9]* .if exists(/usr/include/netatalk/ddp.h) OPTIONS_DEFINE+=APPLETALK OPTIONS_DEFAULT=APPLETALK APPLETALK_DESC= AppleTalk protocol support .endif .include .if ${PORT_OPTIONS:MKRB5} CONFIGURE_ARGS+= --enable-krbV-uam PLIST_SUB+= NETATALKKRB5="" .else PLIST_SUB+= NETATALKKRB5="@comment " .endif .if ${PORT_OPTIONS:MAPPLETALK} CONFIGURE_ARGS+= --enable-ddp PLIST_SUB+= APPLETALK="" FILES+= atalkd.conf papd.conf .else PLIST_SUB+= APPLETALK="@comment " .endif .if ${PORT_OPTIONS:MPAM} CONFIGURE_ARGS+= --with-pam PLIST_SUB+= NETATALKPAM="" .else CONFIGURE_ARGS+= --without-pam PLIST_SUB+= NETATALKPAM="@comment " .endif .if ${PORT_OPTIONS:MSRVLOC} CONFIGURE_ARGS+= --enable-srvloc=${LOCALBASE} LIB_DEPENDS+= libslp.so:${PORTSDIR}/net/openslp SUB_LIST+= SRVLOC="slpd" .else SUB_LIST+= SRVLOC="" .endif .if ${PORT_OPTIONS:MTIMELORD} CONFIGURE_ARGS+= --enable-timelord PLIST_SUB+= TIMELORD="" .else PLIST_SUB+= TIMELORD="@comment " .endif .if ${PORT_OPTIONS:MZEROCONF} CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app USES+= pkgconfig SUB_LIST+= ZEROCONF="avahi_daemon" .else CONFIGURE_ARGS+= --disable-zerconf SUB_LIST+= ZEROCONF="" .endif .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+= --with-ldap CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib USE_OPENLDAP= yes .else CONFIGURE_ARGS+= --without-ldap .endif .if ${PORT_OPTIONS:MSENDFILE} CONFIGURE_ARGS+= --enable-sendfile .else CONFIGURE_ARGS+= --disable-sendfile .endif post-patch: @${REINPLACE_CMD} -e 's|%%DB_NAME%%|${BDB_INCLUDE_DIR:T}| ; \ - s|%%DB_LIB%%|-l${BDB_LIB_NAME}|g ; \ + s|%%DB_LIB%%|-l${BDB_LIB_NAME}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/configure post-install: @${RM} -f ${STAGEDIR}${PREFIX}/bin/nu ${STAGEDIR}${PREFIX}/bin/lp2pap.sh \ ${STAGEDIR}${PREFIX}/bin/test_parse_mtab \ ${STAGEDIR}${PREFIX}/bin/afpd-mtab.pl ${INSTALL_SCRIPT} ${WRKSRC}/contrib/macusers/macusers \ ${STAGEDIR}${PREFIX}/bin/macusers .for i in ${FILES} ${MV} ${STAGEDIR}${PREFIX}/etc/${i} ${STAGEDIR}${PREFIX}/etc/${i}.sample .endfor .for i in ${LINKS} ${LN} -sf megatron ${STAGEDIR}${PREFIX}/bin/${i} .endfor .include Index: head/net/netatalk3/Makefile =================================================================== --- head/net/netatalk3/Makefile (revision 412341) +++ head/net/netatalk3/Makefile (revision 412342) @@ -1,159 +1,159 @@ # Created by: stb # $FreeBSD$ PORTNAME= netatalk PORTVERSION= 3.1.8 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF PKGNAMESUFFIX= 3 MAINTAINER= marcus@FreeBSD.org COMMENT= File server for Mac OS X LICENSE= GPLv2 LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ - libevent.so:${PORTSDIR}/devel/libevent2 + libevent.so:${PORTSDIR}/devel/libevent2 USE_BDB= 5+ USES= iconv gmake pkgconfig perl5 libtool tar:bzip2 GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_RC_SUBR= netatalk CONFIGURE_ARGS+= --with-pkgconfdir=${PREFIX}/etc \ --with-libgcrypt-dir=${LOCALBASE} \ --with-uams-path=${PREFIX}/libexec/netatalk-uams \ --with-bdb=${LOCALBASE} \ ${ICONV_CONFIGURE_BASE} \ --localstatedir=/var \ --disable-bundled-libevent \ --with-libevent-header=${LOCALBASE}/include \ --with-libevent-lib=${LOCALBASE}/lib OPTIONS_DEFINE=PAM KRB5 LDAP SENDFILE KERBEROS DBUS MYSQL ACL TCPWRAP OPTIONS_DEFAULT=KERBEROS DBUS TCPWRAP OPTIONS_RADIO=ZEROCONF OPTIONS_RADIO_ZEROCONF=AVAHI MDNSRESPONDER OPTIONS_DEFAULT+=AVAHI NOZEROCONF_DESC=Disable Zeroconf(Bonjour) support KRB5_DESC= Enable Kerberos V UAM #DTRACE_DESC= Enable DTrace support MYSQL_DESC= Enable MySQL CNID backend support SENDFILE_DESC= Enable Sendfile support ACL_DESC= Enable ACL support TCPWRAP_DESC= Enable TCP Wrappers support .include CONFLICTS= bigloo-2.* cap-6.0.* tct-1.* netatalk-[12]* yudit-[0-9]* .if ${PORT_OPTIONS:MKRB5} CONFIGURE_ARGS+= --enable-krbV-uam PLIST_SUB+= NETATALKKRB5="" .else PLIST_SUB+= NETATALKKRB5="@comment " .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+= --with-dtrace .else CONFIGURE_ARGS+= --without-dtrace .endif .if ${PORT_OPTIONS:MKERBEROS} CONFIGURE_ARGS+= --with-kerberos .else CONFIGURE_ARGS+= --without-kerberos .endif .if ${PORT_OPTIONS:MPAM} CONFIGURE_ARGS+= --with-pam PLIST_SUB+= NETATALKPAM="" .else CONFIGURE_ARGS+= --without-pam PLIST_SUB+= NETATALKPAM="@comment " .endif .if ${PORT_OPTIONS:MNOZEROCONF} CONFIGURE_ARGS+= --disable-zeroconf SUB_LIST+= ZEROCONF="" .endif .if ${PORT_OPTIONS:MAVAHI} CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app SUB_LIST+= ZEROCONF="avahi_daemon" .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder SUB_LIST+= ZEROCONF="mdnsd" .endif .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib USE_OPENLDAP= yes .else CONFIGURE_ARGS+= --without-ldap .endif .if ${PORT_OPTIONS:MSENDFILE} CONFIGURE_ARGS+= --enable-sendfile .else CONFIGURE_ARGS+= --disable-sendfile .endif .if ${PORT_OPTIONS:MDBUS} || exists(${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc) USES+= python:2 LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus PLIST_SUB+= DBUS="" .else PLIST_SUB+= DBUS="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .else CONFIGURE_ARGS+=--with-mysql-config=/nonexistent .endif .if ${PORT_OPTIONS:MACL} LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl CONFIGURE_ARGS+=--with-acls .else CONFIGURE_ARGS+=--without-acls .endif .if ${PORT_OPTIONS:MTCPWRAP} CONFIGURE_ARGS+=--enable-tcp-wrappers .else CONFIGURE_ARGS+=--disable-tcp-wrappers .endif post-patch: @${REINPLACE_CMD} -e 's|%%DB_NAME%%|${BDB_INCLUDE_DIR:T}| ; \ - s|%%DB_LIB%%|-l${BDB_LIB_NAME}|g ; \ + s|%%DB_LIB%%|-l${BDB_LIB_NAME}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/configure post-stage: @${RM} -f ${STAGEDIR}${PREFIX}/etc/afp.conf \ ${STAGEDIR}${PREFIX}/etc/extmap.conf post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/macusers/macusers \ ${STAGEDIR}${PREFIX}/bin/macusers [ -f ${STAGEDIR}${PREFIX}/etc/afp.conf ] || \ ${INSTALL_DATA} -c ${STAGEDIR}${PREFIX}/etc/afp.conf.dist ${STAGEDIR}${PREFIX}/etc/afp.conf [ -f ${STAGEDIR}${PREFIX}/etc/extmap.conf ] || \ ${INSTALL_DATA} -c ${STAGEDIR}${PREFIX}/etc/extmap.conf.dist ${STAGEDIR}${PREFIX}/etc/extmap.conf .include Index: head/net/nss-pam-ldapd/Makefile =================================================================== --- head/net/nss-pam-ldapd/Makefile (revision 412341) +++ head/net/nss-pam-ldapd/Makefile (revision 412342) @@ -1,130 +1,130 @@ # Created by: melifaro@ipfw.ru # $FreeBSD$ PORTNAME= nss-pam-ldapd PORTVERSION= 0.8.14 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://arthurdejong.org/nss-pam-ldapd/ \ - http://mirrors.rit.edu/zi/ + http://mirrors.rit.edu/zi/ MAINTAINER?= zi@FreeBSD.org COMMENT?= Advanced fork of nss_ldap LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual USES= cpe CPE_VENDOR= arthurdejong GNU_CONFIGURE= yes USE_OPENLDAP= yes USE_RC_SUBR= nslcd PAM_LDAP_SHMAJOR= 1 NSS_LDAP_SHMAJOR= 1 PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES+= pkg-message NSLCD_PIDFILE?= /var/run/nslcd.pid NSLCD_SOCKET?= /var/run/nslcd.ctl OPTIONS_DEFINE= KERBEROS OPTIONS_DEFAULT= KERBEROS .if defined(SLAVE_PORT) OPTIONS_DEFINE+= SASL OPTIONS_MULTI= MG1 OPTIONS_MULTI_MG1= PAM NSS PAM_DESC= Build pam_ldap NSS_DESC= Build nss support SASL_DESC= Build sasl support OPTIONS_DEFAULT+= PAM NSS CONFLICTS+= nss-pam-ldapd-[0-9]* .else OPTIONS_MULTI= MG1 OPTIONS_MULTI_MG1= PAM NSS PAM_DESC= Build pam_ldap NSS_DESC= Build nss support OPTIONS_DEFAULT+= PAM NSS CONFLICTS+= nss-pam-ldapd-sasl-[0-9]* .endif USERS= nslcd GROUPS= nslcd .include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-nslcd-pidfile=${NSLCD_PIDFILE} \ --with-nslcd-socket=${NSLCD_SOCKET} \ --with-ldap-lib=openldap \ --with-nss-ldap-soname=nss_ldap.so.${NSS_LDAP_SHMAJOR} CONFIG_FILE= "nslcd.conf" CONFIGURE_ARGS+= --with-ldap-conf-file=${PREFIX}/etc/${CONFIG_FILE} PLIST_SUB+= CONFIG="${CONFIG_FILE}" \ PAM_LDAP_SHMAJOR="${PAM_LDAP_SHMAJOR}" \ NSS_LDAP_SHMAJOR="${NSS_LDAP_SHMAJOR}" SUB_LIST+= CONFIG_FILE="${PREFIX}/etc/${CONFIG_FILE}" \ NSLCD_PIDFILE="${NSLCD_PIDFILE}" .if empty(PORT_OPTIONS:MKERBEROS) CONFIGURE_ARGS+= --disable-kerberos .endif .if ${PORT_OPTIONS:MSASL} WANT_OPENLDAP_SASL= yes CONFIGURE_ARGS+= --enable-sasl .else CONFIGURE_ARGS+= --disable-sasl .endif .if ${PORT_OPTIONS:MPAM} CONFIGURE_ARGS+= --enable-pam \ --with-pam-seclib-dir=${PREFIX}/lib \ --with-pam-ldap-soname=pam_ldap.so.${PAM_LDAP_SHMAJOR} CONFLICTS+= pam_ldap-1.* PLIST_SUB+= PAM="" .else CONFIGURE_ARGS+= --disable-pam PLIST_SUB+= PAM="@comment " .endif .if ${PORT_OPTIONS:MNSS} CONFIGURE_ARGS+= --enable-nss CONFLICTS+= nss_ldap-1.* PLIST_SUB+= NSS="" SUB_LIST+= NSS_MESSAGE="WARNING: Be sure to set uid and gid configuration parameters to make nslcd run under unprivileged user." .else CONFIGURE_ARGS+= --disable-nss PLIST_SUB+= NSS="@comment " SUB_LIST+= NSS_MESSAGE="" .endif # Won't hook this in to OPTIONS until PADL ports are at least DEPRECATED. # It doesn't do the software any good to run as replacement for the PADL ports # without running the daemon. .if defined(WITHOUT_NSLCD) CONFIGURE_ARGS+= --disable-nslcd PLIST_SUB+= NSLCD="@comment " .else CONFIGURE_ARGS+= --enable-nslcd PLIST_SUB+= NSLCD="" .endif post-extract: @${REINPLACE_CMD} -e 's/\(INSTALL_\)\(.*\)) -D /\1\2) /' ${WRKSRC}/Makefile.in ${WRKSRC}/nss/Makefile.in post-configure: ${REINPLACE_CMD} -e 's/^\(CFLAGS.*\) \-O2 \(.*\)$$/\1 -O0 \2/' ${WRKSRC}/nss/Makefile post-install: .if ${PORT_OPTIONS:MNSS} @${LN} -fs nss_ldap.so.${NSS_LDAP_SHMAJOR} ${STAGEDIR}${PREFIX}/lib/nss_ldap.so .endif .if ${PORT_OPTIONS:MPAM} @${LN} -fs pam_ldap.so.${PAM_LDAP_SHMAJOR} ${STAGEDIR}${PREFIX}/lib/pam_ldap.so .endif .include Index: head/net/ntp/Makefile.inc =================================================================== --- head/net/ntp/Makefile.inc (revision 412341) +++ head/net/ntp/Makefile.inc (revision 412342) @@ -1,167 +1,167 @@ # $FreeBSD$ OPTIONS_DEFINE= NTPSNMPD \ SSL \ IPV6 \ NTP_SIGND \ - BANCOMM \ - GPSVME \ - ACTS \ - ARBITER \ - ARCRON_MSF \ - AS2201 \ - ATOM \ - CHRONOLOG \ - CHU \ - AUDIO_CHU \ - DATUM \ - DUMBCLOCK \ - FG \ - HEATH \ - HOPFSERIAL \ - HOPFPCI \ - HPGPS \ - IRIG \ - JJY \ - JUPITER \ - LEITCH \ - LOCAL_CLOCK \ - MX4200 \ - NEOCLOCK4X \ - NMEA \ - ONCORE \ - PALISADE \ - PCF \ + BANCOMM \ + GPSVME \ + ACTS \ + ARBITER \ + ARCRON_MSF \ + AS2201 \ + ATOM \ + CHRONOLOG \ + CHU \ + AUDIO_CHU \ + DATUM \ + DUMBCLOCK \ + FG \ + HEATH \ + HOPFSERIAL \ + HOPFPCI \ + HPGPS \ + IRIG \ + JJY \ + JUPITER \ + LEITCH \ + LOCAL_CLOCK \ + MX4200 \ + NEOCLOCK4X \ + NMEA \ + ONCORE \ + PALISADE \ + PCF \ PERL_UTILS \ - PST \ - RIPENCC \ - SHM \ - SPECTRACOM \ - TRUETIME \ - ULINK \ - WWV \ - ZYFER \ - COMPUTIME \ - DCF7000 \ - HOPF6021 \ - MEINBERG \ - RAWDCF \ - RCC8000 \ - SCHMID \ + PST \ + RIPENCC \ + SHM \ + SPECTRACOM \ + TRUETIME \ + ULINK \ + WWV \ + ZYFER \ + COMPUTIME \ + DCF7000 \ + HOPF6021 \ + MEINBERG \ + RAWDCF \ + RCC8000 \ + SCHMID \ SEL240X \ - TRIMTAIP \ - TRIMTSIP \ - WHARTON \ - VARITEXT \ - DOCS \ - EXAMPLES + TRIMTAIP \ + TRIMTSIP \ + WHARTON \ + VARITEXT \ + DOCS \ + EXAMPLES OPTIONS_DEFAULT= SSL \ - ATOM \ + ATOM \ PERL_UTILS \ - NMEA + NMEA NTPSNMPD_DESC= Build and install ntpsnmpd NTP_SIGND_DESC= Enable signed NTP BANCOMM_DESC= Enable Datum/Bancomm bc635/VME interface GPSVME_DESC= Enable TrueTime GPS receiver/VME interface ACTS_DESC= Enable ACTS modem service ARBITER_DESC= Enable Arbiter 1088A/B GPS receiver ARCRON_MSF_DESC= Enable Arcron MSF receiver AS2201_DESC= Enable Austron 2200A/2201A GPS receiver ATOM_DESC= Enable ATOM PPS interface CHRONOLOG_DESC= Enable Chrono-log K-series WWVB receiver CHU_DESC= Enable CHU modem/decoder AUDIO_CHU_DESC= Enable CHU audio/decoder DATUM_DESC= Enable Datum Programmable Time System DUMBCLOCK_DESC= Enable Dumb generic hh:mm:ss local clock FG_DESC= Enable Forum Graphic GPS HEATH_DESC= Enable Heath GC-1000 WWV/WWVH receiver HOPFSERIAL_DESC= Enable hopf serial clock device HOPFPCI_DESC= Enable hopf 6039 PCI board HPGPS_DESC= Enable HP 58503A GPS receiver IRIG_DESC= Enable IRIG audio decoder JJY_DESC= Enable JJY receiver JUPITER_DESC= Enable Rockwell Jupiter GPS receiver LEITCH_DESC= Enable Leitch CSD 5300 Master Clock LOCAL_CLOCK_DESC= Enable local clock reference MX4200_DESC= Enable Magnavox MX4200 GPS receiver NEOCLOCK4X_DESC= Enable NeoClock4X DCF77 / TDF receiver NMEA_DESC= Enable NMEA GPS receiver ONCORE_DESC= Enable Motorola VP/UT Oncore GPS receiver PALISADE_DESC= Enable Palisade clock PCF_DESC= Enable Conrad parallel port radio clock PERL_UTILS_DESC= Install ntp-wait and ntptrace utilities PST_DESC= Enable PST/Traconex 1020 WWV/WWVH receiver RIPENCC_DESC= Enable RIPENCC specific Trimble driver SHM_DESC= Enable SHM clock attached thru shared memory SPECTRACOM_DESC= Enable Spectracom 8170/Netclock/2 WWVB TRUETIME_DESC= Enable Kinemetrics/TrueTime receivers ULINK_DESC= Enable Ultralink WWVB receiver WWV_DESC= Enable WWV Audio receiver ZYFER_DESC= Enable Zyfer GPStarplus receiver COMPUTIME_DESC= Enable Diem Computime Radio Clock DCF7000_DESC= Enable ELV/DCF7000 clock HOPF6021_DESC= Enable HOPF 6021 clock MEINBERG_DESC= Enable Meinberg clocks RAWDCF_DESC= Enable DCF77 raw time code RCC8000_DESC= Enable RCC 8000 clock SCHMID_DESC= Enable Schmid DCF77 clock SEL240X_DESC= Enable SEL 240X clocks TRIMTAIP_DESC= Enable Trimble GPS receiver/TAIP protocol TRIMTSIP_DESC= Enable Trimble GPS receiver/TSIP protocol WHARTON_DESC= Enable WHARTON 400A Series clock VARITEXT_DESC= Enable VARITEXT clock # Not supported by FreeBSD: TPRO Enable KSI/Odetics TPRO/S GPS receiver/IRIG # XXX Broken under FreeBSD: TT560 Enable TrueTime 560 IRIG-B decoder NTP_DRIVERS= \ - BANCOMM \ - GPSVME \ - ACTS \ - ARBITER \ - ARCRON_MSF \ - AS2201 \ - ATOM \ - CHRONOLOG \ - CHU \ - AUDIO_CHU \ - DATUM \ - DUMBCLOCK \ - FG \ - HEATH \ - HOPFSERIAL \ - HOPFPCI \ - HPGPS \ - IRIG \ - JJY \ - JUPITER \ - LEITCH \ - LOCAL_CLOCK \ - MX4200 \ - NEOCLOCK4X \ - NMEA \ - ONCORE \ - PALISADE \ - PCF \ - PST \ - RIPENCC \ - SHM \ - SPECTRACOM \ - TRUETIME \ - ULINK \ - WWV \ - ZYFER \ - COMPUTIME \ - DCF7000 \ - HOPF6021 \ - MEINBERG \ - RAWDCF \ - RCC8000 \ - SCHMID \ + BANCOMM \ + GPSVME \ + ACTS \ + ARBITER \ + ARCRON_MSF \ + AS2201 \ + ATOM \ + CHRONOLOG \ + CHU \ + AUDIO_CHU \ + DATUM \ + DUMBCLOCK \ + FG \ + HEATH \ + HOPFSERIAL \ + HOPFPCI \ + HPGPS \ + IRIG \ + JJY \ + JUPITER \ + LEITCH \ + LOCAL_CLOCK \ + MX4200 \ + NEOCLOCK4X \ + NMEA \ + ONCORE \ + PALISADE \ + PCF \ + PST \ + RIPENCC \ + SHM \ + SPECTRACOM \ + TRUETIME \ + ULINK \ + WWV \ + ZYFER \ + COMPUTIME \ + DCF7000 \ + HOPF6021 \ + MEINBERG \ + RAWDCF \ + RCC8000 \ + SCHMID \ SEL240X \ - TRIMTAIP \ - TRIMTSIP \ - WHARTON \ - VARITEXT + TRIMTAIP \ + TRIMTSIP \ + WHARTON \ + VARITEXT Index: head/net/ntp-devel/Makefile.inc =================================================================== --- head/net/ntp-devel/Makefile.inc (revision 412341) +++ head/net/ntp-devel/Makefile.inc (revision 412342) @@ -1,167 +1,167 @@ # $FreeBSD$ OPTIONS_DEFINE= NTPSNMPD \ SSL \ IPV6 \ NTP_SIGND \ - BANCOMM \ - GPSVME \ - ACTS \ - ARBITER \ - ARCRON_MSF \ - AS2201 \ - ATOM \ - CHRONOLOG \ - CHU \ - AUDIO_CHU \ - DATUM \ - DUMBCLOCK \ - FG \ - HEATH \ - HOPFSERIAL \ - HOPFPCI \ - HPGPS \ - IRIG \ - JJY \ - JUPITER \ - LEITCH \ - LOCAL_CLOCK \ - MX4200 \ - NEOCLOCK4X \ - NMEA \ - ONCORE \ - PALISADE \ - PCF \ + BANCOMM \ + GPSVME \ + ACTS \ + ARBITER \ + ARCRON_MSF \ + AS2201 \ + ATOM \ + CHRONOLOG \ + CHU \ + AUDIO_CHU \ + DATUM \ + DUMBCLOCK \ + FG \ + HEATH \ + HOPFSERIAL \ + HOPFPCI \ + HPGPS \ + IRIG \ + JJY \ + JUPITER \ + LEITCH \ + LOCAL_CLOCK \ + MX4200 \ + NEOCLOCK4X \ + NMEA \ + ONCORE \ + PALISADE \ + PCF \ PERL_UTILS \ - PST \ - RIPENCC \ - SHM \ - SPECTRACOM \ - TRUETIME \ - ULINK \ - WWV \ - ZYFER \ - COMPUTIME \ - DCF7000 \ - HOPF6021 \ - MEINBERG \ - RAWDCF \ - RCC8000 \ - SCHMID \ + PST \ + RIPENCC \ + SHM \ + SPECTRACOM \ + TRUETIME \ + ULINK \ + WWV \ + ZYFER \ + COMPUTIME \ + DCF7000 \ + HOPF6021 \ + MEINBERG \ + RAWDCF \ + RCC8000 \ + SCHMID \ SEL240X \ - TRIMTAIP \ - TRIMTSIP \ - WHARTON \ - VARITEXT \ - DOCS \ - EXAMPLES + TRIMTAIP \ + TRIMTSIP \ + WHARTON \ + VARITEXT \ + DOCS \ + EXAMPLES OPTIONS_DEFAULT= SSL \ - ATOM \ + ATOM \ PERL_UTILS \ - NMEA + NMEA NTPSNMPD_DESC= Build and install ntpsnmpd NTP_SIGND_DESC= Enable signed NTP BANCOMM_DESC= Enable Datum/Bancomm bc635/VME interface GPSVME_DESC= Enable TrueTime GPS receiver/VME interface ACTS_DESC= Enable ACTS modem service ARBITER_DESC= Enable Arbiter 1088A/B GPS receiver ARCRON_MSF_DESC= Enable Arcron MSF receiver AS2201_DESC= Enable Austron 2200A/2201A GPS receiver ATOM_DESC= Enable ATOM PPS interface CHRONOLOG_DESC= Enable Chrono-log K-series WWVB receiver CHU_DESC= Enable CHU modem/decoder AUDIO_CHU_DESC= Enable CHU audio/decoder DATUM_DESC= Enable Datum Programmable Time System DUMBCLOCK_DESC= Enable Dumb generic hh:mm:ss local clock FG_DESC= Enable Forum Graphic GPS HEATH_DESC= Enable Heath GC-1000 WWV/WWVH receiver HOPFSERIAL_DESC= Enable hopf serial clock device HOPFPCI_DESC= Enable hopf 6039 PCI board HPGPS_DESC= Enable HP 58503A GPS receiver IRIG_DESC= Enable IRIG audio decoder JJY_DESC= Enable JJY receiver JUPITER_DESC= Enable Rockwell Jupiter GPS receiver LEITCH_DESC= Enable Leitch CSD 5300 Master Clock LOCAL_CLOCK_DESC= Enable local clock reference MX4200_DESC= Enable Magnavox MX4200 GPS receiver NEOCLOCK4X_DESC= Enable NeoClock4X DCF77 / TDF receiver NMEA_DESC= Enable NMEA GPS receiver ONCORE_DESC= Enable Motorola VP/UT Oncore GPS receiver PALISADE_DESC= Enable Palisade clock PCF_DESC= Enable Conrad parallel port radio clock PERL_UTILS_DESC= Install ntp-wait and ntptrace utilities PST_DESC= Enable PST/Traconex 1020 WWV/WWVH receiver RIPENCC_DESC= Enable RIPENCC specific Trimble driver SHM_DESC= Enable SHM clock attached thru shared memory SPECTRACOM_DESC= Enable Spectracom 8170/Netclock/2 WWVB TRUETIME_DESC= Enable Kinemetrics/TrueTime receivers ULINK_DESC= Enable Ultralink WWVB receiver WWV_DESC= Enable WWV Audio receiver ZYFER_DESC= Enable Zyfer GPStarplus receiver COMPUTIME_DESC= Enable Diem Computime Radio Clock DCF7000_DESC= Enable ELV/DCF7000 clock HOPF6021_DESC= Enable HOPF 6021 clock MEINBERG_DESC= Enable Meinberg clocks RAWDCF_DESC= Enable DCF77 raw time code RCC8000_DESC= Enable RCC 8000 clock SCHMID_DESC= Enable Schmid DCF77 clock SEL240X_DESC= Enable SEL 240X clocks TRIMTAIP_DESC= Enable Trimble GPS receiver/TAIP protocol TRIMTSIP_DESC= Enable Trimble GPS receiver/TSIP protocol WHARTON_DESC= Enable WHARTON 400A Series clock VARITEXT_DESC= Enable VARITEXT clock # Not supported by FreeBSD: TPRO Enable KSI/Odetics TPRO/S GPS receiver/IRIG # XXX Broken under FreeBSD: TT560 Enable TrueTime 560 IRIG-B decoder NTP_DRIVERS= \ - BANCOMM \ - GPSVME \ - ACTS \ - ARBITER \ - ARCRON_MSF \ - AS2201 \ - ATOM \ - CHRONOLOG \ - CHU \ - AUDIO_CHU \ - DATUM \ - DUMBCLOCK \ - FG \ - HEATH \ - HOPFSERIAL \ - HOPFPCI \ - HPGPS \ - IRIG \ - JJY \ - JUPITER \ - LEITCH \ - LOCAL_CLOCK \ - MX4200 \ - NEOCLOCK4X \ - NMEA \ - ONCORE \ - PALISADE \ - PCF \ - PST \ - RIPENCC \ - SHM \ - SPECTRACOM \ - TRUETIME \ - ULINK \ - WWV \ - ZYFER \ - COMPUTIME \ - DCF7000 \ - HOPF6021 \ - MEINBERG \ - RAWDCF \ - RCC8000 \ - SCHMID \ + BANCOMM \ + GPSVME \ + ACTS \ + ARBITER \ + ARCRON_MSF \ + AS2201 \ + ATOM \ + CHRONOLOG \ + CHU \ + AUDIO_CHU \ + DATUM \ + DUMBCLOCK \ + FG \ + HEATH \ + HOPFSERIAL \ + HOPFPCI \ + HPGPS \ + IRIG \ + JJY \ + JUPITER \ + LEITCH \ + LOCAL_CLOCK \ + MX4200 \ + NEOCLOCK4X \ + NMEA \ + ONCORE \ + PALISADE \ + PCF \ + PST \ + RIPENCC \ + SHM \ + SPECTRACOM \ + TRUETIME \ + ULINK \ + WWV \ + ZYFER \ + COMPUTIME \ + DCF7000 \ + HOPF6021 \ + MEINBERG \ + RAWDCF \ + RCC8000 \ + SCHMID \ SEL240X \ - TRIMTAIP \ - TRIMTSIP \ - WHARTON \ - VARITEXT + TRIMTAIP \ + TRIMTSIP \ + WHARTON \ + VARITEXT Index: head/net/openmq/Makefile =================================================================== --- head/net/openmq/Makefile (revision 412341) +++ head/net/openmq/Makefile (revision 412342) @@ -1,109 +1,109 @@ # Created by: Radim Kolar # $FreeBSD$ PORTNAME= openmq PORTVERSION= 4.5.2.p.1 PORTEPOCH= 1 CATEGORIES= net java MASTER_SITES= http://download.java.net/mq/open-mq/4.5.2/b03/ \ - http://download.java.net/maven/2/javax/javaee-api/6.0/:2 \ + http://download.java.net/maven/2/javax/javaee-api/6.0/:2 \ http://download.java.net/maven/2/com/sun/grizzly/grizzly-nio-framework/1.9.18a/:3 \ http://download.java.net/maven/2/com/sun/woodstock/dependlibs/jhall/2.0/:4 DISTFILES= ${SRCDIST} ${BOOTJARS} EXTRACT_ONLY= ${SRCDIST} MAINTAINER= hsn@sendmail.cz COMMENT= Open Message Queue - Java Message Service Broker ${CLIENT_COMMENT} LICENSE= GPLv2 CDDL LICENSE_COMB= dual SRCDIST= mq4_5_2p1-source.zip BOOTJARS= javaee-api-6.0.jar:2 \ grizzly-nio-framework-1.9.18a.jar:3 \ jhall-2.0.jar:4 USES= zip USE_JAVA= yes JAVA_VERSION= 1.6 1.7 JAVA_VENDOR= openjdk NO_ARCH= yes WRKSRC= ${WRKDIR}/mq PLIST= ${WRKDIR}/pkg-plist MAKE_ENV+= ANT_OPTS=-Xmx1g .ifndef IMQ_CLIENT PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES .endif USE_ANT= yes .ifndef IMQ_CLIENT USE_RC_SUBR= imq .else SUB_FILES= pkg-message .endif # Get the bootstrap jars in place before the build starts, because # pointyhat doesn't allow them to be downloaded by the "bootstrap" # target in the Ant file. pre-build: @${MKDIR} ${WRKSRC}/extlib @${CP} ${DISTDIR}/javaee-api-6.0.jar \ ${WRKSRC}/extlib/javaee-api-6.0.jar @${CP} ${DISTDIR}/grizzly-nio-framework-1.9.18a.jar \ ${WRKSRC}/extlib/grizzly.jar @${CP} ${DISTDIR}/jhall-2.0.jar \ ${WRKSRC}/extlib/jhall.jar post-build: @${RM} ${WRKSRC}/dist/mq/bin/*.exe @cd ${WRKSRC}/dist/mq/etc && \ ${MV} imqenv.conf imqenv.conf.sample @cd ${WRKSRC}/dist/mq/etc && \ ${MV} imqbrokerd.conf imqbrokerd.conf.sample pre-install: .ifndef IMQ_CLIENT @cd ${WRKSRC}/dist/mq && ${FIND} bin lib -type f -exec \ ${ECHO_CMD} "imq/{}" \; > ${PLIST} @cd ${WRKSRC}/dist/mq && ${FIND} etc -depth 1 -type f -print | \ ${SED} -e "\-/-s--/mq/-" >> ${PLIST} .else @${ECHO_CMD} "%%JAVAJARDIR%%/jms.jar" > ${PLIST} @${ECHO_CMD} "%%JAVAJARDIR%%/imq.jar" >> ${PLIST} @${ECHO_CMD} "%%JAVAJARDIR%%/fscontext.jar" >> ${PLIST} @${ECHO_CMD} "%%JAVAJARDIR%%/jaxm-api.jar" >> ${PLIST} @${ECHO_CMD} "%%JAVAJARDIR%%/imqxm.jar" >> ${PLIST} .endif do-install: .ifndef IMQ_CLIENT @${MKDIR} ${STAGEDIR}${PREFIX}/imq @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mq @cd ${WRKSRC}/dist/mq && ${FIND} bin lib | \ ${CPIO} --quiet -pdmu -R ${BINOWN}:${BINGRP} ${STAGEDIR}${PREFIX}/imq @cd ${WRKSRC}/dist/mq/etc && ${FIND} . -depth 1 -type f | \ ${CPIO} --quiet -pdmu -R ${BINOWN}:${BINGRP} ${STAGEDIR}${PREFIX}/etc/mq @${CHMOD} 640 ${STAGEDIR}${PREFIX}/etc/mq/*.sample .else @${INSTALL_DATA} ${WRKSRC}/dist/mq/lib/imq.jar ${STAGEDIR}${JAVAJARDIR} @${INSTALL_DATA} ${WRKSRC}/dist/mq/lib/jms.jar ${STAGEDIR}${JAVAJARDIR} @${INSTALL_DATA} ${WRKSRC}/dist/mq/lib/fscontext.jar ${STAGEDIR}${JAVAJARDIR} @${INSTALL_DATA} ${WRKSRC}/dist/mq/lib/jaxm-api.jar ${STAGEDIR}${JAVAJARDIR} @${INSTALL_DATA} ${WRKSRC}/dist/mq/lib/imqxm.jar ${STAGEDIR}${JAVAJARDIR} .endif do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/dist/mq/javadoc && ${FIND} . | \ ${CPIO} --quiet -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/dist/mq/examples && ${FIND} . | \ ${CPIO} --quiet -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/net/p5-Net-AMQP/Makefile =================================================================== --- head/net/p5-Net-AMQP/Makefile (revision 412341) +++ head/net/p5-Net-AMQP/Makefile (revision 412342) @@ -1,27 +1,27 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= Net-AMQP PORTVERSION= 0.06 PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Advanced Message Queue Protocol (de)serialization and representation LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \ - p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ - p5-Class-Data-Inheritable>=0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ - p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate + p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Class-Data-Inheritable>=0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ + p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep USES= perl5 USE_PERL5= modbuild .include Index: head/net/p5-Net-Frame/Makefile =================================================================== --- head/net/p5-Net-Frame/Makefile (revision 412341) +++ head/net/p5-Net-Frame/Makefile (revision 412342) @@ -1,24 +1,24 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= Net-Frame PORTVERSION= 1.16 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Base framework for frame crafting LICENSE= ART10 BUILD_DEPENDS= p5-Bit-Vector>=0:${PORTSDIR}/math/p5-Bit-Vector \ - p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \ + p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \ p5-Net-IPv6Addr>=0:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr \ p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/net/p5-Net-Frame-Dump/Makefile =================================================================== --- head/net/p5-Net-Frame-Dump/Makefile (revision 412341) +++ head/net/p5-Net-Frame-Dump/Makefile (revision 412342) @@ -1,23 +1,23 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= Net-Frame-Dump PORTVERSION= 1.14 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Tcpdump like perl implementation LICENSE= ART10 BUILD_DEPENDS= p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor \ p5-Net-Frame>=0:${PORTSDIR}/net/p5-Net-Frame \ - p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap + p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/net/p5-Net-Frame-Layer-ICMPv6/Makefile =================================================================== --- head/net/p5-Net-Frame-Layer-ICMPv6/Makefile (revision 412341) +++ head/net/p5-Net-Frame-Layer-ICMPv6/Makefile (revision 412342) @@ -1,22 +1,22 @@ # Created by: Mars G Miro # $FreeBSD$ PORTNAME= Net-Frame-Layer-ICMPv6 PORTVERSION= 1.09 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= spry@anarchy.in.the.ph COMMENT= Perl encoding/decoding implementation of the ICMPv6 layer BUILD_DEPENDS= p5-Bit-Vector>=0:${PORTSDIR}/math/p5-Bit-Vector \ p5-Net-Frame>=0:${PORTSDIR}/net/p5-Net-Frame \ - p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap \ - p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor + p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap \ + p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/net/p5-Net-Frame-Layer-IPv6/Makefile =================================================================== --- head/net/p5-Net-Frame-Layer-IPv6/Makefile (revision 412341) +++ head/net/p5-Net-Frame-Layer-IPv6/Makefile (revision 412342) @@ -1,22 +1,22 @@ # Created by: Mars G Miro # $FreeBSD$ PORTNAME= Net-Frame-Layer-IPv6 PORTVERSION= 1.07 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= spry@anarchy.in.the.ph COMMENT= Perl encoding/decoding implementation of the IPv6 layer BUILD_DEPENDS= p5-Bit-Vector>=0:${PORTSDIR}/math/p5-Bit-Vector \ p5-Net-Frame>=0:${PORTSDIR}/net/p5-Net-Frame \ - p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap \ - p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor + p5-Net-Pcap>=0.12:${PORTSDIR}/net/p5-Net-Pcap \ + p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure .include Index: head/net/p5-REST-Google/Makefile =================================================================== --- head/net/p5-REST-Google/Makefile (revision 412341) +++ head/net/p5-REST-Google/Makefile (revision 412342) @@ -1,25 +1,25 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= REST-Google PORTVERSION= 1.0.8 PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:EJS PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Access Google REST (aka AJAX) API from Perl RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ - p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \ - p5-Class-Data-Inheritable>0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ + p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \ + p5-Class-Data-Inheritable>0:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ p5-URI>=1.35:${PORTSDIR}/net/p5-URI \ p5-JSON-Any>=1.16:${PORTSDIR}/converters/p5-JSON-Any BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 USE_PERL5= modbuild .include Index: head/net/pwhois/Makefile =================================================================== --- head/net/pwhois/Makefile (revision 412341) +++ head/net/pwhois/Makefile (revision 412342) @@ -1,64 +1,64 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= pwhois PORTVERSION= 2.2.0.1 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://pwhois.org/get/ \ http://mirrors.rit.edu/zi/ EXTRACT_SUFX= .tgz MAINTAINER= zi@FreeBSD.org COMMENT= Whois-compatible framework for disclosing routing data RUN_DEPENDS= p5-DBI>0:${PORTSDIR}/databases/p5-DBI \ p5-Time-Format>0:${PORTSDIR}/devel/p5-Time-Format \ p5-Log-Dispatch>0:${PORTSDIR}/devel/p5-Log-Dispatch \ p5-Net-DNS>0:${PORTSDIR}/dns/p5-Net-DNS \ p5-Net-Telnet>0:${PORTSDIR}/net/p5-Net-Telnet \ p5-Net-CIDR>0:${PORTSDIR}/net-mgmt/p5-Net-CIDR \ p5-RPSL-Parser>0:${PORTSDIR}/devel/p5-RPSL-Parser \ p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql FETCH_ARGS= -p USERS= ${PORTNAME} GROUPS= ${PORTNAME} USES= shebangfix tar:tgz SHEBANG_FILES= pwhois-updatedb USE_MYSQL= client USE_RC_SUBR= ${PORTNAME}d SUB_FILES= pkg-message 512.pwhois-updatedb SUB_LIST= TOUCH="${TOUCH}" RM="${RM}" CHOWN="${CHOWN}" \ USER="${USERS}" GROUP="${GROUPS}" INSTALL="${INSTALL}" post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|CC = gcc |CC = ${CC}|g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|/etc/pwhois/|${ETCDIR}/|g' \ - -e 's|/var/pwhois/|/var/db/pwhois/|g' \ - -e 's|/var/log/|/var/log/pwhois/|g' \ - -e 's|/var/db/log/|/var/log/pwhois/|g' \ - ${WRKSRC}/main.c ${WRKSRC}/pwhois-updatedb \ + -e 's|/var/pwhois/|/var/db/pwhois/|g' \ + -e 's|/var/log/|/var/log/pwhois/|g' \ + -e 's|/var/db/log/|/var/log/pwhois/|g' \ + ${WRKSRC}/main.c ${WRKSRC}/pwhois-updatedb \ ${WRKSRC}/pwhois_pwdump.c ${WRKSRC}/pwhoisd.conf do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}${PREFIX}/etc/periodic/daily @${INSTALL_SCRIPT} ${WRKDIR}/512.pwhois-updatedb \ ${STAGEDIR}${PREFIX}/etc/periodic/daily/ @${INSTALL_PROGRAM} ${WRKSRC}/pwhoisd ${STAGEDIR}${PREFIX}/sbin/ @${INSTALL_PROGRAM} ${WRKSRC}/pwhois-pwdump ${STAGEDIR}${PREFIX}/bin/ @${INSTALL_SCRIPT} ${WRKSRC}/pwhois-updatedb ${STAGEDIR}${PREFIX}/sbin/ @${INSTALL_DATA} ${WRKSRC}/pwhoisd.conf \ - ${STAGEDIR}${ETCDIR}/pwhoisd.conf.sample + ${STAGEDIR}${ETCDIR}/pwhoisd.conf.sample @${INSTALL_DATA} ${WRKSRC}/mysql/createdb.sql ${STAGEDIR}${DATADIR}/ post-install: @${INSTALL} -d -o 512 -g 512 ${STAGEDIR}/var/db/pwhois @${INSTALL} -d -o 512 -g 512 ${STAGEDIR}/var/log/pwhois .include Index: head/net/py-avahi/Makefile =================================================================== --- head/net/py-avahi/Makefile (revision 412341) +++ head/net/py-avahi/Makefile (revision 412342) @@ -1,51 +1,51 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/net/py-avahi/Makefile,v 1.4 2007/07/31 18:24:13 ahze Exp $ PORTREVISION= 7 CATEGORIES= net gnome python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= # empty MAINTAINER= gnome@FreeBSD.org COMMENT= Python interface to the Avahi mDNS system BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdbm>0:${PORTSDIR}/databases/py-gdbm \ ${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdbm>0:${PORTSDIR}/databases/py-gdbm \ ${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus MASTERDIR= ${.CURDIR}/../avahi-app BUILD_WRKSRC= ${WRKSRC}/avahi-python INSTALL_WRKSRC= ${BUILD_WRKSRC} DESCR= ${.CURDIR}/pkg-descr PLIST= ${.CURDIR}/pkg-plist AVAHI_SLAVE= python USE_GNOME= pygtk2 USES= python MANPAGES= avahi-bookmarks.1 avahi-discover.1 post-patch: @${REINPLACE_CMD} -e 's|@pkglibdir@|${DATADIR}|' \ - ${WRKSRC}/avahi-python/avahi/ServiceTypeDatabase.py.in + ${WRKSRC}/avahi-python/avahi/ServiceTypeDatabase.py.in pre-build: @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ - Makefile ${MAKE_ARGS} clean + Makefile ${MAKE_ARGS} clean post-build: @cd ${WRKSRC}/service-type-database && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} Makefile ${MAKE_ARGS} ${ALL_TARGET} post-install: @cd ${WRKSRC}/service-type-database && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} Makefile ${MAKE_ARGS} install (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}) (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}) .include "${MASTERDIR}/Makefile" Index: head/net/thcrut/Makefile =================================================================== --- head/net/thcrut/Makefile (revision 412341) +++ head/net/thcrut/Makefile (revision 412342) @@ -1,18 +1,18 @@ # Created by: Kris Kennaway # $FreeBSD$ PORTNAME= thcrut PORTVERSION= 1.2.5 CATEGORIES= net MASTER_SITES= http://thc.org/releases/ \ http://redundancy.redundancy.org/mirror/ MAINTAINER= lx@FreeBSD.org COMMENT= Local network discovery tool GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-libnet=${LOCALBASE} \ - --sysconfdir=${DATADIR} + --sysconfdir=${DATADIR} .include Index: head/net/wireshark/Makefile =================================================================== --- head/net/wireshark/Makefile (revision 412341) +++ head/net/wireshark/Makefile (revision 412342) @@ -1,163 +1,163 @@ # Created by: Bill Fumerola # $FreeBSD$ PORTNAME?= wireshark PORTVERSION= 2.0.2 PORTREVISION?= 1 CATEGORIES= net ipv6 MASTER_SITES= http://www.wireshark.org/download/src/ \ http://ftp.uni-kl.de/pub/wireshark/src/ \ http://wireshark.askapache.com/download/src/all-versions/ \ ftp://ftp.uni-kl.de/pub/wireshark/src/ \ http://prdownloads.sourceforge.net/wireshark/ \ http://ftp.yz.yamagata-u.ac.jp/pub/network/security/wireshark/src/ \ ftp://ftp.yz.yamagata-u.ac.jp/pub/network/security/wireshark/src/ \ http://wireshark.zing.org/download/src/ DISTNAME= ${DATADIR_NAME}-${PORTVERSION} MAINTAINER= marcus@FreeBSD.org COMMENT?= Powerful network analyzer/capture tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS?= wireshark-qt5-[0-9]* DATADIR_NAME= wireshark DATADIR= ${PREFIX}/share/${DATADIR_NAME} GNU_CONFIGURE= yes USES= alias cpe gmake libtool perl5 pkgconfig python:build tar:bzip2 USE_PERL5= build USE_GNOME= glib20 USE_OPENSSL= yes CONFIGURE_ARGS+= --program-transform-name="" \ --with-ssl=${OPENSSLBASE} INSTALL_TARGET= install-strip USE_LDCONFIG= yes CFLAGS+= -funit-at-a-time LIBS+= -L${LOCALBASE}/lib PLIST_SUB+= PORTVERSION=${PORTVERSION} .for x in capinfos editcap mergecap rawshark text2pcap dftest randpkt \ reordercap captype androiddump .if defined(LITE) PKGNAMESUFFIX= -lite PLIST_SUB+= ${x:tu}="@comment $x not installed" \ - ${x:tu}_MAN="@comment $x not installed " + ${x:tu}_MAN="@comment $x not installed " CONFIGURE_ARGS+= --enable-$x=no OPTIONS_EXCLUDE+= RTP SNMP GEOIP LUA ADNS CARES .else PLIST_SUB+= ${x:tu}=bin/$x \ - ${x:tu}_MAN="" + ${x:tu}_MAN="" .endif .endfor OPTIONS_DEFINE= RTP SNMP IPV6 GEOIP LUA GCRYPT GNUTLS OPTIONS_RADIO= ASYNCDNS GUI OPTIONS_SINGLE= KERBEROS OPTIONS_RADIO_ASYNCDNS= ADNS CARES OPTIONS_RADIO_GUI= GTK2 GTK3 QT5 OPTIONS_SINGLE_KERBEROS=KRB_BASE KRB_HEIMDAL KRB_MIT KRB_NONE OPTIONS_DEFAULT?= SNMP ADNS IPV6 GEOIP KRB_BASE GTK3 RTP_DESC= Enable support for playing back RTP streams GCRYPT_DESC= IPsec decryption support GNUTLS_DESC= SSL decryption support ASYNCDNS_DESC= Asynchronous DNS lookup support ADNS_DESC= Asynchronous DNS resolution via GNU adns KERBEROS_DESC= Kerberos dissection support KRB_BASE_DESC= Kerberos support via base system KRB_HEIMDAL_DESC= Kerberos support via security/heimdal KRB_MIT_DESC= Kerberos support via security/krb5 KRB_NONE_DESC= Disable Kerberos support GTK2_USE= GNOME=gtk20 GTK3_USE= GNOME=gtk30 QT5_USE= QT5=core,gui,widgets,printsupport,buildtools_build LUA_USES= lua:5[1-2] KRB_BASE_USES= gssapi KRB_HEIMDAL_USES= gssapi:heimdal KRB_MIT_USES= gssapi:mit RTP_LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio SNMP_LIB_DEPENDS= libsmi.so:${PORTSDIR}/net-mgmt/libsmi ADNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns CARES_LIB_DEPENDS= libcares.so:${PORTSDIR}/dns/c-ares GEOIP_LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP GCRYPT_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls IPV6_CONFIGURE_ENABLE= ipv6 KRB_NONE_CONFIGURE_ON= --without-krb5 KRB_NONE_CONFIGURE_OFF= --with-krb5 KRB_NONE_CONFIGURE_ENV_OFF= KRB5_CONFIG=${KRB5CONFIG} GTK2_CONFIGURE_WITH= gtk2 GTK3_CONFIGURE_WITH= gtk3 QT5_CONFIGURE_WITH= qt LUA_CONFIGURE_WITH= lua RTP_CONFIGURE_WITH= portaudio SNMP_CONFIGURE_WITH= libsmi ADNS_CONFIGURE_WITH= adns CARES_CONFIGURE_WITH= c-ares GEOIP_CONFIGURE_WITH= geoip GCRYPT_CONFIGURE_WITH= gcrypt GNUTLS_CONFIGURE_WITH= gnutls LUA_CPPFLAGS= -I${LUA_INCDIR} QT5_MAKE_ENV= PATH="${PATH}:${QT_BINDIR}" QT5_VARS= PKGNAMESUFFIX=-qt5 QT5_PLIST_SUB= GUI_GTK="@comment " GTK2_PLIST_SUB= GUI_GTK="" GTK3_PLIST_SUB= GUI_GTK="" OPTIONS_SUB= LUA .include .if empty(PORT_OPTIONS:MGTK2) && empty(PORT_OPTIONS:MGTK3) && \ empty(PORT_OPTIONS:MQT5) CONFIGURE_ARGS+= --disable-wireshark PLIST_SUB+= GUI="@comment " .else USES+= desktop-file-utils shared-mime-info INSTALLS_ICONS= yes PLIST_SUB+= GUI="" .endif .if ${PORT_OPTIONS:MKRB_BASE} && exists(${LOCALBASE}/include/krb5.h) IGNORE= cannot build with base Kerberos if krb5 port is installed. \ Use ``make config'' to choose a different option .endif .if empty(PORT_OPTIONS:MGTK2) && empty(PORT_OPTIONS:MGTK3) && \ ${PORT_OPTIONS:MRTP} IGNORE= the RTP support requires GTK+ frontend .endif post-patch: @${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g ; \ s|-DQT_GUI_LIB|-DQT_GUI_LIB $$CPPFLAGS| ' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/usr/share/applications|${DESKTOPDIR}|g ; \ s|/usr/share|${LOCALBASE}/share|g ; \ s|{mime/packages,applications}|mime/packages| ; \ s|{apps,mimetypes}|apps $$(DESTDIR)${LOCALBASE}/share/icons/hicolor/$$$${size}x$$$${size}/mimetypes|' \ ${WRKSRC}/Makefile.in .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-gtk \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .endif .include Index: head/net-im/ejabberd/Makefile =================================================================== --- head/net-im/ejabberd/Makefile (revision 412341) +++ head/net-im/ejabberd/Makefile (revision 412342) @@ -1,100 +1,100 @@ # Created by: Alexander Timoshenko # $FreeBSD$ PORTNAME= ejabberd PORTVERSION= 16.02 PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= http://www.process-one.net/downloads/${PORTNAME}/${PORTVERSION}/:p1 \ http://distfiles.pirateparty.in/ashish/:deps \ LOCAL/ashish:deps DISTFILES+= ${DISTNAME}.tgz:p1 ejabberd-deps-5.tar.xz:deps MAINTAINER= ashish@FreeBSD.org COMMENT= Free and Open Source distributed fault-tolerant Jabber server LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \ git:${PORTSDIR}/devel/git RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \ bash:${PORTSDIR}/shells/bash LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ libyaml.so:${PORTSDIR}/textproc/libyaml USERS= ejabberd GROUPS= ${USERS} GNU_CONFIGURE= yes USES= cpe gmake pkgconfig shebangfix USE_RC_SUBR= ${PORTNAME} NOPRECIOUSMAKEVARS= yes CPE_VENDOR= process-one OPTIONS_DEFINE= ODBC PAM DOCS MYSQL PGSQL ICONV RIAK REDIS SQLITE TOOLS FULLXML OPTIONS_DEFAULT= ICONV EJABBERD_LIBDIR=lib/erlang/lib MAKE_ENV= PORTVERSION=${PORTVERSION} CONFIGURE_ARGS+=--localstatedir=/var --libdir=${PREFIX}/${EJABBERD_LIBDIR} MAKE_ARGS= "CPPFLAGS=${CPPFLAGS}" "CFLAGS=${CFLAGS}" "LDFLAGS=${LDFLAGS}" CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PKGMESSAGE= ${WRKDIR}/pkg-message PKGINSTALL= ${WRKDIR}/pkg-install PLIST_SUB= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \ EJABBERD_LIBDIR=${EJABBERD_LIBDIR} SUB_FILES= pkg-message pkg-install SUB_LIST= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} \ USERS=${USERS} GROUPS=${GROUPS} SHAREMODE=${SHAREMODE} \ SHAREOWN=${SHAREOWN} SHAREGRP=${SHAREGRP} \ EJABBERD_LIBDIR=${EJABBERD_LIBDIR} SHEBANG_FILES= ${WRKSRC}/ejabberdctl.template OPTIONS_SUB= yes RIAK_DESC= Riak database support TOOLS_DESC= Build development tools FULLXML_DESC= Full XML support PAM_CONFIGURE_ENABLE= pam ODBC_CONFIGURE_ENABLE= odbc MYSQL_CONFIGURE_ENABLE= mysql PGSQL_CONFIGURE_ENABLE= pgsql RIAK_CONFIGURE_ENABLE= riak ICONV_CONFIGURE_ENABLE= iconv REDIS_CONFIGURE_ENABLE= redis SQLITE_CONFIGURE_ENABLE=sqlite TOOLS_CONFIGURE_ENABLE= tools FULLXML_CONFIGURE_ENABLE= full-xml SQLITE_USE= SQLITE=yes ICONV_USES= iconv:wchar_t ICONV_LDFLAGS= ${ICONV_LIB} DOCS_MAKE_ARGS_OFF= NOPORTDOCS=yes USE_OPENSSL= yes .include post-extract: @${LN} -s ${WRKDIR}/deps ${WRKSRC}/ post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ - ${WRKSRC}/ejabberdctl.template + ${WRKSRC}/ejabberdctl.template pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR} post-install: .if ${PORT_OPTIONS:MPAM} @${INSTALL} -m 444 ${FILESDIR}/pam_ejabberd \ ${STAGEDIR}${PREFIX}/etc/pam.d/ejabberd @${INSTALL} -m 0750 ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/lib/p1_pam-1.0.0/priv/bin/epam \ ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR}/${PORTNAME}-${PORTVERSION}/priv/bin/epam .endif @${FIND} ${STAGEDIR}${PREFIX}/${EJABBERD_LIBDIR} -type f \ -name '*.so' -exec ${STRIP_CMD} '{}' \; .include Index: head/net-im/empathy/Makefile =================================================================== --- head/net-im/empathy/Makefile (revision 412341) +++ head/net-im/empathy/Makefile (revision 412342) @@ -1,92 +1,92 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= empathy PORTVERSION= 3.12.11 PORTREVISION= 1 CATEGORIES= net-im gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME IM client based around telepathy BUILD_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \ ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss \ gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \ geoclue>=0:${PORTSDIR}/net/geoclue \ itstool:${PORTSDIR}/textproc/itstool \ - mc-tool:${PORTSDIR}/net-im/telepathy-mission-control + mc-tool:${PORTSDIR}/net-im/telepathy-mission-control LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant \ libgeocode-glib.so:${PORTSDIR}/net/geocode-glib \ libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \ libpulse.so:${PORTSDIR}/audio/pulseaudio \ libtelepathy.so:${PORTSDIR}/net-im/libtelepathy \ libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib \ libtelepathy-farstream.so:${PORTSDIR}/net-im/telepathy-farstream \ libtelepathy-logger.so:${PORTSDIR}/net-im/telepathy-logger \ libfolks-telepathy.so:${PORTSDIR}/net-im/folks \ libnotify.so:${PORTSDIR}/devel/libnotify \ libgcr-3.so:${PORTSDIR}/security/gcr \ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \ libclutter-gst-2.0.so:${PORTSDIR}/multimedia/clutter-gst \ libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \ libsoup-2.4.so:${PORTSDIR}/devel/libsoup RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \ ca_root_nss>=0:${PORTSDIR}/security/ca_root_nss \ gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \ geoclue>=0:${PORTSDIR}/net/geoclue \ - mc-tool:${PORTSDIR}/net-im/telepathy-mission-control + mc-tool:${PORTSDIR}/net-im/telepathy-mission-control USES= gettext gmake gnome libtool pathfix pkgconfig python tar:xz USE_GNOME= evolutiondataserver3 intlhack USE_GSTREAMER1= yes USE_LDCONFIG= yes INSTALLS_ICONS= yes MAKE_JOBS_UNSAFE= YES GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-Werror \ --enable-goa \ --enable-gst-1.0=yes \ --enable-location=yes INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.Empathy.gschema.xml \ org.gnome.telepathy-account-widgets.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= JABBER MSN IRC SALUT HAZE MAP CHEESE OPTIONS_DEFAULT=JABBER MSN IRC SALUT MAP JABBER_DESC= Enable jabber (XMPP) client support MSN_DESC= Enable MSN client support IRC_DESC= Enable IRC client support SALUT_DESC= Enable link-local (serverless) XMPP support HAZE_DESC= Enable libpurple protocol integration MAP_DESC= Enable graphical map support CHEESE_DESC= Enable cheese camera support JABBER_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble MSN_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-butterfly:${PORTSDIR}/net-im/telepathy-butterfly IRC_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle SALUT_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut HAZE_RUN_DEPENDS= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze MAP_USE= GL=gl MAP_LIB_DEPENDS= libchamplain-0.12.so:${PORTSDIR}/graphics/libchamplain MAP_CONFIGURE_ENABLE= map CHEESE_BUILD_DEPENDS= cheese>=0:${PORTSDIR}/multimedia/cheese CHEESE_RUN_DEPENDS= cheese>=0:${PORTSDIR}/multimedia/cheese CHEESE_CONFIGURE_WITH= cheese PLIST_SUB= PORTVERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's|clutter-gst-1.0|clutter-gst-2.0|g ;\ s|MISSION_CONTROL_PLUGINS_DIR=`pkg-config -|MISSION_CONTROL_PLUGINS_DIR=$${libdir}/`pkg-config -|g' \ ${WRKSRC}/configure # workaround wierd bug that happened in 3.12.11. post-install: @${MV} ${STAGEDIR}/mission-control-plugins.0 \ ${STAGEDIR}${PREFIX}/lib/ .include Index: head/net-im/libnice/Makefile =================================================================== --- head/net-im/libnice/Makefile (revision 412341) +++ head/net-im/libnice/Makefile (revision 412342) @@ -1,47 +1,47 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= libnice PORTVERSION= 0.1.13 CATEGORIES= net-im devel MASTER_SITES= http://nice.freedesktop.org/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Library and transmitter that implements ICE-19 USES= gettext gmake libtool pathfix pkgconfig USE_LDCONFIG= yes USE_GNOME= glib20 introspection:build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_GETIFADDRS LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .if !defined(LIBNICE_SLAVE) OPTIONS_DEFINE= GUPNP GUPNP_DESC= UPnP IGD port mapping support GUPNP_LIB_DEPENDS+= libgupnp-igd-1.0.so:${PORTSDIR}/net/gupnp-igd GUPNP_CONFIGURE_ENABLE= gupnp .endif #.include .if defined(LIBNICE_SLAVE) . if ${LIBNICE_SLAVE}==gstreamer010 USE_GSTREAMER= yes CONFIGURE_ARGS+=--without-gstreamer --with-gstreamer-0.10 . endif . if ${LIBNICE_SLAVE}==gstreamer1 USE_GSTREAMER1= yes CONFIGURE_ARGS+=--with-gstreamer --without-gstreamer-0.10 . endif .else CONFIGURE_ARGS= --without-gstreamer --without-gstreamer-0.10 .endif post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ - 's|-Wno-missing-field-initializers|#|g' + 's|-Wno-missing-field-initializers|#|g' @${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/configure .include Index: head/net-im/pidgin-libnotify/Makefile =================================================================== --- head/net-im/pidgin-libnotify/Makefile (revision 412341) +++ head/net-im/pidgin-libnotify/Makefile (revision 412342) @@ -1,34 +1,34 @@ # Created by: Meethune Bhowmick # $FreeBSD$ PORTNAME= libnotify PORTVERSION= 0.14 PORTREVISION= 12 CATEGORIES= net-im MASTER_SITES= SF/gaim-${PORTNAME}/pidgin-${PORTNAME}/pidgin-${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= pidgin- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} MAINTAINER= meethune@gmail.com COMMENT= This plugin adds a libnotify interface to Pidgin BUILD_DEPENDS= ${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin \ - ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/devel/libnotify + ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/devel/libnotify LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify \ libpurple.so:${PORTSDIR}/net-im/libpurple GNU_CONFIGURE= yes USES= gmake libtool pkgconfig USE_LDCONFIG= yes USE_GNOME= gtk20 intltool CONFIGURE_ARGS= --disable-static CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext .include Index: head/net-im/telegram/Makefile =================================================================== --- head/net-im/telegram/Makefile (revision 412341) +++ head/net-im/telegram/Makefile (revision 412342) @@ -1,52 +1,52 @@ # Created by: gahr # $FreeBSD$ PORTNAME= telegram PORTVERSION= 1.3.1 CATEGORIES= net-im MAINTAINER= cpm@fbsd.es COMMENT= Command-line interface for Telegram LICENSE= GPLv2 LIB_DEPENDS= libconfig.so:${PORTSDIR}/devel/libconfig \ - libevent.so:${PORTSDIR}/devel/libevent2 \ + libevent.so:${PORTSDIR}/devel/libevent2 \ libjansson.so:${PORTSDIR}/devel/jansson USES= execinfo gmake lua:52 ncurses pkgconfig readline USE_OPENSSL= yes GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= vysheng GH_PROJECT= tg:telegram tgl tl-parser:tlparser GH_TAGNAME= 1.3.1:telegram 2.0.1 1659d87:tlparser WRKSRC= ${WRKDIR}/tg-1.3.1 PLIST_FILES= bin/telegram-cli \ etc/telegram-cli/server.pub PORTDOCS= * .include .if ${OSVERSION} < 1000024 USE_GCC= yes .endif post-extract: @${RM} -r ${WRKSRC}/tgl @${MV} ${WRKDIR}/tgl-2.0.1 ${WRKSRC}/tgl @${MV} ${WRKDIR}/tl-parser-1659d87/* ${WRKSRC}/tgl/tl-parser @${RM} -r ${WRKDIR}/tl-parser-1659d87 do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/telegram-cli ${INSTALL_PROGRAM} ${WRKSRC}/bin/telegram-cli ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/tg-server.pub ${STAGEDIR}${PREFIX}/etc/telegram-cli/server.pub @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README-LUA README.es README.md \ ${STAGEDIR}${DOCSDIR}) .include Index: head/net-im/telepathy-butterfly/Makefile =================================================================== --- head/net-im/telepathy-butterfly/Makefile (revision 412341) +++ head/net-im/telepathy-butterfly/Makefile (revision 412342) @@ -1,23 +1,23 @@ # $FreeBSD$ # $MCom: ports/net-im/telepathy-butterfly/Makefile,v 1.3 2009/01/08 06:51:59 marcus Exp $ PORTNAME= telepathy-butterfly PORTVERSION= 0.5.15 PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= gnome@FreeBSD.org COMMENT= MSN Connection Manager for Telepathy Framework BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/papyon/__init__.py:${PORTSDIR}/net-im/papyon \ ${PYTHON_SITELIBDIR}/telepathy/__init__.py:${PORTSDIR}/net-im/telepathy-python RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/papyon/__init__.py:${PORTSDIR}/net-im/papyon \ - ${PYTHON_SITELIBDIR}/telepathy/__init__.py:${PORTSDIR}/net-im/telepathy-python + ${PYTHON_SITELIBDIR}/telepathy/__init__.py:${PORTSDIR}/net-im/telepathy-python HAS_CONFIGURE= yes CONFIGURE_ARGS+=--prefix=${PREFIX} USES= gmake python .include Index: head/net-mgmt/centreon-clib/Makefile =================================================================== --- head/net-mgmt/centreon-clib/Makefile (revision 412341) +++ head/net-mgmt/centreon-clib/Makefile (revision 412342) @@ -1,21 +1,21 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # $FreeBSD$ PORTNAME= centreon-clib PORTVERSION= 1.4.2 CATEGORIES= net-mgmt MASTER_SITES= http://download.centreon.com/centreon-clib/ MAINTAINER= bofh@FreeBSD.org COMMENT= Common library of all Centreon projects written in C or C++ LICENSE= AGPLv3 USES= cmake CMAKE_SOURCE_PATH= ${WRKSRC}/build CMAKE_ARGS= -DWITH_PREFIX=${PREFIX} \ - -DWITH_PREFIX_INC=${PREFIX}/include/centreon \ + -DWITH_PREFIX_INC=${PREFIX}/include/centreon \ -DWITH_PKGCONFIG_DIR=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes .include Index: head/net-mgmt/icli/Makefile =================================================================== --- head/net-mgmt/icli/Makefile (revision 412341) +++ head/net-mgmt/icli/Makefile (revision 412342) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= icli DISTVERSION= 0.47 PORTREVISION= 2 CATEGORIES= net-mgmt perl5 MASTER_SITES= http://finalrewind.org/projects/icli/ MAINTAINER= lme@FreeBSD.org COMMENT= Command line interface to Icinga LICENSE= ICLI LICENSE_NAME= ICLI license LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \ p5-Term-Size>=0:${PORTSDIR}/devel/p5-Term-Size \ icinga:${PORTSDIR}/net-mgmt/icinga-core ICINGADIR?= /var/spool/icinga CONFIGURE_ARGS+= --destdir ${STAGEDIR} \ --icli-object-file=${ICINGADIR}/objects.cache \ - --icli-status-file=${ICINGADIR}/status.dat \ - --icli-command-file=${ICINGADIR}/icinga.cmd + --icli-status-file=${ICINGADIR}/status.dat \ + --icli-command-file=${ICINGADIR}/icinga.cmd USES= perl5 USE_PERL5= modbuild post-patch: @${REINPLACE_CMD} -i '' 's|/var/[^/]*/icinga|/var/spool/icinga|' \ ${WRKSRC}/bin/${PORTNAME} .include Index: head/net-mgmt/librenms/Makefile =================================================================== --- head/net-mgmt/librenms/Makefile (revision 412341) +++ head/net-mgmt/librenms/Makefile (revision 412342) @@ -1,139 +1,139 @@ # Created by: Muhammad Moinur Rahman # $FreeBSD$ PORTNAME= librenms PORTVERSION= 201601 CATEGORIES= net-mgmt MASTER_SITES= http://www.librenms.org/ MAINTAINER= bofh@FreeBSD.org COMMENT= Autodiscovering PHP/MySQL/SNMP based network monitoring LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= librenms USES= python shebangfix SHEBANG_FILES= html/js/makemini.pl mibs/process.pl scripts/agent-local/bind \ scripts/agent-local/dmi scripts/agent-local/dpkg \ scripts/agent-local/drbd scripts/agent-local/hddtemp \ scripts/agent-local/memcached scripts/agent-local/mysql \ scripts/agent-local/rpm scripts/agent-local/temperature \ scripts/agent-local/tinydns scripts/apache-stats.py \ scripts/check_mk_agent scripts/cron.sh scripts/cron-hourly.sh \ scripts/cron-minute.sh scripts/get-geshi.sh \ - scripts/get-jpgraph.sh scripts/ifAlias \ + scripts/get-jpgraph.sh scripts/ifAlias \ scripts/Migration/Standard_Conversion/convert_no_xml.sh \ scripts/Migration/Standard_Conversion/destwork_no_xml.sh \ scripts/Migration/Standard_Conversion/mkdir.sh \ scripts/Migration/XML_Conversion/convert.sh \ scripts/Migration/XML_Conversion/destwork.sh \ scripts/Migration/XML_Conversion/mkdir.sh validate.php \ - scripts/postfix-queues scripts/removespikes.php \ + scripts/postfix-queues scripts/removespikes.php \ scripts/removespikes.pl scripts/watchmaillog/watchmaillog.pl USE_PHP= ctype filter gd json mcrypt mysql session snmp tokenizer xml WANT_PHP_CLI= yes NO_BUILD= yes RUN_DEPENDS+= rrdtool:${PORTSDIR}/databases/rrdtool \ dot:${PORTSDIR}/graphics/graphviz \ Magick-config:${PORTSDIR}/graphics/ImageMagick \ mtr:${PORTSDIR}/net/mtr-nox11 \ ${LOCALBASE}/share/pear/Net/IPv4.php:${PORTSDIR}/net/pear-Net_IPv4 \ ${LOCALBASE}/share/pear/Net/IPv6.php:${PORTSDIR}/net/pear-Net_IPv6 \ snmpget:${PORTSDIR}/net-mgmt/net-snmp \ bash:${PORTSDIR}/shells/bash OPTIONS_DEFINE= APACHEMOD FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS NMAP PYPOLLER WMIC DOCS EXAMPLES OPTIONS_DEFAULT= APACHEMOD FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER WMIC DOCS EXAMPLES APACHEMOD_DESC= Use PHP with Apache 2.2+ module FPING_DESC= Enable fping support ping monitoring IPMITOOL_DESC= Enable support for monitoring hardware IPMI MYSQLD_DESC= Use local MySQL server WMIC_DESC= Enable support for WMI polling PYPOLLER_DESC= Enable Python Poller Wrapper FPING_RUN_DEPENDS= fping:${PORTSDIR}/net/fping IPMITOOL_RUN_DEPENDS= ipmitool:${PORTSDIR}/sysutils/ipmitool LIBVIRT_RUN_DEPENDS= virsh:${PORTSDIR}/devel/libvirt NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins NMAP_RUN_DEPENDS= nmap:${PORTSDIR}/security/nmap PYPOLLER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>0:${PORTSDIR}/databases/py-MySQLdb WMIC_RUN_DEPENDS= wmic:${PORTSDIR}/net-mgmt/wmi-client MYSQLD_USE= MYSQL=server MYSQLD_USE_OFF= MYSQL=client SUB_FILES+= pkg-message SUB_LIST+= PHP="${PHPBASE}/bin/php" PYTHON=${PYTHON_CMD} ROOT_FILES= addhost.php adduser.php alerts.php build-base.php build.sql \ - billing-calculate.php callback.php \ - check-services.php config_to_json.php daily.php daily.sh \ - delhost.php discovery.php dist-pollers.php irc.php \ - poll-billing.php poller.php poller-service.py poller-wrapper.py renamehost.php \ + billing-calculate.php callback.php \ + check-services.php config_to_json.php daily.php daily.sh \ + delhost.php discovery.php dist-pollers.php irc.php \ + poll-billing.php poller.php poller-service.py poller-wrapper.py renamehost.php \ snmp-scan.php snmptrap.php syslog.php validate.php ROOT_DIRS= contrib html includes lib mibs scripts sql-schema DOCS= AUTHORS.md CHANGELOG CONTRIBUTING.md LICENSE.txt README.md PORTDOCS= * PORTEXAMPLES= snmp.conf.example snmpd.conf.example NO_ARCH= yes .if !defined(PACKAGE_BUILDING) APACHEMOD_VARS_ON= WANT_PHP_MOD=yes APACHEMOD_USE= APACHE_RUN=22+ .else # Package builder doesn't create php5 with module WANT_PHP_WEB= yes .endif post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/poller-wrapper.py ${WRKSRC}/poller.php do-install: @${MKDIR} ${STAGEDIR}/${WWWDIR} .for dir in ${ROOT_DIRS} @${MKDIR} ${STAGEDIR}/${WWWDIR}/${dir} @cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/${dir} .endfor .for f in ${ROOT_FILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR} .endfor # Create empty rrd dir writable by www @${MKDIR} ${STAGEDIR}/${WWWDIR}/rrd # Files in scripts dir should be executable @${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \; # Ensure PHP and Python scripts are executable @${FIND} ${STAGEDIR}/${WWWDIR} -type f -name '*.py' -or -type f -name \ '*.php' -exec ${CHMOD} +x {} \; do-install-DOCS-on: @${MKDIR} ${STAGEDIR}/${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR} .endfor @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${EXAMPLESDIR} .endfor post-install: @${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST} @${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST} @${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} ${INSTALL_DATA} ${WRKSRC}/config.php.default \ ${STAGEDIR}/${WWWDIR}/config.php.sample @${ECHO} @sample ${WWWDIR}/config.php.sample >> ${TMPPLIST} @${ECHO} @dir ${WWWDIR}/rrd >> ${TMPPLIST} @${ECHO_CMD} "@group" >> ${TMPPLIST} @${ECHO_CMD} "@owner" >> ${TMPPLIST} .include Index: head/net-p2p/eiskaltdcpp-cli/Makefile =================================================================== --- head/net-p2p/eiskaltdcpp-cli/Makefile (revision 412341) +++ head/net-p2p/eiskaltdcpp-cli/Makefile (revision 412342) @@ -1,40 +1,40 @@ # Created by: Maxim Ignatenko # $FreeBSD$ PORTNAME= eiskaltdcpp CATEGORIES= net-p2p PKGNAMESUFFIX= -cli MAINTAINER= ports@FreeBSD.org COMMENT= EiskaltDC++ Direct Connect command-line interface LICENSE= GPLv3 RUN_DEPENDS= p5-RPC-XML>=0:${PORTSDIR}/net/p5-RPC-XML \ p5-JSON-RPC>=0:${PORTSDIR}/devel/p5-JSON-RPC \ - p5-Term-ShellUI>=0:${PORTSDIR}/shells/p5-Term-ShellUI + p5-Term-ShellUI>=0:${PORTSDIR}/shells/p5-Term-ShellUI MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib NO_BUILD= yes NO_ARCH= yes USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= eiskaltdcpp-cli/*.pl do-install: @${INSTALL_SCRIPT} "${WRKSRC}/eiskaltdcpp-cli/cli-jsonrpc.pl" \ "${STAGEDIR}${PREFIX}/bin/eiskaltdcpp-cli-jsonrpc" @${INSTALL_SCRIPT} "${WRKSRC}/eiskaltdcpp-cli/cli-xmlrpc.pl" \ "${STAGEDIR}${PREFIX}/bin/eiskaltdcpp-cli-xmlrpc" @${INSTALL_MAN} "${WRKSRC}/eiskaltdcpp-cli/eiskaltdcpp-cli-jsonrpc.1" \ "${STAGEDIR}${PREFIX}/man/man1/" @${INSTALL_MAN} "${WRKSRC}/eiskaltdcpp-cli/eiskaltdcpp-cli-xmlrpc.1" \ "${STAGEDIR}${PREFIX}/man/man1/" @${MKDIR} "${STAGEDIR}${PREFIX}/etc/eiskaltdcpp" || true @${INSTALL_DATA} "${WRKSRC}/eiskaltdcpp-cli/cli-jsonrpc-config.pl" \ "${STAGEDIR}${PREFIX}/etc/eiskaltdcpp/cli-jsonrpc-config.pl.sample" @${INSTALL_DATA} "${WRKSRC}/eiskaltdcpp-cli/cli-xmlrpc-config.pl" \ "${STAGEDIR}${PREFIX}/etc/eiskaltdcpp/cli-xmlrpc-config.pl.sample" .include "${MASTERDIR}/Makefile" Index: head/ports-mgmt/packagekit/Makefile =================================================================== --- head/ports-mgmt/packagekit/Makefile (revision 412341) +++ head/ports-mgmt/packagekit/Makefile (revision 412342) @@ -1,105 +1,105 @@ # Created by: Anders F Bjorklund # $FreeBSD$ # $MCom: ports/ports-mgmt/packagekit/Makefile,v 1.26 2010/10/10 15:49:51 marcus Exp $ PORTNAME= PackageKit PORTVERSION= 0.6.11 PORTREVISION?= 8 CATEGORIES= ports-mgmt sysutils MASTER_SITES= http://www.packagekit.org/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT?= DBUS packaging abstraction layer BUILD_DEPENDS= ${LOCALBASE}/bin/docbook2man:${PORTSDIR}/textproc/docbook-utils LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit \ libck-connector.so:${PORTSDIR}/sysutils/consolekit RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof \ bash:${PORTSDIR}/shells/bash IGNORE= does not build with new polkit USES= cpe execinfo gettext gmake iconv libtool pathfix pkgconfig \ python:build shared-mime-info shebangfix CPE_VENDOR= packagekit_project SHEBANG_FILES= backends/test/helpers/search-name.sh \ contrib/cron/packagekit-background.cron USE_GNOME= glib20 intltool introspection USE_SQLITE= 3 USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo CONFIGURE_ARGS+=--with-security-framework=polkit \ --localstatedir=/var \ --disable-static \ --disable-gtk-doc \ --disable-managed \ --disable-browser-plugin \ --disable-gstreamer-plugin \ --disable-networkmanager \ --disable-connman INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE=yes .if !defined(SLAVEPORT) OPTIONS_DEFINE= PORTS MANPAGES OPTIONS_DEFAULT=PORTS PORTS_DESC=Use portupgrade for management, dummy if disabled .include . if ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= docbook-sgml>0:${PORTSDIR}/textproc/docbook-sgml \ xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl PLIST_SUB+= MAN='' . else CONFIGURE_ARGS+=--disable-man-pages PLIST_SUB+= MAN='@comment ' . endif . if ${PORT_OPTIONS:MPORTS} RUN_DEPENDS+= ${LOCALBASE}/sbin/portupgrade:${PORTSDIR}/ports-mgmt/portupgrade USE_RUBY= yes CONFIGURE_ARGS+=--enable-ports --with-default-backend=ports PLIST_SUB+= PORTS="" . else CONFIGURE_ARGS+=--disable-ports --with-default-backend=dummy PLIST_SUB+= PORTS="@comment " . endif CONFIGURE_ARGS+=--disable-gtk-module PLIST_SUB+= GTK="@comment " CONFIGURE_ARGS+=--disable-qt .elif defined(${SLAVEPORT}) && ${SLAVEPORT}=="qt4" LIB_DEPENDS+= libpackagekit-glib2.so:${PORTSDIR}/ports-mgmt/packagekit CONFIGURE_ARGS+=--enable-qt LIB_DEPENDS+= libcppunit.so:${PORTSDIR}/devel/cppunit USE_QT4+= dbus gui xml sql moc_build #.include "${PORTSDIR}/Mk/bsd.qt.mk" .endif post-patch: @${REINPLACE_CMD} -E -e 's/.*WARNINGFLAGS_CPP.*-Werror/#$$&/' \ -e 's|-DG_DISABLE_DEPRECATED||g' \ -e 's|-Wmissing-include-dirs||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/pk-lsof.c @${REINPLACE_CMD} -e 's|girepositry|girepository|g' \ ${WRKSRC}/lib/packagekit-glib2/Makefile.in @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ - '/xsltproc/s|.xsl [$$]? &> /dev|.xsl $$? > /dev|g' + '/xsltproc/s|.xsl [$$]? &> /dev|.xsl $$? > /dev|g' post-install: .if !defined(SLAVEPORT) @${INSTALL_DATA} ${WRKSRC}/data/transactions.db \ - ${STAGEDIR}${PREFIX}/share/PackageKit/transactions.db + ${STAGEDIR}${PREFIX}/share/PackageKit/transactions.db .endif .include Index: head/portuguese/hunspell/Makefile =================================================================== --- head/portuguese/hunspell/Makefile (revision 412341) +++ head/portuguese/hunspell/Makefile (revision 412342) @@ -1,35 +1,35 @@ # $FreeBSD$ PORTNAME= hunspell PORTVERSION= 20160206 CATEGORIES= portuguese textproc MASTER_SITES= http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/:PT \ http://www.broffice.org/files/:BR \ LOCAL/sunpoet/${PORTNAME}:PT,BR DISTFILES= hunspell-pt_PT-${PORTVERSION}.tar.gz:PT \ pt_BR-2012-06-09AOC.zip:BR DIST_SUBDIR= ${PORTNAME} MAINTAINER= office@FreeBSD.org COMMENT= Portuguese hunspell dictionaries # We pick the common one among: # - pt_PT is licensed under GPLv2, LGPL21 and MPL. # - pt_BR is licensed under LGPL3 and MPL. LICENSE= MPL NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/hunspell-pt_PT-${PORTVERSION} PLIST_FILES= %%DATADIR%%/pt_BR.aff \ %%DATADIR%%/pt_BR.dic \ %%DATADIR%%/pt_PT.aff \ %%DATADIR%%/pt_PT.dic do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKDIR}/pt_BR.aff ${WRKDIR}/pt_BR.dic \ - ${WRKSRC}/pt_PT.aff ${WRKSRC}/pt_PT.dic ${STAGEDIR}${DATADIR}/ + ${WRKSRC}/pt_PT.aff ${WRKSRC}/pt_PT.dic ${STAGEDIR}${DATADIR}/ .include Index: head/science/p5-Mcstas-Tools/Makefile =================================================================== --- head/science/p5-Mcstas-Tools/Makefile (revision 412341) +++ head/science/p5-Mcstas-Tools/Makefile (revision 412342) @@ -1,28 +1,28 @@ # Created by: Erik B Knudsen # $FreeBSD$ PORTNAME= Mcstas-Tools PORTVERSION= 2.2a CATEGORIES= science MASTER_SITES= http://download.mcstas.org/mcstas-${PORTVERSION}/unix/McStas-${PORTVERSION}-UNIX-src/ PKGNAMEPREFIX= p5- DISTNAME= mcstas-tools-perl-${PORTVERSION}-src MAINTAINER= erkn@fysik.dtu.dk COMMENT= Perl based tools for the McStas neutron ray tracing package LICENSE= GPLv2 RUN_DEPENDS= p5-Tk>0:${PORTSDIR}/x11-toolkits/p5-Tk \ p5-PGPLOT>=2.21:${PORTSDIR}/graphics/p5-PGPLOT \ PDL>0:${PORTSDIR}/math/PDL \ - ${LOCALBASE}/bin/mcstas:${PORTSDIR}/science/mcstas + ${LOCALBASE}/bin/mcstas:${PORTSDIR}/science/mcstas USES= cmake gmake perl5 CMAKE_ARGS= -Denable_mcstas=1 GNU_CONFIGURE= yes SUB_FILES= pkg-install SUB_LIST= PORTVERSION=${PORTVERSION} .include Index: head/science/psychopy/Makefile =================================================================== --- head/science/psychopy/Makefile (revision 412341) +++ head/science/psychopy/Makefile (revision 412342) @@ -1,77 +1,77 @@ # Created by: wenheping@gmail.com # $FreeBSD$ PORTNAME= psychopy PORTVERSION= 1.83.04 CATEGORIES= science python MAINTAINER= ports@FreeBSD.org COMMENT= Psychophysics toolkit for Python LICENSE= GPLv3+ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \ ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.90.1:${PORTSDIR}/math/py-matplotlib \ ${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.6.0:${PORTSDIR}/science/py-scipy \ ${PYTHON_PKGNAMEPREFIX}openpyxl>0:${PORTSDIR}/textproc/py-openpyxl \ dejavu>0:${PORTSDIR}/x11-fonts/dejavu \ ${PYGAME} \ ${PYNUMPY} NO_ARCH= yes USE_GITHUB= yes USES= fortran python USE_PYTHON= autoplist distutils USE_WX= 2.8 WX_COMPS= python PLIST_FILES= bin/psychopy DESKTOP_ENTRIES="PsychoPy" \ "" \ "${PYTHONPREFIX_SITELIBDIR}/psychopy/app/Resources/psychopy.png" \ "psychopy" \ "" \ "" OPTIONS_DEFINE_i386= PYGLET OPTIONS_DEFAULT_i386= PYGLET PYGLET_DESC= Drawing support via Pyglet PYGLET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet>=1.1.2:${PORTSDIR}/graphics/py-pyglet .include post-patch: # https://github.com/psychopy/psychopy/issues/982 @${REINPLACE_CMD} -e \ 's|str(,id_dict)|str(id_dict)|' \ ${WRKSRC}/psychopy/demos/coder/iohub/elotouchscreen/run.py post-build: @${ECHO_CMD} -n > ${WRKDIR}/psychopy @${ECHO_CMD} "#!${SH}" \ >> ${WRKDIR}/psychopy .if ${OPSYS} == FreeBSD @${ECHO_CMD} "LD_LIBRARY_PATH=${LOCALBASE}/lib/${FC:S/fortran/cc/}:\$$LD_LIBRARY_PATH" \ >> ${WRKDIR}/psychopy @${ECHO_CMD} "export LD_LIBRARY_PATH" \ >> ${WRKDIR}/psychopy .endif @${ECHO_CMD} \ >> ${WRKDIR}/psychopy @${ECHO_CMD} "${PYTHON_CMD} ${PREFIX}/bin/psychopyApp.py" \ >> ${WRKDIR}/psychopy post-install: (cd ${WRKDIR} && ${INSTALL_SCRIPT} psychopy \ - ${STAGEDIR}${PREFIX}/bin) + ${STAGEDIR}${PREFIX}/bin) @${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psychopy/app/Resources/DejaVuSerif.ttf @${LN} -sf ${LOCALBASE}/share/fonts/dejavu/DejaVuSerif.ttf \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psychopy/app/Resources .include Index: head/security/arm/Makefile =================================================================== --- head/security/arm/Makefile (revision 412341) +++ head/security/arm/Makefile (revision 412342) @@ -1,58 +1,58 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= arm DISTVERSION= 1.4.5.0 PORTREVISION= 1 CATEGORIES= security net python MASTER_SITES= https://archive.torproject.org/arm/ \ http://www.c-s.li/ports/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Terminal status monitor for Tor LICENSE= GPLv3 USE_PYTHON= distutils USES= python shebangfix tar:bzip2 SHEBANG_FILES= src/resources/torrcOverride/override.py WRKSRC= ${WRKDIR}/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} PORTDOCS= armrc.sample OPTIONS_DEFINE= TOR \ DOCS OPTIONS_DEFAULT=TOR DOCS TOR_DESC= Enable local tor support .include .if ${PORT_OPTIONS:MTOR} RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof \ tor:${PORTSDIR}/security/tor .endif .include post-patch: .if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e 's,/usr/share/doc,${PREFIX}/share/doc,g' \ ${WRKSRC}/setup.py .else @${REINPLACE_CMD} -e 's,/usr/share/doc/,${WRKSRC}/src,g' \ ${WRKSRC}/setup.py .endif @${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,g' \ - ${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall + ${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall @${REINPLACE_CMD} -e 's,/usr/share/man/man1,${PREFIX}/man/man1,g' \ ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's,/usr/share,${PYTHON_SITELIBDIR},g' \ - ${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall \ + ${WRKSRC}/arm ${WRKSRC}/setup.py ${WRKSRC}/src/uninstall \ ${WRKSRC}/src/gui/controller.py .include Index: head/security/fprintd/Makefile =================================================================== --- head/security/fprintd/Makefile (revision 412341) +++ head/security/fprintd/Makefile (revision 412342) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= fprintd PORTVERSION= 0.6.0 CATEGORIES= security MASTER_SITES= http://people.freedesktop.org/~hadess/ MAINTAINER= la5lbtyi@aon.at COMMENT= Daemon that provides fingerprint scanning functionality over D-Bus LICENSE= GPLv2 LIB_DEPENDS= libfprint.so:${PORTSDIR}/security/libfprint \ - libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ + libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit GNU_CONFIGURE= yes USES= tar:xz gmake libtool pkgconfig USE_GNOME= intltool glib20 OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include Index: head/security/nss/Makefile =================================================================== --- head/security/nss/Makefile (revision 412341) +++ head/security/nss/Makefile (revision 412342) @@ -1,102 +1,102 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= nss PORTVERSION= 3.23 #DISTVERSIONSUFFIX= -with-ckbi-1.98 CATEGORIES= security MASTER_SITES= MOZILLA/security/${PORTNAME}/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src MAINTAINER= gecko@FreeBSD.org COMMENT= Libraries to support development of security-enabled applications BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ nspr>=4.12:${PORTSDIR}/devel/nspr \ sqlite3>=3.7.15:${PORTSDIR}/databases/sqlite3 LIB_DEPENDS= libnspr4.so:${PORTSDIR}/devel/nspr \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/nss MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= ${PREFIX}/lib/nss USES= cpe gmake perl5 CPE_VENDOR= mozilla CPE_PRODUCT= network_security_services USE_PERL5= build MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" \ SQLITE_INCLUDE_DIR="${LOCALBASE}/include" \ FREEBL_LOWHASH=1 \ NSS_DISABLE_GTESTS=1 \ NSS_USE_SYSTEM_SQLITE=1 CFLAGS+= -I${LOCALBASE}/include/nspr SUB_FILES= nss-config nss.pc SUB_LIST= PORTVERSION=${PORTVERSION} DIST= ${WRKSRC:H}/dist EXTRACT_AFTER_ARGS=--exclude */lib/zlib --exclude */lib/dbm --exclude */lib/sqlite INSTALL_BINS= certcgi certutil cmsutil crlutil derdump makepqg \ mangle modutil ocspclnt oidcalc p7content p7env p7sign \ p7verify pk12util rsaperf shlibsign signtool signver \ ssltap strsclnt symkeyutil vfychain vfyserv OPTIONS_DEFINE= DEBUG .include .if ! ${PORT_OPTIONS:MDEBUG} MAKE_ENV+= BUILD_OPT=1 BINS= ${DIST}/${OPSYS}${OSREL}_OPT.OBJ .else BINS= ${DIST}/${OPSYS}${OSREL}_DBG.OBJ .endif .if ${OPSYS} == FreeBSD && ${ARCH} == amd64 USE_BINUTILS= # intel-gcm.s CC+= -B${LOCALBASE}/bin .endif check regression-test test: cd ${WRKSRC}/tests; \ ${SETENV} PATH="${BINS}/bin:${PATH}" \ LD_LIBRARY_PATH="${BINS}/lib" \ ${MAKE_ENV} \ ./all.sh @if ${GREP} -Fh '>Failed<' \ ${WRKSRC:H}/tests_results/security/*/results.html; then \ echo "Some tests have failed. Let ${MAINTAINER} know."; \ exit 1; \ else \ echo "All tests succeeded. Good news."; \ fi post-patch: @${REINPLACE_CMD} '/NSS_DEFAULT_SYSTEM/s,/etc,${PREFIX}&,' \ ${WRKSRC}/lib/sysinit/nsssysinit.c @cd ${WRKSRC} && \ ${FIND} . -name "*.c" -o -name "*.h" | \ ${XARGS} ${REINPLACE_CMD} -e 's|"nspr.h"||' ${FIND} ${WRKSRC}/tests -name '*.sh' | ${XARGS} ${GREP} -l -F '/bin/bash' | \ ${XARGS} ${REINPLACE_CMD} -e 's|#! */bin/bash|#!${SH}|' do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/nss/nss ${STAGEDIR}${PREFIX}/lib/nss ${FIND} ${DIST}/public/nss -type l \ - -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/include/nss/nss \; + -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/include/nss/nss \; ${INSTALL_LIB} ${BINS}/lib/*.so.1 \ ${STAGEDIR}${PREFIX}/lib/nss ${INSTALL_DATA} ${BINS}/lib/libcrmf.a \ - ${STAGEDIR}${PREFIX}/lib/nss + ${STAGEDIR}${PREFIX}/lib/nss .for bin in ${INSTALL_BINS} ${INSTALL_PROGRAM} ${BINS}/bin/${bin} \ ${STAGEDIR}${PREFIX}/bin .endfor cd ${BINS}/lib && \ - ${TAR} -cf - *.so | ${TAR} --unlink -C ${STAGEDIR}${PREFIX}/lib/nss -xf - + ${TAR} -cf - *.so | ${TAR} --unlink -C ${STAGEDIR}${PREFIX}/lib/nss -xf - ${INSTALL_SCRIPT} ${WRKDIR}/nss-config ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/nss.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig .include Index: head/security/openbsm-devel/Makefile =================================================================== --- head/security/openbsm-devel/Makefile (revision 412341) +++ head/security/openbsm-devel/Makefile (revision 412342) @@ -1,53 +1,53 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= openbsm DISTVERSION= 1.2-alpha4 CATEGORIES= security MASTER_SITES= http://www.trustedbsd.org/downloads/ \ - http://mirrors.rit.edu/zi/ + http://mirrors.rit.edu/zi/ PKGNAMESUFFIX= -devel MAINTAINER= zi@FreeBSD.org COMMENT= Open Source Basic Security Module (BSM) Audit Implementation LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS= openbsm-1.[0-9]* GNU_CONFIGURE= yes USES= libtool tar:tgz USE_LDCONFIG= yes USE_RC_SUBR= auditdistd SUB_FILES= pkg-message PLIST_SUB= USERS=${USERS} GROUPS=${GROUPS} NEEDVARDIRS=${NEEDVARDIRS} USERS= auditdistd GROUPS= audit VARAUDIT= /var/audit .include .if ${OSVERSION} < 902000 NEEDVARDIRS= "" .else NEEDVARDIRS= "@comment " .endif .if ${OSVERSION} >= 1000000 IGNORE= is not needed under FreeBSD 10.x or higher .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libauditd.so.0.0.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbsm.so.0.0.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/auditfilter_noop.so.0.0.0 .if ${OSVERSION} < 902000 @${MKDIR} -m 0770 \ ${STAGEDIR}${VARAUDIT}/dist ${STAGEDIR}${VARAUDIT}/remote .endif .include Index: head/security/pam_ldap/Makefile =================================================================== --- head/security/pam_ldap/Makefile (revision 412341) +++ head/security/pam_ldap/Makefile (revision 412342) @@ -1,40 +1,40 @@ # Created by: Joe Clarke # $FreeBSD$ PORTNAME= pam_ldap PORTVERSION= 1.8.6 PORTREVISION= 3 CATEGORIES= security net MASTER_SITES= http://www.padl.com/download/ \ ftp://ftp.padl.com/pub/ DISTNAME= pam_ldap-${PORTVERSION:S/.//g} MAINTAINER= marcus@FreeBSD.org COMMENT= Pam module for authenticating with LDAP GNU_CONFIGURE= yes USE_OPENLDAP= yes USES= perl5 gmake USE_PERL5= build WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g} PAM_LDAP_CONF?= ldap.conf CONFIGURE_ARGS= --with-ldap-lib=openldap \ --with-ldap-dir=${LOCALBASE} \ --with-ldap-conf-file=${PREFIX}/etc/${PAM_LDAP_CONF} \ --with-ldap-secret-file=${PREFIX}/etc/ldap.secret PKGMESSAGE= ${WRKDIR}/pkg-message PORTDATA= *.schema post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \ - ${WRKSRC}/vers_string + ${WRKSRC}/vers_string post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.schema ${STAGEDIR}${DATADIR} @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ - -e 's|%%DATADIR%%|${DATADIR}|' < ${PKGDIR}/pkg-message \ + -e 's|%%DATADIR%%|${DATADIR}|' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} .include Index: head/security/sguil/Makefile =================================================================== --- head/security/sguil/Makefile (revision 412341) +++ head/security/sguil/Makefile (revision 412342) @@ -1,210 +1,210 @@ # Created by: Muhammad Moinur Rahman <5u623l20@gmail.com> # $FreeBSD$ PORTNAME= sguil PORTVERSION= 0.9.0 PORTREVISION= 1 CATEGORIES= security MAINTAINER= bofh@FreeBSD.org COMMENT= Sguil is a network security monitoring program LICENSE= GPLv3 RUN_DEPENDS= tcltls>=0:${PORTSDIR}/devel/tcltls \ ${LOCALBASE}/lib/tclx8.4/tclx.tcl:${PORTSDIR}/lang/tclX USE_GITHUB= yes GH_ACCOUNT= bammv GH_TAGNAME= 0b16167 OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= SERVER CLIENT SENSOR OPTIONS_MULTI= INSTANCE OPTIONS_MULTI_INSTANCE= SERVER CLIENT SENSOR OPTIONS_GROUP= SERVER CLIENT SENSOR OPTIONS_GROUP_SERVER= MYSQL OPTIONS_GROUP_CLIENT= AUDIO SANCP WIRESHARK OPTIONS_GROUP_SENSOR= PADS_SENSOR SANCP_SENSOR OPTIONS_SUB= yes SERVER_DESC= Install Sguil Server CLIENT_DESC= Install Sguil Client SENSOR_DESC= Install Sguil SENSOR MYSQL_DESC= Depend on databases/mysqltcl AUDIO_DESC= Install Festival Speech Synthesis SANCP_DESC= Use sancp PADS_SENSOR_DESC= Include pads sensor SANCP_SENSOR_DESC= Include sancp sensor WIRESHARK_DESC= Install wireshark CLIENT_USES= tk:wrapper SERVER_RUN_DEPENDS= p0f:${PORTSDIR}/net-mgmt/p0f \ tcpflow:${PORTSDIR}/net/tcpflow \ dtplite:${PORTSDIR}/devel/tcllib CLIENT_RUN_DEPENDS= dtplite:${PORTSDIR}/devel/tcllib \ iwidgets>0:${PORTSDIR}/x11-toolkits/iwidgets \ gpg2:${PORTSDIR}/security/gnupg SENSOR_RUN_DEPENDS= barnyard2:${PORTSDIR}/security/barnyard2-sguil MYSQL_LIB_DEPENDS= mysqltcl>=3.052:${PORTSDIR}/databases/mysqltcl AUDIO_RUN_DEPENDS= festival:${PORTSDIR}/audio/festival SANCP_RUN_DEPENDS= sancp:${PORTSDIR}/security/sancp WIRESHARK_RUN_DEPENDS= wireshark:${PORTSDIR}/net/wireshark PADS_SENSOR_RUN_DEPENDS= pads:${PORTSDIR}/net-mgmt/pads SANCP_SENSOR_RUN_DEPENDS= sancp:${PORTSDIR}/security/sancp NO_BUILD= yes TCL_VER= 8.5 TCLSH= tclsh${TCL_VER} SERVER_SGUILDIR?= sguild CLIENT_SGUILDIR?= sguil-client SENSOR_SGUILDIR?= sguil-sensor PLIST_SUB= SERVER_SGUILDIR=${SERVER_SGUILDIR} \ CLIENT_SGUILDIR=${CLIENT_SGUILDIR} \ SENSOR_SGUILDIR=${SENSOR_SGUILDIR} SUB_LIST= SERVER_SGUILDIR=${SERVER_SGUILDIR} TCLSH=${TCLSH} \ CLIENT_SGUILDIR=${CLIENT_SGUILDIR} \ SENSOR_SGUILDIR=${SENSOR_SGUILDIR} SERVER_CONFS= autocat.conf sguild.access sguild.email sguild.reports \ sguild.conf sguild.queries sguild.users CLIENT_LIBFILES=SguilUtil.tcl dkffont.tcl email17.tcl extdata.tcl \ sellib.tcl sancp.tcl sound.tcl guilib.tcl qrybuild.tcl \ qrylib.tcl report.tcl stdquery.tcl whois.tcl SENSOR_AGENTS= pcap_agent.tcl snort_agent.tcl SENSOR_CONFS= pcap_agent.conf snort_agent.conf LOG_SCRIPTS= log_packets-daemonlogger.sh log_packets.sh USERS= sguil GROUPS= sguil PORTDOCS= ${COMMON_DOCS:S|^doc/||} COMMON_DOCS= doc/CHANGES doc/FAQ doc/INSTALL doc/INSTALL.openbsd \ - doc/OPENSSL.README doc/TODO doc/UPGRADE doc/USAGE \ - doc/sguildb.dia + doc/OPENSSL.README doc/TODO doc/UPGRADE doc/USAGE \ + doc/sguildb.dia .include .if ${PORT_OPTIONS:MCLIENT} SUB_FILES= pkg-message-client .endif .if ${PORT_OPTIONS:MSERVER} USE_RC_SUBR+= sguild SUB_FILES= pkg-message-server .endif .if ${PORT_OPTIONS:MSENSOR} USE_RC_SUBR+= pcap_agent snort_agent SUB_FILES= pkg-message-sensor WITH_PCRE= true PORTDOCS+= README.daemonlogger . if ${PORT_OPTIONS:MSANCP_SENSOR} SENSOR_AGENTS+= sancp_agent.tcl pcap_agent-sancp.tcl SENSOR_CONFS+= sancp_agent.conf sancp-indexed.conf pcap_agent-sancp.conf USE_RC_SUBR+= sancp_agent pcap_agent-sancp PORTDOCS+= README.sancp_indexed_pcap . endif . if ${PORT_OPTIONS:MPADS_SENSOR} SENSOR_AGENTS+= pads_agent.tcl SENSOR_CONFS+= pads_agent.conf USE_RC_SUBR+= pads_agent . endif .endif post-patch: .if ${PORT_OPTIONS:MSERVER} @${REINPLACE_CMD} 's|/bin/sh|${TCLSH}|' \ ${WRKSRC}/server/sguild @${MKDIR} ${STAGEDIR}${PREFIX}/etc/${SERVER_SGUILDIR} \ ${STAGEDIR}${PREFIX}/lib/${SERVER_SGUILDIR} \ ${STAGEDIR}${PREFIX}/share/${SERVER_SGUILDIR} \ ${STAGEDIR}${PREFIX}/share/${SERVER_SGUILDIR}/contrib .endif .if ${PORT_OPTIONS:MCLIENT} @${MKDIR} ${STAGEDIR}${PREFIX}/bin/${CLIENT_SGUILDIR} \ ${STAGEDIR}${PREFIX}/bin/${CLIENT_SGUILDIR}/lib \ ${STAGEDIR}${PREFIX}/bin/${CLIENT_SGUILDIR}/images .endif .if ${PORT_OPTIONS:MSENSOR} . for f in ${SENSOR_AGENTS} @${REINPLACE_CMD} 's|/bin/sh|${PREFIX}/bin/${TCLSH}|' \ ${WRKSRC}/sensor/${f} . endfor .endif do-install: .if ${PORT_OPTIONS:MSERVER} (cd ${WRKSRC}/server/lib && \ ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/lib/${SERVER_SGUILDIR}) (cd ${WRKSRC}/server/sql_scripts && \ ${COPYTREE_SHARE} \* \ ${STAGEDIR}${PREFIX}/share/${SERVER_SGUILDIR}) (cd ${WRKSRC}/server/contrib && \ ${COPYTREE_SHARE} \* \ ${STAGEDIR}${PREFIX}/share/${SERVER_SGUILDIR}/contrib) ${INSTALL_SCRIPT} ${WRKSRC}/server/sguild ${STAGEDIR}${PREFIX}/bin . for f in ${SERVER_CONFS} ${INSTALL_DATA} ${WRKSRC}/server/${f} \ ${STAGEDIR}${PREFIX}/etc/${SERVER_SGUILDIR}/${f}-sample . endfor .endif .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_SCRIPT} ${WRKSRC}/client/sguil.tk \ ${STAGEDIR}${PREFIX}/bin/${CLIENT_SGUILDIR}/sguil.tk ${INSTALL_DATA} ${WRKSRC}/client/sguil.conf \ ${STAGEDIR}${PREFIX}/etc/sguil.conf-sample (cd ${WRKSRC}/client/lib && ${INSTALL_DATA} ${CLIENT_LIBFILES} \ ${STAGEDIR}${PREFIX}/bin/${CLIENT_SGUILDIR}/lib) (cd ${WRKSRC}/client/lib/images && \ ${INSTALL_DATA} sguil_logo_h.gif checked.gif unchecked.gif \ ${STAGEDIR}${PREFIX}/bin/${CLIENT_SGUILDIR}/images) (cd ${WRKSRC}/client/lib/tablelist5.11 && ${COPYTREE_SHARE} \* \ ${STAGEDIR}${PREFIX}/bin/${CLIENT_SGUILDIR}/lib/tablelist5.11) .endif .if ${PORT_OPTIONS:MSENSOR} @${MKDIR} ${STAGEDIR}${PREFIX}/bin/${SENSOR_SGUILDIR} \ ${STAGEDIR}${PREFIX}/etc/${SENSOR_SGUILDIR} \ ${STAGEDIR}${PREFIX}/share/${SENSOR_SGUILDIR} \ ${STAGEDIR}${PREFIX}/share/${SENSOR_SGUILDIR}/contrib \ ${STAGEDIR}${PREFIX}/share/${SENSOR_SGUILDIR}/init (cd ${WRKSRC}/sensor/contrib && \ ${COPYTREE_SHARE} \* \ ${STAGEDIR}${PREFIX}/share/${SENSOR_SGUILDIR}/contrib \ "! -name ossec_agent.tcl.orig") (cd ${WRKSRC}/sensor/init && \ ${COPYTREE_SHARE} \* \ ${STAGEDIR}${PREFIX}/share/${SENSOR_SGUILDIR}/init) (cd ${WRKSRC}/sensor/ && \ ${INSTALL_SCRIPT} ${SENSOR_AGENTS} \ ${STAGEDIR}${PREFIX}/bin/${SENSOR_SGUILDIR}) (cd ${WRKSRC}/sensor && \ ${INSTALL_SCRIPT} ${LOG_SCRIPTS} \ ${STAGEDIR}${PREFIX}/bin/${SENSOR_SGUILDIR}) . for f in ${SENSOR_CONFS} ${INSTALL_DATA} ${WRKSRC}/sensor/${f} \ ${STAGEDIR}${PREFIX}/etc/${SENSOR_SGUILDIR}/${f}-sample . endfor . if ${PORT_OPTIONS:MSANCP_SENSOR} ${INSTALL_SCRIPT} ${WRKSRC}/sensor/log_packets-sancp.sh \ ${STAGEDIR}${PREFIX}/bin/${SENSOR_SGUILDIR} ${INSTALL_DATA} ${WRKSRC}/sensor/sancp/sancp.conf \ ${STAGEDIR}${PREFIX}/etc/${SENSOR_SGUILDIR}/sancp.conf-sample . endif .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${COMMON_DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} . if ${PORT_OPTIONS:MSENSOR} ${INSTALL_DATA} ${WRKSRC}/sensor/README.daemonlogger \ ${STAGEDIR}${DOCSDIR} . if ${PORT_OPTIONS:MSANCP_SENSOR} ${INSTALL_DATA} ${WRKSRC}/sensor/README.sancp_indexed_pcap \ ${STAGEDIR}${DOCSDIR} . endif . endif .endif .include Index: head/sysutils/bacula-server/Makefile =================================================================== --- head/sysutils/bacula-server/Makefile (revision 412341) +++ head/sysutils/bacula-server/Makefile (revision 412342) @@ -1,213 +1,213 @@ # Created by: Dmitry Sivachenko # $FreeBSD$ PORTNAME= bacula DISTVERSION= 7.4.0 PORTREVISION= 2 CATEGORIES?= sysutils MASTER_SITES= SF/bacula/bacula/${PORTVERSION} PKGNAMEPREFIX?= # PKGNAMESUFFIX?= -server MAINTAINER= dvl@FreeBSD.org COMMENT?= Network backup solution (server) USES+= libtool readline shebangfix SHEBANG_FILES= scripts/dvd-handler.in src/cats/make_catalog_backup.pl.in python_OLD_CMD= @PYTHON@ USE_OPENSSL= yes CONFLICTS?= bacula5-server-* LIB_DEPENDS+= liblzo2.so:${PORTSDIR}/archivers/lzo2 USERS= bacula GROUPS= ${USERS} PLIST_SUB+= LIB_VERSION=${PORTVERSION} GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I/usr/include/readline -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE?= SQLITE3 MYSQL PGSQL MTX PYTHON NLS ENABLE_IPV6 OPTIONS_DEFAULT?= NLS PGSQL ENABLE_IPV6 MTX_DESC= Install mtx for control of autochanger devices ENABLE_IPV6_DESC= Enable IPv6 support .if ${PKGNAMESUFFIX} == "-client" || ${PKGNAMESUFFIX} == "-server" #Till end of the file PYTHON_USES= python PYTHON_CONFIGURE_ON= --with-python=yes .if !defined(WITH_CLIENT_ONLY) LIB_DEPENDS+= libbac-${DISTVERSION}.so:${PORTSDIR}/sysutils/bacula-client USE_RC_SUBR?= bacula-dir bacula-sd .endif .if defined(WITH_CLIENT_ONLY) SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client .else SUB_FILES+= pkg-message.server .endif CONFIGURE_ARGS+=--with-tcp-wrappers=/usr/lib \ --enable-smartalloc \ --sysconfdir=${ETCDIR} \ --with-working-dir=${BACULA_DIR} \ --with-scriptdir=${PREFIX}/share/${PORTNAME} \ --disable-conio \ --enable-batch-insert \ --with-plugindir=${PREFIX}/lib \ --with-dump-email=root@localhost \ --with-job-email=root@localhost \ --with-db-name=bacula \ --with-sbin-perm=755 \ --with-db-user=bacula \ --with-logdir=/var/log \ --with-baseport=9101 .if defined(WITH_CLIENT_ONLY) CONFIGURE_ARGS+=--with-fd-user=root \ --with-fd-group=wheel .else CONFIGURE_ARGS+=--with-dir-user=${BACULA_USER} \ --with-dir-group=${BACULA_GROUP} \ --with-sd-user=${BACULA_USER} \ --with-sd-group=operator .endif # The user/group IDs below are registered, see # http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#users-and-groups # BACULA_USER?= bacula BACULA_GROUP?= ${BACULA_USER} BACULA_UID?= bacula BACULA_GID?= ${BACULA_UID} BACULA_DIR?= /var/db/bacula PLIST_SUB+= BACULA_DIR=${BACULA_DIR} SUB_LIST= BACULA_USER=${BACULA_USER} \ BACULA_GROUP=${BACULA_GROUP} \ BACULA_UID=${BACULA_UID} \ BACULA_GID=${BACULA_GID} \ BACULA_DIR=${BACULA_DIR} NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls # Client only or full server version .if defined(WITH_CLIENT_ONLY) CONFFILES= fd CONFIGURE_ARGS+= --enable-client-only PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client PKGINSTALL= ${FILESDIR}/pkg-install.client .else # Server only Options CONFFILES= sd dir # Server default database MYSQL_CONFIGURE_ON= --with-mysql=yes MYSQL_USE= MYSQL=yes SQLITE3_CONFIGURE_ON= --with-sqlite3=yes SQLITE3_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 PGSQL_CONFIGURE_ON= --with-postgresql=yes PGSQL_USES= pgsql MTX_RUN_DEPENDS= ${LOCALBASE}/sbin/mtx:${PORTSDIR}/misc/mtx .include .if ${PORT_OPTIONS:MMYSQL} DBTYPE= mysql SUB_LIST+= REQ_MYSQL=mysql REQ_PGSQL="" .elif ${PORT_OPTIONS:MSQLITE3} DBTYPE= sqlite3 .else DBTYPE= postgresql SUB_LIST+= REQ_MYSQL="" REQ_PGSQL=postgresql .endif PLIST_SUB+= DBTYPE=${DBTYPE} .endif .include .if ${readline_ARGS} == "port" readline_CONFIGURE= ${LOCALBASE} .else readline_CONFIGURE= yes .endif # if IPv6 is not in the kernel, it generates many errors .if ! ${PORT_OPTIONS:MENABLE_IPV6} CONFIGURE_ARGS+= --disable-ipv6 .endif CONFIGURE_ARGS+= --with-readline=${readline_CONFIGURE} .if defined(WITH_CLIENT_ONLY) MP8+= bacula.8 bacula-fd.8 bconsole.8 .else MP8+= bacula-dir.8 bacula-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 \ btape.8 btraceback.8 dbcheck.8 bwild.8 bregex.8 MP1+= bsmtp.1 bacula-tray-monitor.1 .endif MAKE_ENV+= MAN8="${MP8}" MAN1="${MP1}" post-patch: # This port does not install docs. See bacula-docs for that @${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in # Change $(ECHO) to echo in some Makefile.in files @${REINPLACE_CMD} -e 's|$$(ECHO)|echo|g' \ ${WRKSRC}/src/filed/Makefile.in \ ${WRKSRC}/src/console/Makefile.in \ ${WRKSRC}/src/cats/Makefile.in \ ${WRKSRC}/src/dird/Makefile.in \ ${WRKSRC}/src/stored/Makefile.in \ ${WRKSRC}/src/tools/Makefile.in # Default bconsole.conf is in ${ETCDIR} @${REINPLACE_CMD} -e 's|./bconsole.conf|${ETCDIR}/bconsole.conf|g' ${WRKSRC}/src/console/console.c @${REINPLACE_CMD} -e 's|^MAN8 =|MAN8 ?=|g' -e 's|^MAN1 =|MAN1 ?=|g' ${WRKSRC}/manpages/Makefile.in .if defined(WITH_CLIENT_ONLY) # In client port only install startup script out of script dir (see below post-install) # Dont mkdir ${PREFIX}/share/bacula cause it's empty @${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in .else # In server port don't install filed @${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ - ${WRKSRC}/Makefile.in + ${WRKSRC}/Makefile.in .endif .if !target(post-install) post-install: .if defined(WITH_CLIENT_ONLY) ${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf ${STAGEDIR}${ETCDIR}/bconsole.conf.sample .else ${INSTALL_SCRIPT} ${FILESDIR}/chio-bacula ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${STAGEDIR}${ETCDIR}/bacula-barcodes.sample ${MV} ${STAGEDIR}${LOCALBASE}/share/bacula/query.sql ${STAGEDIR}${LOCALBASE}/share/bacula/query.sql.sample #the following are installed by the -CLIENT port, and I (ler@lerctr.org) #don't know how to remove them from being built for the -SERVER port. ${RM} ${STAGEDIR}${LOCALBASE}/lib/bpipe-fd.so ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbac-${PORTVERSION}.so ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbac.so ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbaccfg-${PORTVERSION}.so ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbaccfg.so ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbacfind-${PORTVERSION}.so ${RM} ${STAGEDIR}${LOCALBASE}/lib/libbacfind.so .endif for na in ${CONFFILES}; do \ ${MV} ${STAGEDIR}${ETCDIR}/bacula-$$na.conf ${STAGEDIR}${ETCDIR}/bacula-$$na.conf.sample; \ done .endif .else .include "${MASTERDIR}/Makefile.common" .endif # -client and -server are defined .include Index: head/sysutils/brasero/Makefile =================================================================== --- head/sysutils/brasero/Makefile (revision 412341) +++ head/sysutils/brasero/Makefile (revision 412342) @@ -1,55 +1,55 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= brasero PORTVERSION= 3.12.1 PORTREVISION= 1 CATEGORIES= sysutils audio multimedia gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= CD/DVD mastering tool for the GNOME desktop BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify \ libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \ cdrdao:${PORTSDIR}/sysutils/cdrdao USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ shared-mime-info tar:xz USE_GNOME= gnomeprefix gtk30 intlhack libxml2 GNU_CONFIGURE= yes USE_XORG= sm ice USE_LDCONFIG= yes USE_GSTREAMER1= yes INSTALLS_ICONS= yes CONFIGURE_ARGS= --disable-inotify --enable-search=no --enable-playlist=no \ --enable-introspection=yes CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_CAM_LIB_H=1 -Wno-error=format-nonliteral LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV= XDG_CACHE_HOME=${WRKDIR} INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.brasero.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= NAUTILUS LIBBURNIA OPTIONS_DEFAULT=NAUTILUS NAUTILUS_DESC= Build nautilus extension LIBBURNIA_DESC= Build libburnia plug-ins NAUTILUS_USE= GNOME=nautilus3 NAUTILUS_CONFIGURE_ENABLE= nautilus LIBBURNIA_LIB_DEPENDS= libburn.so:${PORTSDIR}/devel/libburn \ libisofs.so:${PORTSDIR}/devel/libisofs LIBBURNIA_CONFIGURE_ENABLE= libburnia PLIST_SUB= FULL_VERSION=${PORTVERSION} post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${WRKSRC}/libbrasero-burn/burn-process.c + ${WRKSRC}/libbrasero-burn/burn-process.c .include Index: head/sysutils/consolekit/Makefile =================================================================== --- head/sysutils/consolekit/Makefile (revision 412341) +++ head/sysutils/consolekit/Makefile (revision 412342) @@ -1,37 +1,37 @@ # Created by: FreeBSD GNOME Team # $FreeBSD$ PORTNAME= consolekit PORTVERSION= 0.4.5 PORTREVISION= 4 CATEGORIES= sysutils gnome MASTER_SITES= http://www.freedesktop.org/software/ConsoleKit/dist/ DISTFILES= ConsoleKit-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= gnome@FreeBSD.org COMMENT= Framework for defining and tracking users LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ - libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit + libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit WRKSRC= ${WRKDIR}/ConsoleKit-${PORTVERSION} USES= gettext gmake libtool pathfix pkgconfig tar:bzip2 USE_XORG= x11 GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-pid-file=/var/run/${PORTNAME}.pid \ --enable-pam-module \ --with-pam-module-dir=${PREFIX}/lib \ --localstatedir=/var INSTALL_TARGET= install-strip post-install: ${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-display-device \ - ${STAGEDIR}${PREFIX}/libexec/ck-get-x11-display-device + ${STAGEDIR}${PREFIX}/libexec/ck-get-x11-display-device ${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-server-pid \ - ${STAGEDIR}${PREFIX}/libexec/ck-get-x11-server-pid + ${STAGEDIR}${PREFIX}/libexec/ck-get-x11-server-pid @${MKDIR} ${STAGEDIR}/var/log/ConsoleKit .include Index: head/sysutils/envconsul/Makefile =================================================================== --- head/sysutils/envconsul/Makefile (revision 412341) +++ head/sysutils/envconsul/Makefile (revision 412342) @@ -1,115 +1,115 @@ # $FreeBSD$ PORTNAME= envconsul PORTVERSION= 0.6.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= swills@FreeBSD.org COMMENT= Populate values from Consul into a process environment LICENSE= MPL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go USE_GITHUB= yes GH_ACCOUNT= armon:gometrics,goradix aws:awssdkgo coreos:etcd fatih:structs \ go-ini:ini go-sql-driver:mysql hashicorp:DEFAULT,consul,consultemplate \ hashicorp:errwrap,gocleanhttp,gogatedio,gomsgpack \ hashicorp:gomultierror,gosyslog,gouuid,golanglru,hcl,logutils \ hashicorp:serf,vault jmespath:gojmespath lib:pq \ mitchellh:copystructure,iochan,mapstructure,reflectwalk \ samuel:gozookeeper golang:crypto,net GH_PROJECT= go-metrics:gometrics go-radix:goradix aws-sdk-go:awssdkgo \ etcd:etcd structs:structs ini:ini mysql:mysql consul:consul \ consul-template:consultemplate errwrap:errwrap \ go-cleanhttp:gocleanhttp go-gatedio:gogatedio \ go-msgpack:gomsgpack go-multierror:gomultierror \ go-syslog:gosyslog go-uuid:gouuid golang-lru:golanglru hcl:hcl \ logutils:logutils serf:serf vault:vault go-jmespath:gojmespath \ pq:pq copystructure:copystructure iochan:iochan \ mapstructure:mapstructure reflectwalk:reflectwalk \ go-zookeeper:gozookeeper crypto:crypto net:net GH_TAGNAME= 6c5fa0d:gometrics fbd82e8:goradix 308eaa6:awssdkgo 6afd8e4:etcd \ a9f7daa:structs aea5e9f:ini 527bcd5:mysql 809ed36:consul \ ec11b92:consultemplate c2a1a65:envconsul 7554cd9:errwrap \ 875fb67:gocleanhttp 8b8de10:gogatedio fa3f638:gomsgpack \ d30f099:gomultierror 42a2b57:gosyslog 2951e8b:gouuid \ - 17e3543:golanglru 4de5195:hcl 0dc08b1:logutils 8d36400:serf \ + 17e3543:golanglru 4de5195:hcl 0dc08b1:logutils 8d36400:serf \ 97820e2:vault bbaa094:gojmespath ffe986a:pq \ 6fc6626:copystructure 87b45ff:iochan 281073e:mapstructure \ eecf4c7:reflectwalk 913027e:gozookeeper c8b9e63:crypto \ 271cfc1:net PLIST_FILES= bin/envconsul STRIP= # stripping can break go binaries OPTIONS_DEFINE= DOCS PORTDOCS= README.md post-patch: @${MKDIR} ${WRKSRC}/src/github.com/hashicorp/envconsul .for src in .gitignore .travis.yml CHANGELOG.md Makefile README.md \ cli.go cli_test.go config.go config_test.go flags.go main.go runner.go \ runner_test.go scripts signals.go signals_windows.go @${MV} ${WRKSRC}/${src} \ ${WRKSRC}/src/github.com/hashicorp/envconsul .endfor @${MKDIR} ${WRKSRC}/src/github.com/armon @${MKDIR} ${WRKSRC}/src/github.com/aws @${MKDIR} ${WRKSRC}/src/github.com/coreos @${MKDIR} ${WRKSRC}/src/github.com/fatih @${MKDIR} ${WRKSRC}/src/github.com/go-ini @${MKDIR} ${WRKSRC}/src/github.com/go-sql-driver @${MKDIR} ${WRKSRC}/src/github.com/jmespath @${MKDIR} ${WRKSRC}/src/github.com/lib @${MKDIR} ${WRKSRC}/src/github.com/mitchellh @${MKDIR} ${WRKSRC}/src/github.com/samuel @${MKDIR} ${WRKSRC}/src/golang.org/x @${MV} ${WRKSRC_gometrics} ${WRKSRC}/src/github.com/armon/go-metrics @${MV} ${WRKSRC_goradix} ${WRKSRC}/src/github.com/armon/go-radix @${MV} ${WRKSRC_awssdkgo} ${WRKSRC}/src/github.com/aws/aws-sdk-go @${MV} ${WRKSRC_etcd} ${WRKSRC}/src/github.com/coreos/etcd @${MV} ${WRKSRC_structs} ${WRKSRC}/src/github.com/fatih/structs @${MV} ${WRKSRC_ini} ${WRKSRC}/src/github.com/go-ini/ini @${MV} ${WRKSRC_mysql} ${WRKSRC}/src/github.com/go-sql-driver/mysql @${MV} ${WRKSRC_consul} ${WRKSRC}/src/github.com/hashicorp/consul @${MV} ${WRKSRC_consultemplate} ${WRKSRC}/src/github.com/hashicorp/consul-template @${MV} ${WRKSRC_errwrap} ${WRKSRC}/src/github.com/hashicorp/errwrap @${MV} ${WRKSRC_gocleanhttp} ${WRKSRC}/src/github.com/hashicorp/go-cleanhttp @${MV} ${WRKSRC_gogatedio} ${WRKSRC}/src/github.com/hashicorp/go-gatedio @${MV} ${WRKSRC_gomsgpack} ${WRKSRC}/src/github.com/hashicorp/go-msgpack @${MV} ${WRKSRC_gomultierror} ${WRKSRC}/src/github.com/hashicorp/go-multierror @${MV} ${WRKSRC_gosyslog} ${WRKSRC}/src/github.com/hashicorp/go-syslog @${MV} ${WRKSRC_gouuid} ${WRKSRC}/src/github.com/hashicorp/go-uuid @${MV} ${WRKSRC_golanglru} ${WRKSRC}/src/github.com/hashicorp/golang-lru @${MV} ${WRKSRC_hcl} ${WRKSRC}/src/github.com/hashicorp/hcl @${MV} ${WRKSRC_logutils} ${WRKSRC}/src/github.com/hashicorp/logutils @${MV} ${WRKSRC_serf} ${WRKSRC}/src/github.com/hashicorp/serf @${MV} ${WRKSRC_vault} ${WRKSRC}/src/github.com/hashicorp/vault @${MV} ${WRKSRC_gojmespath} ${WRKSRC}/src/github.com/jmespath/go-jmespath @${MV} ${WRKSRC_pq} ${WRKSRC}/src/github.com/lib/pq @${MV} ${WRKSRC_copystructure} ${WRKSRC}/src/github.com/mitchellh/copystructure @${MV} ${WRKSRC_iochan} ${WRKSRC}/src/github.com/mitchellh/iochan @${MV} ${WRKSRC_mapstructure} ${WRKSRC}/src/github.com/mitchellh/mapstructure @${MV} ${WRKSRC_reflectwalk} ${WRKSRC}/src/github.com/mitchellh/reflectwalk @${MV} ${WRKSRC_gozookeeper} ${WRKSRC}/src/github.com/samuel/go-zookeeper @${MV} ${WRKSRC_crypto} ${WRKSRC}/src/golang.org/x/crypto @${MV} ${WRKSRC_net} ${WRKSRC}/src/golang.org/x/net do-build: @cd ${WRKSRC}/src/github.com/hashicorp/envconsul; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -o bin/envconsul do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/hashicorp/envconsul/bin/envconsul ${STAGEDIR}${PREFIX}/bin/envconsul post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${CP} ${WRKSRC}/src/github.com/hashicorp/envconsul/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/sysutils/hal/Makefile =================================================================== --- head/sysutils/hal/Makefile (revision 412341) +++ head/sysutils/hal/Makefile (revision 412342) @@ -1,107 +1,107 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/sysutils/hal/Makefile,v 1.81 2010/04/13 02:49:07 mezz Exp $ PORTNAME= hal DISTVERSION= 0.5.14 PORTREVISION= 30 CATEGORIES= sysutils MASTER_SITES= http://hal.freedesktop.org/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Hardware Abstraction Layer for simplifying device access BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat # keep shlib version, to prevent confusion with polkit-* from sysutils/polkit LIB_DEPENDS= libpolkit.so.2:${PORTSDIR}/sysutils/policykit \ libvolume_id.so:${PORTSDIR}/devel/libvolume_id \ libck-connector.so:${PORTSDIR}/sysutils/consolekit RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids USES= gettext gmake libtool:keepla pathfix pkgconfig python shebangfix USE_GNOME= intlhack GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-gtk-doc \ --with-backend=freebsd \ --disable-docbook-docs \ --with-pci-ids=${LOCALBASE}/share/pciids \ --disable-usb-ids \ --without-libpci \ --disable-usb \ --disable-smbios \ --disable-apm \ --disable-pmu \ --enable-policy-kit \ --enable-console-kit \ --with-socket-dir=/var/run/hald \ --with-eject=/usr/sbin/cdcontrol \ --with-pid-file=/var/run/hald/hald.pid \ --with-deprecated-keys \ --localstatedir=/var CONFIGURE_ENV= GTKDOC="false" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib bash_CMD= ${SH} SHEBANG_FILES= tools/hal-* #HALVERSION= 0.5.10 #SNAPVERSION= 20080218 USERS= haldaemon GROUPS= haldaemon USE_RC_SUBR= hald USE_GNOME_SUBR= yes DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${DISTVERSION} PLIST_SUB= VERSION=${DISTVERSION} RC_FILES= hal.conf:${PREFIX}/etc/dbus-1/system.d PLIST_FILES= ${PRIV_FILES:S|^|%%DATADIR%%/dist/|} SUB_FILES= pkg-install pkg-deinstall SUB_LIST= RC_FILES="${RC_FILES}" INSTALL_TARGET= install-strip OPTIONS_DEFINE= FIXED_MOUNTPOINTS DOCS FIXED_MOUNTPOINTS_DESC= use fixed mountpoints FIXED_MOUNTPOINTS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-tools_hal-storage-mount.c .include .if (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64") RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode .endif post-patch: @${REINPLACE_CMD} -e 's/==/=/g' ${WRKSRC}/tools/hal-luks* @${REINPLACE_CMD} -e '/^scriptdir = /s|[(]libexecdir[)]/scripts|(libexecdir)/hal/scripts|' \ ${WRKSRC}/tools/Makefile.in \ ${WRKSRC}/tools/freebsd/Makefile.in @${REINPLACE_CMD} -e 's|[(]libexecdir[)]/scripts|(libexecdir)/hal/scripts|' \ ${WRKSRC}/hald/Makefile.in \ ${WRKSRC}/tools/Makefile.in @${REINPLACE_CMD} -e 's|user="0"|group="operator"|g' \ ${WRKSRC}/hal.conf.in @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ - < ${FILESDIR}/README.fuse > ${WRKDIR}/README.fuse + < ${FILESDIR}/README.fuse > ${WRKDIR}/README.fuse post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/dist ${INSTALL_DATA} ${WRKSRC}/hal.conf ${STAGEDIR}${DATADIR}/dist @${MKDIR} ${STAGEDIR}${PREFIX}/share/hal/fdi/policy/10osvendor ${INSTALL_DATA} ${FILESDIR}/10-mouse-sysmouse.fdi \ - ${STAGEDIR}${PREFIX}/share/hal/fdi/policy/10osvendor + ${STAGEDIR}${PREFIX}/share/hal/fdi/policy/10osvendor ${INSTALL_SCRIPT} ${FILESDIR}/mount-fuse \ - ${STAGEDIR}${PREFIX}/share/hal/mount-fuse + ${STAGEDIR}${PREFIX}/share/hal/mount-fuse @${MKDIR} ${STAGEDIR}/var/lib/hal post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/hald/freebsd/README \ ${STAGEDIR}${DOCSDIR}/README.freebsd ${INSTALL_DATA} ${WRKDIR}/README.fuse \ - ${STAGEDIR}${DOCSDIR}/README.fuse + ${STAGEDIR}${DOCSDIR}/README.fuse .include Index: head/sysutils/mate-control-center/Makefile =================================================================== --- head/sysutils/mate-control-center/Makefile (revision 412341) +++ head/sysutils/mate-control-center/Makefile (revision 412342) @@ -1,47 +1,47 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= mate-control-center PORTVERSION= 1.12.1 CATEGORIES= sysutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Control center for MATE project BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool LIB_DEPENDS= libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra \ libdbus-1.so:${PORTSDIR}/devel/dbus \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \ libxklavier.so:${PORTSDIR}/x11/libxklavier \ libpolkit-gobject-1.so:${PORTSDIR}/sysutils/polkit PORTSCOUT= limitw:1,even USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \ shared-mime-info tar:xz USE_MATE= desktop libmatekbd marco menus settingsdaemon USE_XORG= x11 xcursor xext xxf86misc xft xi xrandr xscrnsaver USE_GNOME= dconf glib20 gtk20 intlhack libxml2 librsvg2 \ pango USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-appindicator=no \ --with-gtk=2.0 INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.control-center.gschema.xml \ org.mate.control-center.keybinding.gschema.xml post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ - ${WRKSRC}/capplets/common/mate-theme-info.c + ${WRKSRC}/capplets/common/mate-theme-info.c @${REINPLACE_CMD} -e 's|/usr/sbin|${PREFIX}/sbin|g' \ ${WRKSRC}/capplets/display/org.mate.randr.policy.in .include Index: head/sysutils/msktutil/Makefile =================================================================== --- head/sysutils/msktutil/Makefile (revision 412341) +++ head/sysutils/msktutil/Makefile (revision 412342) @@ -1,23 +1,23 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= msktutil PORTVERSION= 0.5.1 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE \ - http://mirrors.rit.edu/zi/ + http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Utility to manage Active Directory interoperability USES= gmake tar:bzip2 USE_OPENLDAP= yes GNU_CONFIGURE= yes WANT_OPENLDAP_SASL= yes CONFIGURE_ARGS+=--with-sasldir=${LOCALBASE} PLIST_FILES= man/man1/msktutil.1.gz sbin/msktutil .include Index: head/sysutils/qjail/Makefile =================================================================== --- head/sysutils/qjail/Makefile (revision 412341) +++ head/sysutils/qjail/Makefile (revision 412342) @@ -1,45 +1,45 @@ # Created by: Joe Barbish # $FreeBSD$ PORTNAME= qjail PORTVERSION= 4.3 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME} MAINTAINER= qjail1@a1poweruser.com COMMENT= Utility to quickly deploy and manage jails LICENSE= BERNE-CONVENTION LICENSE_NAME= Berne Convention LICENSE_TEXT= As per the international "Berne Convention" this work is \ protected and all rights reserved. \ Before qjail may be forked, written permission must be \ obtained from the author . \ This work is provided 'AS IS' and you use it at your own risk. \ Redistribution and use is permitted providing this license \ - notice is retained. + notice is retained. LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= tar:bzip2 NO_BUILD= yes CONFLICTS_INSTALL= qjail-2.* qjail-3.0 qjail-3.1 do-install: .for i in qjail qjail.vnet.be qjail.vnet.ng ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_SCRIPT} ${WRKSRC}/qjail.bootime \ ${STAGEDIR}${PREFIX}/etc/rc.d ${INSTALL_DATA} ${WRKSRC}/qjail.portsnap.conf \ ${STAGEDIR}${PREFIX}/etc/qjail.portsnap.conf.sample .for i in qjail qjail-intro qjail-howto ${INSTALL_MAN} ${WRKSRC}/${i}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .endfor # note examples are mandatory. qjail will not function without them @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples/ \ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/sysutils/riak-cs/Makefile =================================================================== --- head/sysutils/riak-cs/Makefile (revision 412341) +++ head/sysutils/riak-cs/Makefile (revision 412342) @@ -1,84 +1,84 @@ # $FreeBSD$ PORTNAME= riak-cs PORTVERSION= 2.1.0 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://s3.amazonaws.com/downloads.basho.com/riak-cs/${PORTVERSION:R}/${PORTVERSION}/ \ http://downloads.basho.com.s3.amazonaws.com/riak-cs/${PORTVERSION:R}/${PORTVERSION}/ MAINTAINER= wg@FreeBSD.org COMMENT= Open source, distributed, S3 interface to Riak KV LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/lib/riak-erlang/bin/erlc:${PORTSDIR}/lang/erlang-riak USES= gmake readline shebangfix SHEBANG_FILES= deps/eper/priv/bin/dtop \ deps/eper/priv/bin/ntop \ deps/eper/priv/bin/redbug USE_RC_SUBR= riak_cs USERS= riakcs GROUPS= riak RIAKCS_CONFDIR?=${PREFIX}/etc/riak-cs RIAKCS_DBDIR?= /var/db/riak-cs RIAKCS_HOMEDIR?=${PREFIX}/lib/riak-cs RIAKCS_LIBDIR?= ${PREFIX}/lib/riak-cs/lib RIAKCS_LOGDIR?= /var/log/riak-cs PLIST_SUB+= RIAKCS_CONFDIR=${RIAKCS_CONFDIR} \ RIAKCS_DBDIR=${RIAKCS_DBDIR} \ RIAKCS_HOMEDIR=${RIAKCS_HOMEDIR} \ RIAKCS_LIBDIR=${RIAKCS_LIBDIR} \ RIAKCS_LOGDIR=${RIAKCS_LOGDIR} \ - USERS=${USERS} \ + USERS=${USERS} \ GROUPS=${GROUPS} ALL_TARGET= rel MAKE_JOBS_UNSAFE=yes MAKE_ENV= PATH=${LOCALBASE}/lib/riak-erlang/bin:${PATH} post-patch: @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/rel/vars.config do-install: ${MKDIR} ${STAGEDIR}${RIAKCS_CONFDIR} ${MKDIR} ${STAGEDIR}${RIAKCS_DBDIR} ${MKDIR} ${STAGEDIR}${RIAKCS_LOGDIR} ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/riak-cs.conf ${STAGEDIR}${RIAKCS_CONFDIR}/riak-cs.conf.sample ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/advanced.config ${STAGEDIR}${RIAKCS_CONFDIR}/advanced.config.sample ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/cert.pem ${STAGEDIR}${RIAKCS_CONFDIR}/cert.pem.sample ${INSTALL_DATA} ${WRKSRC}/rel/riak-cs/etc/key.pem ${STAGEDIR}${RIAKCS_CONFDIR}/key.pem.sample (cd ${WRKSRC}/rel/riak-cs/lib/ && ${COPYTREE_BIN} . ${STAGEDIR}${RIAKCS_LIBDIR}) (cd ${WRKSRC}/rel/riak-cs/bin/ && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/sbin/) (cd ${WRKSRC}/rel/riak-cs/lib/basho-patches && ${COPYTREE_SHARE} . ${STAGEDIR}${RIAKCS_LIBDIR}/basho-patches) (cd ${WRKSRC}/rel/riak-cs/releases && ${COPYTREE_SHARE} . ${STAGEDIR}${RIAKCS_HOMEDIR}/releases) ${CP} -R ${WRKSRC}/rel/riak-cs/erts-* ${STAGEDIR}${RIAKCS_HOMEDIR} post-install: (cd ${STAGEDIR}${RIAKCS_HOMEDIR}; ${FIND} releases -type f \ | ${SED} -e 's,^\./,,g' \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ | ${AWK} '{print "lib/riak-cs/"$$2 }' >> ${TMPPLIST}) (cd ${STAGEDIR}${RIAKCS_HOMEDIR}; ${FIND} erts-* -type f \ | ${SED} -e 's,^\./,,g' \ | ${AWK} '{print length, $$0}' | ${SORT} -rn \ | ${AWK} '{print "lib/riak-cs/"$$2 }' >> ${TMPPLIST}) (cd ${STAGEDIR}${RIAKCS_HOMEDIR}; ${FIND} erts-* -type d -empty \ | ${SED} -e 's,^\./,,g' \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ | ${AWK} '{print "@dir lib/riak-cs/"$$2 }' >> ${TMPPLIST}) (cd ${STAGEDIR}${RIAKCS_LIBDIR}; ${FIND} . -type f \ | ${SED} -e 's,^\./,,g' \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ | ${AWK} '{print "lib/riak-cs/lib/"$$2 }' >> ${TMPPLIST}) (cd ${STAGEDIR}${RIAKCS_LIBDIR}; ${FIND} . -type d -empty \ | ${SED} -e 's,^\./,,g' \ | ${AWK} '{print length, $$0}' | ${SORT} -rn | ${SED} -e 's/^/lib\//' \ | ${AWK} '{print "@dir lib/riak-cs/lib/"$$2 }' >> ${TMPPLIST}) .include Index: head/sysutils/rubygem-chef/Makefile =================================================================== --- head/sysutils/rubygem-chef/Makefile (revision 412341) +++ head/sysutils/rubygem-chef/Makefile (revision 412342) @@ -1,55 +1,55 @@ # Created by: Renaud Chaput # $FreeBSD$ PORTNAME= chef PORTVERSION= 11.14.6 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= RG MAINTAINER= renchap@cocoa-x.com COMMENT= Systems integration framework. Client part LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-chef-zero>=2.1.0:${PORTSDIR}/sysutils/rubygem-chef-zero \ rubygem-diff-lcs>=0.0.0:${PORTSDIR}/textproc/rubygem-diff-lcs \ rubygem-erubis>=0:${PORTSDIR}/www/rubygem-erubis \ rubygem-ffi-yajl>=1.0.1:${PORTSDIR}/devel/rubygem-ffi-yajl \ rubygem-highline>=1.6.9:${PORTSDIR}/devel/rubygem-highline \ rubygem-mime-types1>=1.16:${PORTSDIR}/misc/rubygem-mime-types1 \ rubygem-mixlib-authentication>=1.3.0:${PORTSDIR}/devel/rubygem-mixlib-authentication \ rubygem-mixlib-cli>=1.4.0:${PORTSDIR}/devel/rubygem-mixlib-cli \ rubygem-mixlib-config>=2.1.0:${PORTSDIR}/devel/rubygem-mixlib-config \ rubygem-mixlib-log>=1.3.0:${PORTSDIR}/devel/rubygem-mixlib-log \ rubygem-mixlib-shellout>=1.4.0:${PORTSDIR}/devel/rubygem-mixlib-shellout \ rubygem-net-ssh>=2.6:${PORTSDIR}/security/rubygem-net-ssh \ rubygem-net-ssh-multi>=1.1.0:${PORTSDIR}/security/rubygem-net-ssh-multi \ rubygem-ohai>=7.2.0:${PORTSDIR}/sysutils/rubygem-ohai \ rubygem-plist>=3.1.0:${PORTSDIR}/devel/rubygem-plist \ rubygem-pry>=0.9.0:${PORTSDIR}/devel/rubygem-pry \ rubygem-rest-client>=1.0.4:${PORTSDIR}/www/rubygem-rest-client NO_ARCH= yes USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes SUB_LIST= RUBY=${RUBY} USE_RC_SUBR= chef_client post-install: .for M1 in chef-shell.1 knife-bootstrap.1 knife-client.1 knife-configure.1 knife-cookbook-site.1 \ knife-cookbook.1 knife-data-bag.1 knife-delete.1 knife-deps.1 knife-diff.1 \ knife-download.1 knife-edit.1 knife-environment.1 knife-exec.1 knife-index-rebuild.1 \ knife-list.1 knife-node.1 knife-raw.1 knife-recipe-list.1 knife-role.1 knife-search.1 \ knife-serve.1 knife-show.1 knife-ssh.1 knife-ssl-check.1 knife-ssl-fetch.1 knife-status.1 \ - knife-tag.1 knife-upload.1 knife-user.1 knife-xargs.1 knife.1 + knife-tag.1 knife-upload.1 knife-user.1 knife-xargs.1 knife.1 @cd ${WRKSRC}/distro/common/man/man1 && ${INSTALL_MAN} ${M1} ${STAGEDIR}${MANPREFIX}/man/man1/ .endfor .for M8 in chef-client.8 chef-solo.8 @cd ${WRKSRC}/distro/common/man/man8 && ${INSTALL_MAN} ${M8} ${STAGEDIR}${MANPREFIX}/man/man8/ .endfor .include Index: head/sysutils/runit/Makefile =================================================================== --- head/sysutils/runit/Makefile (revision 412341) +++ head/sysutils/runit/Makefile (revision 412342) @@ -1,59 +1,59 @@ # Created by: Sergei Kolobov # $FreeBSD$ PORTNAME= runit PORTVERSION= 2.1.2 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://smarden.org/${PORTNAME}/ \ http://www.bayofrum.net/dist/${PORTNAME}/ MAINTAINER= crees@FreeBSD.org COMMENT= Service supervision tools compatible with DJB daemontools LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/package/COPYING USE_RC_SUBR= runsvdir WRKSRC= ${WRKDIR}/admin/${DISTNAME} SERVICE_DIR?= /var/service SUB_LIST= SERVICE_DIR="${SERVICE_DIR}" PORTDOCS= * DOCS= package/CHANGES package/README \ package/THANKS doc/*.html CONFIG= etc/freebsd/1 etc/2 etc/freebsd/3 etc/freebsd/ctrlaltdel \ - etc/freebsd/getty-ttyv4/run etc/freebsd/getty-ttyv4/finish + etc/freebsd/getty-ttyv4/run etc/freebsd/getty-ttyv4/finish post-patch: ${REINPLACE_CMD} -i '' 's!/service/!${SERVICE_DIR}!' \ ${WRKSRC}/man/* ${WRKSRC}/src/sv.c do-configure: ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc ${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-ld do-build: cd ${WRKSRC} && package/compile && package/check @${MKDIR} ${WRKDIR}/etc/getty-ttyv4 .for file in ${CONFIG} @${SED} -e 's!/etc/runit!${ETCDIR}!g' \ -e 's!/service!${SERVICE_DIR}!g' \ -e 's!/usr/local!${PREFIX}!g' \ ${WRKSRC}/${file} > ${WRKDIR}/${file:S!freebsd/!!}.sample .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/man/* ${STAGEDIR}${PREFIX}/man/man8/ @${MKDIR} ${STAGEDIR}${ETCDIR}/getty-ttyv4 ${INSTALL_SCRIPT} ${WRKDIR}/etc/[123c]* ${STAGEDIR}${ETCDIR} ${INSTALL_SCRIPT} ${WRKDIR}/etc/getty-ttyv4/* \ ${STAGEDIR}${ETCDIR}/getty-ttyv4 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/sysutils/uptimed/Makefile =================================================================== --- head/sysutils/uptimed/Makefile (revision 412341) +++ head/sysutils/uptimed/Makefile (revision 412342) @@ -1,45 +1,45 @@ # Created by: Andy Fawcett # $FreeBSD$ PORTNAME= uptimed PORTVERSION= 0.3.17 PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://podgorny.cz/uptimed/releases/ \ http://www.predatorlabs.net/dl/ MAINTAINER= ports@FreeBSD.org COMMENT= Uptime daemon LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf gmake libtool tar:bzip2 GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip USE_RC_SUBR= ${PORTNAME} post-patch: @${REINPLACE_CMD} -e \ 's|/usr/lib/sendmail|/usr/sbin/sendmail| ; \ s|/var/run/uptimed|/var/run/uptimed.pid|' \ ${WRKSRC}/etc/uptimed.conf-dist @${REINPLACE_CMD} -e \ - 's|/etc/uprecords-cgi/|${PREFIX}/www/cgi-bin/|' \ - ${WRKSRC}/src/uprecords.c + 's|/etc/uprecords-cgi/|${PREFIX}/www/cgi-bin/|' \ + ${WRKSRC}/src/uprecords.c post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/uprecords \ ${STAGEDIR}${PREFIX}/www/cgi-bin/uprecords.cgi ${INSTALL_DATA} ${WRKSRC}/sample-cgi/uprecords.conf \ ${STAGEDIR}${PREFIX}/www/cgi-bin/uprecords.conf.sample ${INSTALL_DATA} ${WRKSRC}/sample-cgi/uprecords.header \ ${STAGEDIR}${PREFIX}/www/cgi-bin/uprecords.header.sample ${INSTALL_DATA} ${WRKSRC}/sample-cgi/uprecords.footer \ ${STAGEDIR}${PREFIX}/www/cgi-bin/uprecords.footer.sample @${MKDIR} ${STAGEDIR}/var/spool/uptimed .include Index: head/sysutils/vpnc-scripts/Makefile =================================================================== --- head/sysutils/vpnc-scripts/Makefile (revision 412341) +++ head/sysutils/vpnc-scripts/Makefile (revision 412342) @@ -1,29 +1,29 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= vpnc-scripts PORTVERSION= 20150318 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.infradead.org/pub/${PORTNAME}/ \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Collection of scripts to setup routes and other changes for a VPN LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING NO_BUILD= yes PLIST_FILES= sbin/vpnc-script sbin/vpnc-script-sshd sbin/vpnc-script-ptrtd post-patch: @${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \ - ${WRKSRC}/vpnc-script + ${WRKSRC}/vpnc-script do-install: ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-sshd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-script-ptrtd ${STAGEDIR}${PREFIX}/sbin .include Index: head/textproc/dwdiff/Makefile =================================================================== --- head/textproc/dwdiff/Makefile (revision 412341) +++ head/textproc/dwdiff/Makefile (revision 412342) @@ -1,36 +1,36 @@ # Created by: Alexander Logvinov # $FreeBSD$ PORTNAME= dwdiff PORTVERSION= 2.0.9 PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://os.ghalkes.nl/dist/ \ - http://fossies.org/unix/privat/ + http://fossies.org/unix/privat/ EXTRACT_SUFX= .tgz MAINTAINER= danilo@FreeBSD.org COMMENT= Delimited word diff program LICENSE= GPLv3 OPTIONS_DEFINE= UNICODE NLS DOCS OPTIONS_DEFAULT=UNICODE OPTIONS_SUB= yes NLS_CONFIGURE_WITH= gettext NLS_USES= gettext UNICODE_CONFIGURE_WITH= unicode UNICODE_LIB_DEPENDS= libicudata.so:${PORTSDIR}/devel/icu HAS_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --mandir=${MANPREFIX}/man post-patch: @${REINPLACE_CMD} -e 's|share/doc/${PORTNAME}-${PORTVERSION}|${DOCSDIR_REL}|' \ ${WRKSRC}/Makefile.in .include Index: head/textproc/kmfl-sil-ipa-unicode/Makefile =================================================================== --- head/textproc/kmfl-sil-ipa-unicode/Makefile (revision 412341) +++ head/textproc/kmfl-sil-ipa-unicode/Makefile (revision 412342) @@ -1,45 +1,45 @@ # Created by: Nikola Lecic # $FreeBSD$ PORTNAME= kmfl-sil-ipa-unicode PORTVERSION= 1.2 PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php\?site_id=nrsi\&format=file\&media_id=IPAUni_12_Src\&filename=/:1 \ http://scripts.sil.org/cms/scripts/render_download.php\?site_id=nrsi\&format=file\&media_id=IPAUni_12.pdf\&filename=/:2 DISTFILES= IPAUni_Src12.zip:1 \ - IPA+Unicode+5.1_ver+1.2_KMN.pdf:2 + IPA+Unicode+5.1_ver+1.2_KMN.pdf:2 DIST_SUBDIR= kmfl EXTRACT_ONLY= IPAUni_Src12.zip MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= IPA Unicode 5.1 mnemonic keyboard for KMFL IMEngine RUN_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp USES= dos2unix zip WRKSRC= ${WRKDIR}/IPA12 DOS2UNIX_FILES= IPAUni12.kmn NO_BUILD= yes OPTIONS_DEFINE= DOCS DOCSDIR= share/doc/kmfl/${PORTNAME} DOCSLIST= ${WRKSRC}/welcome.htm \ ${DISTDIR}/${DIST_SUBDIR}/IPA+Unicode+5.1_ver+1.2_KMN.pdf KMFL_DIR= share/kmfl KMFL_ICONS_DIR= share/kmfl/icons SUB_FILES= pkg-message do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${KMFL_DIR} ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR} ${INSTALL_DATA} ${WRKSRC}/*.kmn ${STAGEDIR}${PREFIX}/${KMFL_DIR} ${INSTALL_DATA} ${WRKSRC}/*.bmp ${STAGEDIR}${PREFIX}/${KMFL_ICONS_DIR} ${MKDIR} ${STAGEDIR}${PREFIX}/${DOCSDIR:S,/${PORTNAME},,} \ ${STAGEDIR}${PREFIX}/${DOCSDIR} for doc in ${DOCSLIST} ; do \ ${INSTALL_DATA} $$doc ${STAGEDIR}${PREFIX}/${DOCSDIR} ; \ done .include Index: head/textproc/linuxdoc-tools/Makefile =================================================================== --- head/textproc/linuxdoc-tools/Makefile (revision 412341) +++ head/textproc/linuxdoc-tools/Makefile (revision 412342) @@ -1,42 +1,42 @@ # Created by: Felix Palmen # $FreeBSD$ PORTNAME= linuxdoc-tools PORTVERSION= 0.9.69 CATEGORIES= textproc MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${DISTVERSION}.orig MAINTAINER= felix@palmen-it.de COMMENT= Fork of SGML-tools specially tailored for linuxdoc SGMLs LICENSE= GPLv3 LinuxdocTools LICENSE_COMB= multi LICENSE_NAME_LinuxdocTools= The linuxdoc-tools license LICENSE_FILE_LinuxdocTools= ${WRKSRC}/COPYING LICENSE_PERMS_LinuxdocTools= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk \ nsgmls:${PORTSDIR}/textproc/jade \ - sgmlsasp:${PORTSDIR}/textproc/sgmls + sgmlsasp:${PORTSDIR}/textproc/sgmls RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk \ nsgmls:${PORTSDIR}/textproc/jade \ - sgmlsasp:${PORTSDIR}/textproc/sgmls + sgmlsasp:${PORTSDIR}/textproc/sgmls GNU_CONFIGURE= yes USES= gmake perl5 CONFIGURE_ARGS= --with-installed-sgmlsasp PORTDOCS= * WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash DOCS_MAKE_ENV= LANG=C BUILD_DOCS=true post-patch: @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/ s|=|?=|' \ ${WRKSRC}/rtf-fix/Makefile .include Index: head/textproc/msort/Makefile =================================================================== --- head/textproc/msort/Makefile (revision 412341) +++ head/textproc/msort/Makefile (revision 412342) @@ -1,37 +1,37 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= msort PORTVERSION= 8.53 PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://billposer.org/Software/Downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Sorting files in sophisticated ways LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtre.so:${PORTSDIR}/textproc/libtre \ - libuninum.so:${PORTSDIR}/devel/libuninum \ + libuninum.so:${PORTSDIR}/devel/libuninum \ libutf8proc.so:${PORTSDIR}/textproc/utf8proc RUN_DEPENDS= iwidgets>=0:${PORTSDIR}/x11-toolkits/iwidgets TEST_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash CONFIGURE_ENV= ac_cv_lib_tre_regwcomp=yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV+= INCLUDES="-I${LOCALBASE}/include" GNU_CONFIGURE= yes USES= gettext tk:wrapper,run TEST_TARGET= test TEST_ENV= LC_ALL=C PLIST_FILES= bin/msg bin/msort man/man1/msort.1.gz post-patch: @${REINPLACE_CMD} -e "s|bash|${LOCALBASE}/bin/bash|g" ${WRKSRC}/RegressionTests/Makefile @${REINPLACE_CMD} -e "s|msort|../&|g" ${WRKSRC}/RegressionTests/RunTests.sh \ .include Index: head/textproc/p5-Net-Snort-Parser/Makefile =================================================================== --- head/textproc/p5-Net-Snort-Parser/Makefile (revision 412341) +++ head/textproc/p5-Net-Snort-Parser/Makefile (revision 412342) @@ -1,19 +1,19 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= Net-Snort-Parser PORTVERSION= 1.41 PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= https://projects.honeynet.org/svn/honeywall/honeywall/trunk/rpm-devel/perl-${PORTNAME}/ \ - http://mirrors.rit.edu/zi/ + http://mirrors.rit.edu/zi/ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl modules for parsing Snort configuration files USES= perl5 USE_PERL5= configure NO_ARCH= yes .include Index: head/textproc/p5-Template-Plugin-HTML-SuperForm/Makefile =================================================================== --- head/textproc/p5-Template-Plugin-HTML-SuperForm/Makefile (revision 412341) +++ head/textproc/p5-Template-Plugin-HTML-SuperForm/Makefile (revision 412342) @@ -1,22 +1,22 @@ # $FreeBSD$ PORTNAME= Template-Plugin-HTML-SuperForm PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Interface Template Toolkit to Lingua::EN::Inflect module BUILD_DEPENDS= p5-Template-Toolkit>0:${PORTSDIR}/www/p5-Template-Toolkit \ - p5-HTML-SuperForm>0:${PORTSDIR}/textproc/p5-HTML-SuperForm + p5-HTML-SuperForm>0:${PORTSDIR}/textproc/p5-HTML-SuperForm RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure WRKSRC= ${WRKDIR}/${PORTNAME} .include Index: head/textproc/py-sphinx_numfig/Makefile =================================================================== --- head/textproc/py-sphinx_numfig/Makefile (revision 412341) +++ head/textproc/py-sphinx_numfig/Makefile (revision 412342) @@ -1,27 +1,27 @@ # Created by: Dru Lavigne # $FreeBSD$ PORTNAME= sphinx_numfig PORTVERSION= r13 CATEGORIES= textproc MASTER_SITES= http://sourceforge.net/projects/numfig/files/latest/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kris@FreeBSD.org COMMENT= Autonumbering figures in Sphinx LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PKGNAMEPREFIX}sphinx>=1.3.1:${PORTSDIR}/textproc/py-sphinx USES= python tar:tgz NO_BUILD= yes SPHINXDIR= ${PYTHON_LIBDIR}/site-packages/sphinx PLIST_FILES= ${SPHINXDIR}/ext/numfig.py ${SPHINXDIR}/ext/numfig.pyc do-install: cd ${WRKDIR}/sphinx_numfig-r13 && \ - ${MKDIR} ${STAGEDIR}${SPHINXDIR}/ext && \ - ${PYTHON_CMD} setup.py install ${STAGEDIR}${SPHINXDIR} ${SPHINXDIR}/ext + ${MKDIR} ${STAGEDIR}${SPHINXDIR}/ext && \ + ${PYTHON_CMD} setup.py install ${STAGEDIR}${SPHINXDIR} ${SPHINXDIR}/ext .include Index: head/textproc/rarian/Makefile =================================================================== --- head/textproc/rarian/Makefile (revision 412341) +++ head/textproc/rarian/Makefile (revision 412342) @@ -1,50 +1,50 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/textproc/rarian/Makefile,v 1.12 2008/03/09 21:41:22 mezz Exp $ PORTNAME= rarian PORTVERSION= 0.8.1 PORTREVISION= 4 CATEGORIES= textproc gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= OMF help system based on the Freedesktop specification BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \ - docbook-xml>0:${PORTSDIR}/textproc/docbook-xml \ + docbook-xml>0:${PORTSDIR}/textproc/docbook-xml \ bash:${PORTSDIR}/shells/bash RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \ - ${LOCALBASE}/bin/getopt:${PORTSDIR}/misc/getopt \ + ${LOCALBASE}/bin/getopt:${PORTSDIR}/misc/getopt \ ${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \ docbook-xml>0:${PORTSDIR}/textproc/docbook-xml DOCBOOK_VERSION=4.2 CONFLICTS= scrollkeeper-[0-9]* USES= gmake libtool pathfix python tar:bzip2 USE_GNOME= libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-convert-dir=${LOCALBASE}/share/omf \ --localstatedir=/var CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's|/lib/rarian|/db/rarian|' \ ${WRKSRC}/util/Makefile.in @${REINPLACE_CMD} -e 's|@localstatedir@/lib/rarian|@localstatedir@/db/rarian|g ; \ s|getopt|${LOCALBASE}/bin/getopt|' \ - ${WRKSRC}/util/rarian-sk-config.in \ + ${WRKSRC}/util/rarian-sk-config.in \ ${WRKSRC}/util/rarian-sk-extract.in \ ${WRKSRC}/util/rarian-sk-rebuild.in \ ${WRKSRC}/util/rarian-sk-update.in @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ - ${WRKSRC}/librarian/rarian-main.c \ + ${WRKSRC}/librarian/rarian-main.c \ ${WRKSRC}/librarian/rarian-man.c \ ${WRKSRC}/librarian/rarian-info.c .include Index: head/textproc/scim-kmfl-imengine/Makefile =================================================================== --- head/textproc/scim-kmfl-imengine/Makefile (revision 412341) +++ head/textproc/scim-kmfl-imengine/Makefile (revision 412342) @@ -1,76 +1,76 @@ # Created by: Nikola Lecic # $FreeBSD$ PORTNAME= scim-kmfl-imengine PORTVERSION= 0.9.9 PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= SF/kmfl/kmfl/${PORTVERSION} \ http://anthesphoria.net/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ DIST_SUBDIR= kmfl MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= SCIM KMFL IMEngine platform for Keyman (KMN) language keyboards BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libkmfl.so:${PORTSDIR}/textproc/libkmfl \ libkmflcomp.so:${PORTSDIR}/textproc/kmflcomp \ libpng.so:${PORTSDIR}/graphics/png RUN_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp \ scim:${PORTSDIR}/textproc/scim USE_XORG= x11 xkbfile xproto USE_GNOME= glib20 gtk20 intlhack USES= gettext iconv pkgconfig libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME} PORTDOCS= AUTHORS COPYING ChangeLog SUB_FILES= pkg-message .if exists(${LOCALBASE}/bin/skim) pre-patch: @${ECHO_MSG} --------------------------------------------------------- @${ECHO_MSG} You have SKIM installed. KMFL-SCIM-IMEngine will work @${ECHO_MSG} and you will be able to use textproc/kmfl-* key- @${ECHO_MSG} boards, but KMFL IME does not have SKIM frontend yet. @${ECHO_MSG} Please refer to the textproc/kmflcomp docs on how to @${ECHO_MSG} use KMFL keyboards in QT applications. @${ECHO_MSG} --------------------------------------------------------- .endif post-patch: @${REINPLACE_CMD} \ 's|/usr/X11R6/lib|${LOCALBASE}/lib|' \ - ${WRKSRC}/src/Makefile.* ${WRKSRC}/src/xkbmap.cpp + ${WRKSRC}/src/Makefile.* ${WRKSRC}/src/xkbmap.cpp @${REINPLACE_CMD} \ 's|/usr/lib|${LOCALBASE}/lib|' \ ${WRKSRC}/scim_kmfl_imengine_setup/scim_kmfl_imengine_setup.cpp @${REINPLACE_CMD} \ 's|$$(datadir)/scim/kmfl|$$(datadir)/kmfl|g' \ ${WRKSRC}/src/Makefile.* \ ${WRKSRC}/scim_kmfl_imengine_setup/Makefile.* @${REINPLACE_CMD} \ 's|SCIM_DATADIR="$$datadir/scim"|SCIM_DATADIR="$$datadir"|' \ ${WRKSRC}/configure.in @${REINPLACE_CMD} \ 's|"\.scim" SCIM_PATH_DELIM_STRING "kmfl"|".kmfl"|' \ ${WRKSRC}/scim_kmfl_imengine_setup/scim_kmfl_imengine_setup.cpp @${REINPLACE_CMD} \ 's|"\.scim" + SCIM_PATH_DELIM_STRING + "kmfl"|".kmfl"|' \ ${WRKSRC}/src/scim_kmfl_imengine.cpp post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} . endfor .include Index: head/textproc/xqilla/Makefile =================================================================== --- head/textproc/xqilla/Makefile (revision 412341) +++ head/textproc/xqilla/Makefile (revision 412342) @@ -1,47 +1,47 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= xqilla PORTVERSION= 2.3.2 PORTEPOCH= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME} DISTNAME= XQilla-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= XQuery and XPath2 library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3 \ libtidy.so:${PORTSDIR}/www/tidy-lib USES= libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-xerces=${LOCALBASE} \ --with-faxpp=no \ --with-tidy=${LOCALBASE} INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= DOXYGEN DOCYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ - dot:${PORTSDIR}/graphics/graphviz + dot:${PORTSDIR}/graphics/graphviz DOCYGEN_ALL_TARGET= all docs post-patch: @${REINPLACE_CMD} -e \ 's|[[:blank:]]-R$$(xerces_lib)||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|[[:blank:]]-R$$with_.*"|"|' ${WRKSRC}/configure post-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} "*-api" \ ${STAGEDIR}${DOCSDIR}) @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR:S|${PREFIX}/||} \ ! -type d >> ${TMPPLIST}) .include Index: head/textproc/zorba/Makefile =================================================================== --- head/textproc/zorba/Makefile (revision 412341) +++ head/textproc/zorba/Makefile (revision 412342) @@ -1,113 +1,113 @@ # Created by: gahr # $FreeBSD$ PORTNAME= zorba PORTVERSION= 2.7.0 PORTREVISION= 8 CATEGORIES= textproc MASTER_SITES= https://launchpadlibrarian.net/119058962/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= General purpose C++ XQuery processor LICENSE= APACHE20 LIB_DEPENDS= libxerces-c.so:${PORTSDIR}/textproc/xerces-c3 \ libicudata.so:${PORTSDIR}/devel/icu \ libcurl.so:${PORTSDIR}/ftp/curl \ libtidy.so:${PORTSDIR}/www/tidy-lib \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid RUN_DEPENDS= fop:${PORTSDIR}/textproc/fop WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= PHP PYTHON RUBY JAVA DOCS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen PHP_CMAKE_ON= -DWITH_PHP5:BOOL=true PHP_CMAKE_OFF= -DWITH_PHP5:BOOL=false PYTHON_CMAKE_ON= -DWITH_PYTHON:BOOL=true PYTHON_CMAKE_OFF= -DWITH_PYTHON:BOOL=false RUBY_CMAKE_ON= -DWITH_RUBY:BOOL=true RUBY_CMAKE_OFF= -DWITH_RUBY:BOOL=false JAVA_CMAKE_ON= -DWITH_JAVA:BOOL=true JAVA_CMAKE_OFF= -DWITH_JAVA:BOOL=false # Both install include/xqc.h CONFLICTS= xqilla-[0-9]* USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes USE_CXXSTD= c++11 USES= cmake:outsource compiler:c++11-lib execinfo CXXFLAGS+= -I${LOCALBASE}/include -O1 # compiler hangs with -O2 on CURRENT LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ - -DLOCALBASE:STRING=${LOCALBASE} \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON + -DLOCALBASE:STRING=${LOCALBASE} \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PLIST_SUB+= FULLVERSION=${PORTVERSION} \ MIDVERSION=${PORTVERSION:R} \ MINVERSION=${PORTVERSION:R:R} .if exists(/usr/lib/libexecinfo.so) LOC_EXECINFO= /usr/lib/libexecinfo.so .else LOC_EXECINFO= ${LOCALBASE}/lib/libexecinfo.so .endif .include .if ${PORT_OPTIONS:MPHP} USE_PHP= tokenizer USE_PHP_BUILD= yes WITH_SWIG= yes CMAKE_ARGS+= -DPHP5_INSTALL_PATH:FILEPATH="lib/php/${PHP_EXT_DIR}" PLIST_SUB+= PHP_EXTLIBDIR="lib/php/${PHP_EXT_DIR}" .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python WITH_SWIG= yes CMAKE_ARGS+= -DPYTHON_SWIG_INSTALL_DIR:FILEPATH=${PYTHONPREFIX_SITELIBDIR:S/${PREFIX}\///} PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S/${PREFIX}\///} .endif .if ${PORT_OPTIONS:MRUBY} USE_RUBY= yes WITH_SWIG= yes .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ENV+= JAVA_HOME=${JAVA_HOME} CATEGORIES+= java WITH_SWIG= yes CMAKE_ARGS+= -DJAVA_LIBDIR:PATH=${JAVALIBDIR} .endif .if defined(WITH_SWIG) BUILD_DEPENDS+= swig2.0:${PORTSDIR}/devel/swig20 .endif post-patch: ${REINPLACE_CMD} -e 's|%%LIBEXECINFO%%|${LOC_EXECINFO}|' \ -e 's|FreeBSD|${OPSYS}|g' ${WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake_modules/FindPHP5.cmake .if !${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY(doc)/d' \ ${WRKSRC}/CMakeLists.txt .endif post-install: ${LN} -sf libzorba_simplestore.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libzorba_simplestore.so.${PORTVERSION:R:R} test: build cd ${BUILD_WRKSRC} && ${MAKE} test .include Index: head/www/aws/Makefile =================================================================== --- head/www/aws/Makefile (revision 412341) +++ head/www/aws/Makefile (revision 412342) @@ -1,185 +1,185 @@ # Created by: John Marino # $FreeBSD$ PORTNAME= aws PORTVERSION= 3.3.0.0 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://downloads.dragonlace.net/src/ MAINTAINER= marino@FreeBSD.org COMMENT= Adacore Ada Web Server and framework LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi BUILD_DEPENDS= gprbuild:${PORTSDIR}/devel/gprbuild \ templates_parser>11:${PORTSDIR}/textproc/templates_parser \ xmlada>=4.4:${PORTSDIR}/textproc/xmlada \ asis>=2013:${PORTSDIR}/lang/asis \ gnatpython>=20101207:${PORTSDIR}/devel/gnatpython RUN_DEPENDS= templates_parser>11:${PORTSDIR}/textproc/templates_parser \ xmlada>=4.4:${PORTSDIR}/textproc/xmlada GNU_CONFIGURE= yes NO_MTREE= yes USES= ada gmake python tar:bzip2 DOTBUILD= release LINK_SSL= -- LINK_TLS= -- LINK_LDP= -- NAME_IP6= -- NAME_STD= -- BUILD_TYPE= release ADDL_RPATH= ${LOCALBASE}/lib:${LOCALBASE}/lib/aws/native/relocatable AUX_TARGET= ${ARCH:S/amd64/x86_64/}-aux-${OPSYS:tl}${OSREL} TEMPARSE= ${WRKSRC}/.build/${AUX_TARGET}/${BUILD_TYPE} OPTIONS_SINGLE= Secure-Socket-Layer OPTIONS_DEFINE= IP6 DEBUG LDAP SHARED DOCS OPTIONS_DEFAULT= SSL SHARED OPTIONS_SUB= yes NO_OPTIONS_SORT= yes DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx OPTIONS_SINGLE_Secure-Socket-Layer= SSL GNUTLS NOSSL NOSSL_DESC= Disable SSL support SHARED_DESC= Build shared libraries in addition to static ones IP6_DESC= Support IPv6 instead of IPv4 CONF_ARGS= PROCESSORS=${MAKE_JOBS_NUMBER} CONF_ARGS+= GCC=ada CONF_ARGS+= PYTHON=python${PYTHON_VER} CONF_ARGS+= XMLADA=true CONF_ARGS+= PRJ_BUILD=${DOTBUILD} CONF_ARGS+= prefix=${PREFIX} CONF_ARGS+= LPATH=${PREFIX}/lib CONF_ARGS+= ZPATH=/usr/lib CONF_ARGS+= ZLIB=true CONF_ARGS+= ASIS=true CONF_ARGS+= DEFAULT_LIBRARY_TYPE=static .include ################### ## SSL Support ## ################### .if ${PORT_OPTIONS:MSSL} WITH_OPENSSL_PORT= yes USE_OPENSSL= yes CONF_ARGS+= SOCKET=openssl CONF_ARGS+= LPATH=${PREFIX}/lib LINK_SSL= .endif .if ${PORT_OPTIONS:MGNUTLS} CONF_ARGS+= SOCKET=gnutls LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls LINK_TLS= .endif .if ${PORT_OPTIONS:MNOSSL} CONF_ARGS+= SOCKET=std CONF_ARGS+= LPATH= NAME_STD= .endif #################### ## LDAP Support ## #################### .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes CONF_ARGS+= LDAP=true LINK_LDP= .endif #################### ## IPv6 Support ## #################### .if ${PORT_OPTIONS:MIP6} CONF_ARGS+= IPv6=true NAME_IP4= -- NAME_IP6= .endif ##################### ## Debug Support ## ##################### .if ${PORT_OPTIONS:MDEBUG} CONF_ARGS+= DEBUG=true BUILD_TYPE= debug .endif ############################## ## Shared Runtime Library ## ############################## .if ${PORT_OPTIONS:MSHARED} CONF_ARGS+= ENABLE_SHARED=true .else CONF_ARGS+= ENABLE_SHARED=false .endif post-patch: @${MKDIR} ${WRKSRC}/templates_parser \ ${TEMPARSE}/static/obj/temparse \ ${TEMPARSE}/static/lib/temparse \ ${TEMPARSE}/relocatable/obj/temparse \ ${TEMPARSE}/relocatable/lib/temparse \ ${WRKSRC}/templates_parser/tools \ ${WRKSRC}/templates_parser/xsrc \ ${WRKSRC}/templates_parser/src @${REINPLACE_CMD} \ -e 's|@ADDITIONAL_RPATH@|${ADDL_RPATH}|' \ -e 's|@PREFIX@|${LOCALBASE}|g' \ - ${WRKSRC}/aws.gpr \ + ${WRKSRC}/aws.gpr \ ${WRKSRC}/src/src.gpr \ ${WRKSRC}/include/include.gpr @${SED} -e 's|@PREFIX@|${LOCALBASE}|g' ${FILESDIR}/temparse.gpr.in \ > ${WRKSRC}/templates_parser/temparse.gpr do-configure: # If we want to do templates_parser copy in an earlier target then # templates_parser needs to be listed as an EXTRACT_DEPENDS @${CP} ${LOCALBASE}/lib/templates_parser/* \ ${TEMPARSE}/static/lib/temparse @${CP} ${LOCALBASE}/lib/templates_parser.relocatable/*.ali \ ${TEMPARSE}/relocatable/lib/temparse @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${MAKE_CMD} setup ${CONF_ARGS} do-build: # We cannot use a redefined ALL_TARGET because MAKE_JOBS_SAFE is set # for PROCESSORS, but that also sets -j for gmake which breaks build cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} build .if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} html .endif test: .if exists(${LOCALBASE}/bin/awsres) @cd ${WRKSRC}/regtests && ${SETENV} ${MAKE_ENV} TIMEOUT=75 \ python${PYTHON_VER} testsuite.py .else @${ECHO} "AWS has to be installed before testing" .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/gpr/manifests ${RM} ${STAGEDIR}${PREFIX}/include/aws.relocatable/Makefile ${RM} ${STAGEDIR}${PREFIX}/include/aws/Makefile ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \ ${STAGEDIR}${PREFIX}/share/gps/plug-ins ${CAT} ${FILESDIR}/aws.gpr.in | ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ -e 's|@SSL@|${LINK_SSL}|g' -e 's|@TLS@|${LINK_TLS}|g' \ -e 's|@LDP@|${LINK_LDP}|g' -e 's|@IP4@|${NAME_IP4}|g' \ -e 's|@IP6@|${NAME_IP6}|g' -e 's|@STD@|${NAME_STD}|g' \ > ${STAGEDIR}${PREFIX}/lib/gnat/aws.gpr cd ${WRKSRC}/gps && ${INSTALL_DATA} *.xml aws.py \ ${STAGEDIR}${PREFIX}/share/gps/plug-ins .include Index: head/www/awstats/Makefile =================================================================== --- head/www/awstats/Makefile (revision 412341) +++ head/www/awstats/Makefile (revision 412342) @@ -1,96 +1,96 @@ # Created by: Munish Chopra # $FreeBSD$ PORTNAME= awstats PORTVERSION= 7.4 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/AWStats/${PORTVERSION} MAINTAINER= samm@os2.kiev.ua COMMENT= Free real-time logfile analyzer to get advanced web statistics LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/docs/LICENSE.TXT RUN_DEPENDS= p5-Net-XWhois>=0:${PORTSDIR}/net/p5-Net-XWhois USES= cpe dos2unix perl5 shebangfix CPE_VENDOR= laurent_destailleur SHEBANG_FILES= tools/*.pl wwwroot/cgi-bin/*.pl wwwroot/cgi-bin/plugins/*.pm NO_BUILD= yes USE_PERL5= run DOS2UNIX_GLOB= tools/*.pl \ wwwroot/cgi-bin/awstats.model.conf \ wwwroot/cgi-bin/*.pl \ wwwroot/cgi-bin/lang/tooltips_f/*.txt \ wwwroot/cgi-bin/lang/tooltips_m/*.txt \ wwwroot/cgi-bin/lang/tooltips_w/*.txt \ wwwroot/cgi-bin/lang/*.txt \ wwwroot/cgi-bin/lib/* \ wwwroot/cgi-bin/plugins/*.pm \ wwwroot/cgi-bin/plugins/example/* \ wwwroot/css/* \ wwwroot/js/* SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS IPV6 IPV6_RUN_DEPENDS= p5-Net-IP>=0:${PORTSDIR}/net-mgmt/p5-Net-IP \ p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/tools/awstats_buildstaticpages.pl \ ${WRKSRC}/tools/awstats_configure.pl \ ${WRKSRC}/tools/awstats_updateall.pl \ ${WRKSRC}/wwwroot/cgi-bin/awstats.pl do-install: @${MKDIR} ${STAGEDIR}${WWWDIR}/tools/webmin (cd ${WRKSRC}/tools && ${INSTALL_SCRIPT} awstats_buildstaticpages.pl \ awstats_configure.pl awstats_exportlib.pl awstats_updateall.pl \ logresolvemerge.pl maillogconvert.pl urlaliasbuilder.pl \ ${STAGEDIR}${WWWDIR}/tools) (cd ${WRKSRC}/tools && ${COPYTREE_SHARE} xslt ${STAGEDIR}${WWWDIR}/tools) @${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin (cd ${WRKSRC}/wwwroot/cgi-bin && ${INSTALL_SCRIPT} awredir.pl awstats.pl \ awstats.model.conf ${STAGEDIR}${WWWDIR}/cgi-bin) @${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/lang/tooltips_f ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_f/*.txt \ ${STAGEDIR}${WWWDIR}/cgi-bin/lang/tooltips_f @${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/lang/tooltips_m ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_m/*.txt \ ${STAGEDIR}${WWWDIR}/cgi-bin/lang/tooltips_m @${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/lang/tooltips_w ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_w/*.txt \ ${STAGEDIR}${WWWDIR}/cgi-bin/lang/tooltips_w ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/*.txt \ ${STAGEDIR}${WWWDIR}/cgi-bin/lang (cd ${WRKSRC}/wwwroot/cgi-bin && ${COPYTREE_SHARE} lib \ ${STAGEDIR}${WWWDIR}/cgi-bin) @${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/plugins ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/*.pm \ ${STAGEDIR}${WWWDIR}/cgi-bin/plugins (cd ${WRKSRC}/wwwroot/cgi-bin/plugins && ${COPYTREE_SHARE} example \ - ${STAGEDIR}${WWWDIR}/cgi-bin/plugins) + ${STAGEDIR}${WWWDIR}/cgi-bin/plugins) @${MKDIR} ${STAGEDIR}${WWWDIR}/classes ${INSTALL_DATA} ${WRKSRC}/wwwroot/classes/awgraphapplet.jar \ ${STAGEDIR}${WWWDIR}/classes (cd ${WRKSRC}/wwwroot && ${COPYTREE_SHARE} "js css" ${STAGEDIR}${WWWDIR}) (cd ${WRKSRC}/wwwroot/icon && ${COPYTREE_SHARE} "browser clock cpu \ flags mime os other" ${STAGEDIR}${WWWDIR}/icons) @${ECHO_CMD} "" @${ECHO_CMD} "* Use ${WWWDIR}/tools/awstats_configure.pl to setup your hosts." @${ECHO_CMD} "" do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} images ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${STAGEDIR}${DOCSDIR} .include Index: head/www/gtkhtml3/Makefile =================================================================== --- head/www/gtkhtml3/Makefile (revision 412341) +++ head/www/gtkhtml3/Makefile (revision 412342) @@ -1,50 +1,50 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # $MCom: ports/www/gtkhtml3/Makefile,v 1.184 2012/08/17 19:06:47 kwm Exp $ PORTNAME= gtkhtml3 PORTVERSION= 3.32.1 PORTREVISION= 4 CATEGORIES= www gnome MASTER_SITES= GNOME/sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} DISTNAME= ${PORTNAME:S/3$//}-${PORTVERSION} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Lightweight HTML rendering/printing/editing engine BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ libenchant.so:${PORTSDIR}/textproc/enchant RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \ ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme PORTSCOUT= ignore:1 USES= gettext libtool pathfix pkgconfig gmake tar:bzip2 USE_XORG= xinerama xi xrandr xcursor xcomposite xdamage USE_GNOME= gnomeprefix intlhack gconf2 gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip PLIST_SUB= VERSION="3.14" post-patch: @${REINPLACE_CMD} -e 's|@INTLTOOL_LIBDIR@|${LOCALBASE}/libdata|' \ - ${WRKSRC}/intltool-merge.in + ${WRKSRC}/intltool-merge.in @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g ; \ s|-DGTK_DISABLE_DEPRECATED||g ; \ s|-DG_DISABLE_DEPRECATED||g ; \ - s|-DGDK_DISABLE_DEPRECATED||g' \ + s|-DGDK_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gtkhtml-editor-test[$$]|gtkhtml3-editor-test$$|' \ - ${WRKSRC}/components/editor/Makefile.in + ${WRKSRC}/components/editor/Makefile.in @${REINPLACE_CMD} '/g_thread_init/d' ${WRKSRC}/components/editor/main.c @${REINPLACE_CMD} -e 's|G_CONST_RETURN||g' \ ${WRKSRC}/a11y/*.[ch] .include Index: head/www/logtools/Makefile =================================================================== --- head/www/logtools/Makefile (revision 412341) +++ head/www/logtools/Makefile (revision 412342) @@ -1,31 +1,31 @@ # Created by: Mark Huizer; Eindhoven # $FreeBSD$ PORTNAME= logtools PORTVERSION= 0.13d PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.coker.com.au/logtools/ \ - LOCAL/chinsan/logtools/ + LOCAL/chinsan/logtools/ MAINTAINER= ports@FreeBSD.org COMMENT= Useful tools to deal with CLF files (Common Log File format) LICENSE= GPLv2 USES= tar:tgz GNU_CONFIGURE= yes post-patch: @${REINPLACE_CMD} -e \ 's|-O2 -g|| ; \ s|-lstdc++|| ; \ s| \($${prefix}\)| $${DESTDIR}\1|g ; \ s| \(@mandir@\)| $${DESTDIR}\1|g ; \ s|.cfg |.cfg.sample | ; \ s| \(@sysconfdir@\)| $${DESTDIR}\1|g' ${WRKSRC}/Makefile.in post-build: @${LN} -sf clfdomainsplit.cfg ${WRKSRC}/clfdomainsplit.cfg.sample .include Index: head/www/mod_vhs/Makefile =================================================================== --- head/www/mod_vhs/Makefile (revision 412341) +++ head/www/mod_vhs/Makefile (revision 412342) @@ -1,78 +1,78 @@ # Created by: Xavier Beaudouin # $FreeBSD$ PORTNAME= mod_vhs PORTVERSION= 1.1.0 CATEGORIES= www MASTER_SITES= ftp://ftp.oav.net/openvisp/${PORTNAME}/ DIST_SUBDIR= apache2 MAINTAINER= kiwi@oav.net COMMENT= Mass virtual hosting using mod_ldap or mod_dbd with Apache 2.2.x LICENSE= APACHE11 MANUAL_PACKAGE_BUILD= needs apr with LDAP and DBD options enabled USES= cpe CPE_VENDOR= xavier_beaudouin USE_APACHE= 22+ USE_PHP= yes USE_PHP_BUILD= yes WANT_PHP_MOD= yes AP_FAST_BUILD= yes AP_GENPLIST= yes SRC_FILE= *.c AP_INC+= ${LOCALBASE}/include/home \ - -I ${LOCALBASE}/include/php \ + -I ${LOCALBASE}/include/php \ -I ${LOCALBASE}/include/php/Zend \ -I ${LOCALBASE}/include/php/TSRM \ -I ${LOCALBASE}/include/php/main AP_EXTRAS+= -DHAVE_MOD_PHP_SUPPORT PORTDOCS= ChangeLog AUTHORS README README.logs README.mod_suphp \ README.phpopt THANKS WARNING WARNING.THREADS README.LDAP OPTIONS_DEFINE= LDAP DBD ITK VDEBUG DOCS OPTIONS_DEFAULT= LDAP LDAP_DESC= mod_ldap support DBD_DESC= mod_dbd support ITK_DESC= mpm-itk support (needs a specific apache) VDEBUG_DESC= debug version (very verbose !) .include ### mod_vhs options .if ${PORT_OPTIONS:MLDAP} .if ! ${PORT_OPTIONS:MDBD} AP_EXTRAS+= -DHAVE_LDAP_SUPPORT .else .error You cannot use LDAP and DBD at the same time. .endif .endif .if ${PORT_OPTIONS:MDBD} .if ! ${PORT_OPTIONS:MLDAP} AP_EXTRAS+= -DHAVE_MOD_DBD_SUPPORT .else .error You cannot use LDAP and DBD at the same time. .endif .endif .if ${PORT_OPTIONS:MITK} AP_EXTRAS+= -DHAVE_MPM_ITK_SUPPORT .endif .if ${PORT_OPTIONS:MVDEBUG} AP_EXTRAS+= -DVH_DEBUG .endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} # TODO : # Add suphp support .include Index: head/www/otrs/Makefile =================================================================== --- head/www/otrs/Makefile (revision 412341) +++ head/www/otrs/Makefile (revision 412342) @@ -1,189 +1,189 @@ # Created by: Sergey Skvortsov # $FreeBSD$ PORTNAME= otrs PORTVERSION= 5.0.3 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://ftp.otrs.org/pub/otrs/ \ ftp://ftp.samurai.com/pub/otrs/ \ http://ftp.gwdg.de/pub/misc/otrs/ \ http://mirror.xaranet.de/otrs/ MAINTAINER= m.tsatsenko@gmail.com COMMENT= Open Ticket Request System LICENSE= GPLv3 BUILD_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ p5-Crypt-Eksblowfish>=0:${PORTSDIR}/security/p5-Crypt-Eksblowfish \ p5-Crypt-PasswdMD5>=0:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \ p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA \ p5-MIME-Tools>=5.427:${PORTSDIR}/mail/p5-MIME-Tools \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ p5-Net-DNS>=0.66:${PORTSDIR}/dns/p5-Net-DNS \ p5-CSS-Minifier-XS>=0:${PORTSDIR}/textproc/p5-CSS-Minifier-XS \ p5-JavaScript-Minifier-XS>=0:${PORTSDIR}/textproc/p5-JavaScript-Minifier-XS \ p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \ p5-Sys-Hostname-Long>=0:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \ p5-Proc-Daemon>=0:${PORTSDIR}/devel/p5-Proc-Daemon \ p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \ p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS \ p5-IO-Interactive>=0:${PORTSDIR}/devel/p5-IO-Interactive \ p5-Email-Valid>=0:${PORTSDIR}/mail/p5-Email-Valid \ p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML \ p5-Date-Pcalc>=0:${PORTSDIR}/devel/p5-Date-Pcalc \ p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV \ p5-Text-Diff>=0:${PORTSDIR}/textproc/p5-Text-Diff \ p5-XML-FeedPP>=0:${PORTSDIR}/textproc/p5-XML-FeedPP \ p5-YAML-LibYAML>=0:${PORTSDIR}/textproc/p5-YAML-LibYAML \ p5-JavaScript-Minifier>=0:${PORTSDIR}/textproc/p5-JavaScript-Minifier \ p5-CSS-Minifier>=0:${PORTSDIR}/textproc/p5-CSS-Minifier \ p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite \ p5-Class-Inspector>=0:${PORTSDIR}/devel/p5-Class-Inspector \ p5-Mozilla-CA>=0:${PORTSDIR}/www/p5-Mozilla-CA \ p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \ p5-Schedule-Cron-Events>=1.94:${PORTSDIR}/sysutils/p5-Schedule-Cron-Events RUN_DEPENDS:= ${BUILD_DEPENDS} USES= cpe shebangfix perl5 tar:bzip2 SHEBANG_FILES= bin/cgi-bin/*.pl bin/cgi-bin/app.psgi bin/fcgi-bin/*.pl bin/*.pl \ scripts/auto_build/*.pl scripts/tools/*.pl scripts/*.pl OPTIONS_DEFINE= MYSQL PGSQL REPORTS SMTP POP3 IMAP LDAP PDF \ GNUPG APACHE SSL OPTIONS_DEFAULT= MYSQL REPORTS SMTP POP3 IMAP PDF ASPELL APACHE \ SSL OPTIONS_RADIO= SPELL OPTIONS_RADIO_SPELL= ASPELL ISPELL IMAP_DESC= Fetch email via IMAP POP3_DESC= Fetch email via POP3 SMTP_DESC= Send email via SMTP REPORTS_DESC= Reports support APACHE_DESC= Apache and www/mod_perl2 support OTRSDIR= ${PREFIX}/otrs USERS= ${PORTNAME} GROUPS= ${USERS} www SUB_FILES= pkg-message SUB_LIST= OTRS_USER=${USERS} OTRS_GROUP=${USERS} WWWOWN=${WWWOWN} PKGMESSAGE= ${WRKDIR}/pkg-message NO_ARCH= YES ROOT_DIRS_LIST= Kernel bin scripts BIN_DIRS_LIST= "" cgi-bin fcgi-bin PM_DIRS_LIST= Kernel Kernel/Config Kernel/Config/Files Kernel/Language \ Modules Kernel/Output/HTML Kernel/Output/HTML/Lite \ Kernel/Output/HTML/Standard System System/Auth System/AuthSession \ System/Crypt System/CustomerAuth System/CustomerUser \ System/CustomerUser/ System/ SCRIPTS_DIRS_LIST= "" database/update test tools CRON_SCRIPTS= ${STAGEDIR}${OTRSDIR}/var/cron/ CLEAN_FILES= scripts/suse* scripts/redhat* \ var/httpd/htdocs/js/thirdparty/ckeditor-4.0/_source \ var/httpd/htdocs/skins/Agent/*/img/source PLIST_SUB+= VER_CKEDITOR="4.4.5" OTRS_USER=${USERS} WWWOWN=${WWWOWN} PGSQL_RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg PGSQL_USES= pgsql MYSQL_RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql SSL_RUN_DEPENDS+= p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay APACHE_RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.5:${PORTSDIR}/www/mod_perl2 \ p5-Apache-DBI>0:${PORTSDIR}/www/p5-Apache-DBI REPORTS_RUN_DEPENDS+= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \ p5-GD-Graph>=0:${PORTSDIR}/graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:${PORTSDIR}/graphics/p5-GD-TextUtil SMTP_RUN_DEPENDS+= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL \ p5-Net-SSLGlue>=0:${PORTSDIR}/security/p5-Net-SSLGlue POP3_RUN_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL \ p5-Net-SSLGlue>=0:${PORTSDIR}/security/p5-Net-SSLGlue IMAP_RUN_DEPENDS+= p5-Mail-IMAPClient>=0:${PORTSDIR}/mail/p5-Mail-IMAPClient \ p5-Net-IMAP-Simple>=0:${PORTSDIR}/mail/p5-Net-IMAP-Simple LDAP_RUN_DEPENDS+= p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap PDF_RUN_DEPENDS+= p5-PDF-API2>=0.57:${PORTSDIR}/textproc/p5-PDF-API2 ISPELL_RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/aspell-ispell ASPELL_RUN_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell GNUPG_RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1 .include .if ${PORT_OPTIONS:MAPACHE} USE_APACHE_RUN= 22+ .endif post-patch: @${FIND} ${WRKSRC} -name "*.pm" | \ ${XARGS} ${REINPLACE_CMD} -i '' \ - -e 's|Digest::SHA::PurePerl|Digest::SHA|g' + -e 's|Digest::SHA::PurePerl|Digest::SHA|g' @${FIND} ${WRKSRC} -name "*.orig" -delete @${RM} -rf ${WRKSRC}/Kernel/cpan-lib/ \ ${CLEAN_FILES:S!^!${WRKSRC}/!} do-build: @${FIND} ${WRKSRC}/Kernel -type d | ${XARGS} ${CHMOD} 0755 @${FIND} ${WRKSRC}/Kernel -type f | ${XARGS} ${CHMOD} ${SHAREMODE} @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/opt/=${PREFIX}/=g;s=wwwrun=${WWWOWN}=g;" .if ${PORT_OPTIONS:MISPELL} @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/usr/bin/ispell=${PREFIX}/bin/ispell=g" .endif .if ${PORT_OPTIONS:MASPELL} @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/usr/bin/ispell=${PREFIX}/bin/aspell=g" .endif .if ${PORT_OPTIONS:MGNUPG} @${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ -e "s=/usr/bin/gpg=${PREFIX}/bin/gpg=g" .endif do-install: .for D in ${ROOT_DIRS_LIST:S!^!${OTRSDIR}/!} ${BIN_DIRS_LIST:S!^!${OTRSDIR}/bin/!} ${SCRIPTS_DIRS_LIST:S!^!${OTRSDIR}/scripts/!} ${MKDIR} ${STAGEDIR}${D} .endfor ${INSTALL_DATA} ${WRKSRC}/.*.dist ${STAGEDIR}${OTRSDIR}/ ${INSTALL_DATA} ${WRKSRC}/RELEASE ${STAGEDIR}${OTRSDIR}/ ${INSTALL_DATA} ${WRKSRC}/ARCHIVE ${STAGEDIR}${OTRSDIR}/ .for D in ${BIN_DIRS_LIST} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${D}/*.* ${STAGEDIR}${OTRSDIR}/bin/${D}/ .endfor (cd ${WRKSRC} && ${PAX} -r -w Kernel var ${STAGEDIR}${OTRSDIR}) ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.[ps][lh] ${STAGEDIR}${OTRSDIR}/scripts/ ${INSTALL_DATA} ${WRKSRC}/scripts/apache* \ ${WRKSRC}/scripts/*.sql ${STAGEDIR}${OTRSDIR}/scripts/ ${INSTALL_DATA} ${WRKSRC}/scripts/database/update/*.* ${STAGEDIR}${OTRSDIR}/scripts/database/update/ ${INSTALL_DATA} ${WRKSRC}/scripts/database/*.* ${STAGEDIR}${OTRSDIR}/scripts/database/ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/test/*.t ${STAGEDIR}${OTRSDIR}/scripts/test/ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/tools/*.pl ${STAGEDIR}${OTRSDIR}/scripts/tools/ ${FIND} ${CRON_SCRIPTS} -type f -name *.dist | ${SED} -e "p;s/\.dist//" | ${XARGS} -n2 ${MV} ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/var/article ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/var/httpd/htdocs/js/js-cache/ ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/var/tmp x-generate-plist: (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \ | ${SED} -E '\ s=share/doc/${PORTNAME}=%%DOCSDIR%%=; \ ')> temp-pkg-plist .include Index: head/www/p5-Catalyst-Plugin-Log-Handler/Makefile =================================================================== --- head/www/p5-Catalyst-Plugin-Log-Handler/Makefile (revision 412341) +++ head/www/p5-Catalyst-Plugin-Log-Handler/Makefile (revision 412342) @@ -1,21 +1,21 @@ # $FreeBSD$ PORTNAME= Catalyst-Plugin-Log-Handler PORTVERSION= 0.08 PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Catalyst log handler BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \ - p5-Log-Handler>=0:${PORTSDIR}/devel/p5-Log-Handler \ - p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat + p5-Log-Handler>=0:${PORTSDIR}/devel/p5-Log-Handler \ + p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= modbuild .include Index: head/www/p5-FCGI-Async/Makefile =================================================================== --- head/www/p5-FCGI-Async/Makefile (revision 412341) +++ head/www/p5-FCGI-Async/Makefile (revision 412342) @@ -1,28 +1,28 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= FCGI-Async PORTVERSION= 0.22 PORTREVISION= 2 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Module to allow use of FastCGI asynchronously LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-IO-Async>=0:${PORTSDIR}/devel/p5-IO-Async \ p5-Net-Async-FastCGI>=0:${PORTSDIR}/www/p5-Net-Async-FastCGI \ - p5-Net-FastCGI>=0:${PORTSDIR}/www/p5-Net-FastCGI + p5-Net-FastCGI>=0:${PORTSDIR}/www/p5-Net-FastCGI RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Test-Identity>=0:${PORTSDIR}/devel/p5-Test-Identity \ p5-Test-HexString>=0:${PORTSDIR}/devel/p5-Test-HexString \ p5-Test-Refcount>0:${PORTSDIR}/devel/p5-Test-Refcount USES= perl5 USE_PERL5= configure .include Index: head/www/p5-Text-MultiMarkdown-ApacheHandler/Makefile =================================================================== --- head/www/p5-Text-MultiMarkdown-ApacheHandler/Makefile (revision 412341) +++ head/www/p5-Text-MultiMarkdown-ApacheHandler/Makefile (revision 412342) @@ -1,27 +1,27 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= Text-MultiMarkdown-ApacheHandler PORTVERSION= 0.01 PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Module for processing files with MultiMarkdown syntax for Apache BUILD_DEPENDS= p5-Text-MultiMarkdown>=0:${PORTSDIR}/textproc/p5-Text-MultiMarkdown \ - p5-Text-Typography>=0:${PORTSDIR}/textproc/p5-Text-Typography \ + p5-Text-Typography>=0:${PORTSDIR}/textproc/p5-Text-Typography \ ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.5:${PORTSDIR}/www/mod_perl2 RUN_DEPENDS:= ${BUILD_DEPENDS} USE_APACHE_RUN= 22+ USES= perl5 USE_PERL5= configure SUB_FILES= pkg-message post-patch: @${RM} ${WRKSRC}/lib/Text/MultiMarkdown/ApacheHandler.pm.orig .include Index: head/www/seahub/Makefile =================================================================== --- head/www/seahub/Makefile (revision 412341) +++ head/www/seahub/Makefile (revision 412342) @@ -1,145 +1,145 @@ # $FreeBSD$ PORTNAME= seahub PORTVERSION= 4.0.5 PORTREVISION= 1 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= -pro CATEGORIES= www MASTER_SITES= 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= ${DISTNAME}${EXTRACT_SUFX} \ 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= ultima1252@gmail.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 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} USE_RC_SUBR= ${PORTNAME} 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)) + 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/x11/gdm/Makefile =================================================================== --- head/x11/gdm/Makefile (revision 412341) +++ head/x11/gdm/Makefile (revision 412342) @@ -1,153 +1,153 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= gdm PORTVERSION= 3.16.4 PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 3 version of xdm display manager BUILD_DEPENDS= zenity>=3.0.0:${PORTSDIR}/x11/zenity \ itstool:${PORTSDIR}/textproc/itstool \ iso-codes>=0:${PORTSDIR}/misc/iso-codes LIB_DEPENDS= libck-connector.so:${PORTSDIR}/sysutils/consolekit \ libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libupower-glib.so:${PORTSDIR}/sysutils/upower \ libnss3.so:${PORTSDIR}/security/nss \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libaccountsservice.so:${PORTSDIR}/sysutils/accountsservice \ libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 RUN_DEPENDS= zenity>=3.0.0:${PORTSDIR}/x11/zenity \ gnome-shell>=3.15.92:${PORTSDIR}/x11/gnome-shell \ gnome-settings-daemon>=3.0.0:${PORTSDIR}/sysutils/gnome-settings-daemon \ gnome-keyring-3:${PORTSDIR}/security/gnome-keyring \ gnome-session>=3.0.0:${PORTSDIR}/x11/gnome-session \ gnome-icon-theme-symbolic>=0:${PORTSDIR}/x11-themes/gnome-icon-theme-symbolic \ polkit-gnome>=0.105:${PORTSDIR}/sysutils/polkit-gnome \ at-spi2-core>=0:${PORTSDIR}/accessibility/at-spi2-core \ iso-codes>=0:${PORTSDIR}/misc/iso-codes # used in scripts RUN_DEPENDS+= xrdb:${PORTSDIR}/x11/xrdb \ setxkbmap:${PORTSDIR}/x11/setxkbmap \ xmodmap:${PORTSDIR}/x11/xmodmap \ xterm:${PORTSDIR}/x11/xterm USERS= gdm GROUPS= gdm PORTSCOUT= limitw:1,even USES= cpe execinfo gettext gmake libtool pathfix pkgconfig tar:xz CPE_VENDOR= gnome CPE_VENDOR= gnome_display_manager USE_GNOME= dconf intlhack introspection librsvg2 USE_LDCONFIG= yes USE_XORG= dmx dmxproto INSTALLS_ICONS= yes USE_RC_SUBR= gdm USE_GNOME_SUBR= yes GNU_CONFIGURE= yes GLIB_SCHEMAS= org.gnome.login-screen.gschema.xml CONFIGURE_ARGS= --disable-static \ --mandir=${PREFIX}/man \ --with-lang-file=${PREFIX}/etc/gdm/locale.conf \ --with-at-spi-registryd-directory=${LOCALBASE}/libexec \ --with-custom-conf=${PREFIX}/etc/gdm/custom.conf \ --with-dbus-sys=${PREFIX}/etc/dbus-1/system.d \ --with-log-dir=/var/log/gdm \ --localstatedir=/var \ --with-console-kit \ --with-working-directory=${PREFIX}/etc/gdm/home \ --with-sysconfsubdir=gdm \ --with-pid-file=/var/run/gdm.pid \ --with-dmconfdir=${LOCALBASE}/share/xsessions \ --with-screenshot-dir=/var/run/gdm/greeter \ --enable-authentication-scheme=pam \ --without-plymouth \ --with-user=gdm \ --with-group=gdm \ --with-initial-vt=09 \ --disable-wayland-support \ --with-systemd=no # this is a hack until we can get our own pam dir and dir in order. CONFIGURE_ARGS+=--with-default-pam-config=redhat CPPFLAGS+= -I${LOCALBASE}/include -DHAS_SA_LEN LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SUB_FILES+= gdm-launch-environment \ gdm-password \ gdm-autologin \ client.conf \ locale.conf GDMDIR?= ${PREFIX}/etc/gdm PKGMESSAGE= ${WRKDIR}/pkg-message GNOME_LOCALSTATEDIR= /var OPTIONS_DEFINE= IPV6 IPV6_CONFIGURE_ENABLE= ipv6 .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif post-patch: @${REINPLACE_CMD} -e 's|root:root|root:wheel|g' \ ${WRKSRC}/data/Makefile.in @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ - -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - ${WRKSRC}/daemon/gdm-session-worker.c + -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/daemon/gdm-session-worker.c @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e 's|/usr/bin/X|${LOCALBASE}/bin/X|g' \ -e 's|/usr/bin/Xorg|${LOCALBASE}/bin/Xorg|g' \ ${WRKSRC}/configure ${WRKSRC}/daemon/*.c ${WRKSRC}/po/*.po @${REINPLACE_CMD} -e 's|/at-spi-registryd|/at-spi2-registryd|g' \ ${WRKSRC}/gui/simple-chooser/gdm-host-chooser.c \ ${WRKSRC}/gui/simple-chooser/chooser-main.c @${REINPLACE_CMD} -e 's|/etc/X11|${LOCALBASE}/etc/X11|g' \ ${WRKSRC}/data/Init.in \ ${WRKSRC}/data/PostLogin \ ${WRKSRC}/data/PostSession.in \ ${WRKSRC}/data/PreSession.in \ ${WRKSRC}/data/Xsession.in @${RM} ${WRKSRC}/data/applications/gdm-simple-greeter.desktop \ ${WRKSRC}/data/applications/gdm-simple-greeter.desktop.in \ ${WRKSRC}/data/applications/gnome-shell.desktop \ post-install: ${INSTALL_DATA} ${WRKSRC}/data/gdm.conf-custom \ ${STAGEDIR}${PREFIX}/etc/gdm/custom.conf.sample @${RM} ${STAGEDIR}${PREFIX}/etc/gdm/custom.conf ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/PostSession/Default \ ${STAGEDIR}${PREFIX}/etc/gdm/PostSession/Default.sample ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/PreSession/Default \ ${STAGEDIR}${PREFIX}/etc/gdm/PreSession/Default.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/Sessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/dm/Sessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/home ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/home/.pulse/ ${INSTALL_DATA} ${WRKDIR}/gdm-autologin ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-autologin ${INSTALL_DATA} ${WRKDIR}/gdm-launch-environment ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-launch-environment ${INSTALL_DATA} ${WRKDIR}/gdm-password ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-password ${INSTALL_DATA} ${WRKDIR}/client.conf ${STAGEDIR}${PREFIX}/etc/gdm/home/.pulse/ ${INSTALL_DATA} ${WRKDIR}/locale.conf ${STAGEDIR}${PREFIX}/etc/gdm/ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} .include Index: head/x11/libxklavier/Makefile =================================================================== --- head/x11/libxklavier/Makefile (revision 412341) +++ head/x11/libxklavier/Makefile (revision 412342) @@ -1,35 +1,35 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= libxklavier PORTVERSION= 5.3 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Utility library to make XKB stuff easier BUILD_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes RUN_DEPENDS= xkbcomp:${PORTSDIR}/x11/xkbcomp \ - iso-codes>=0:${PORTSDIR}/misc/iso-codes + iso-codes>=0:${PORTSDIR}/misc/iso-codes USE_XORG= x11 xkbfile USES= gmake libtool pathfix pkgconfig tar:xz USE_GNOME= libxml2 glib20 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --with-xkb-base=${LOCALBASE}/share/X11/xkb \ --with-xkb-bin-base=${LOCALBASE}/bin \ --with-xmodmap-base=${LOCALBASE}/share/xmodmap \ --disable-gtk-doc \ --with-html-dir=${GNOME_HTML_DIR} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip PLIST_SUB= VERSION=${PORTVERSION} .include Index: head/x11/thingylaunch/Makefile =================================================================== --- head/x11/thingylaunch/Makefile (revision 412341) +++ head/x11/thingylaunch/Makefile (revision 412342) @@ -1,44 +1,44 @@ # Created by: Pietro Cerutti # $FreeBSD$ PORTNAME= thingylaunch PORTVERSION= 2.0.3 PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://gahr.ch/thingylaunch/ MAINTAINER= gahr@FreeBSD.org COMMENT= Lightweight launcher for X LICENSE= MIT BSD2CLAUSE LICENSE_COMB= multi OPTIONS_SINGLE= X11 OPTIONS_SINGLE_X11= LIBX11 LIBXCB LIBX11_DESC= Build against libX11 LIBXCB_DESC= Build against libXCB OPTIONS_DEFAULT= LIBX11 USE_XORG= xproto USE_CXXSTD= c++11 USES= cmake:outsource compiler:c++11-lib .include .if ${PORT_OPTIONS:MLIBX11} USE_XORG+= x11 .endif .if ${PORT_OPTIONS:MLIBXCB} USE_XORG+= xcb LIB_DEPENDS+= libxcb-icccm.so:${PORTSDIR}/x11/xcb-util-wm \ - libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms + libxcb-keysyms.so:${PORTSDIR}/x11/xcb-util-keysyms CMAKE_ARGS+= -DUSE_XCB:BOOL=ON .endif USE_GITHUB= yes GH_ACCOUNT= gahr PLIST_FILES= bin/${PORTNAME} .include Index: head/x11/xscreensaver-gnome/Makefile =================================================================== --- head/x11/xscreensaver-gnome/Makefile (revision 412341) +++ head/x11/xscreensaver-gnome/Makefile (revision 412342) @@ -1,108 +1,108 @@ # Created by: Ade Lovett # $FreeBSD$ # $MCom: ports/x11/xscreensaver-gnome/Makefile,v 1.5 2007/08/15 18:29:16 mezz Exp $ PORTNAME?= xscreensaver-gnome PORTVERSION= 5.12 PORTREVISION?= 3 CATEGORIES= x11 gnome MASTER_SITES= http://www.jwz.org/xscreensaver/ DISTNAME= xscreensaver-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Save your screen while you entertain your cat (for GNOME users) LIB_DEPENDS= libgle.so:${PORTSDIR}/graphics/gle #CONFLICTS?= xscreensaver-[0-9]* xscreensaver-gnome-hacks-[0-9]* USE_XORG= x11 xpm USE_GL= gl USE_PERL5= run USE_GNOME= libglade2 USES+= dos2unix gettext gmake jpeg perl5 pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gtk --with-gl --with-gle --with-pixbuf --with-xpm \ --with-jpeg=${LOCALBASE} --with-xshm-ext --with-xdbe-ext \ --with-hackdir=${PREFIX}/bin/xscreensaver-hacks \ --with-configdir=${PREFIX}/share/xscreensaver/config \ --with-dpms-ext --with-xinerama-ext --with-xf86vmode-ext \ --with-xf86gamma-ext --with-randr-ext --enable-locking \ --with-x-app-defaults=${PREFIX}/lib/X11/app-defaults DESTDIRNAME= install_prefix CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lintl OPTIONS_DEFINE= PAM KEYRING ALL_FORTUNES SETUID_HACKS OPTIONS_DEFAULT= PAM KEYRING KEYRING_DESC= GnomeKeyring integration (needs PAM) ALL_FORTUNES_DESC= Support for all fortunes SETUID_HACKS_DESC= Install sonar hack suid so it can ping SUB_FILES+= xscreensaver.pam .include .if ${PORT_OPTIONS:MALL_FORTUNES} CONFIGURE_ARGS+= --with-fortune="/usr/games/fortune -sa" .endif .if ${PORT_OPTIONS:MPAM} || ${PORT_OPTIONS:MKEYRING} CONFIGURE_ARGS+= --with-pam PLIST_SUB+= PAM="" .else CONFIGURE_ARGS+= --without-pam PLIST_SUB+= PAM="@comment " .endif .if ${PORT_OPTIONS:MKEYRING} SUB_LIST+= PAM_KEYRING= RUN_DEPENDS+= ${LOCALBASE}/lib/pam_gnome_keyring.so:${PORTSDIR}/security/gnome-keyring .else SUB_LIST+= PAM_KEYRING=\# .endif .if ${PORT_OPTIONS:MSETUID_HACKS} CONFIGURE_ARGS+= --with-setuid-hacks .endif .if ${ARCH} == "amd64" CFLAGS+= -O0 .endif DOS2UNIX_FILES= hacks/glx/topblock.c post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g ; \ s|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/configure .if ${PORT_OPTIONS:MPAM} .for f in driver/passwd-pam.c driver/xscreensaver.man @${REINPLACE_CMD} -e 's|/etc/pam.d|${PREFIX}/etc/pam.d|g' \ - ${WRKSRC}/${f} + ${WRKSRC}/${f} .endfor .else @${REINPLACE_CMD} -e 's|install-xml install-pam|install-xml|' \ - ${WRKSRC}/driver/Makefile.in + ${WRKSRC}/driver/Makefile.in .endif pre-build: @(cd ${WRKSRC}/hacks && ./m6502.sh m6502.h images/m6502/*.asm) @(cd ${WRKSRC}/hacks/glx && ./molecules.sh molecules.h ../images/molecules/*.pdb) pre-install: .if ${PORT_OPTIONS:MPAM} @${CP} ${WRKDIR}/xscreensaver.pam ${WRKSRC}/driver/xscreensaver.pam .endif .if !target(post-install-slave) post-install-slave: @${DO_NADA} .endif post-install: post-install-slave @(if test -x ${STAGEDIR}${PREFIX}/bin/xscreensaver-hacks/webcollage-helper; then \ - ${ECHO} "bin/xscreensaver-hacks/webcollage-helper" | \ + ${ECHO} "bin/xscreensaver-hacks/webcollage-helper" | \ ${CAT} - ${TMPPLIST} > ${TMPPLIST}.cat && \ ${MV} ${TMPPLIST}.cat ${TMPPLIST}; fi) .include Index: head/x11-fonts/libXft/Makefile =================================================================== --- head/x11-fonts/libXft/Makefile (revision 412341) +++ head/x11-fonts/libXft/Makefile (revision 412342) @@ -1,30 +1,30 @@ # $FreeBSD$ PORTNAME= libXft PORTVERSION= 2.3.2 PORTREVISION= 1 CATEGORIES= x11-fonts MAINTAINER= gnome@FreeBSD.org COMMENT= Client-sided font API for X applications LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig XORG_CAT= lib USE_XORG= xproto:both xrender INSTALL_TARGET= install-strip post-extract: @${CP} ${FILESDIR}/xft-config.in \ ${WRKSRC}/xft-config.in post-patch: @${REINPLACE_CMD} -e '/ac_config_files/s|xft\.pc|xft\.pc xft-config|' \ - ${WRKSRC}/configure + ${WRKSRC}/configure post-install: @${INSTALL_SCRIPT} ${WRKSRC}/xft-config \ ${STAGEDIR}${PREFIX}/bin/ .include Index: head/x11-toolkits/blt/Makefile =================================================================== --- head/x11-toolkits/blt/Makefile (revision 412341) +++ head/x11-toolkits/blt/Makefile (revision 412342) @@ -1,57 +1,57 @@ # Created by: Kenjiro Cho # $FreeBSD$ PORTNAME= blt PORTVERSION= 2.5.3 PORTREVISION= 3 CATEGORIES= x11-toolkits tk MASTER_SITES= SF/wize DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Extension to the Tk toolkit LICENSE= MIT WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} USES= gmake jpeg shebangfix tk zip SHEBANG_FILES= demos/scripts/xcolors.tcl SHEBANG_LANG= bltwish bltwish_OLD_CMD=../bltwish bltwish_CMD= ${PREFIX}/bin/bltwish # installed by this port, so not LOCALBASE USE_LDCONFIG= yes GNU_CONFIGURE= yes CFLAGS+= -I${TCL_INCLUDEDIR}/generic \ -I${TK_INCLUDEDIR}/generic \ -I${TK_INCLUDEDIR}/unix MAKE_JOBS_UNSAFE=yes PLIST_SUB+= BLTVER=${PORTVERSION:R} \ - BLTSHORTVER=${PORTVERSION:R:S/.//} + BLTSHORTVER=${PORTVERSION:R:S/.//} CONFIGURE_ARGS+=--prefix=${PREFIX} \ --exec_prefix=${PREFIX} \ --enable-jpeg=${LOCALBASE} \ --with-tcl=${TCL_LIBDIR} \ --with-tk=${TK_LIBDIR} \ --with-tcllibs=${LOCALBASE}/lib \ --with-tklibs=${LOCALBASE}/lib post-patch: ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e '/^INSTALL_ROOT/s|$$|$${DESTDIR}|' ${FIND} ${WRKSRC}/demos -name "*.tcl" | ${XARGS} \ ${REINPLACE_CMD} -e 's|../src/bltwish|${LOCALBASE}/bin/bltwish|' post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include .if ${TCL_VER} > 8.5 CFLAGS+= -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE .endif .include Index: head/x11-toolkits/fltk-devel/Makefile =================================================================== --- head/x11-toolkits/fltk-devel/Makefile (revision 412341) +++ head/x11-toolkits/fltk-devel/Makefile (revision 412342) @@ -1,46 +1,46 @@ # Created by: gahr # $FreeBSD$ PORTNAME= fltk DISTVERSION= 1.3.x-r${SNAPSHOT_VERS} PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= http://fltk.org/pub/${PORTNAME}/snapshots/ PKGNAMESUFFIX= -devel MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform C++ graphical user interface toolkit LICENSE= LGPL20 LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig OPTIONS_DEFINE= EXAMPLES EXAMPLES_CMAKE_OFF= -DOPTION_BUILD_EXAMPLES:BOOL=OFF USE_XORG= xft USE_GL= glu USE_LDCONFIG= ${PREFIX}/lib/fltk-devel USES+= cmake:outsource jpeg LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS+= -DOPTION_BUILD_SHARED_LIBS:BOOL=ON \ - -DPREFIX_BIN:PATH=${PREFIX}/bin/fltk-devel \ + -DPREFIX_BIN:PATH=${PREFIX}/bin/fltk-devel \ -DPREFIX_DATA:PATH=${PREFIX}/share/fltk-devel \ -DPREFIX_DOC:PATH=${PREFIX}/share/examples/fltk-devel \ -DPREFIX_INCLUDE:PATH=${PREFIX}/include/fltk-devel \ -DPREFIX_LIB:PATH=${PREFIX}/lib/fltk-devel SNAPSHOT_VERS= 10370 PORTEXAMPLES= * EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX} PORTSCOUT= limit:1.3.* post-install: ${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/fltk-config ${STAGEDIR}${PREFIX}/bin/fltk-devel ${LN} -sf fltk-devel/libfltk.so ${STAGEDIR}${PREFIX}/lib/libfltk-devel.so .include Index: head/x11-toolkits/fox16/Makefile =================================================================== --- head/x11-toolkits/fox16/Makefile (revision 412341) +++ head/x11-toolkits/fox16/Makefile (revision 412342) @@ -1,111 +1,111 @@ # Created by: Alexander Novitsky # $FreeBSD$ PORTNAME= fox PORTVERSION= 1.6.51 CATEGORIES= x11-toolkits MASTER_SITES= ftp://ftp.fox-toolkit.org/pub/ \ - http://ftp.fox-toolkit.org/pub/ + http://ftp.fox-toolkit.org/pub/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT= Fast and extensive C++ GUI toolkit -- ver.1.6 LICENSE= LGPL3+ LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff USES= jpeg libtool pathfix USE_GL= glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-opengl --with-x --with-xim USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include -fPIC LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= MAJORVER="${MAJORVER}" PORTDOCS= * OPTIONS_DEFINE= APPS DEBUG DOCS OPTIMIZED_CFLAGS PROFILE SHM \ XCURSOR XFT XINPUT XRANDR XRENDER OPTIONS_DEFAULT= SHM XCURSOR XFT XINPUT XRANDR XRENDER OPTIONS_SUB= yes APPS_DESC= Install sample applications DEBUG_CONFIGURE_ON= --enable-debug DEBUG_CONFIGURE_OFF= --enable-release OPTIMIZED_CFLAGS_CXXFLAGS=\ -ffast-math -fexpensive-optimizations \ -finline-functions -fomit-frame-pointer PROFILE_CONFIGURE_ON= --with-profiling=gprof SHM_DESC= Shared Memory support SHM_CONFIGURE_ON= --with-xshm=yes SHM_CONFIGURE_OFF= --with-xshm=no XCURSOR_USE= xorg=xcursor XCURSOR_CONFIGURE_ON= --with-xcursor=yes XCURSOR_CONFIGURE_OFF= --with-xcursor=no XFT_USE= xorg=xft XFT_CONFIGURE_ON= --with-xft=yes XFT_CONFIGURE_OFF= --with-xft=no XFT_CPPFLAGS= $$(freetype-config --cflags) XFT_LDFLAGS= $$(freetype-config --libs) XFT_IMPLIES= XRENDER XINPUT_DESC= X Input extension library support XINPUT_USE= xorg=xi XINPUT_CONFIGURE_ON= --with-xinput=yes XINPUT_CONFIGURE_OFF= --with-xinput=no XRANDR_USE= xorg=xrandr XRANDR_CONFIGURE_ON= --with-xrandr=yes XRANDR_CONFIGURE_OFF= --with-xrandr=no XRENDER_DESC= X Render extension library support XRENDER_USE= xorg=xrender XRENDER_CONFIGURE_ON= --with-xrender=yes XRENDER_CONFIGURE_OFF= --with-xrender=no MAJORVER= ${PORTVERSION:R} post-patch: # Rename man pages as in manpage.1 --> manpage-16.1 to avoid # conflicts with fox14 and fox17 files=$$(${FIND} ${WRKSRC} -name *.1); \ for f in $$files; do \ ${MV} $$f `${ECHO_CMD} $$f | ${SED} -e 's|\.1|-16.1|'`; \ done; @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ '/man_MANS/s|\.1|-16.1|g' @${REINPLACE_CMD} -e \ '/^Libs:/s|$$| -pthread|; \ s|"||g' ${WRKSRC}/fox.pc.in # CXXFLAGS safeness @${REINPLACE_CMD} -e \ 's|^\(CXXFLAGS=""\)|#\1|; \ /CXXFLAGS/s|-O2 ||; \ /CXXFLAGS/s|\(-Wuninitialized\).*"|\1"|; \ /LDFLAGS/s|-s ||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} # doc prefix safeness @${REINPLACE_CMD} -e \ 's|^\(htmldir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e \ 's|^\(artdir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/art/Makefile.in @${REINPLACE_CMD} -e \ 's|^\(screenshotsdir\).*$$|\1=${DOCSDIR}/html|' \ ${WRKSRC}/doc/screenshots/Makefile.in post-patch-APPS-off: @${REINPLACE_CMD} -e \ 's|^\(SUBDIRS.*\)adie|\1|; \ s|^\(SUBDIRS.*\)pathfinder|\1|; \ s|^\(SUBDIRS.*\)calculator|\1|' \ ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libCHART-${MAJORVER}.so.[0-9].* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libFOX-${MAJORVER}.so.[0-9].* .include Index: head/x11-toolkits/gnocl/Makefile =================================================================== --- head/x11-toolkits/gnocl/Makefile (revision 412341) +++ head/x11-toolkits/gnocl/Makefile (revision 412342) @@ -1,47 +1,47 @@ # Created by: Stephane Legrand # $FreeBSD$ PORTNAME= gnocl DISTVERSION= ${BASE_VERSION}-${NIGHTLY_BUILD} CATEGORIES= x11-toolkits devel MASTER_SITES= SF/${PORTNAME}/Gnocl-Nightly-Build/ MAINTAINER= tcltk@FreeBSD.org COMMENT= GTK+ and Gnome extension for Tcl LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/license.terms LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libcanberra.so:${PORTSDIR}/audio/libcanberra \ - libnotify.so:${PORTSDIR}/devel/libnotify \ + libnotify.so:${PORTSDIR}/devel/libnotify \ libgtkimageview.so:${PORTSDIR}/x11-toolkits/gtkimageview USES= gmake pkgconfig tar:bzip2 tcl USE_GNOME= gtk20 libglade2 USE_LDCONFIG= yes CFLAGS+= -I${TCL_INCLUDEDIR} -L${TCL_LIBDIR} BASE_VERSION= 0.9.96 NIGHTLY_BUILD= 31-08-13 WRKSRC= ${WRKDIR}/${PORTNAME}-${BASE_VERSION} BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${BUILD_WRKSRC} BASEDIR= lib/${PORTNAME}${BASE_VERSION} PLIST_FILES= ${BASEDIR}/${PORTNAME}.so \ ${BASEDIR}/pkgIndex.tcl post-extract: ${CHMOD} -R u+w ${WRKSRC} post-patch: ${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|; \ s|%%LOCALBASE%%|${LOCALBASE}|; \ s|%%SHORT_TCL_VER%%|${TCL_VER:S/.//}|' \ ${BUILD_WRKSRC}/Makefile ${REINPLACE_CMD} -e 's|\[info library\]|${STAGEDIR}${PREFIX}/lib|; s|tclsh|${TCLSH}|g;' ${BUILD_WRKSRC}/install.tcl .include Index: head/x11-toolkits/gtk-sharp10/Makefile =================================================================== --- head/x11-toolkits/gtk-sharp10/Makefile (revision 412341) +++ head/x11-toolkits/gtk-sharp10/Makefile (revision 412342) @@ -1,34 +1,34 @@ # Created by: Juli Mallett # $FreeBSD$ PORTNAME= gtk-sharp PORTVERSION= 1.0.10 PORTREVISION= 22 CATEGORIES= x11-toolkits MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ PKGNAMESUFFIX= 10 MAINTAINER= mono@FreeBSD.org COMMENT= GTK+ and GNOME interfaces for the .NET runtime BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono RUN_DEPENDS= mono:${PORTSDIR}/lang/mono GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USES= gmake libtool mono pathfix perl5 pkgconfig USE_LDCONFIG= yes USE_PERL5= run USE_GNOME= gtkhtml3 vte librsvg2 libgnomecanvas \ libgnomeprintui libglade2 libgnomeui post-patch: @${FIND} ${WRKSRC} -name '*.pl' -o -name 'gapi-parser' | ${XARGS} \ - ${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' + ${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' @${REINPLACE_CMD} -e 's|enable_gda=yes|enable_gda=no|g ; \ s|enable_gnomedb=yes|enable_gnomedb=no|g ; \ s|libgtkhtml-3.8|libgtkhtml-3.14|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/glib/glue/slist.c ${WRKSRC}/glib/glue/list.c .include Index: head/x11-wm/e16/Makefile =================================================================== --- head/x11-wm/e16/Makefile (revision 412341) +++ head/x11-wm/e16/Makefile (revision 412342) @@ -1,49 +1,49 @@ # Created by: Yukihiro Nakai # $FreeBSD$ PORTNAME= e16 PORTVERSION= 1.0.17 CATEGORIES= x11-wm enlightenment MASTER_SITES= SF/enlightenment/${PORTNAME}/${PORTVERSION}/ MAINTAINER= gahr@FreeBSD.org COMMENT= Enlightenment DR16 window manager LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2 OPTIONS_DEFINE= DOCS NLS SOUND OPTIONS_SUB= yes SOUND_DESC= Sound support via pulseaudio/libsndfile SOUND_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio \ - libsndfile.so:${PORTSDIR}/audio/libsndfile + libsndfile.so:${PORTSDIR}/audio/libsndfile SOUND_CONFIGURE_ON= --enable-sound \ --enable-sound-pulse \ --with-sndldr=sndfile SOUND_CONFIGURE_OFF= --disable-sound \ --with-sndldr=none NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls DOCS_CONFIGURE_ON= --enable-docs=yes DOCS_CONFIGURE_OFF= --enable-docs=no USE_XORG= compositeproto damageproto xextproto x11 xbitmaps xcomposite xdamage \ xext xfixes xft xinerama xrandr xrender xxf86vm USES= gettext gmake iconv libtool perl5 pkgconfig shebangfix SHEBANG_FILES= scripts/e_gen_menu CFLAGS+= -Wno-unused-parameter GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-rpath --enable-mans SHELL=/bin/sh post-patch: ${REINPLACE_CMD} -e 's|$$(USER)|${SHAREOWN}:${SHAREGRP}|g' \ ${WRKSRC}/themes/Makefile.am ${WRKSRC}/themes/Makefile.in post-patch-DOCS-off: ${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in .include Index: head/x11-wm/wmakerconf/Makefile =================================================================== --- head/x11-wm/wmakerconf/Makefile (revision 412341) +++ head/x11-wm/wmakerconf/Makefile (revision 412342) @@ -1,52 +1,52 @@ # Created by: Dominik Rothert # $FreeBSD$ # $MCom: ports/x11-wm/wmakerconf/Makefile,v 1.2 2006/10/05 07:31:44 mezz Exp $ PORTNAME= wmakerconf PORTVERSION= 2.12 PORTREVISION= 11 CATEGORIES= x11-wm MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Configuration tool for Window Maker LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libWINGs.so:${PORTSDIR}/x11-wm/windowmaker RUN_DEPENDS= rpm:${PORTSDIR}/archivers/rpm4 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GNOME= gtk20 USES= gettext pkgconfig perl5 gmake shebangfix SHEBANG_FILES= scripts/getfile.pl.in scripts/upgrade.pl.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-wmakerdataprefix="${LOCALBASE}/share" \ --with-wmakeretcprefix="${LOCALBASE}/share" USE_XORG= x11 LIBS+= -L${LOCALBASE}/lib -lX11 post-extract: @${FIND} ${WRKSRC} -name "*.gmo" -delete post-patch: @${REINPLACE_CMD} -e 's|lynx wget|lynx fetch|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|$$(prefix)/share/locale|${STAGEDIR}${PREFIX}/share/locale|g' \ ${WRKSRC}/data/po/Makefile.am ${WRKSRC}/data/po/Makefile.in \ ${WRKSRC}/po/Makefile.in.in @${REINPLACE_CMD} -e '/chmod 0/d' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -E '/\/usr\/share/d; \ s|/usr/local|${LOCALBASE}|g ; \ - s|/usr/X11R6|${LOCALBASE}|g; \ + s|/usr/X11R6|${LOCALBASE}|g; \ s|(share/pixmaps.*),|\1|g' \ ${WRKSRC}/data/WMWmakerconf* .for file in data/po/ja.po po/ja.po @${REINPLACE_CMD} -e 's|JISX-0208-1983-0|euc-jp|g' ${WRKSRC}/${file} .endfor @${FIND} ${WRKSRC}/src -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ '/WMWritePropListToFile/s|,[[:space:]]YES||g' .include