Index: head/Mk/Uses/bdb.mk =================================================================== --- head/Mk/Uses/bdb.mk (revision 458512) +++ head/Mk/Uses/bdb.mk (revision 458513) @@ -1,253 +1,245 @@ # $FreeBSD$ # # Provide support for Berkeley DB # Feature: bdb # Usage: USES= bdb[:version] # # If no version is given (by the maintainer via the port or # by the user via defined variable), try to find the # currently installed version. Fall back to default if # necessary (db5 if compatible). # This adds a "debug-bdb" make target which will dump the # related data. # INVALID_BDB_VER # - This variable can be defined when the port does not # support one or more versions of Berkeley DB. -# WITH_BDB_VER -# - User defined global variable to set Berkeley DB version. -# Deprecated, use DEFAULT_VERSIONS+=bdb=xx # _WITH_BDB_VER # - User defined port specific variable to set Berkeley DB # version. # WITH_BDB_HIGHEST # - Use the highest installed version of Berkeley DB. # WITH_BDB6_PERMITTED # - If defined, BerkeleyDB 6 is added to the # default version set, making it eligible even # if not already installed. This is due to its # stricter Affero GNU Public License. # # These variables will then be filled in by this .mk file: # # BDB_LIB_NAME # - This variable is automatically set to the name of the # Berkeley DB library (default: db41). # BDB_LIB_CXX_NAME # - This variable is automatically set to the name of the # Berkeley DB C++ library (default: db41_cxx). # BDB_INCLUDE_DIR # - This variable is automatically set to the location of # the Berkeley DB include directory (default: # ${LOCALBASE}/include/db41). # BDB_LIB_DIR # - This variable is automatically set to the location of # the Berkeley DB library directory. # BDB_VER # - Detected Berkeley DB version. # # MAINTAINER: ports@FreeBSD.org .if !defined(_INCLUDE_USES_BDB_MK) _INCLUDE_USES_BDB_MK= yes .if !empty(bdb_ARGS) _bdb_ARGS:= ${bdb_ARGS} .endif _bdb_ARGS?= yes # TODO: avoid malformed conditional with invalid _bdb_ARGS/BDB_DEFAULT # check if + works properly from test builds 01h12m23s BDB_UNIQUENAME?= ${PKGNAMEPREFIX}${PORTNAME} - -.if defined(WITH_BDB_VER) -WARNING+= "WITH_BDB_VER is deprecated and will be removed on 2016-08-01. Use DEFAULT_VERSIONS+=bdb=${WITH_BDB_VER}" -BDB_DEFAULT:=${WITH_BDB_VER} -.endif _BDB_DEFAULT_save:=${BDB_DEFAULT} _DB_PORTS= 48 5 6 _DB_DEFAULTS= 48 5 # does not include 6 due to different licensing # but user can re-add it through WITH_BDB6_PERMITTED . if defined(WITH_BDB6_PERMITTED) _DB_DEFAULTS+= 6 . endif # Dependency lines for different db versions db48_DEPENDS= libdb-4.8.so:databases/db48 db5_DEPENDS= libdb-5.3.so:databases/db5 db6_DEPENDS= libdb-6.2.so:databases/db6 # Detect db versions by finding some files db48_FIND= ${LOCALBASE}/include/db48/db.h db5_FIND= ${LOCALBASE}/include/db5/db.h db6_FIND= ${LOCALBASE}/include/db6/db.h # Override the global BDB_DEFAULT with the # port specific _WITH_BDB_VER .if defined(${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER) BDB_DEFAULT= ${${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER} .endif # Override _bdb_ARGS with global BDB_DEFAULT if the maintainer did not # ask for a more specific version. . if ${_bdb_ARGS} == yes . if ${BDB_DEFAULT} != 1 _bdb_ARGS= ${BDB_DEFAULT} . else _bdb_ARGS:= 48+ . endif . endif # Compatiblity hack: # upgrade older plussed versions to 48+ _BDB_OLDPLUSVERS=4+ 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ .for i in ${_bdb_ARGS} . if ${_BDB_OLDPLUSVERS:M${i}} _bdb_ARGS:= 48+ . endif .endfor # 1. detect installed versions _INST_BDB_VER= .for bdb in ${_DB_PORTS} . if exists(${db${bdb}_FIND}) _INST_BDB_VER+=${bdb} . endif .endfor # 2. parse supported versions: # 2a. build list from _bdb_ARGS _SUPP_BDB_VER= __bdb_ARGS:=${_bdb_ARGS:C,\+$,,:C/(.)(.)$/\1.\2/} .if !empty(_bdb_ARGS:M*+) . for bdb in ${_DB_PORTS:C/(.)(.)$/\1.\2/} . if ${__bdb_ARGS} <= ${bdb} _SUPP_BDB_VER+=${bdb:C/\.//} . endif . endfor .else _SUPP_BDB_VER=${_bdb_ARGS} .endif # 2b. expand INVALID_BDB_VER if given with "+": .if !empty(INVALID_BDB_VER:M*+) _INV_BDB:=${INVALID_BDB_VER:C,\+$,,:C/(.)(.)$/\1.\2/} _INV_BDB_VER:= . for bdb in ${_DB_PORTS:C/(.)(.)$/\1.\2/} . if ${_INV_BDB} <= ${bdb} _INV_BDB_VER+=${bdb:C/\.//} . endif . endfor .else _INV_BDB_VER:=${INVALID_BDB_VER} .endif # 2c. strip versions from INVALID_BDB_VER out of _SUPP_BDB_VER .for unsupp in ${_INV_BDB_VER} _SUPP_BDB_VER:=${_SUPP_BDB_VER:N${unsupp}} .endfor # 3a. calculate intersection in _INST_BDB_VER to see if there # is a usable installed version .for i in ${_INST_BDB_VER} . if empty(_SUPP_BDB_VER:M${i}) _INST_BDB_VER:= ${_INST_BDB_VER:N${i}} . endif .endfor _ELIGIBLE_BDB_VER:=${_INST_BDB_VER} # 3b. if there is no usable version installed, check defaults .if empty(_INST_BDB_VER) _DFLT_BDB_VER:=${_DB_DEFAULTS} # make sure we use a reasonable version for package builds _WITH_BDB_HIGHEST=yes . for i in ${_DFLT_BDB_VER} . if empty(_SUPP_BDB_VER:M${i}) _DFLT_BDB_VER:= ${_DFLT_BDB_VER:N${i}} . endif . endfor _ELIGIBLE_BDB_VER:=${_DFLT_BDB_VER} .endif # 4. elect a version _BDB_VER= .for i in ${_ELIGIBLE_BDB_VER} . if !empty(WITH_BDB_HIGHEST) || !empty(_WITH_BDB_HIGHEST) || empty(${_BDB_VER}) _BDB_VER:=${i} . endif .endfor # 5. catch errors or set variables .if empty(_BDB_VER) IGNORE= cannot install: no eligible BerkeleyDB version. Requested: ${_bdb_ARGS}, incompatible: ${_INV_BDB_VER}. Try: make debug-bdb .else . if defined(BDB_BUILD_DEPENDS) BUILD_DEPENDS+= ${db${_BDB_VER}_FIND}:${db${_BDB_VER}_DEPENDS:C/^libdb.*://} . else LIB_DEPENDS+= ${db${_BDB_VER}_DEPENDS} . endif . if ${_BDB_VER} == 48 BDB_LIB_NAME= db-4.8 BDB_LIB_CXX_NAME= db_cxx-4.8 BDB_LIB_DIR= ${LOCALBASE}/lib/db48 . elif ${_BDB_VER} == 5 BDB_LIB_NAME= db-5.3 BDB_LIB_CXX_NAME= db_cxx-5.3 BDB_LIB_DIR= ${LOCALBASE}/lib/db5 . elif ${_BDB_VER} == 6 BDB_LIB_NAME= db-6.2 BDB_LIB_CXX_NAME= db_cxx-6.2 BDB_LIB_DIR= ${LOCALBASE}/lib/db6 . endif BDB_LIB_NAME?= db${_BDB_VER} BDB_LIB_CXX_NAME?= db${_BDB_VER}_cxx BDB_INCLUDE_DIR?= ${LOCALBASE}/include/db${_BDB_VER} BDB_LIB_DIR?= ${LOCALBASE}/lib .endif BDB_VER= ${_BDB_VER} debug-bdb: @${ECHO_CMD} "--INPUTS----------------------------------------------------" @${ECHO_CMD} "${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER: ${${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER}" @${ECHO_CMD} "BDB_DEFAULT: ${_BDB_DEFAULT_save}" @${ECHO_CMD} "BDB_BUILD_DEPENDS: ${BDB_BUILD_DEPENDS}" @${ECHO_CMD} "bdb_ARGS (original): ${bdb_ARGS}" @${ECHO_CMD} "WITH_BDB_HIGHEST (original): ${WITH_BDB_HIGHEST}" @${ECHO_CMD} "--PROCESSING------------------------------------------------" @${ECHO_CMD} "supported versions: ${_SUPP_BDB_VER}" @${ECHO_CMD} "invalid versions: ${_INV_BDB_VER}" @${ECHO_CMD} "installed versions: ${_INST_BDB_VER}" @${ECHO_CMD} "eligible versions: ${_ELIGIBLE_BDB_VER}" @${ECHO_CMD} "bdb_ARGS (effective): ${_bdb_ARGS}" @${ECHO_CMD} "WITH_BDB_HIGHEST (override): ${_WITH_BDB_HIGHEST}" @${ECHO_CMD} "--OUTPUTS---------------------------------------------------" @${ECHO_CMD} "IGNORE=${IGNORE}" @${ECHO_CMD} "BDB_VER=${BDB_VER}" @${ECHO_CMD} "BDB_INCLUDE_DIR=${BDB_INCLUDE_DIR}" @${ECHO_CMD} "BDB_LIB_NAME=${BDB_LIB_NAME}" @${ECHO_CMD} "BDB_LIB_CXX_NAME=${BDB_LIB_CXX_NAME}" @${ECHO_CMD} "BDB_LIB_DIR=${BDB_LIB_DIR}" @${ECHO_CMD} "BUILD_DEPENDS=${BUILD_DEPENDS:M*/databases/db*}" @${ECHO_CMD} "LIB_DEPENDS=${LIB_DEPENDS:M*/databases/db*}" @${ECHO_CMD} "------------------------------------------------------------" # Obsolete variables - ports can define these to want users about # variables that may be in /etc/make.conf but that are no longer # effective: .if defined(OBSOLETE_BDB_VAR) . for var in ${OBSOLETE_BDB_VAR} . if defined(${var}) BAD_VAR+= ${var}, . endif . endfor . if defined(BAD_VAR) _IGNORE_MSG= Obsolete variable(s) ${BAD_VAR} use DEFAULT_VERSIONS or ${BDB_UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER to select Berkeley DB version . if defined(IGNORE) IGNORE+= ${_IGNORE_MSG} . else IGNORE= ${_IGNORE_MSG} . endif . endif .endif .endif Index: head/Mk/Uses/cran.mk =================================================================== --- head/Mk/Uses/cran.mk (revision 458512) +++ head/Mk/Uses/cran.mk (revision 458513) @@ -1,78 +1,78 @@ # $FreeBSD$ # # Use the Comprehensive R Archive Network # # Feature: cran # Usage: USES=cran or USES=cran:ARGS # Valid ARGS: auto-plist, compiles # # auto-plist The pkg-plist is to be automatically generated # compiles The port has code that needs to be compiled # # MAINTAINER= dbn@FreeBSD.org .if !defined(_INCLUDE_USES_CRAN_MK) _INCLUDE_USES_CRAN_MK= yes MASTER_SITES?= CRAN/src/contrib CRAN_ARCHIVE/src/contrib BUILD_DEPENDS+= ${LOCALBASE}/bin/R:math/R RUN_DEPENDS+= ${LOCALBASE}/bin/R:math/R PKGNAMEPREFIX?= R-cran- R_LIB_DIR= lib/R/library R_MOD_DIR?= ${R_LIB_DIR}/${PORTNAME} PLIST_SUB+= R_MOD_DIR=${R_MOD_DIR} WRKSRC?= ${WRKDIR}/${PORTNAME} NO_BUILD= yes R_COMMAND= ${LOCALBASE}/bin/R .if !target(do-test) R_POSTCMD_CHECK_OPTIONS?= --timings .if !exists(${LOCALBASE}/bin/pdflatex) R_POSTCMD_CHECK_OPTIONS+= --no-manual --no-build-vignettes .endif do-test: @${FIND} ${WRKSRC} \( -name '*.o' -o -name '*.so' \) -delete @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} _R_CHECK_FORCE_SUGGESTS_=FALSE \ ${R_COMMAND} ${R_PRECMD_CHECK_OPTIONS} CMD check \ ${R_POSTCMD_CHECK_OPTIONS} ${PORTNAME} .endif .if !target(do-install) R_POSTCMD_INSTALL_OPTIONS+= -l ${STAGEDIR}${PREFIX}/${R_LIB_DIR} R_POSTCMD_INSTALL_OPTIONS+= --install-tests -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) R_POSTCMD_INSTALL_OPTIONS+= --no-docs --no-html .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${R_LIB_DIR} @cd ${WRKDIR} ; ${SETENV} ${MAKE_ENV} ${R_COMMAND} \ ${R_PRECMD_INSTALL_OPTIONS} CMD INSTALL \ ${R_POSTCMD_INSTALL_OPTIONS} ${PORTNAME} .endif .if ${cran_ARGS:Mauto-plist} _USES_install+= 750:cran-auto-plist cran-auto-plist: @${FIND} -ds ${STAGEDIR}${PREFIX}/${R_MOD_DIR} \( -type f -or -type l \) -print | \ ${SED} -E -e 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} .endif .if ${cran_ARGS:Mcompiles} _USES_install+= 755:cran-strip cran-strip: ${FIND} ${STAGEDIR}${PREFIX}/${R_MOD_DIR} -name '*.so' -exec ${STRIP_CMD} {} + .include "${PORTSDIR}/math/R/compiler.mk" .include "${USESDIR}/fortran.mk" .else NO_ARCH= yes .endif .endif #_INCLUDE_USES_CRAN_MK Index: head/Mk/Uses/gem.mk =================================================================== --- head/Mk/Uses/gem.mk (revision 458512) +++ head/Mk/Uses/gem.mk (revision 458513) @@ -1,135 +1,135 @@ # $FreeBSD$ # # Support rubygem packages # # Feature: gem # Usage: USES=gem[:noautoplist] # Valid args: noautoplist Don't generate the plist automatically # # MAINTAINER: portmgr@FreeBSD.org .if !defined(_INCLUDE_USES_GEM_MK) _INCLUDE_USES_GEM_MK= yes _valid_ARGS= noautoplist # Sanity check .for arg in ${gem_ARGS} . if empty(_valid_ARGS:M${arg}) IGNORE= Incorrect 'USES+= gem:${gem_ARGS}' usage: argument [${arg}] is not recognized . endif .endfor BUILD_DEPENDS+= ${RUBYGEMBIN}:devel/ruby-gems RUN_DEPENDS+= ${RUBYGEMBIN}:devel/ruby-gems PKGNAMEPREFIX?= rubygem- EXTRACT_SUFX= .gem EXTRACT_ONLY= DIST_SUBDIR= rubygem EXTRACT_DEPENDS+= ${RUBYGEMBIN}:devel/ruby-gems GEMS_BASE_DIR= lib/ruby/gems/${RUBY_VER} GEMS_DIR= ${GEMS_BASE_DIR}/gems DOC_DIR= ${GEMS_BASE_DIR}/doc CACHE_DIR= ${GEMS_BASE_DIR}/cache SPEC_DIR= ${GEMS_BASE_DIR}/specifications EXT_DIR= ${GEMS_BASE_DIR}/extensions GEM_NAME?= ${DISTNAME} GEM_LIB_DIR?= ${GEMS_DIR}/${GEM_NAME} GEM_DOC_DIR?= ${DOC_DIR}/${GEM_NAME} GEM_SPEC?= ${SPEC_DIR}/${GEM_NAME}.gemspec GEM_CACHE?= ${CACHE_DIR}/${GEM_NAME}.gem GEMSPEC= ${PORTNAME}.gemspec GEM_ENV+= RB_USER_INSTALL=yes USE_LOCALE?= en_US.UTF-8 GEM_ENV+= LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE} PLIST_SUB+= PORTVERSION="${PORTVERSION}" \ REV="${RUBY_GEM}" \ GEMS_BASE_DIR="lib/ruby/gems/${RUBY_VER}" \ GEMS_DIR="${GEMS_DIR}" \ DOC_DIR="${DOC_DIR}" \ CACHE_DIR="${CACHE_DIR}" \ SPEC_DIR="${SPEC_DIR}" \ EXT_DIR="${EXT_DIR}" \ PORT="${PORTNAME}-${PORTVERSION}" \ GEM_NAME="${GEM_NAME}" \ GEM_LIB_DIR="${GEM_LIB_DIR}" \ GEM_DOC_DIR="${GEM_DOC_DIR}" \ GEM_SPEC="${GEM_SPEC}" \ GEM_CACHE="${GEM_CACHE}" \ EXTRACT_SUFX="${EXTRACT_SUFX}" RUBYGEMBIN= ${LOCALBASE}/bin/gem${RUBY_VER:S/.//} . if defined(DISTFILES) GEMFILES= ${DISTFILES:C/:[^:]+$//} . else GEMFILES= ${DISTNAME}${EXTRACT_SUFX} . endif RUBYGEM_ARGS=-l --no-update-sources --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} --ignore-dependencies --bindir=${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} RUBYGEM_ARGS+= --rdoc --ri .else RUBYGEM_ARGS+= --no-rdoc --no-ri .endif .if !target(do-extract) do-extract: @${SETENV} ${GEM_ENV} ${RUBYGEMBIN} unpack --target=${WRKDIR} ${DISTDIR}/${DIST_SUBDIR}/${GEMFILES} @(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} spec --ruby ${DISTDIR}/${DIST_SUBDIR}/${GEMFILES} > ${GEMSPEC} ; then \ if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Extraction failed unexpectedly."; \ (${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT_80} ; \ fi; \ ${FALSE}; \ fi) .endif .if !target(do-build) do-build: @(cd ${BUILD_WRKSRC}; if ! ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} build --force ${GEMSPEC} ; then \ if [ -n "${BUILD_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Compilation failed unexpectedly."; \ (${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") | ${FMT_80} ; \ fi; \ ${FALSE}; \ fi) .endif .if !target(do-install) do-install: (cd ${BUILD_WRKSRC}; ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install ${RUBYGEM_ARGS} ${GEMFILES} -- --build-args ${CONFIGURE_ARGS}) ${RM} -r ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR}/build_info/ ${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f -name '*.so' -exec ${STRIP_CMD} {} + ${FIND} ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -type f \( -name mkmf.log -or -name gem_make.out \) -delete ${RM} -r ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/ext \ ${STAGEDIR}${PREFIX}/${CACHE_DIR} 2> /dev/null || ${TRUE} ${RMDIR} ${STAGEDIR}${PREFIX}/${EXT_DIR} 2> /dev/null || ${TRUE} -.if defined(NOPORTDOCS) +.if !${PORT_OPTIONS:MDOCS} -@${RMDIR} ${STAGEDIR}${PREFIX}/${DOC_DIR} .endif .endif .if empty(gem_ARGS:Mnoautoplist) _USES_install+= 820:gem-autoplist gem-autoplist: @${ECHO} ${GEM_SPEC} >> ${TMPPLIST} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${FIND} -ds ${STAGEDIR}${PREFIX}/${DOC_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} .endif @${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} @if [ -d ${STAGEDIR}${PREFIX}/${EXT_DIR} ]; then \ ${FIND} -ds ${STAGEDIR}${PREFIX}/${EXT_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} ; \ fi .endif .endif Index: head/Mk/bsd.default-versions.mk =================================================================== --- head/Mk/bsd.default-versions.mk (revision 458512) +++ head/Mk/bsd.default-versions.mk (revision 458513) @@ -1,145 +1,127 @@ # $FreeBSD$ # # MAINTAINER: ports@FreeBSD.org # # Provide default versions for ports with multiple versions selectable # by the user. # # Users who want to override these defaults can easily do so by defining # DEFAULT_VERSIONS in their make.conf as follows: # # DEFAULT_VERSIONS= perl5=5.20 ruby=2.0 .if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK) _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes LOCALBASE?= /usr/local .for lang in APACHE BDB FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT LINUX LUA MYSQL \ PERL5 PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY SSL TCLTK .if defined(${lang}_DEFAULT) -WARNING+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf" -WARNING+= "This behaviour has never been supported and will be removed on 2017-01-31" +ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf" .endif #.undef ${lang}_DEFAULT .endfor .for lang in ${DEFAULT_VERSIONS} _l= ${lang:C/=.*//g} ${_l:tu}_DEFAULT= ${lang:C/.*=//g} .endfor # Possible values: 2.2, 2.4 APACHE_DEFAULT?= 2.4 # Possible values: 48, 5, 6 BDB_DEFAULT?= 5 # Possible values: 2.5 FIREBIRD_DEFAULT?= 2.5 # Possible values: flang (experimental), gfortran FORTRAN_DEFAULT?= gfortran # Possible values: 3.0.0 FPC_DEFAULT?= 3.0.2 # Possible values: 4.9, 5, 6, 7 GCC_DEFAULT?= 6 # Possible values: 7, 8, 9, agpl GHOSTSCRIPT_DEFAULT?= agpl .if ${ARCH} == amd64 # Possible values: c6, c6_64, c7 LINUX_DEFAULT?= c6_64 .else # Possible values: c6 LINUX_DEFAULT?= c6 .endif -.if defined(OVERRIDE_LINUX_BASE_PORT) -LINUX_DEFAULT:= ${OVERRIDE_LINUX_BASE_PORT} -WARNING+= "OVERRIDE_LINUX_BASE_PORT is deprecated, please use DEFAULT_VERSIONS+=linux=${OVERRIDE_LINUX_BASE_PORT}." -.endif # Possible values: 5.1, 5.2, 5.3 LUA_DEFAULT?= 5.2 # Possible values: 5.5, 5.6, 5.7, 8.0, 5.5m, 10.0m, 10.1m, 10.2m, 5.5p, 5.6p, 5.7p, 5.6w MYSQL_DEFAULT?= 5.6 # Possible values: 5.22, 5.24, 5.26, devel .if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ defined(PACKAGE_BUILDING)) PERL5_DEFAULT?= 5.24 .elif !defined(PERL5_DEFAULT) # There's no need to replace development versions, like "5.23" with "devel" # because 1) nobody is supposed to use it outside of poudriere, and 2) it must # be set manually in /etc/make.conf in the first place, and we're never getting # in here. .if !defined(_PERL5_FROM_BIN) _PERL5_FROM_BIN!= perl -e 'printf "%vd\n", $$^V;' .endif _EXPORTED_VARS+= _PERL5_FROM_BIN PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R} .endif # Possible values: 9.2, 9.3, 9.4, 9.5, 9.6 PGSQL_DEFAULT?= 9.5 # Possible values: 5.6, 7.0, 7.1, 7.2 PHP_DEFAULT?= 5.6 # Possible values: 2.7, 3.4, 3.5, 3.6 PYTHON_DEFAULT?= 2.7 # Possible values: 2.7 PYTHON2_DEFAULT?= 2.7 # Possible values: 3.4, 3.5, 3.6 PYTHON3_DEFAULT?= 3.6 # Possible values: 2.2, 2.3, 2.4, 2.5 RUBY_DEFAULT?= 2.4 # Possible values: 4.4, 4.5, 4.6, 4.7 SAMBA_DEFAULT?= 4.6 # Possible values: base, openssl, openssl-devel, libressl, libressl-devel .if !defined(SSL_DEFAULT) # If no preference was set, check for an installed base version # but give an installed port preference over it. -. if defined(WITH_OPENSSL_PORT) -. if defined(OPENSSL_PORT) -SSL_DEFAULT:=${OPENSSL_PORT:T} -WARNING+= "Using WITH_OPENSSL_PORT and OPENSSL_PORT in make.conf is deprecated, replace them with DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} in your make.conf" -. else -SSL_DEFAULT=openssl -WARNING+= "Using WITH_OPENSSL_PORT in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=ssl=openssl in your make.conf" -. endif -. elif defined(WITH_OPENSSL_BASE) -SSL_DEFAULT=base -WARNING+= "Using WITH_OPENSSL_BASE in make.conf is deprecated, replace it with DEFAULT_VERSIONS+=ssl=base in your make.conf" -. elif !defined(WITH_OPENSSL_BASE) && \ - !defined(WITH_OPENSSL_PORT) && \ - !defined(SSL_DEFAULT) && \ +. if !defined(SSL_DEFAULT) && \ !exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) && \ exists(${DESTDIR}/usr/include/openssl/opensslv.h) SSL_DEFAULT= base . else . if exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) . if defined(PKG_BIN) # find installed port and use it for dependency . if !defined(OPENSSL_INSTALLED) . if defined(DESTDIR) PKGARGS= -c ${DESTDIR} . else PKGARGS= . endif OPENSSL_INSTALLED!= ${PKG_BIN} ${PKGARGS} which -qo ${LOCALBASE}/lib/libcrypto.so || : . endif . if defined(OPENSSL_INSTALLED) && !empty(OPENSSL_INSTALLED) SSL_DEFAULT:= ${OPENSSL_INSTALLED:T} WARNING+= "You have ${OPENSSL_INSTALLED} installed but do not have DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} set in your make.conf" . endif . else check-makevars:: @${ECHO_MSG} "You have a ${LOCALBASE}/lib/libcrypto.so file installed, but the framework is unable" @${ECHO_MSG} "to determine what port it comes from." @${ECHO_MSG} "Add DEFAULT_VERSIONS+=ssl= to your /etc/make.conf and try again." @${FALSE} . endif . endif . endif # Make sure we have a default in the end SSL_DEFAULT?= base .endif # Possible values: 8.5, 8.6, 8.7 TCLTK_DEFAULT?= 8.6 # Possible values: 4, 5 VARNISH_DEFAULT?= 4 .endif Index: head/Mk/bsd.options.mk =================================================================== --- head/Mk/bsd.options.mk (revision 458512) +++ head/Mk/bsd.options.mk (revision 458513) @@ -1,657 +1,601 @@ # $FreeBSD$ # # These variables are used in port makefiles to define the options for a port. # # OPTIONS_DEFINE - List of options this ports accept # OPTIONS_DEFINE_${ARCH} - List of options this ports accept and are # specific to ${ARCH} # OPTIONS_DEFAULT - List of options activated by default # OPTIONS_DEFAULT_${ARCH} - List of options activated by default for a # given arch # # ${OPTION}_DESC - Description of the ${OPTION} # # OPTIONS_SINGLE - List of single-choice grouped options: 1 and # only 1 among N # OPTIONS_RADIO - List of radio-choice grouped options: 0 or 1 # among N # OPTIONS_MULTI - List of multiple-choice grouped options: at # least 1 among N # OPTIONS_GROUP - List of group-choice grouped options: 0 or # more among N # # OPTIONS_SINGLE_${NAME} - List of OPTIONS grouped as single choice (for # the single named as ${NAME} as defined in # OPTIONS_SINGLE) # OPTIONS_RADIO_${NAME} - List of OPTIONS grouped as radio choice (for # the radio named as ${NAME} as defined in # OPTIONS_RADIO) # OPTIONS_MULTI_${NAME} - List of OPTIONS grouped as multiple-choice # (for the multi named as ${NAME} as defined in # OPTIONS_MULTI) # OPTIONS_GROUP_${NAME} - List of OPTIONS grouped as group-choice (for # the group named as ${NAME} as defined in # OPTIONS_GROUP) # # OPTIONS_EXCLUDE - List of options unsupported (useful for slave ports) # OPTIONS_EXCLUDE_${ARCH} - List of options unsupported on a given ${ARCH} # OPTIONS_EXCLUDE_${OPSYS} - List of options unsupported on a given ${OPSYS} # OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R} - List of options unsupported on a given # ${OPSYS} and major version (8/9/10...) # OPTIONS_SLAVE - This is designed for slave ports, it removes an # option from the options list inherited from the # master port and it always adds it to PORT_OPTIONS # meaning activated # # These variables can be used in make.conf to configure options. They are # processed in the order listed below, i.e. later variables override the effects # of previous variables. Options saved using the options dialog are processed # right before OPTIONS_SET_FORCE. When building a port a dialog to configure # options will only appear if there are new options, i.e. options which have not # been configured before either using the option dialog in a previous build or # using the variables below. You can force the dialog to appear by running # "make config". # # OPTIONS_SET - List of options to enable for all ports. # OPTIONS_UNSET - List of options to disable for all ports. # ${OPTIONS_NAME}_SET - List of options to enable for a specific port. # ${OPTIONS_NAME}_UNSET - List of options to disable for a specific port. # # OPTIONS_SET_FORCE - List of options to enable for all ports. # OPTIONS_UNSET_FORCE - List of options to disable for all ports. # ${OPTIONS_NAME}_SET_FORCE - List of options to enable for a specific port. # ${OPTIONS_NAME}_UNSET_FORCE # - List of options to disable for a specific port. # # These variables can be used on the command line. They override the effects of # the make.conf variables above. # # WITH - Set options from the command line # WITHOUT - Unset options from the command line # # # These variables are strictly informational (read-only). They indicate the # current state of the selected options; they are space-delimited lists. # # SELECTED_OPTIONS - list of options set "on" # DESELECTED_OPTIONS - list of options set "off" # # # The following knobs are there to simplify the handling of OPTIONS in simple # cases : # # OPTIONS_SUB When defined it will add to PLIST_SUB: # Option enabled ${opt}="" # Option disabled ${opt}="@comment " # # ${opt}_CONFIGURE_ON When option is enabled, it will add its content to # the CONFIGURE_ARGS. # ${opt}_CONFIGURE_OFF When option is disabled, it will add its content to # the CONFIGURE_ARGS. # ${opt}_CONFIGURE_ENABLE Will add to CONFIGURE_ARGS: # Option enabled --enable-${content} # Option disabled --disable-${content} # ${opt}_CONFIGURE_WITH Will add to CONFIGURE_ARGS: # Option enabled --with-${content} # Option disabled --without-${content} # # ${opt}_CMAKE_ON When option is enabled, it will add its content to # the CMAKE_ARGS. # ${opt}_CMAKE_OFF When option is disabled, it will add its content to # the CMAKE_ARGS. # # ${opt}_CMAKE_BOOL Will add to CMAKE_ARGS: # Option enabled -D${content}:BOOL=true # Option disabled -D${content}:BOOL=false # ${opt}_CMAKE_BOOL_OFF Will add to CMAKE_ARGS: # Option enabled -D${content}:BOOL=false # Option disabled -D${content}:BOOL=true # # ${opt}_QMAKE_ON When option is enabled, it will add its content to # the QMAKE_ARGS. # ${opt}_QMAKE_OFF When option is disabled, it will add its content to # the QMAKE_ARGS. # # ${opt}_MESON_ON When option is enabled, it will add its # content to MESON_ARGS. # ${opt}_MESON_OFF When option is disabled, it will add its # content to MESON_ARGS. # # ${opt}_MESON_TRUE Will add to MESON_ARGS: # Option enabled -D${content}=true # Option disabled -D${content}=false # ${opt}_MESON_FALSE Will add to MESON_ARGS: # Option enabled -D${content}=false # Option disabled -D${content}=true # # ${opt}_MESON_YES Will add to MESON_ARGS: # Option enabled -D${content}=yes # Option disabled -D${content}=no # ${opt}_MESON_NO Will add to MESON_ARGS: # Option enabled -D${content}=no # Option disabled -D${content}=yes # # ${opt}_IMPLIES When opt is enabled, options named in IMPLIES will # get enabled too. # ${opt}_PREVENTS When opt is enabled, if any options in PREVENTS are # also enabled, it will produce an error. # ${opt}_PREVENTS_MSG Provides a message explaining why the options # cannot be selected together. # # ${opt}_USE= FOO=bar When option is enabled, it will enable # USE_FOO+= bar # If you need more than one option, you can do # FOO=bar,baz and you'll get USE_FOO=bar baz # ${opt}_USE_OFF= FOO=bar When option is disabled, it will enable # USE_FOO+= bar # # ${opt}_VARS= FOO=bar When option is enabled, it will set # FOO= bar # ${opt}_VARS= FOO+=bar When option is enabled, it will append # FOO+= bar # ${opt}_VARS_OFF= FOO=bar When option is disabled, it will set # FOO= bar # ${opt}_VARS_OFF= FOO+=bar When option is disabled, it will append # FOO+= bar # # For each of the depends target PKG FETCH EXTRACT PATCH BUILD LIB RUN, # defining ${opt}_${deptype}_DEPENDS will add its content to the actual # dependency when the option is enabled. Defining # ${opt}_${deptype}_DEPENDS_OFF will add its content to the actual dependency # when the option is disabled. # # For each of the variables in _OPTIONS_FLAGS below, defining # ${opt}_${variable} will add its content to the actual variable when the # option is enabled. Defining ${opt}_${variable}_OFF will add its content to # the actual variable when the option is disabled. ## # Set all the options available for the ports, beginning with the # global ones and ending with the ones decided by the maintainer. .if !defined(OPTIONSMKINCLUDED) OPTIONSMKINCLUDED= bsd.options.mk OPTIONS_NAME?= ${PKGORIGIN:S/\//_/} OPTIONS_FILE?= ${PORT_DBDIR}/${OPTIONS_NAME}/options _OPTIONS_FLAGS= ALL_TARGET BROKEN CATEGORIES CFLAGS CONFIGURE_ENV CONFLICTS \ CONFLICTS_BUILD CONFLICTS_INSTALL CPPFLAGS CXXFLAGS \ DESKTOP_ENTRIES DISTFILES EXTRA_PATCHES EXTRACT_ONLY \ GH_ACCOUNT GH_PROJECT GH_SUBDIR GH_TAGNAME GH_TUPLE IGNORE \ INFO INSTALL_TARGET LDFLAGS LIBS MAKE_ARGS MAKE_ENV \ MASTER_SITES PATCHFILES PATCH_SITES PLIST_DIRS PLIST_FILES \ PLIST_SUB PORTDOCS PORTEXAMPLES SUB_FILES SUB_LIST \ TEST_TARGET USES BINARY_ALIAS _OPTIONS_DEPENDS= PKG FETCH EXTRACT PATCH BUILD LIB RUN # The format here is target_family:priority:target-type _OPTIONS_TARGETS= fetch:300:pre fetch:500:do fetch:700:post \ extract:300:pre extract:500:do extract:700:post \ patch:300:pre patch:500:do patch:700:post \ configure:300:pre configure:500:do configure:700:post \ build:300:pre build:500:do build:700:post \ install:300:pre install:500:do install:700:post \ test:300:pre test:500:do test:700:post \ package:300:pre package:500:do package:700:post \ stage:800:post -# Set the default values for the global options, as defined by portmgr -.if !defined(NOPORTDOCS) -PORT_OPTIONS+= DOCS -.else -OPTIONS_WARNINGS+= "NOPORTDOCS" -WITHOUT+= DOCS -OPTIONS_WARNINGS_UNSET+= DOCS -.endif +PORT_OPTIONS+= DOCS NLS EXAMPLES IPV6 -.if !defined(WITHOUT_NLS) -PORT_OPTIONS+= NLS -.else -WITHOUT+= NLS -.endif - -.if !defined(NOPORTEXAMPLES) -PORT_OPTIONS+= EXAMPLES -.else -OPTIONS_WARNINGS+= "NOPORTEXAMPLES" -WITHOUT+= EXAMPLES -OPTIONS_WARNINGS_UNSET+= EXAMPLES -.endif - -PORT_OPTIONS+= IPV6 - # Add per arch options .for opt in ${OPTIONS_DEFINE_${ARCH}} .if empty(OPTIONS_DEFINE:M${opt}) OPTIONS_DEFINE+= ${opt} .endif .endfor # Add per arch defaults OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${ARCH}} _ALL_EXCLUDE= ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} \ ${OPTIONS_SLAVE} ${OPTIONS_EXCLUDE_${OPSYS}} \ ${OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R}} .for opt in ${OPTIONS_DEFINE:O:u} . if !${_ALL_EXCLUDE:M${opt}} . for opt_implied in ${${opt}_IMPLIES} . if ${_ALL_EXCLUDE:M${opt_implied}} _ALL_EXCLUDE+= ${opt} . endif . endfor . endif .endfor # Remove options the port maintainer doesn't want .for opt in ${_ALL_EXCLUDE:O:u} OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:N${opt}} OPTIONS_DEFINE:= ${OPTIONS_DEFINE:N${opt}} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} . for otype in SINGLE RADIO MULTI GROUP . for m in ${OPTIONS_${otype}} OPTIONS_${otype}_${m}:= ${OPTIONS_${otype}_${m}:N${opt}} . endfor . endfor .endfor # Remove empty SINGLE/GROUP/RADIO/MULTI # Can be empty because of exclude/slaves .for otype in SINGLE RADIO MULTI GROUP . for m in ${OPTIONS_${otype}} . if empty(OPTIONS_${otype}_${m}) OPTIONS_${otype}:= ${OPTIONS_${otype}:N${m}} . endif . endfor .endfor # Sort options ALL_OPTIONS:= ${OPTIONS_DEFINE:O:u} OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:O:u} # complete list COMPLETE_OPTIONS_LIST= ${ALL_OPTIONS} .for otype in SINGLE RADIO MULTI GROUP . for m in ${OPTIONS_${otype}} COMPLETE_OPTIONS_LIST+= ${OPTIONS_${otype}_${m}} . endfor .endfor ## Now create the list of activated options .if defined(OPTIONS_OVERRIDE) # Special case $OPTIONS_OVERRIDE; if it is defined forget about anything done # before NEW_OPTIONS= PORT_OPTIONS:= ${OPTIONS_OVERRIDE} .else NEW_OPTIONS= ${COMPLETE_OPTIONS_LIST} ## Set default options defined by the port maintainer PORT_OPTIONS+= ${OPTIONS_DEFAULT} ## Set system-wide defined options (set by user in make.conf) . for opt in ${OPTIONS_SET} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Remove the options excluded system-wide (set by user in make.conf) . for opt in ${OPTIONS_UNSET} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor ## Set the options specified per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_SET} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Unset the options excluded per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_UNSET} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor ## options files (from dialog) . if exists(${OPTIONS_FILE}) && !make(rmconfig) . include "${OPTIONS_FILE}" . endif . sinclude "${OPTIONS_FILE}.local" -### convert WITH and WITHOUT found in make.conf or reloaded from old optionsfile -# XXX once WITH_DEBUG is not magic any more, do remove the :NDEBUG from here. -.for opt in ${ALL_OPTIONS:NDEBUG} -.if defined(WITH_${opt}) -OPTIONS_WARNINGS+= "WITH_${opt}" -OPTIONS_WARNINGS_SET+= ${opt} -PORT_OPTIONS+= ${opt} -.endif -.if defined(WITHOUT_${opt}) -OPTIONS_WARNINGS+= "WITHOUT_${opt}" -OPTIONS_WARNINGS_UNSET+= ${opt} -PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} -.endif -.endfor - _OPTIONS_UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME} .for _k in SET UNSET SET_FORCE UNSET_FORCE .if defined(${_OPTIONS_UNIQUENAME}_${_k}) WARNING+= "You are using ${_OPTIONS_UNIQUENAME}_${_k} which is not supported any more, use:" WARNING+= "${OPTIONS_NAME}_${_k}= ${${_OPTIONS_UNIQUENAME}_${_k}}" .endif .endfor -.if defined(OPTIONS_WARNINGS) -WARNING+= "You are using the following deprecated options: ${OPTIONS_WARNINGS}" -WARNING+= "If you added them on the command line, you should replace them by" -WARNING+= "WITH=\"${OPTIONS_WARNINGS_SET}\" WITHOUT=\"${OPTIONS_WARNINGS_UNSET}\"" -WARNING+= "" -WARNING+= "If they are global options set in your make.conf, you should replace them with:" -.if defined(OPTIONS_WARNINGS_SET) -WARNING+= "OPTIONS_SET=${OPTIONS_WARNINGS_SET}" -.endif -.if defined(OPTIONS_WARNINGS_UNSET) -WARNING+= "OPTIONS_UNSET=${OPTIONS_WARNINGS_UNSET}" -.endif -WARNING+= "" -WARNING+= "If they are local to this port, you should use:" -.if defined(OPTIONS_WARNINGS_SET) -WARNING+= "${OPTIONS_NAME}_SET=${OPTIONS_WARNINGS_SET}" -.endif -.if defined(OPTIONS_WARNINGS_UNSET) -WARNING+= "${OPTIONS_NAME}_UNSET=${OPTIONS_WARNINGS_UNSET}" -.endif -.endif - ## Finish by using the options set by the port config dialog, if any . for opt in ${OPTIONS_FILE_SET} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor .for opt in ${OPTIONS_FILE_UNSET} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} .endfor .endif ## FORCE ## Set system-wide defined options (set by user in make.conf) . for opt in ${OPTIONS_SET_FORCE} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Remove the options excluded system-wide (set by user in make.conf) . for opt in ${OPTIONS_UNSET_FORCE} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor ## Set the options specified per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_SET_FORCE} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif . endfor ## Unset the options excluded per-port (set by user in make.conf) . for opt in ${${OPTIONS_NAME}_UNSET_FORCE} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endfor ## Cmdline always win over the rest .for opt in ${WITH} . if !empty(COMPLETE_OPTIONS_LIST:M${opt}) PORT_OPTIONS+= ${opt} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} . endif .endfor .for opt in ${WITHOUT} PORT_OPTIONS:= ${PORT_OPTIONS:N${opt}} NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} .endfor ## Enable options implied by other options # _PREVENTS is handled in bsd.port.mk:pre-check-config ## 1) Build dependency chain in A.B format: _DEPCHAIN= .for opt in ${COMPLETE_OPTIONS_LIST} . for o in ${${opt}_IMPLIES} _DEPCHAIN+= ${opt}.$o . endfor .endfor ## 2) Check each dependency pair and if LHS is in PORT_OPTIONS then add RHS. ## All of RHS of "RHS.*" (i.e. indirect dependency) are also added for ## fast convergence. _PORT_OPTIONS:= ${PORT_OPTIONS} .for _count in _0 ${COMPLETE_OPTIONS_LIST} count= ${_count} ### Check if all of the nested dependency are resolved already. . if ${count} == _0 || ${_PORT_OPTIONS} != ${PORT_OPTIONS} PORT_OPTIONS:= ${_PORT_OPTIONS} . for dc in ${_DEPCHAIN} . for opt in ${_PORT_OPTIONS} _opt=${opt} ### Add all of direct and indirect dependency only if ### they are not in ${PORT_OPTIONS}. . if !empty(_opt:M${dc:R}) . for d in ${dc:E} ${_DEPCHAIN:M${dc:E}.*:E} . if empty(_PORT_OPTIONS:M$d) _PORT_OPTIONS+= $d . endif . endfor . endif . endfor . endfor . endif .endfor # Finally, add options required by slave ports PORT_OPTIONS+= ${OPTIONS_SLAVE} # Sort options and eliminate duplicates PORT_OPTIONS:= ${PORT_OPTIONS:O:u} ## Now some compatibility .if empty(PORT_OPTIONS:MDOCS) -NOPORTDOCS= yes +PLIST_SUB+= PORTDOCS="@comment " +.else +PLIST_SUB+= PORTDOCS="" .endif .if empty(PORT_OPTIONS:MEXAMPLES) -NOPORTEXAMPLES= yes +PLIST_SUB+= PORTEXAMPLES="@comment " +.else +PLIST_SUB+= PORTEXAMPLES="" .endif .if ${PORT_OPTIONS:MDEBUG} WITH_DEBUG= yes .endif .if defined(NO_OPTIONS_SORT) ALL_OPTIONS= ${OPTIONS_DEFINE} .endif .for target in ${_OPTIONS_TARGETS:C/:.*//:u} _OPTIONS_${target}?= .endfor .for opt in ${COMPLETE_OPTIONS_LIST} ${_ALL_EXCLUDE:O:u} # PLIST_SUB PLIST_SUB?= SUB_LIST?= . if defined(OPTIONS_SUB) . if ! ${PLIST_SUB:M${opt}=*} . if ${PORT_OPTIONS:M${opt}} PLIST_SUB:= ${PLIST_SUB} ${opt}="" NO_${opt}="@comment " . else PLIST_SUB:= ${PLIST_SUB} ${opt}="@comment " NO_${opt}="" . endif . endif . if ! ${SUB_LIST:M${opt}=*} . if ${PORT_OPTIONS:M${opt}} SUB_LIST:= ${SUB_LIST} ${opt}="" NO_${opt}="@comment " . else SUB_LIST:= ${SUB_LIST} ${opt}="@comment " NO_${opt}="" . endif . endif . endif . if ${PORT_OPTIONS:M${opt}} . if defined(${opt}_USE) . for option in ${${opt}_USE:C/=.*//:O:u} _u= ${option} USE_${_u:tu}+= ${${opt}_USE:M${option}=*:C/.*=//g:C/,/ /g} . endfor . endif . if defined(${opt}_VARS) . for var in ${${opt}_VARS:C/=.*//:O:u} _u= ${var} . if ${_u:M*+} ${_u:C/.$//:tu}+= ${${opt}_VARS:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/} . else ${_u:tu}= ${${opt}_VARS:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/} . endif . endfor . endif . if defined(${opt}_CONFIGURE_ENABLE) CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--enable-/} . endif . if defined(${opt}_CONFIGURE_WITH) CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:S/^/--with-/} . endif . if defined(${opt}_CMAKE_BOOL) CMAKE_ARGS+= ${${opt}_CMAKE_BOOL:C/.*/-D&:BOOL=true/} . endif . if defined(${opt}_CMAKE_BOOL_OFF) CMAKE_ARGS+= ${${opt}_CMAKE_BOOL_OFF:C/.*/-D&:BOOL=false/} . endif . if defined(${opt}_MESON_TRUE) MESON_ARGS+= ${${opt}_MESON_TRUE:C/.*/-D&=true/} . endif . if defined(${opt}_MESON_FALSE) MESON_ARGS+= ${${opt}_MESON_FALSE:C/.*/-D&=false/} . endif . if defined(${opt}_MESON_YES) MESON_ARGS+= ${${opt}_MESON_YES:C/.*/-D&=yes/} . endif . if defined(${opt}_MESON_NO) MESON_ARGS+= ${${opt}_MESON_NO:C/.*/-D&=no/} . endif . for configure in CONFIGURE CMAKE MESON QMAKE . if defined(${opt}_${configure}_ON) ${configure}_ARGS+= ${${opt}_${configure}_ON} . endif . endfor . for flags in ${_OPTIONS_FLAGS} . if defined(${opt}_${flags}) ${flags}+= ${${opt}_${flags}} . endif . endfor . for deptype in ${_OPTIONS_DEPENDS} . if defined(${opt}_${deptype}_DEPENDS) ${deptype}_DEPENDS+= ${${opt}_${deptype}_DEPENDS} . endif . endfor . for target in ${_OPTIONS_TARGETS} _target= ${target:C/:.*//} _prio= ${target:C/.*:(.*):.*/\1/} _type= ${target:C/.*://} _OPTIONS_${_target}:= ${_OPTIONS_${_target}} ${_prio}:${_type}-${_target}-${opt}-on . endfor . else . if defined(${opt}_USE_OFF) . for option in ${${opt}_USE_OFF:C/=.*//:O:u} _u= ${option} USE_${_u:tu}+= ${${opt}_USE_OFF:M${option}=*:C/.*=//g:C/,/ /g} . endfor . endif . if defined(${opt}_VARS_OFF) . for var in ${${opt}_VARS_OFF:C/=.*//:O:u} _u= ${var} . if ${_u:M*+} ${_u:C/.$//:tu}+= ${${opt}_VARS_OFF:M${var}=*:C/[^+]*\+=//:C/^"(.*)"$$/\1/} . else ${_u:tu}= ${${opt}_VARS_OFF:M${var}=*:C/[^=]*=//:C/^"(.*)"$$/\1/} . endif . endfor . endif . if defined(${opt}_CONFIGURE_ENABLE) CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ENABLE:S/^/--disable-/:C/=.*//} . endif . if defined(${opt}_CONFIGURE_WITH) CONFIGURE_ARGS+= ${${opt}_CONFIGURE_WITH:S/^/--without-/:C/=.*//} . endif . if defined(${opt}_CMAKE_BOOL) CMAKE_ARGS+= ${${opt}_CMAKE_BOOL:C/.*/-D&:BOOL=false/} . endif . if defined(${opt}_CMAKE_BOOL_OFF) CMAKE_ARGS+= ${${opt}_CMAKE_BOOL_OFF:C/.*/-D&:BOOL=true/} . endif . if defined(${opt}_MESON_TRUE) MESON_ARGS+= ${${opt}_MESON_TRUE:C/.*/-D&=false/} . endif . if defined(${opt}_MESON_FALSE) MESON_ARGS+= ${${opt}_MESON_FALSE:C/.*/-D&=true/} . endif . if defined(${opt}_MESON_YES) MESON_ARGS+= ${${opt}_MESON_YES:C/.*/-D&=no/} . endif . if defined(${opt}_MESON_NO) MESON_ARGS+= ${${opt}_MESON_NO:C/.*/-D&=yes/} . endif . for configure in CONFIGURE CMAKE MESON QMAKE . if defined(${opt}_${configure}_OFF) ${configure}_ARGS+= ${${opt}_${configure}_OFF} . endif . endfor . for flags in ${_OPTIONS_FLAGS} . if defined(${opt}_${flags}_OFF) ${flags}+= ${${opt}_${flags}_OFF} . endif . endfor . for deptype in ${_OPTIONS_DEPENDS} . if defined(${opt}_${deptype}_DEPENDS_OFF) ${deptype}_DEPENDS+= ${${opt}_${deptype}_DEPENDS_OFF} . endif . endfor . for target in ${_OPTIONS_TARGETS} _target= ${target:C/:.*//} _prio= ${target:C/.*:(.*):.*/\1/} _type= ${target:C/.*://} _OPTIONS_${_target}:= ${_OPTIONS_${_target}} ${_prio}:${_type}-${_target}-${opt}-off . endfor . endif .endfor .undef (SELECTED_OPTIONS) .undef (DESELECTED_OPTIONS) # Wait to expand PORT_OPTIONS until the last moment in case something modifies # the selected OPTIONS after bsd.port.options.mk is included. This uses # bmake's :@ for loop. _SELECTED_OPTIONS= ${ALL_OPTIONS:@opt@${PORT_OPTIONS:M${opt}}@} _DESELECTED_OPTIONS= ${ALL_OPTIONS:@opt@${"${PORT_OPTIONS:M${opt}}":?:${opt}}@} .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} _SELECTED_OPTIONS+= ${OPTIONS_${otype}_${m}:@opt@${PORT_OPTIONS:M${opt}}@} _DESELECTED_OPTIONS+= ${OPTIONS_${otype}_${m}:@opt@${"${PORT_OPTIONS:M${opt}}":?:${opt}}@} . endfor .endfor SELECTED_OPTIONS= ${_SELECTED_OPTIONS:O:u} DESELECTED_OPTIONS= ${_DESELECTED_OPTIONS:O:u} .endif Index: head/Mk/bsd.port.mk =================================================================== --- head/Mk/bsd.port.mk (revision 458512) +++ head/Mk/bsd.port.mk (revision 458513) @@ -1,5547 +1,5547 @@ #-*- 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. # # (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. # IGNORE_${ARCH} - Port should be ignored on ${ARCH}. # IGNORE_${OPSYS} - Port should be ignored on ${OPSYS}. # IGNORE_${OPSYS}_${OSREL:R} - Port should be ignored on a single # release of ${OPSYS}, e.g IGNORE_FreeBSD_8 # would affect all point releases of FreeBSD 8. # IGNORE_${OPSYS}_${OSREL:R}_${ARCH} - Port should be ignored on a # single release of ${OPSYS} and specific architecture, # e.g IGNORE_FreeBSD_8_i386 would affect all point # releases of FreeBSD 8 in i386. # 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. # # NO_ARCH_IGNORE - Set this to a list files to ignore when NO_ARCH is checked # in stage-qa (i.e. architecture specific files that are # 'bundled' with the port). # # 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. # # NOTE: to override a globally defined WITH_DEBUG at a # later time ".undef WITH_DEBUG" can be used # # 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_LOCALE - LANG and LC_ALL are set to the value of this variable in # CONFIGURE_ENV and MAKE_ENV. Example: USE_LOCALE=en_US.UTF-8 ## # USE_GCC - If set, this port requires this version of gcc, either in # the system or installed from a port. # USE_CSTD - Override the default C language standard (gnu89, gnu99) # USE_CXXSTD Override the default C++ language standard # USE_BINUTILS - Use binutils suite from port instead of the version in base. # CFLAGS_${ARCH} Append the cflags to CFLAGS only on the specified architecture # CXXFLAGS_${ARCH} # Append the cxxflags to CXXFLAGS only on the specified architecture ## # USE_GL - A list of Mesa or GL related dependencies needed by the port. # Supported components are: egl, glesv2, glut, glu, glw, and gl. # If set to "yes", this is equivalent to "glu". Note that # glew and glut depend on glu, glw and glu depend on gl. ## # USE_SDL - If set, this port uses the sdl libraries. # See bsd.sdl.mk for more information. ## # USE_OPENLDAP - If set, this port uses the OpenLDAP libraries. # Implies: WANT_OPENLDAP_VER?=24 # WANT_OPENLDAP_VER # - Legal values are: 23, 24 # If set to an unknown value, the port is marked BROKEN. # WANT_OPENLDAP_SASL # - If set, the system should use OpenLDAP libraries # with SASL support. ## # USE_AUTOTOOLS - If set, this port uses various GNU autotools # (libtool, autoconf, autoheader, automake et al.) # See bsd.autotools.mk for more details. ## # USE_FPC - If set, this port relies on the Free Pascal language. # Implies inclusion of bsd.fpc.mk. (Also see # that file for more information on WANT_FPC_*). # USE_JAVA - If set, this port relies on the Java language. # Implies inclusion of bsd.java.mk. (Also see # that file for more information on USE_JAVA_*). # USE_OCAML - If set, this port relies on the OCaml language. # Implies inclusion of bsd.ocaml.mk. (Also see # that file for more information on USE_OCAML*). # USE_RUBY - If set, this port relies on the Ruby language. # Implies inclusion of bsd.ruby.mk. (Also see # that file for more information on USE_RUBY_*). ## # USE_GECKO - If set, this port uses the Gecko/Mozilla product. # See bsd.gecko.mk for more details. ## # USE_WX - If set, this port uses the WxWidgets library and related # components. See bsd.wx.mk for more details. ## # # USE_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_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 prefix if it's a leaf port (e.g. a game or # program). # Implies NO_LICENSES_INSTALL=yes, NO_MTREE=yes, and causes # Linux ldconfig to be used when USE_LDCONFIG is defined. ## # 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. This path must *not* end in '/'. # Default: none # WRKDIR - A temporary working directory that gets *clobbered* on clean # Default: ${WRKDIRPREFIX}${.CURDIR}/work # WRKSRC - A subdirectory of ${WRKDIR} where the distribution actually # unpacks to. # Default: ${WRKDIR}/${DISTNAME} # WRKSRC_SUBDIR - A subdirectory of ${WRKSRC} where the distribution actually # builds in. # Default: not set # NO_WRKSUBDIR - Assume port unpacks without a subdirectory, and extract it in # ${WRKSRC} instead of ${WRKDIR}. # PATCHDIR - A directory containing any additional patches you made # to port this software to FreeBSD. # Default: ${MASTERDIR}/files # SCRIPTDIR - A directory containing any auxiliary scripts # Default: ${MASTERDIR}/scripts # FILESDIR - A directory containing any miscellaneous additional files. # Default: ${MASTERDIR}/files # PKGDIR - A directory containing any package creation files. # Default: ${MASTERDIR} # SRC_BASE - The root of the src tree. (Some ports require this to get # kernel sources). Default: /usr/src # UID_FILES - A list of files containing information about registered UIDs. # Note that files have decreasing priority. # GID_FILES - A list of files containing information about registered GIDs. # Note that files have decreasing priority. # # Variables that serve as convenient "aliases" for your *-install targets. # Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin". # # INSTALL_PROGRAM # - A command to install binary executables. (By # default, also strips them, unless ${STRIP} is # overridden to be the empty string). # INSTALL_KLD - As INSTALL_PROGRAM, but without the STRIP. # INSTALL_LIB - As INSTALL_DATA, but also strips the file. # INSTALL_SCRIPT # - A command to install executable scripts. # INSTALL_DATA - A command to install sharable data and static libs. # INSTALL_MAN - A command to install manpages and documentation. # COPYTREE_BIN # COPYTREE_SHARE # - Similiar to INSTALL_PROGRAM and INSTALL_DATA commands but # working on whole trees of directories, takes 3 arguments, # last one is find(1) arguments and optional. # Example use: # cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR} "! -name *\.bak" # # Installs all directories and files from ${WRKSRC}/doc # to ${DOCSDIR} except sed(1) backup files. # # MANPREFIX - The directory prefix for ${MAN} and ${MLINKS}. # Default: ${PREFIX} # MANPREFIX # - If manual pages of some sections install in different # locations than others, use these. # Default: ${MANPREFIX} # # Set the following to specify all .info files your port installs. # # INFO - A list of .info files (omitting the trailing ".info"); # only one entry per document! These files are listed in # the path relative to ${INFO_PATH}. # INFO_PATH - Path, where all .info files will be installed by your # port, relative to ${PREFIX} # Default: "share/info" if ${PREFIX} is equal to /usr # and "info" otherwise. # # Set the following to specify all documentation your port installs into # ${DOCSDIR} # # PORTDOCS - A list of files and directories relative to DOCSDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no documentation files are # installed. # Useful for dynamically generated documentation. # # Set the following to specify all documentation your port installs into # ${EXAMPLESDIR} # # PORTEXAMPLES - A list of files and directories relative to EXAMPLESDIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no examples files are # installed. # Useful for dynamically generated examples. # # Set the following to specify all files and directories your port installs into # ${DATADIR} # # PORTDATA - A list of files and directories relative to DATADIR. # Shell glob patterns can be used, directories include # the entire subtree of contained files and directories. # Should not be set when no data files are # installed. # Useful for dynamically generated data files. # # Default targets and their behaviors: # # fetch - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port. # fetch-list - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-recursive # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-recursive-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-required # - Retrieves missing ${DISTFILES} and ${PATCHFILES} for this # port and dependencies. # fetch-required-list # - Show list of commands to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port and dependencies. # fetch-url-list # - Show list of URLS to retrieve missing ${DISTFILES} and # ${PATCHFILES} for this port. # fetch-urlall-list # - Show list of URLS to retrieve ${DISTFILES} and # ${PATCHFILES} for this port. # # all-depends-list # - Show all directories which are dependencies # for this port. # build-depends-list # - Show all directories which are build-dependencies # for this port. # package-depends-list # - Show all directories which are package-dependencies # for this port. This is based upon the dependency # tree as recorded in the Makefiles of the ports # collection, not as recorded in the currently # installed ports. # actual-package-depends # - Like package-depends-list but with the difference # that the dependencies of the currently installed # ports are used instead of the dependencies as # recorded in the ports collection. # run-depends-list # - Show all directories which are run-dependencies # for this port. # test-depends-list # - Show all directories which are test-dependencies # for this port. # # extract - Unpacks ${DISTFILES} into ${WRKDIR}. # patch - Apply any provided patches to the source. # configure - Runs either GNU configure, one or more local configure # scripts or nothing, depending on what's available. # build - Actually compile the sources. # install - Install the results of a build. # reinstall - Install the results of a build, ignoring "already installed" # flag. # deinstall - Remove the installation. # deinstall-all - Remove all installations with the same PKGORIGIN. # test - Run tests for the port. # package - Create a package from an _installed_ port. # package-recursive # - Create a package for a port and _all_ of its dependencies. # describe - Try to generate a one-line description for each port for # use in INDEX files and the like. # check-plist - Checks for files missing from the plist, and files in the plist # that are not installed by the port. # check-sanity - Perform some basic checks of the port layout. # checkpatch - Do a "patch -C" instead of a "patch". Note that it may # give incorrect results if multiple patches deal with # the same file. # checksum - Use distinfo to ensure that your distfiles are valid. # checksum-recursive # - Run checksum in this port and all dependencies. # makesum - Generate distinfo (only do this for your own ports!). # clean - Remove ${WRKDIR} and other temporary files used for building. # clean-depends - Do a "make clean" for all dependencies. # config - Configure options for this port (using ${DIALOG}). # Automatically run prior to extract, patch, configure, build, # install, and package. # config-recursive # - Configure options for this port for a port and all its # dependencies. # showconfig - Display options config for this port. # showconfig-recursive # - Display options config for this port and all its # dependencies. # rmconfig - Remove the options config for this port. # rmconfig-recursive # - Remove the options config for this port and all its # dependencies. # # Default sequence for "all" is: # # check-sanity fetch checksum extract patch configure build # # Please read the comments in the targets section below; you # should be able to use the pre-* or post-* targets/scripts # (which are available for every stage except checksum) or # override the do-* targets to do pretty much anything you want. # # The TARGET_ORDER_OVERRIDE variable can be set to multiple : # to change the ordering of targets, have a look at the _SEQ variables at the # end of this file for the default order and priorities. # # NEVER override the "regular" targets unless you want to open # a major can of worms. # # Set these variables if your port doesn't need some of the steps. # Note that there are no NO_PATCH or NO_CONFIGURE variables because # those steps are empty by default. NO_EXTRACT is not allowed anymore # since we need to at least create ${WRKDIR}. Also, NO_CHECKSUM is a user # variable and is not to be set in a port's Makefile. See above for NO_PACKAGE. # # NO_BUILD - Use a dummy (do-nothing) build target. # NO_INSTALL - Use a dummy (do-nothing) install target. # NO_TEST - Use a dummy (do-nothing) test target. # # Here are some variables used in various stages. # # For options see bsd.options.mk # # For fetch: # # FETCH_BINARY - Path to ftp/http fetch command if not in $PATH. # Default: "/usr/bin/fetch" # FETCH_ARGS - Arguments to ftp/http fetch command. # Default: "-Fpr" # FETCH_CMD - ftp/http fetch command. # Default: ${FETCH_BINARY} ${FETCH_ARGS} # FETCH_BEFORE_ARGS # - Arguments to ${FETCH_CMD} before filename. # Default: none # FETCH_AFTER_ARGS # - Arguments to ${FETCH_CMD} following filename. # Default: none # FETCH_ENV - Environment to pass to ${FETCH_CMD}. # Default: none # FETCH_REGET - Times to retry fetching of files on checksum errors. # Default: 1 # CLEAN_FETCH_ENV # - Disable package dependency in fetch target for mass # fetching. User settable. # # For extract: # # EXTRACT_CMD - Command for extracting archive # Default: ${TAR} # EXTRACT_BEFORE_ARGS # - Arguments to ${EXTRACT_CMD} before filename. # Default: "-xf" # EXTRACT_AFTER_ARGS # - Arguments to ${EXTRACT_CMD} following filename. # Default: "--no-same-owner --no-same-permissions" # For patch: # # EXTRA_PATCHES - Define this variable if you have patches not in # ${PATCHDIR}. This usually happens when you need to # do some pre-processing before some distribution # patches can be applied. In that case, fetch them as # extra distfiles, put the processed results in # ${WRKDIR}, then point EXTRA_PATCHES to them. # The patches specified by this variable will be # applied after the normal distribution patches but # before those in ${PATCHDIR}. # EXTRA_PATCH_TREE - where to find extra 'out-of-tree' patches # Points to a directory hierarchy with the same layout # as the ports tree, where local patches can be found. # This allows a third party to keep their patches in # some other source control system if needed. # PATCH_WRKSRC - Directory to apply patches in. # Default: ${WRKSRC} # # For configure: # # HAS_CONFIGURE - If set, this port has its own configure script. The # configure stage will not do anything if this is not set. # GNU_CONFIGURE - If set, you are using GNU configure (optional). Implies # HAS_CONFIGURE. # CONFIGURE_OUTSOURCE - If set, this port builds in an empty ${CONFIGURE_WRKSRC} # not being under ${WRKSRC}. # CONFIGURE_WRKSRC # - Directory to run configure in. # Default: ${WRKSRC} # CONFIGURE_SCRIPT # - Name of configure script, relative to ${CONFIGURE_WRKSRC}. # Default: "Makefile.PL" if USES=perl5 and USE_PERL5=configure # are set, "configure" otherwise. # CONFIGURE_TARGET # - The name of target to call when GNU_CONFIGURE is # defined. # Default: ${ARCH}-portbld-${OPSYS:tl}${OSREL} # GNU_CONFIGURE_PREFIX # - The directory passed as prefix to the configure script if # GNU_CONFIGURE is set. # Default: ${PREFIX} # CONFIGURE_ARGS # - Pass these args to configure if ${HAS_CONFIGURE} is set. # Default: "--prefix=${GNU_CONFIGURE_PREFIX} # --infodir=${PREFIX}/${INFO_PATH} --localstatedir=/var # --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if # GNU_CONFIGURE is set, "CC=${CC} CFLAGS=${CFLAGS} # PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib # INSTALLARCHLIB=${PREFIX}/lib" if USES=perl5 and # USE_PERL5=configure are set, empty otherwise. # CONFIGURE_ENV - Pass these env (shell-like) to configure if # ${HAS_CONFIGURE} is set. # CONFIGURE_LOG - The name of configure log file. It will be printed to # the screen if configure fails. # Default: config.log # CONFIGURE_FAIL_MESSAGE # - A message displayed to users when configure # fails (note: this assumes the do-configure # target has not been overwritten). This message # will be passed through /usr/bin/fmt before # being shown to the user. # # WITHOUT_FBSD10_FIX Disable FreeBSD 10.0 autotools workaround. # # For build and install: # # MAKEFILE - Name of the makefile. # Default: Makefile # ALL_TARGET - Default target for sub-make in build stage. # Default: all # BUILD_WRKSRC - Directory to do build in (default: ${WRKSRC}). # MAKE_ENV - Additional environment vars passed to sub-make in build # and install stages. # Default: see below # MAKE_ARGS - Any extra arguments to sub-make in build and install stages. # Default: none ## # MAKE_JOBS_UNSAFE # - Disallow multiple jobs even when user set a global override. # To be used with known bad ports. # DISABLE_MAKE_JOBS # - Set to disable the multiple jobs feature. User settable. # MAKE_JOBS_NUMBER # - Override the number of make jobs to be used. User settable. # MAKE_JOBS_NUMBER_LIMIT # - Set a limit for maximum number of make jobs allowed to be # used. ## cacche # # WITH_CCACHE_BUILD # - Enable CCACHE support (devel/ccache). User settable. # CCACHE_DIR # - Which directory to use for ccache (default: $HOME/.ccache) # NO_CCACHE # - Disable CCACHE support for example for certain ports if # CCACHE is enabled. User settable. # # For test: # # TEST_TARGET - Target for sub-make in test stage. If not defined, # no default test target is provided. # Default: (none) # TEST_WRKSRC - Directory to do test in (default: ${WRKSRC}). # TEST_ENV - Additional environment vars passed to sub-make in test # stage # Default: ${MAKE_ENV} # TEST_ARGS - Any extra arguments to sub-make in test stage # Default: ${MAKE_ARGS} # # For install: # # INSTALL_TARGET # - Default target for sub-make in install stage. # Default: install # INSTALL_WRKSRC # - Directory to install from # Default: ${WRKSRC} # NO_MTREE - If set, will not invoke mtree from bsd.port.mk from # the "install" target. # MTREE_FILE - The name of the mtree file. # Default: ${PORTSDIR}/Templates/BSD.local.dist or # /etc/mtree/BSD.usr.dist if ${PREFIX} == "/usr". # PLIST_DIRS - Directories to be added to packing list # PLIST_FILES - Files and symbolic links to be added to packing list # # PLIST - Name of the `packing list' file. # Change this to ${WRKDIR}/PLIST or something if you # need to write to it. (It is not a good idea for a port # to write to any file outside ${WRKDIR} during a normal # build.) # Default: ${PKGDIR}/pkg-plist # TMPPLIST - Name of the `packing list' file after processing # Default: ${WRKDIR}/.PLIST.mktmp # PLIST_SUB - List of "variable=value" pair for substitution in ${PLIST} # Default: see below # # SUB_FILES - Files that should be passed through sed(1) and redirected to # ${WRKDIR}. # - For each file specified in SUB_FILES, there must be a # corresponding file in ${FILESDIR} whose suffix is ".in". For # instance, if the Makefile specifies "SUB_FILES= pkg-message" # then there must be a file called pkg-message.in in # ${FILESDIR}. # - The substitution process is the same as PLIST_FILES, as # described below except that any line beginning with @comment # is deleted. # SUB_LIST - List of "variable=value" pair for substitution in ${SUB_FILES} # Some pairs are added by default: eg. PREFIX=${PREFIX} # # USE_LDCONFIG - If set to "yes", this adds ${PREFIX}/lib to the list of # directories to be searched for shared libraries. # Otherwise, this is a list of directories to be added to that # list. The directory names are written to # ${LOCALBASE}/libdata/ldconfig/${PKGBASE} which is then # used by the ldconfig startup script. # This mechanism replaces ldconfig scripts installed by some # ports, often under such names as 000.${UNQUENAME}.sh. # If USE_LINUX_PREFIX is defined, the Linux version of # ldconfig will be used instead of the native FreeBSD # version, and the directory list given will be ignored. # USE_LDCONFIG32 # - Same as USE_LDCONFIG but the target file is # ${LOCALBASE}/libdata/ldconfig32/${PKGBASE} instead. # Note: that should only be used on 64-bit architectures. # # DOCSDIR - Name of the directory to install the packages docs in. # Default: ${PREFIX}/share/doc/${PORTNAME} # DOCSDIR_REL - The DOCSDIR relative to ${PREFIX} # EXAMPLESDIR - Name of the directory to install the packages examples in. # Default: ${PREFIX}/share/examples/${PORTNAME} # EXAMPLESDIR_REL # - The EXAMPLESDIR relative to ${PREFIX} # DATADIR - Name of the directory to install the packages shared data in. # Default: ${PREFIX}/share/${PORTNAME} # DATADIR_REL - The DATADIR relative to ${PREFIX} # # WWWDIR - Name of the directory to install the packages www data in. # Default: ${PREFIX}/www/${PORTNAME} # WWWDIR_REL - The WWWDIR relative to ${PREFIX} # # USERS - List of users to create at install time. Each login must # have a corresponding entry in ${UID_FILES}. # GROUPS - List of groups to create at install time. Each group must # have a corresponding entry in ${GID_FILES}. # # DESKTOPDIR - Name of the directory to install ${DESKTOP_ENTRIES} in. # Default: ${PREFIX}/share/applications # DESKTOP_ENTRIES # - List of desktop entry files to generate and install in # ${DESKTOPDIR}. The format is # "Name" "Comment" "Icon" "Exec" "Categories" StartupNotify # Rules: # * Only add desktop entries for applications which do not # require a terminal (ie. X applications). # * If the upstream distribution already installs .desktop # files, you do not need to use this. # * If you require a more elaborate .desktop file than this # variable permits, write it yourself and install it # in ${DESKTOPDIR}. # Notes: # * Comment, Icon and StartupNotify may be empty # strings (""). Categories may be an empty string in some # cases (see below). The other fields are mandatory. # * If Comment is an empty string, port ${COMMENT} will be # used. # * If set, Icon must be either absolute path (usually # ${PREFIX}/share/pixmaps/${PORTNAME}.png) or icon name # without extension if installed icons follow Icon Theme # Specification. # * If Categories is an empty string, bsd.port.mk will try # to deduce a default value using the CATEGORIES variable. # If the deduction fails, you will have to set Categories # manually. You should check the generated value using # "make desktop-categories", and override it if necessary. # * Exec will also be used to name the .desktop file. # * StartupNotify may be true, false or empty (see Desktop # Entry Specification for details). # * The files will be automatically added to ${PLIST}. # Example: # "X Window Information" \ # "Get information about X windows" \ # "${PREFIX}/share/pixmaps/wininfo.png" \ # "${PREFIX}/bin/wininfo" \ # "System;" \ # "" # See http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html # for an explanation of the fields. If you need to create more # than one file, just chain them into a single variable. # # Note that the install target will automatically add manpages (see # above) and also substitute special sequences of characters (delimited # by "%%") as defined in PLIST_SUB to generate ${TMPPLIST}. For # instance, "OSREL=${OSREL}" in PLIST_SUB causes all occurrences of # "%%OSREL%%" in ${PLIST} to be substituted by the value of OSREL. # ${TMPPLIST} is generated before the do-install stage. If you are # generating the packing list on-the-fly, make sure it's generated before # do-install is called! # # This is used in all stages: # # SCRIPTS_ENV - Additional environment vars passed to scripts in # ${SCRIPTDIR} executed by bsd.port.mk. # Default: see below # # Finally, variables to change if you want a special behavior. These # are for debugging purposes. Don't set them in your Makefile. # # ECHO_MSG - Used to print all the '===>' style prompts - override this # to turn them off. # Default: ${ECHO_CMD} # PATCH_DEBUG - If set, print out more information about the patches as # it attempts to apply them. # PKG_DBDIR - Where package installation is recorded; this directory # must not contain anything else. # Default: /var/db/pkg # PORT_DBDIR - Where port configuration options are recorded. # Default: /var/db/ports # NO_PKG_REGISTER # - Don't register a port installation as a package. # FORCE_PKG_REGISTER # - If set, it will overwrite any existing package # registration information in ${PKG_DBDIR}/${PKGNAME}. # NO_DEPENDS - Don't verify build of dependencies. # STRICT_DEPENDS # - Verify dependencies but consider missing dependencies as # fatal. # CHECKSUM_ALGORITHMS # - Different checksum algorithms to check for verifying the # integrity of the distfiles. The absence of the algorithm # in distinfo doesn't make it fail. # Default: sha256 # NO_CHECKSUM - Don't verify the checksum. Typically used when # when you noticed the distfile you just fetched has # a different checksum and you intend to verify if # the port still works with it. # USE_PACKAGE_DEPENDS # - Try to install dependencies from existing packages instead # of building the port from scratch. Fallback on source # if an existing package is not present. # USE_PACKAGE_DEPENDS_ONLY # - Like USE_PACKAGE_DEPENDS, but do not fallback on source. # INSTALL_AS_USER # - Define this to install as the current user, intended # for systems where you have no root access. # DISABLE_SIZE - Do not check the size of a distfile even if the SIZE field # has been specified in distinfo. This is useful # when using an alternate FETCH_CMD. # # PKG_CREATE_VERBOSE - If set, pass the -v option to pkg create which # ensures periodic output during packaging and # will help prevent timeouts by build monitors # # End of the list of all variables that need to be defined in a port. # Most port authors should not need to understand anything after this point. # LANG= C LC_ALL= C .export LANG LC_ALL # 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?= FLAVORS?= FLAVOR?= # Disallow forced FLAVOR as make argument since we cannot change it to the # proper default. .if empty(FLAVOR) && !empty(.MAKEOVERRIDES:MFLAVOR) .error FLAVOR may not be passed empty as a make argument. .endif # Store env FLAVOR for later .if !defined(_FLAVOR) _FLAVOR:= ${FLAVOR} .endif PORTS_FEATURES+= FLAVORS MINIMAL_PKG_VERSION= 1.6.0 _PORTS_DIRECTORIES+= ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRACT_WRKDIR} \ ${STAGEDIR}${PREFIX} ${WRKDIR}/pkg ${BINARY_LINKDIR} # Ensure .CURDIR contains an absolute path without a trailing slash. Failed # builds can occur when PORTSDIR is a symbolic link, or with something like # make -C /usr/ports/category/port/. .CURDIR:= ${.CURDIR:tA} # make sure bmake treats -V as expected .MAKE.EXPAND_VARIABLES= yes .include "${PORTSDIR}/Mk/bsd.commands.mk" # Do not leak flavors to childs make .MAKEOVERRIDES:= ${.MAKEOVERRIDES:NFLAVOR} .if defined(CROSS_TOOLCHAIN) .if !defined(CROSS_SYSROOT) IGNORE= CROSS_SYSROOT should be defined .endif .include "${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk" # Do not define CPP on purpose .if !defined(HOSTCC) HOSTCC:= ${CC} HOSTCXX:= ${CXX} .endif CC= ${XCC} CXX= ${XCXX} CFLAGS+= --sysroot=${CROSS_SYSROOT} -isystem ${CROSS_SYSROOT}/usr/include CXXFLAGS+= --sysroot=${CROSS_SYSROOT} -isystem ${CROSS_SYSROOT}/usr/include/c++/v1 -nostdinc++ LDFLAGS+= --sysroot=${CROSS_SYSROOT} .for _tool in AS AR LD NM OBJCOPY RANLIB SIZE STRINGS ${_tool}= ${CROSS_BINUTILS_PREFIX}${tool:tl} .endfor STRIP_CMD= ${CROSS_BINUTILS_PREFIX}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 .if (${OPSYS} == FreeBSD && (${OSVERSION} < 1003000 || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1101001))) || \ (${OPSYS} == DragonFly && ${DFLYVERSION} < 400400) _UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\ are guaranteed to build on this system. Please upgrade to a supported release. . if defined(ALLOW_UNSUPPORTED_SYSTEM) WARNING+= "${_UNSUPPORTED_SYSTEM_MESSAGE}" . else show-unsupported-system-error: @${ECHO_MSG} "/!\\ ERROR: /!\\" @${ECHO_MSG} @${ECHO_MSG} "${_UNSUPPORTED_SYSTEM_MESSAGE}" | ${FMT_80} @${ECHO_MSG} @${ECHO_MSG} "No support will be provided if you silence this message by defining ALLOW_UNSUPPORTED_SYSTEM." | ${FMT_80} @${ECHO_MSG} @${FALSE} . endif .endif # Convert OSVERSION to major release number _OSVERSION_MAJOR= ${OSVERSION:C/([0-9]?[0-9])([0-9][0-9])[0-9]{3}/\1/} # Sanity checks for chroot/jail building. # Skip if OSVERSION specified on cmdline for testing. Only works for bmake. .if !defined(.MAKEOVERRIDES) || !${.MAKEOVERRIDES:MOSVERSION} .if ${_OSVERSION_MAJOR} != ${_OSRELEASE:R} .error UNAME_r (${_OSRELEASE}) and OSVERSION (${OSVERSION}) do not agree on major version number. .elif ${_OSVERSION_MAJOR} != ${OSREL:R} .error OSREL (${OSREL}) and OSVERSION (${OSVERSION}) do not agree on major version number. .endif .endif # Only define tools here (for transition period with between pkg tools) .include "${PORTSDIR}/Mk/bsd.commands.mk" .if !defined(_PKG_CHECKED) && !defined(PACKAGE_BUILDING) && exists(${PKG_BIN}) .if !defined(_PKG_VERSION) _PKG_VERSION!= ${PKG_BIN} -v .endif _PKG_STATUS!= ${PKG_BIN} version -t ${_PKG_VERSION:C/-.*//g} ${MINIMAL_PKG_VERSION} .if ${_PKG_STATUS} == "<" IGNORE= pkg(8) must be version ${MINIMAL_PKG_VERSION} or greater, but you have ${_PKG_VERSION}. You must upgrade the ${PKG_ORIGIN} port first .endif _PKG_CHECKED= 1 .endif _EXPORTED_VARS+= _PKG_CHECKED MASTERDIR?= ${.CURDIR} .if ${MASTERDIR} != ${.CURDIR} SLAVE_PORT?= yes MASTER_PORT?=${MASTERDIR:C/[^\/]+\/\.\.\///:C/[^\/]+\/\.\.\///:C/^.*\/([^\/]+\/[^\/]+)$/\\1/} .else SLAVE_PORT?= no MASTER_PORT?= .endif # If they exist, include Makefile.inc, then architecture/operating # system specific Makefiles, then local Makefile.local. .if ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/../Makefile.inc) .include "${MASTERDIR}/../Makefile.inc" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.${ARCH}-${OPSYS}) .include "${MASTERDIR}/Makefile.${ARCH}-${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${OPSYS}) .include "${MASTERDIR}/Makefile.${OPSYS}" USE_SUBMAKE= yes .elif exists(${MASTERDIR}/Makefile.${ARCH}) .include "${MASTERDIR}/Makefile.${ARCH}" USE_SUBMAKE= yes .endif .if exists(${MASTERDIR}/Makefile.local) .include "${MASTERDIR}/Makefile.local" USE_SUBMAKE= yes .elif ${MASTERDIR} != ${.CURDIR} && exists(${.CURDIR}/Makefile.local) .include "${.CURDIR}/Makefile.local" USE_SUBMAKE= yes .endif .for _CATEGORY in ${CATEGORIES} PKGCATEGORY?= ${_CATEGORY} .endfor _PORTDIRNAME= ${.CURDIR:T} PORTDIRNAME?= ${_PORTDIRNAME} PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} # where 'make config' records user configuration options PORT_DBDIR?= /var/db/ports UID_FILES?= ${PORTSDIR}/UIDs GID_FILES?= ${PORTSDIR}/GIDs UID_OFFSET?= 0 GID_OFFSET?= 0 # predefined accounts from src/etc/master.passwd # alpha numeric sort order USERS_BLACKLIST= _dhcp _pflogd _ypldap auditdistd bin bind daemon games hast kmem mailnull man news nobody operator pop proxy root smmsp sshd toor tty unbound uucp www # predefined accounts from src/etc/group # alpha numeric sort order GROUPS_BLACKLIST= _dhcp _pflogd _ypldap audit authpf bin bind daemon dialer ftp games guest hast kmem mail mailnull man network news nobody nogroup operator proxy smmsp sshd staff sys tty unbound uucp wheel www LDCONFIG_DIR= libdata/ldconfig LDCONFIG32_DIR= libdata/ldconfig32 # 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.default-versions.mk" .include "${PORTSDIR}/Mk/bsd.options.mk" .endif # End of options section. # 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 .if defined(DISTVERSION) DEV_ERROR+= "Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary, set DISTNAME" .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/} .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} PREFIX?= ${LOCALBASE} PKGCOMPATDIR?= ${LOCALBASE}/lib/compat/pkg .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif .if defined(USE_EMACS) .include "${PORTSDIR}/Mk/bsd.emacs.mk" .endif .if defined(USE_PHP) && (!defined(USES) || ( defined(USES) && !${USES:Mphp*} )) DEV_WARNING+= "Using USE_PHP alone is deprecated, please use USES=php" USES+= php .endif .if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL) .include "${PORTSDIR}/Mk/bsd.fpc.mk" .endif .if defined(USE_JAVA) .include "${PORTSDIR}/Mk/bsd.java.mk" .endif .if defined(USE_RUBY) || defined(USE_LIBRUBY) .include "${PORTSDIR}/Mk/bsd.ruby.mk" .endif .if defined(USE_OCAML) .include "${PORTSDIR}/Mk/bsd.ocaml.mk" .endif .if defined(USE_APACHE) || defined(USE_APACHE_BUILD) || defined(USE_APACHE_RUN) .include "${PORTSDIR}/Mk/bsd.apache.mk" .endif .if defined(USE_QT4) || defined(USE_QT5) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif .if defined(USE_TEX) .include "${PORTSDIR}/Mk/bsd.tex.mk" .endif .if defined(USE_GECKO) .include "${PORTSDIR}/Mk/bsd.gecko.mk" .endif .if defined(WANT_GNOME) || defined(USE_GNOME) || defined(INSTALLS_ICONS) USES+= gnome .endif .if defined(USE_MATE) USES+= mate .endif .if defined(USE_MYSQL) USE_MYSQL:= ${USE_MYSQL:N[yY][eE][sS]:Nclient} .if defined(WANT_MYSQL_VER) .if empty(USE_MYSQL) USE_MYSQL:=${WANT_MYSQL_VER} .else USE_MYSQL:=${USE_MYSQL},${WANT_MYSQL_VER} .endif .endif USES+=mysql:${USE_MYSQL} .endif .if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif .if defined(USE_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif .if !defined(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 .if !empty(FLAVORS) . if ${FLAVORS:Mall} DEV_ERROR+= "FLAVORS cannot contain 'all', it is a reserved value" . endif . for f in ${FLAVORS} . if ${f:C/[[:lower:][:digit:]_]//g} _BAD_FLAVOR_NAMES+= ${f} . endif . endfor . if !empty(_BAD_FLAVOR_NAMES) DEV_ERROR+= "FLAVORS contains flavors that are not all [a-z0-9_]: ${_BAD_FLAVOR_NAMES}" . endif .endif .if !empty(FLAVOR) . if empty(FLAVORS) IGNORE= FLAVOR is defined (to ${FLAVOR}) while this port does not have FLAVORS. . elif ! ${FLAVORS:M${FLAVOR}} IGNORE= Unknown flavor '${FLAVOR}', possible flavors: ${FLAVORS}. . endif .endif .if !empty(FLAVORS) && empty(FLAVOR) FLAVOR= ${FLAVORS:[1]} .endif .if !empty(FLAVOR) && !defined(_DID_FLAVORS_HELPERS) _DID_FLAVORS_HELPERS= yes _FLAVOR_HELPERS_OVERRIDE= DESCR PLIST PKGNAMEPREFIX PKGNAMESUFFIX _FLAVOR_HELPERS_APPEND= CONFLICTS CONFLICTS_BUILD CONFLICTS_INSTALL \ PKG_DEPENDS EXTRACT_DEPENDS PATCH_DEPENDS \ FETCH_DEPENDS BUILD_DEPENDS LIB_DEPENDS \ RUN_DEPENDS TEST_DEPENDS # These overwrite the current value .for v in ${_FLAVOR_HELPERS_OVERRIDE} .if defined(${FLAVOR}_${v}) ${v}= ${${FLAVOR}_${v}} .endif .endfor # These append to the current value .for v in ${_FLAVOR_HELPERS_APPEND} .if defined(${FLAVOR}_${v}) ${v}+= ${${FLAVOR}_${v}} .endif .endfor .for v in BROKEN IGNORE .if defined(${FLAVOR}_${v}) ${v}= flavor "${FLAVOR}" ${${FLAVOR}_${v}} .endif .endfor .endif # defined(${FLAVOR}) EXTRACT_SUFX?= .tar.gz .if defined(USE_LINUX_PREFIX) PREFIX= ${LINUXBASE} DATADIR?= ${PREFIX}/usr/share/${PORTNAME} DOCSDIR?= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION} NO_LICENSES_INSTALL= yes NO_MTREE= yes .endif # You can force skipping these test by defining IGNORE_PATH_CHECKS .if !defined(IGNORE_PATH_CHECKS) .if ! ${PREFIX:M/*} .BEGIN: @${ECHO_MSG} "PREFIX must be defined as an absolute path so that when 'make'" @${ECHO_MSG} "is invoked in the work area PREFIX points to the right place." @${FALSE} .endif .endif DATADIR?= ${PREFIX}/share/${PORTNAME} DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} ETCDIR?= ${PREFIX}/etc/${PORTNAME} EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} WWWDIR?= ${PREFIX}/www/${PORTNAME} # 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 .if defined(DEPRECATED) PKG_NOTES+= deprecated PKG_NOTE_deprecated=${DEPRECATED} .endif .if defined(EXPIRATION_DATE) PKG_NOTES+= expiration_date PKG_NOTE_expiration_date= ${EXPIRATION_DATE} .endif .if !empty(FLAVOR) PKG_NOTES+= flavor PKG_NOTE_flavor= ${FLAVOR} .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} \ CURDIR='${.CURDIR}' \ FLAVOR=${FLAVOR} \ FLAVORS='${FLAVORS}' \ BUNDLE_LIBS=${BUNDLE_LIBS} \ LDCONFIG_DIR="${LDCONFIG_DIR}" \ PKGORIGIN=${PKGORIGIN} \ LIB_RUN_DEPENDS='${_LIB_RUN_DEPENDS:C,[^:]*:([^:]*):?.*,\1,}' \ UNIFIED_DEPENDS=${_UNIFIED_DEPENDS:C,([^:]*:[^:]*):?.*,\1,:O:u:Q} \ PKGBASE=${PKGBASE} \ PORTNAME=${PORTNAME} \ NO_ARCH=${NO_ARCH} \ "NO_ARCH_IGNORE=${NO_ARCH_IGNORE}" .if !empty(USES:Mssl) QA_ENV+= USESSSL=yes .endif .if !empty(USES:Mdesktop-file-utils) QA_ENV+= USESDESKTOPFILEUTILS=yes .endif .if !empty(USES:Mlibtool*) QA_ENV+= USESLIBTOOL=yes .endif .if !empty(USES:Mshared-mime-info) QA_ENV+= USESSHAREDMIMEINFO=yes .endif .if !empty(USES:Mterminfo) QA_ENV+= USESTERMINFO=yes .endif CO_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ WRKDIR=${WRKDIR} \ WRKSRC=${WRKSRC} \ MTREE_FILE=${MTREE_FILE} \ TMPPLIST=${TMPPLIST} \ SCRIPTSDIR=${SCRIPTSDIR} \ PLIST_SUB_SED="${PLIST_SUB_SED}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ PORTSDIR="${PORTSDIR}" .if defined(CROSS_SYSROOT) PKG_ENV+= ABI_FILE=${CROSS_SYSROOT}/bin/sh MAKE_ENV+= NM=${NM} \ STRIPBIN=${STRIPBIN} \ PKG_CONFIG_SYSROOT_DIR="${CROSS_SYSROOT}" CONFIGURE_ENV+= PKG_CONFIG_SYSROOT_DIR="${CROSS_SYSROOT}" .endif .if empty(FLAVOR) _WRKDIR= work .else _WRKDIR= work-${FLAVOR} .endif WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/${_WRKDIR} BINARY_LINKDIR= ${WRKDIR}/.bin PATH:= ${BINARY_LINKDIR}:${PATH} .if !${MAKE_ENV:MPATH=*} && !${CONFIGURE_ENV:MPATH=*} MAKE_ENV+= PATH=${PATH} CONFIGURE_ENV+= PATH=${PATH} .endif .if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) && empty(USE_GITHUB:Mnodefault) .if defined(WRKSRC) DEV_WARNING+= "You are using USE_GITHUB and WRKSRC is set which is wrong. Set GH_PROJECT correctly, or set WRKSRC_SUBDIR instead." .endif WRKSRC?= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} .endif # If the distname is not extracting into a specific subdirectory, have the # ports framework force extract into a subdirectory so that metadata files # do not get in the way of the build, and vice-versa. .if defined(NO_WRKSUBDIR) # Some ports have DISTNAME=PORTNAME, and USE_RC_SUBR=PORTNAME, in those case, # the rc file will conflict with WRKSRC, as WRKSRC is artificial, make it the # most unlikely to conflict as we can. WRKSRC?= ${WRKDIR}/${PKGNAME} EXTRACT_WRKDIR:= ${WRKSRC} .else WRKSRC?= ${WRKDIR}/${DISTNAME} EXTRACT_WRKDIR:= ${WRKDIR} .endif .if defined(WRKSRC_SUBDIR) WRKSRC:= ${WRKSRC}/${WRKSRC_SUBDIR} .endif .if defined(CONFIGURE_OUTSOURCE) CONFIGURE_CMD?= ${WRKSRC}/${CONFIGURE_SCRIPT} CONFIGURE_WRKSRC?= ${WRKDIR}/.build BUILD_WRKSRC?= ${CONFIGURE_WRKSRC} INSTALL_WRKSRC?= ${CONFIGURE_WRKSRC} TEST_WRKSRC?= ${CONFIGURE_WRKSRC} .endif PATCH_WRKSRC?= ${WRKSRC} CONFIGURE_WRKSRC?= ${WRKSRC} BUILD_WRKSRC?= ${WRKSRC} INSTALL_WRKSRC?=${WRKSRC} TEST_WRKSRC?= ${WRKSRC} PLIST_SUB+= OSREL=${OSREL} PREFIX=%D LOCALBASE=${LOCALBASE} \ RESETPREFIX=${PREFIX} SUB_LIST+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} \ DATADIR=${DATADIR} DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \ WWWDIR=${WWWDIR} ETCDIR=${ETCDIR} # This is used for check-stagedir.sh and check_leftover.sh to replace # directories/files with PLIST_SUB %%KEYS%%. # Remove VARS which values are PLIST_SUB_SED_MIN long or shorter PLIST_SUB_SED_MIN?= 2 PLIST_SUB_SED_tmp1= ${PLIST_SUB:C/.*=.{1,${PLIST_SUB_SED_MIN}}$//g} # Remove VARS that are too generic # Remove empty values # Remove @comment values PLIST_SUB_SED_tmp2= ${PLIST_SUB_SED_tmp1:NEXTRACT_SUFX=*:NOSREL=*:NLIB32DIR=*:NPREFIX=*:NLOCALBASE=*:NRESETPREFIX=*:N*="":N*="@comment*} # Handle VARS for which there is a _regex entry PLIST_SUB_SED_tmp3?= ${PLIST_SUB_SED_tmp2:C/(${PLIST_SUB:M*_regex=*:C/_regex=.*/=.*/:Q:S/\\ /|/g:S/\\//g})//:C/(.*)_regex=(.*)/\1=\2/} # Remove quotes # Replace . with \. for later sed(1) usage PLIST_SUB_SED?= ${PLIST_SUB_SED_tmp3:C/([^=]*)="?([^"]*)"?/s!\2!%%\1%%!g;/g:C/\./\\./g} # kludge to strip trailing whitespace from CFLAGS; # sub-configure will not # survive double space CFLAGS:= ${CFLAGS:C/ $//} .if defined(WITHOUT_CPU_CFLAGS) .if defined(_CPUCFLAGS) .if !empty(_CPUCFLAGS) CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//} .endif .endif .endif # Reset value from bsd.own.mk. .if defined(WITH_DEBUG) .if !defined(INSTALL_STRIPPED) STRIP= #none MAKE_ENV+= DONTSTRIP=yes STRIP_CMD= ${TRUE} .endif DEBUG_FLAGS?= -g CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} .if defined(INSTALL_TARGET) INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g} .endif .endif .if !defined(WITHOUT_SSP) .include "${PORTSDIR}/Mk/bsd.ssp.mk" .endif # XXX PIE support to be added here MAKE_ENV+= NO_PIE=yes # We prefer to pass MK_*=no but it was only supported after a certain # revision. Passing WITHOUT_* may conflict with a make.conf or src.conf's # WITH_* value. Note that ports *do* pull in src.conf. .if ${OSVERSION} >= 1003503 # We will control debug files. Don't let builds that use /usr/share/mk # split out debug symbols since the plist won't know to expect it. MAKE_ENV+= MK_DEBUG_FILES=no MAKE_ENV+= MK_KERNEL_SYMBOLS=no .else MAKE_ENV+= WITHOUT_DEBUG_FILES=yes MAKE_ENV+= WITHOUT_KERNEL_SYMBOLS=yes .endif -.if defined(NOPORTDOCS) -PLIST_SUB+= PORTDOCS="@comment " -.else -PLIST_SUB+= PORTDOCS="" -.endif - -.if defined(NOPORTEXAMPLES) -PLIST_SUB+= PORTEXAMPLES="@comment " -.else -PLIST_SUB+= PORTEXAMPLES="" -.endif - CONFIGURE_SHELL?= ${SH} MAKE_SHELL?= ${SH} CONFIGURE_ENV+= SHELL=${CONFIGURE_SHELL} CONFIG_SHELL=${CONFIGURE_SHELL} MAKE_ENV+= SHELL=${MAKE_SHELL} NO_LINT=YES .if defined(PATCHFILES) && ${PATCHFILES:M*.zip} PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:archivers/unzip .endif # Check the compatibility layer for amd64/ia64 .if ${ARCH} == "amd64" || ${ARCH} =="ia64" .if exists(/usr/lib32) HAVE_COMPAT_IA32_LIBS?= YES .endif .if !defined(HAVE_COMPAT_IA32_KERN) HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi; echo .if empty(HAVE_COMPAT_IA32_KERN) .undef HAVE_COMPAT_IA32_KERN .endif .endif .endif _EXPORTED_VARS+= HAVE_COMPAT_IA32_KERN .if defined(IA32_BINARY_PORT) && ${ARCH} != "i386" .if ${ARCH} == "amd64" || ${ARCH} == "ia64" .if !defined(HAVE_COMPAT_IA32_KERN) IGNORE= requires a kernel with compiled-in IA32 compatibility .elif !defined(HAVE_COMPAT_IA32_LIBS) IGNORE= requires 32-bit libraries installed under /usr/lib32 .endif _LDCONFIG_FLAGS=-32 LIB32DIR= lib32 .else IGNORE= requires i386 (or compatible) platform to run .endif .else LIB32DIR= lib .endif PLIST_SUB+= LIB32DIR=${LIB32DIR} .if ${WITH_PKG} == devel PKG_ORIGIN= ports-mgmt/pkg-devel .endif .if !defined(PKG_DEPENDS) && !defined(CLEAN_FETCH_ENV) PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN} .endif .if defined(USE_GCC) .include "${PORTSDIR}/Mk/bsd.gcc.mk" .endif .if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld LDFLAGS+= -fuse-ld=bfd . if !defined(USE_BINUTILS) . if exists(/usr/bin/ld.bfd) LD= /usr/bin/ld.bfd CONFIGURE_ENV+= LD=${LD} MAKE_ENV+= LD=${LD} . else USE_BINUTILS= yes . endif . endif .endif .if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS) BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \ READELF SIZE STRINGS BINUTILS_NO_MAKE_ENV?= . for b in ${BINUTILS} ${b}= ${LOCALBASE}/bin/${b:C/PP/++/:tl} . if defined(GNU_CONFIGURE) || defined(BINUTILS_CONFIGURE) CONFIGURE_ENV+= ${b}="${${b}}" . endif . if ${BINUTILS_NO_MAKE_ENV:M${b}} == "" MAKE_ENV+= ${b}="${${b}}" . endif . endfor .endif .if defined(USE_OPENLDAP) || defined(WANT_OPENLDAP_VER) .include "${PORTSDIR}/Mk/bsd.ldap.mk" .endif .if defined(USE_RC_SUBR) SUB_FILES+= ${USE_RC_SUBR} .endif .if defined(USE_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 PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist' _GL_gbm_LIB_DEPENDS= libgbm.so:graphics/mesa-libs _GL_glesv2_BUILD_DEPENDS= ${LOCALBASE}/lib/libGLESv2.so:graphics/mesa-libs _GL_glesv2_RUN_DEPENDS= ${LOCALBASE}/lib/libGLESv2.so:graphics/mesa-libs _GL_egl_BUILD_DEPENDS= ${LOCALBASE}/lib/libEGL.so:graphics/mesa-libs _GL_egl_RUN_DEPENDS= ${LOCALBASE}/lib/libEGL.so:graphics/mesa-libs _GL_gl_BUILD_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/mesa-libs _GL_gl_RUN_DEPENDS= ${LOCALBASE}/lib/libGL.so:graphics/mesa-libs _GL_gl_USE_XORG= glproto dri2proto dri3proto _GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew _GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU _GL_glu_USE_XORG= glproto dri2proto dri3proto _GL_glw_LIB_DEPENDS= libGLw.so:graphics/libGLw _GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut .if defined(USE_GL) . if ${USE_GL:tl} == "yes" USE_GL= glu . endif . for _component in ${USE_GL} . if !defined(_GL_${_component}_LIB_DEPENDS) && \ !defined(_GL_${_component}_RUN_DEPENDS) IGNORE= uses unknown GL component . else USE_XORG+= ${_GL_${_component}_USE_XORG} BUILD_DEPENDS+= ${_GL_${_component}_BUILD_DEPENDS} LIB_DEPENDS+= ${_GL_${_component}_LIB_DEPENDS} RUN_DEPENDS+= ${_GL_${_component}_RUN_DEPENDS} . endif . endfor .endif .if defined(_DESTDIR_VIA_ENV) MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} .else MAKE_ARGS+= ${DESTDIRNAME}=${STAGEDIR} .endif .if defined(NO_PREFIX_RMDIR) CO_ENV+= NO_PREFIX_RMDIR=1 .else CO_ENV+= NO_PREFIX_RMDIR=0 .endif METADIR= ${WRKDIR}/.metadir PKGPREINSTALL?= ${PKGDIR}/pkg-pre-install PKGPOSTINSTALL?= ${PKGDIR}/pkg-post-install PKGPREDEINSTALL?= ${PKGDIR}/pkg-pre-deinstall PKGPOSTDEINSTALL?= ${PKGDIR}/pkg-post-deinstall PKGPREUPGRADE?= ${PKGDIR}/pkg-pre-upgrade PKGPOSTUPGRADE?= ${PKGDIR}/pkg-post-upgrade PKGUPGRADE?= ${PKGDIR}/pkg-upgrade _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \ fonts.dir fonts.scale gtk-update-icon-cache \ gio-querymodules \ gtk-query-immodules \ ldconfig \ load-octave-pkg \ ocamlfind \ update-desktop-database update-mime-database \ gdk-pixbuf-query-loaders catalog.ports \ glib-compile-schemas \ ccache-update-links .if defined(USE_LOCAL_MK) .include "${PORTSDIR}/Mk/bsd.local.mk" .endif .if defined(USE_XORG) || defined(XORG_CAT) .include "${PORTSDIR}/Mk/bsd.xorg.mk" .endif .if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1) .include "${PORTSDIR}/Mk/bsd.gstreamer.mk" .endif .if defined(USE_JAVA) .include "${PORTSDIR}/Mk/bsd.java.mk" .endif .if defined(USE_OCAML) .include "${PORTSDIR}/Mk/bsd.ocaml.mk" .endif .if defined(USE_QT4) || defined(USE_QT5) .include "${PORTSDIR}/Mk/bsd.qt.mk" .endif .if defined(USE_SDL) .include "${PORTSDIR}/Mk/bsd.sdl.mk" .endif .if defined(USE_PHP) && (!defined(USES) || ( defined(USES) && !${USES:Mphp*} )) DEV_WARNING+= "Using USE_PHP alone is deprecated, please use USES=php" _USES_POST+= php .endif .if defined(USE_WX) || defined(USE_WX_NOT) .include "${PORTSDIR}/Mk/bsd.wx.mk" .endif .if defined(USE_APACHE) || defined(USE_APACHE_BUILD) || defined(USE_APACHE_RUN) .include "${PORTSDIR}/Mk/bsd.apache.mk" .endif .if defined(USE_AUTOTOOLS) .include "${PORTSDIR}/Mk/bsd.autotools.mk" .endif .if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL) .include "${PORTSDIR}/Mk/bsd.fpc.mk" .endif .if defined(USE_GECKO) .include "${PORTSDIR}/Mk/bsd.gecko.mk" .endif .if 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_LOCALE) CONFIGURE_ENV+= LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE} MAKE_ENV+= LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE} .endif .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" .if !make(makesum) FETCH_ENV?= SSL_NO_VERIFY_PEER=1 SSL_NO_VERIFY_HOSTNAME=1 .endif FETCH_BINARY?= /usr/bin/fetch FETCH_ARGS?= -Fpr FETCH_REGET?= 1 FETCH_CMD?= ${FETCH_BINARY} ${FETCH_ARGS} .if defined(RANDOMIZE_MASTER_SITES) .if exists(/usr/games/random) RANDOM_CMD?= /usr/games/random RANDOM_ARGS?= -w -f - _RANDOMIZE_SITES= |${RANDOM_CMD} ${RANDOM_ARGS} .endif .endif TOUCH?= /usr/bin/touch TOUCH_FLAGS?= -f DISTORIG?= .bak.orig PATCH?= /usr/bin/patch PATCH_STRIP?= -p0 PATCH_DIST_STRIP?= -p0 .if defined(PATCH_DEBUG) PATCH_DEBUG_TMP= yes PATCH_ARGS?= -E ${PATCH_STRIP} PATCH_DIST_ARGS?= --suffix ${DISTORIG} -E ${PATCH_DIST_STRIP} .else PATCH_ARGS?= --forward --quiet -E ${PATCH_STRIP} PATCH_DIST_ARGS?= --suffix ${DISTORIG} --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 PATCH_DIST_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 # In the -exec shell commands, we add add a . as the first argument, it would # end up being $0 aka the script name, which is not part of $@, so we force it # to be able to use $@ directly. COPYTREE_BIN= ${SH} -c '(${FIND} -Ed $$1 $$3 | ${CPIO} -dumpl $$2 >/dev/null 2>&1) && \ ${FIND} -Ed $$1 $$3 \( -type d -exec ${SH} -c '\''cd '\''$$2'\'' && chmod 755 "$$@"'\'' . {} + \ -o -type f -exec ${SH} -c '\''cd '\''$$2'\'' && chmod ${BINMODE} "$$@"'\'' . {} + \)' COPYTREE_BIN COPYTREE_SHARE= ${SH} -c '(${FIND} -Ed $$1 $$3 | ${CPIO} -dumpl $$2 >/dev/null 2>&1) && \ ${FIND} -Ed $$1 $$3 \( -type d -exec ${SH} -c '\''cd '\''$$2'\'' && chmod 755 "$$@"'\'' . {} + \ -o -type f -exec ${SH} -c '\''cd '\''$$2'\'' && chmod ${_SHAREMODE} "$$@"'\'' . {} + \)' COPYTREE_SHARE # The user can override the NO_PACKAGE by specifying this from # the make command line .if defined(FORCE_PACKAGE) .undef NO_PACKAGE .endif DESCR?= ${PKGDIR}/pkg-descr PLIST?= ${PKGDIR}/pkg-plist PKGHELP?= ${PKGDIR}/pkg-help PKGINSTALL?= ${PKGDIR}/pkg-install PKGDEINSTALL?= ${PKGDIR}/pkg-deinstall PKGREQ?= ${PKGDIR}/pkg-req PKGMESSAGE?= ${PKGDIR}/pkg-message _PKGMESSAGES+= ${PKGMESSAGE} TMPPLIST?= ${WRKDIR}/.PLIST.mktmp .if defined(PKG_NOCOMPRESS) PKG_SUFX?= .tar .else PKG_SUFX?= .txz .endif # where pkg_add records its dirty deeds. PKG_DBDIR?= /var/db/pkg ALL_TARGET?= all INSTALL_TARGET?= install INSTALL_TARGET+= ${LATE_INSTALL_ARGS} # Integrate with the license auditing framework .if !defined (DISABLE_LICENSES) .include "${PORTSDIR}/Mk/bsd.licenses.mk" .endif # Popular master sites .include "${PORTSDIR}/Mk/bsd.sites.mk" # Empty declaration to avoid "variable MASTER_SITES recursive" error MASTER_SITES?= PATCH_SITES?= _MASTER_SITES_DEFAULT?= _PATCH_SITES_DEFAULT?= # Feed internal _{MASTER,PATCH}_SITES_n where n is a group designation # as per grouping rules (:something) # Organize _{MASTER,PATCH}_SITES_{DEFAULT,[^/:]+} according to grouping # rules (:something) .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/?:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP:C/[a-zA-Z0-9_]//g} check-makevars:: @${ECHO_MSG} "The ${_S} MASTER_SITES line has" @${ECHO_MSG} "a group with invalid characters, only use [a-zA-Z0-9_]" @${FALSE} . endif . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITES" @${FALSE} . endif _MASTER_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor . else _MASTER_SITES_DEFAULT+= ${_S:C@^(.*/):[^/:]+$@\1@} . endif .endfor .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP:C/[a-zA-Z0-9_]//g} check-makevars:: @${ECHO_MSG} "The ${_S} PATCH_SITES line has" @${ECHO_MSG} "a group with invalid characters, only use [a-zA-Z0-9_]" @${FALSE} . endif . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "The words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your PATCH_SITES" @${FALSE} . endif _PATCH_SITES_${_group}+= ${_S:C@^(.*/):[^/:]+$@\1@} . endfor . else _PATCH_SITES_DEFAULT+= ${_S:C@^(.*/):[^/:]+$@\1@} . endif .endfor # Feed internal _{MASTER,PATCH}_SITE_SUBDIR_n where n is a group designation # as per grouping rules (:something) # Organize _{MASTER,PATCH}_SITE_SUBDIR_{DEFAULT,[^/:]+} according to grouping # rules (:something) .for _S in ${MASTER_SITE_SUBDIR} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your MASTER_SITE_SUBDIR" @${FALSE} . endif . if defined(_MASTER_SITES_${_group}) _MASTER_SITE_SUBDIR_${_group}+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endfor . else . if defined(_MASTER_SITES_DEFAULT) _MASTER_SITE_SUBDIR_DEFAULT+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endif .endfor .for _S in ${PATCH_SITE_SUBDIR} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} _G_TEMP= ${_group} . if ${_G_TEMP} == all || ${_G_TEMP} == ALL || ${_G_TEMP} == default check-makevars:: @${ECHO_MSG} "Makefile error: the words all, ALL and default are reserved and cannot be" @${ECHO_MSG} "used in group definitions. Please fix your PATCH_SITE_SUBDIR" @${FALSE} . endif . if defined(_PATCH_SITES_${_group}) _PATCH_SITE_SUBDIR_${_group}+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endfor . else . if defined(_PATCH_SITES_DEFAULT) _PATCH_SITE_SUBDIR_DEFAULT+= ${_S:C@^(.*)/:[^/:]+$@\1@} . endif . endif .endfor # Substitute subdirectory names # XXX simpler/faster solution but not the best space wise, suggestions please .for _S in ${MASTER_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if !defined(_MASTER_SITE_SUBDIR_${_group}) MASTER_SITES_TMP= ${_MASTER_SITES_${_group}:S^%SUBDIR%/^^} . else _S_TEMP_TEMP= ${_MASTER_SITES_${_group}:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP= ${_MASTER_SITES_${_group}} . else MASTER_SITES_TMP= . for site in ${_MASTER_SITES_${_group}} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP+= ${site} . else . for dir in ${_MASTER_SITE_SUBDIR_${_group}} MASTER_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif . endif _MASTER_SITES_${_group}:= ${MASTER_SITES_TMP} . endfor . endif .endfor .if defined(_MASTER_SITE_SUBDIR_DEFAULT) _S_TEMP= ${_MASTER_SITES_DEFAULT:M*%SUBDIR%/*} . if empty(_S_TEMP) MASTER_SITES_TMP= ${_MASTER_SITES_DEFAULT} . else MASTER_SITES_TMP= . for site in ${_MASTER_SITES_DEFAULT} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) MASTER_SITES_TMP+= ${site} . else . for dir in ${_MASTER_SITE_SUBDIR_DEFAULT} MASTER_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif .else MASTER_SITES_TMP= ${_MASTER_SITES_DEFAULT:S^%SUBDIR%/^^} .endif _MASTER_SITES_DEFAULT:= ${MASTER_SITES_TMP} MASTER_SITES_TMP= .for _S in ${PATCH_SITES} _S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://} . if !empty(_S_TEMP) . for _group in ${_S_TEMP:S/,/ /g} . if !defined(_PATCH_SITE_SUBDIR_${_group}) PATCH_SITES_TMP= ${_PATCH_SITES_${_group}:S^%SUBDIR%/^^} . else _S_TEMP_TEMP= ${_PATCH_SITES_${_group}:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP= ${_PATCH_SITES_${_group}} . else PATCH_SITES_TMP= . for site in ${_PATCH_SITES_${_group}} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP+= ${site} . else . for dir in ${_PATCH_SITE_SUBDIR_${_group}} PATCH_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif . endif _PATCH_SITES_${_group}:= ${PATCH_SITES_TMP} . endfor . endif .endfor .if defined(_PATCH_SITE_SUBDIR_DEFAULT) _S_TEMP= ${_PATCH_SITES_DEFAULT:M*%SUBDIR%/*} . if empty(_S_TEMP) PATCH_SITES_TMP= ${_PATCH_SITES_DEFAULT} . else PATCH_SITES_TMP= . for site in ${_PATCH_SITES_DEFAULT} _S_TEMP_TEMP= ${site:M*%SUBDIR%/*} . if empty(_S_TEMP_TEMP) PATCH_SITES_TMP+= ${site} . else . for dir in ${_PATCH_SITE_SUBDIR_DEFAULT} PATCH_SITES_TMP+= ${site:S^%SUBDIR%^\${dir}^} . endfor . endif . endfor . endif .else PATCH_SITES_TMP= ${_PATCH_SITES_DEFAULT:S^%SUBDIR%/^^} .endif _PATCH_SITES_DEFAULT:= ${PATCH_SITES_TMP} PATCH_SITES_TMP= # The primary backup site. MASTER_SITE_BACKUP?= \ http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/ MASTER_SITE_BACKUP:= ${MASTER_SITE_BACKUP:S^\${DIST_SUBDIR}/^^} # If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository # for everything, but don't search it twice by appending it to the end. .if defined(MASTER_SITE_FREEBSD) _MASTER_SITE_OVERRIDE:= ${MASTER_SITE_BACKUP} _MASTER_SITE_BACKUP:= # empty .else _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE} _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP} .endif NOFETCHFILES?= # Organize DISTFILES, PATCHFILES, _MASTER_SITES_ALL, _PATCH_SITES_ALL # according to grouping rules (:something) DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} _MASTER_SITES_ALL= ${_MASTER_SITES_DEFAULT} _PATCH_SITES_ALL= ${_PATCH_SITES_DEFAULT} _G_TEMP= DEFAULT .for _D in ${DISTFILES} _D_TEMP= ${_D:S/^${_D:C/:[^:]+$//}//} . if !empty(_D_TEMP) . for _group in ${_D_TEMP:S/^://:S/,/ /g} . if !defined(_MASTER_SITES_${_group}) _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} . if empty(_G_TEMP_TEMP) _G_TEMP+= ${_group} _MASTER_SITES_ALL+= ${_MASTER_SITES_${_group}} . endif . endif . endfor _DISTFILES+= ${_D:C/:[^:]+$//} . else _DISTFILES+= ${_D} . endif .endfor _G_TEMP= DEFAULT .for _P in ${PATCHFILES} _P_TEMP= ${_P:C/:[^-:][^:]*$//} _P_groups= ${_P:S/^${_P:C/:[^:]+$//}//:S/^://} _P_file= ${_P_TEMP:C/:-[^:]+$//} _P_strip= ${_P_TEMP:S/^${_P_TEMP:C/:-[^:]*$//}//:S/^://} . if !empty(_P_groups) . for _group in ${_P_groups:S/,/ /g} . if !defined(_PATCH_SITES_${_group}) _G_TEMP_TEMP= ${_G_TEMP:M/${_group}/} . if empty(_G_TEMP_TEMP) _G_TEMP+= ${_group} _PATCH_SITES_ALL+= ${_PATCH_SITES_${_group}} . endif . endif . endfor . endif _PATCHFILES:= ${_PATCHFILES} ${_P_file} . if empty(_P_strip) _PATCHFILES2:= ${_PATCHFILES2} ${_P_file} . else _PATCHFILES2:= ${_PATCHFILES2} ${_P_file}:${_P_strip} . endif .endfor _P_groups= _P_file= _P_strip= _G_TEMP= _G_TEMP_TEMP= ALLFILES?= ${_DISTFILES} ${_PATCHFILES} # # Sort the master site list according to the patterns in MASTER_SORT # MASTER_SORT?= MASTER_SORT_REGEX?= MASTER_SORT_REGEX+= ${MASTER_SORT:S|.|\\.|g:S|^|://[^/]*|:S|$|/|} MASTER_SORT_AWK= BEGIN { RS = " "; ORS = " "; IGNORECASE = 1 ; gl = "${MASTER_SORT_REGEX:S|\\|\\\\|g}"; } .for srt in ${MASTER_SORT_REGEX} MASTER_SORT_AWK+= /${srt:S|/|\\/|g}/ { good["${srt:S|\\|\\\\|g}"] = good["${srt:S|\\|\\\\|g}"] " " $$0 ; next; } .endfor MASTER_SORT_AWK+= { rest = rest " " $$0; } END { n=split(gl, gla); for(i=1;i<=n;i++) { print good[gla[i]]; } print rest; } # # Hackery to enable simple fetch targets with several dynamic MASTER_SITES # _MASTER_SITES_ENV= _MASTER_SITES_DEFAULT=${_MASTER_SITES_DEFAULT:Q} .for _F in ${DISTFILES} _F_TEMP= ${_F:S/^${_F:C/:[^:]+$//}//:S/^://} . if !empty(_F_TEMP) . for _group in ${_F_TEMP:S/,/ /g} . if defined(_MASTER_SITES_${_group}) _MASTER_SITES_ENV+= _MASTER_SITES_${_group}=${_MASTER_SITES_${_group}:Q} . endif . endfor . endif .endfor _PATCH_SITES_ENV= _PATCH_SITES_DEFAULT=${_PATCH_SITES_DEFAULT:Q} .for _F in ${PATCHFILES} _F_TEMP= ${_F:S/^${_F:C/:[^-:][^:]*$//}//:S/^://} . if !empty(_F_TEMP) . for _group in ${_F_TEMP:S/,/ /g} . if defined(_PATCH_SITES_${_group}) _PATCH_SITES_ENV+= _PATCH_SITES_${_group}=${_PATCH_SITES_${_group}:Q} . endif . endfor . endif .endfor CKSUMFILES= ${ALLFILES} # List of all files, with ${DIST_SUBDIR} in front. Used for checksum. .if defined(DIST_SUBDIR) .if defined(CKSUMFILES) && ${CKSUMFILES}!="" _CKSUMFILES?= ${CKSUMFILES:S/^/${DIST_SUBDIR}\//} .endif .else _CKSUMFILES?= ${CKSUMFILES} .endif # This is what is actually going to be extracted, and is overridable # by user. EXTRACT_ONLY?= ${_DISTFILES} .if !target(maintainer) maintainer: @${ECHO_CMD} "${MAINTAINER}" .endif .if !defined(CATEGORIES) check-categories: @${ECHO_MSG} "${PKGNAME}: Makefile error: CATEGORIES is mandatory." @${FALSE} .else VALID_CATEGORIES+= accessibility afterstep arabic archivers astro audio \ benchmarks biology cad chinese comms converters databases \ deskutils devel docs dns editors elisp emulators enlightenment finance french ftp \ games geography german gnome gnustep graphics hamradio haskell hebrew hungarian \ ipv6 irc japanese java kde ${_KDE_CATEGORIES_SUPPORTED} 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 wayland 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}) PACKAGES:= ${PACKAGES:S/:/\:/g} _HAVE_PACKAGES= yes 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(CROSS_TOOLCHAIN) CROSS_HOST= ${CROSS_TOOLCHAIN:C,-.*$,,}-${OPSYS:tl} CONFIGURE_ARGS+= --host=${CROSS_HOST} .endif CONFIGURE_ENV+= CONFIG_SITE=${CONFIG_SITE} lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} HAS_CONFIGURE= yes SET_LATE_CONFIGURE_ARGS= \ _LATE_CONFIGURE_ARGS="" ; \ if [ -z "${CONFIGURE_ARGS:M--localstatedir=*:Q}" ] && \ ${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- --localstatedir > /dev/null; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --localstatedir=/var" ; \ fi ; \ if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \ fi ; \ if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--disable-silent-rules'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --disable-silent-rules" ; \ fi ; \ if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--enable-jobserver\[.*\#\]'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --enable-jobserver=${MAKE_JOBS_NUMBER}" ; \ fi ; \ if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \ fi ; \ if [ -z "`${CONFIGURE_CMD} --version 2>&1 | ${EGREP} -i '(autoconf.*2\.13|Unrecognized option)'`" ]; then \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \ else \ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \ fi ; .endif # Passed to most of script invocations SCRIPTS_ENV+= CURDIR=${MASTERDIR} DISTDIR=${DISTDIR} \ WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} PATCHDIR=${PATCHDIR} \ SCRIPTDIR=${SCRIPTDIR} FILESDIR=${FILESDIR} \ PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} .if defined(BATCH) SCRIPTS_ENV+= BATCH=yes .endif .if ${PREFIX} == /usr MANPREFIX?= /usr/share .else MANPREFIX?= ${PREFIX} .endif MANDIRS+= ${MANPREFIX}/man .for sect in 1 2 3 4 5 6 7 8 9 MAN${sect}PREFIX?= ${MANPREFIX} .endfor MANLPREFIX?= ${MANPREFIX} MANNPREFIX?= ${MANPREFIX} .if ${PREFIX} == /usr INFO_PATH?= share/info .else INFO_PATH?= info .endif .if defined(INFO) RUN_DEPENDS+= indexinfo:print/indexinfo . for D in ${INFO:H} RD:= ${D} . if ${RD} != "." . if !defined(INFO_SUBDIR) INFO_SUBDIR:= ${RD} . elif ${INFO_SUBDIR} != ${RD} BROKEN= only one subdirectory in INFO is allowed . endif . endif .undef RD . endfor .endif DOCSDIR_REL?= ${DOCSDIR:S,^${PREFIX}/,,} EXAMPLESDIR_REL?= ${EXAMPLESDIR:S,^${PREFIX}/,,} DATADIR_REL?= ${DATADIR:S,^${PREFIX}/,,} WWWDIR_REL?= ${WWWDIR:S,^${PREFIX}/,,} ETCDIR_REL?= ${ETCDIR:S,^${PREFIX}/,,} PLIST_SUB+= DOCSDIR="${DOCSDIR_REL}" \ EXAMPLESDIR="${EXAMPLESDIR_REL}" \ DATADIR="${DATADIR_REL}" \ WWWDIR="${WWWDIR_REL}" \ ETCDIR="${ETCDIR_REL}" DESKTOPDIR?= ${PREFIX}/share/applications .MAIN: all ################################################################ # Many ways to disable a port. # # If we're in BATCH mode and the port is interactive, or we're # in interactive mode and the port is non-interactive, skip all # the important targets. The reason we have two modes is that # one might want to leave a build in BATCH mode running # overnight, then come back in the morning and do _only_ the # interactive ones that required your intervention. # # Ignore ports that can't be resold if building for a CDROM. # # Don't build a port if it's restricted and we don't want to get # into that. # # Don't build a port if it's broken, unless we're running a parallel # build (in case it's fixed). # # Don't build a port if it's forbidden for whatever reason. # # Don't build a port if the system is too old. ################################################################ # Check the machine architectures .if defined(ONLY_FOR_ARCHS) .for __ARCH in ${ONLY_FOR_ARCHS} .if ${ARCH:M${__ARCH}} != "" __ARCH_OK?= 1 .endif .endfor .else __ARCH_OK?= 1 .endif .if defined(NOT_FOR_ARCHS) .for __NARCH in ${NOT_FOR_ARCHS} .if ${ARCH:M${__NARCH}} != "" .undef __ARCH_OK .endif .endfor .endif .if !defined(__ARCH_OK) .if defined(ONLY_FOR_ARCHS) IGNORE= is only for ${ONLY_FOR_ARCHS}, .else # defined(NOT_FOR_ARCHS) IGNORE= does not run on ${NOT_FOR_ARCHS}, .endif IGNORE+= while you are running ${ARCH} .if defined(ONLY_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON_${ARCH}}) .elif defined(ONLY_FOR_ARCHS_REASON) IGNORE+= (reason: ${ONLY_FOR_ARCHS_REASON}) .endif .if defined(NOT_FOR_ARCHS_REASON_${ARCH}) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON_${ARCH}}) .elif defined(NOT_FOR_ARCHS_REASON) IGNORE+= (reason: ${NOT_FOR_ARCHS_REASON}) .endif .endif # Check the user interaction and legal issues .if !defined(NO_IGNORE) .if (defined(IS_INTERACTIVE) && defined(BATCH)) IGNORE= is an interactive port .elif (!defined(IS_INTERACTIVE) && defined(INTERACTIVE)) IGNORE= is not an interactive port .elif (defined(NO_CDROM) && defined(FOR_CDROM)) IGNORE= may not be placed on a CDROM: ${NO_CDROM} .elif (defined(RESTRICTED) && defined(NO_RESTRICTED)) IGNORE= is restricted: ${RESTRICTED} .elif (defined(NO_PACKAGE) && defined(PACKAGE_BUILDING)) IGNORE= may not be packaged: ${NO_PACKAGE} .elif defined(IGNORE_${ARCH}) IGNORE= ${IGNORE_${ARCH}} .elif defined(IGNORE_${OPSYS}_${OSREL:R}_${ARCH}) IGNORE= ${IGNORE_${OPSYS}_${OSREL:R}_${ARCH}} .elif defined(IGNORE_${OPSYS}_${OSREL:R}) IGNORE= ${IGNORE_${OPSYS}_${OSREL:R}} .elif defined(IGNORE_${OPSYS}) IGNORE= ${IGNORE_${OPSYS}} .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}_${ARCH}) .if !defined(TRYBROKEN) IGNORE= is marked as broken on ${OPSYS} ${OSREL} ${ARCH}: ${BROKEN_${OPSYS}_${OSREL:R}_${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}) .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_80} ; 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 # !defined(NO_IGNORE) ignorelist: .if defined(IGNORE) || defined(NO_PACKAGE) ignorelist: package-name .endif ignorelist-verbose: .if defined(IGNORE) @${ECHO_CMD} "${PKGNAME}|IGNORE: "${IGNORE:Q} .elif defined(NO_PACKAGE) @${ECHO_CMD} "${PKGNAME}|NO_PACKAGE: "${NO_PACKAGE:Q} .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 build .if defined(NO_BUILD) && !target(build) build: configure @${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE} .endif # Disable package .if defined(NO_PACKAGE) && !target(package) package: .if !defined(IGNORE_SILENT) @${ECHO_MSG} "===> ${PKGNAME} may not be packaged: "${NO_PACKAGE:Q}. .endif .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. ################################################################ .if defined(TRYBROKEN) && defined(BROKEN) buildanyway-message: @${ECHO_MSG} "Trying build of ${PKGNAME} even though it is marked BROKEN." .endif # Warn user about deprecated packages. Advisory only. .if !target(check-deprecated) # Try and keep these messages in sync with the ones in Mk/Scripts/create-manifest.sh check-deprecated: .if ${MAINTAINER} == "ports@FreeBSD.org" @${ECHO_MSG} "===> NOTICE:" @${ECHO_MSG} @${ECHO_MSG} "The ${PORTNAME} port currently does not have a maintainer. As a result, it is" @${ECHO_MSG} "more likely to have unresolved issues, not be up-to-date, or even be removed in" @${ECHO_MSG} "the future. To volunteer to maintain this port, please create an issue at:" @${ECHO_MSG} @${ECHO_MSG} "https://bugs.freebsd.org/bugzilla" @${ECHO_MSG} @${ECHO_MSG} "More information about port maintainership is available at:" @${ECHO_MSG} @${ECHO_MSG} "https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port" @${ECHO_MSG} .endif .if defined(DEPRECATED) @${ECHO_MSG} "===> NOTICE:" @${ECHO_MSG} @${ECHO_MSG} "This port is deprecated; you may wish to reconsider installing it:" @${ECHO_MSG} @${ECHO_MSG} ${DEPRECATED:Q}. @${ECHO_MSG} .if defined(EXPIRATION_DATE) @${ECHO_MSG} "It is scheduled to be removed on or after ${EXPIRATION_DATE}." @${ECHO_MSG} .endif .endif .endif # Check if the port is listed in the vulnerability database AUDITFILE?= ${PKG_DBDIR}/vuln.xml check-vulnerable: .if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING) \ && exists(${AUDITFILE}) @${SETENV} \ dp_ECHO_MSG="${ECHO_MSG}" \ dp_PKG_BIN="${PKG_BIN}" \ dp_PORTNAME="${PORTNAME}" \ dp_PKGNAME="${PKGNAME}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ ${SH} ${SCRIPTSDIR}/check-vulnerable.sh .endif # Quote simply quote all variables, except FETCH_ENV, some ports are creative # with it, and it needs to be quoted twice to pass through the echo/eval in # do-fetch. _DO_FETCH_ENV= \ dp_DISABLE_SIZE='${DISABLE_SIZE}' \ dp_DISTDIR='${_DISTDIR}' \ dp_DISTINFO_FILE='${DISTINFO_FILE}' \ dp_DIST_SUBDIR='${DIST_SUBDIR}' \ dp_ECHO_MSG='${ECHO_MSG}' \ dp_FETCH_AFTER_ARGS='${FETCH_AFTER_ARGS}' \ dp_FETCH_BEFORE_ARGS='${FETCH_BEFORE_ARGS}' \ dp_FETCH_CMD='${FETCH_CMD}' \ dp_FETCH_ENV=${FETCH_ENV:Q} \ dp_FORCE_FETCH_ALL='${FORCE_FETCH_ALL}' \ dp_FORCE_FETCH_LIST='${FORCE_FETCH_LIST}' \ dp_MASTER_SITE_BACKUP='${_MASTER_SITE_BACKUP}' \ dp_MASTER_SITE_OVERRIDE='${_MASTER_SITE_OVERRIDE}' \ dp_MASTER_SORT_AWK='${MASTER_SORT_AWK}' \ dp_NO_CHECKSUM='${NO_CHECKSUM}' \ dp_RANDOMIZE_SITES='${_RANDOMIZE_SITES}' \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ dp_TARGET='${.TARGET}' .if defined(DEVELOPER) _DO_FETCH_ENV+= dp_DEVELOPER=yes .else _DO_FETCH_ENV+= dp_DEVELOPER= .endif # Fetch .if !target(do-fetch) do-fetch: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif .endif # # Prints out a list of files to fetch (useful to do a batch fetch) .if !target(fetch-list) fetch-list: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif .endif # Used by fetch-urlall-list and fetch-url-list .if !target(fetch-url-list-int) fetch-url-list-int: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif .endif # Prints out all the URL for all the DISTFILES and PATCHFILES. .if !target(fetch-urlall-list) fetch-urlall-list: @cd ${.CURDIR} && ${SETENV} FORCE_FETCH_ALL=yes ${MAKE} fetch-url-list-int .endif # Prints the URL for all the DISTFILES and PATCHFILES that are not here .if !target(fetch-url-list) fetch-url-list: fetch-url-list-int .endif # Extract clean-wrkdir: @${RM} -r ${WRKDIR} .if !target(do-extract) do-extract: ${EXTRACT_WRKDIR} @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: @${SETENV} \ dp_BZCAT="${BZCAT}" \ dp_CAT="${CAT}" \ dp_DISTDIR="${_DISTDIR}" \ dp_ECHO_MSG="${ECHO_MSG}" \ dp_EXTRA_PATCHES="${EXTRA_PATCHES}" \ dp_EXTRA_PATCH_TREE="${EXTRA_PATCH_TREE}" \ dp_GZCAT="${GZCAT}" \ dp_OPSYS="${OPSYS}" \ dp_PATCH="${PATCH}" \ dp_PATCHDIR="${PATCHDIR}" \ dp_PATCHFILES="${_PATCHFILES2}" \ dp_PATCH_ARGS=${PATCH_ARGS:Q} \ dp_PATCH_DEBUG_TMP="${PATCH_DEBUG_TMP}" \ dp_PATCH_DIST_ARGS="${PATCH_DIST_ARGS}" \ dp_PATCH_SILENT="${PATCH_SILENT}" \ dp_PATCH_WRKSRC=${PATCH_WRKSRC} \ dp_PKGNAME="${PKGNAME}" \ dp_PKGORIGIN="${PKGORIGIN}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ dp_UNZIP_NATIVE_CMD="${UNZIP_NATIVE_CMD}" \ dp_XZCAT="${XZCAT}" \ ${SH} ${SCRIPTSDIR}/do-patch.sh .endif .if !target(run-autotools-fixup) run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. .if !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}.fbsd10bak ; \ done .endif .endif # Configure .if !target(do-configure) do-configure: @if [ -f ${SCRIPTDIR}/configure ]; then \ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/configure; \ fi .if defined(GNU_CONFIGURE) @CONFIG_GUESS_DIRS=$$(${FIND} ${WRKDIR} -name config.guess -o -name config.sub \ | ${XARGS} -n 1 ${DIRNAME}); \ for _D in $${CONFIG_GUESS_DIRS}; do \ ${RM} $${_D}/config.guess; \ ${CP} ${TEMPLATES}/config.guess $${_D}/config.guess; \ ${CHMOD} a+rx $${_D}/config.guess; \ ${RM} $${_D}/config.sub; \ ${CP} ${TEMPLATES}/config.sub $${_D}/config.sub; \ ${CHMOD} a+rx $${_D}/config.sub; \ done .endif .if defined(HAS_CONFIGURE) @${MKDIR} ${CONFIGURE_WRKSRC} @(cd ${CONFIGURE_WRKSRC} && \ ${SET_LATE_CONFIGURE_ARGS} \ if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ INSTALL="/usr/bin/install -c" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_LIB="${INSTALL_LIB}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}; then \ ${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT_80} ; \ ${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_80} ; \ fi; \ ${FALSE}; \ fi) .endif # Check conflicts .if !target(check-conflicts) check-conflicts: check-build-conflicts check-install-conflicts .endif .if !target(check-build-conflicts) check-build-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_BUILD) ) && !defined(DISABLE_CONFLICTS) && !defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They will not build together."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1;\ fi .endif .endif .if !target(identify-install-conflicts) identify-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) ) && !defined(DISABLE_CONFLICTS) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " You may want to stop build with Ctrl + C."; \ sleep 10; \ fi .endif .endif .if !target(check-install-conflicts) check-install-conflicts: .if ( defined(CONFLICTS) || defined(CONFLICTS_INSTALL) || ( defined(CONFLICTS_BUILD) && defined(DEFER_CONFLICTS_CHECK) ) ) && !defined(DISABLE_CONFLICTS) .if defined(DEFER_CONFLICTS_CHECK) @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_BUILD:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1; \ fi .else @conflicts_with=$$( \ { ${PKG_QUERY} -g "%n-%v %p %o" ${CONFLICTS:C/.+/'&'/} ${CONFLICTS_INSTALL:C/.+/'&'/} 2>/dev/null || : ; } \ | while read pkgname prfx orgn; do \ if [ "/${PREFIX}" = "/$${prfx}" -a "/${PKGORIGIN}" != "/$${orgn}" ]; then \ ${ECHO_CMD} -n " $${pkgname}"; \ fi; \ done); \ if [ -n "$${conflicts_with}" ]; then \ ${ECHO_MSG}; \ ${ECHO_MSG} "===> ${PKGNAME} conflicts with installed package(s): "; \ for entry in $${conflicts_with}; do \ ${ECHO_MSG} " $${entry}"; \ done; \ ${ECHO_MSG}; \ ${ECHO_MSG} " They install files into the same place."; \ ${ECHO_MSG} " Please remove them first with pkg delete."; \ exit 1; \ fi .endif # defined(DEFER_CONFLICTS_CHECK) .endif .endif # Install .if !target(do-install) && !defined(NO_INSTALL) do-install: @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${FAKEROOT} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif # Test .if !target(do-test) && defined(TEST_TARGET) DO_MAKE_TEST?= ${SETENV} ${TEST_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${TEST_ARGS:C,^${DESTDIRNAME}=.*,,g} do-test: @(cd ${TEST_WRKSRC}; if ! ${DO_MAKE_TEST} ${TEST_TARGET}; then \ if [ -n "${TEST_FAIL_MESSAGE}" ] ; then \ ${ECHO_MSG} "===> Tests failed unexpectedly."; \ (${ECHO_CMD} "${TEST_FAIL_MESSAGE}") | ${FMT_80} ; \ fi; \ ${FALSE}; \ fi) .endif # Package .if defined(_HAVE_PACKAGES) _EXTRA_PACKAGE_TARGET_DEP+= ${PKGFILE} _PORTS_DIRECTORIES+= ${PKGREPOSITORY} ${PKGFILE}: ${WRKDIR_PKGFILE} ${PKGREPOSITORY} @${LN} -f ${WRKDIR_PKGFILE} ${PKGFILE} 2>/dev/null \ || ${CP} -f ${WRKDIR_PKGFILE} ${PKGFILE} . if ${PKGORIGIN} == "ports-mgmt/pkg" || ${PKGORIGIN} == "ports-mgmt/pkg-devel" _EXTRA_PACKAGE_TARGET_DEP+= ${PKGLATESTREPOSITORY} _PORTS_DIRECTORIES+= ${PKGLATESTREPOSITORY} _EXTRA_PACKAGE_TARGET_DEP+= ${PKGLATESTFILE} ${PKGLATESTFILE}: ${PKGFILE} ${PKGLATESTREPOSITORY} ${INSTALL} -l rs ${PKGFILE} ${PKGLATESTFILE} . endif .endif # from here this will become a loop for subpackages ${WRKDIR_PKGFILE}: ${TMPPLIST} create-manifest ${WRKDIR}/pkg @if ! ${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_CREATE} ${PKG_CREATE_ARGS} -m ${METADIR} -p ${TMPPLIST} -f ${PKG_SUFX:S/.//} -o ${WRKDIR}/pkg ${PKGNAME}; then \ cd ${.CURDIR} && eval ${MAKE} delete-package >/dev/null; \ exit 1; \ fi # # Temporary will be later dynamically added per subpackages _EXTRA_PACKAGE_TARGET_DEP+= ${WRKDIR_PKGFILE} # This will be the end of the loop .if !target(do-package) PKG_CREATE_ARGS= -r ${STAGEDIR} . if defined(PKG_CREATE_VERBOSE) PKG_CREATE_ARGS+= -v . endif do-package: ${_EXTRA_PACKAGE_TARGET_DEP} ${WRKDIR}/pkg .endif .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} ${PKGFILE} ${WRKDIR_PKGFILE} 2>/dev/null || : .endif .if !target(delete-package-list) delete-package-list: @${ECHO_CMD} "[ -f ${PKGFILE} ] && (${ECHO_CMD} deleting ${PKGFILE}; ${RM} ${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 # Needed for poudriere wait for at least a year before removing # XXX 2017-04-09 .if !target(install-mtree) install-mtree: .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 !defined(USE_LINUX_PREFIX) . if !target(fixup-lib-pkgconfig) fixup-lib-pkgconfig: @if [ -d ${STAGEDIR}${PREFIX}/lib/pkgconfig ]; then \ if [ -z "$$(${FIND} ${STAGEDIR}${PREFIX}/lib/pkgconfig -maxdepth 0 -empty)" ]; then \ ${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \ ${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/* ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \ fi; \ ${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig; \ fi . endif .endif .if !target(create-users-groups) .if defined(GROUPS) || defined(USERS) _UG_INSTALL= ${WRKDIR}/users-groups-install.sh _UG_DEINSTALL= ${WRKDIR}/users-groups-deinstall.sh PKGPREINSTALL+= ${_UG_INSTALL} PKGPOSTDEINSTALL+= ${_UG_DEINSTALL} create-users-groups: @${SETENV} \ dp_ECHO_MSG="${ECHO_MSG}" \ dp_GID_FILES="${GID_FILES}" \ dp_GID_OFFSET="${GID_OFFSET}" \ dp_GROUPS_BLACKLIST="${GROUPS_BLACKLIST}" \ dp_INSTALL="${INSTALL}" \ dp_OPSYS="${OPSYS}" \ dp_OSVERSION="${OSVERSION}" \ dp_PREFIX="${PREFIX}" \ dp_PW="${PW}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ dp_UG_DEINSTALL="${_UG_DEINSTALL}" \ dp_UG_INSTALL="${_UG_INSTALL}" \ dp_UID_FILES="${UID_FILES}" \ dp_UID_OFFSET="${UID_OFFSET}" \ dp_USERS_BLACKLIST="${USERS_BLACKLIST}" \ ${SH} ${SCRIPTSDIR}/do-users-groups.sh "${USERS}" "${GROUPS}" .endif .endif .if !defined(DISABLE_SECURITY_CHECK) .if !target(security-check) security-check: ${TMPPLIST} # Scan PLIST for: # 1. setugid files # 2. accept()/recvfrom() which indicates network listening capability # 3. insecure functions (gets/mktemp/tempnam/[XXX]) # 4. startup scripts, in conjunction with 2. # 5. world-writable files/dirs # -@${RM} ${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} ${INSTALL_COOKIE} ${PACKAGE_COOKIE} @cd ${.CURDIR} && DEPENDS_TARGET="${DEPENDS_TARGET}" ${MAKE} -DFORCE_PKG_REGISTER install .endif .if !target(restage) restage: @${RM} -r ${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} ${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} ${INSTALL_COOKIE} ${PACKAGE_COOKIE} .endif .endif # Cleaning up .if !target(do-clean) do-clean: @if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \ ${RM} -r ${WRKDIR}; \ else \ ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ fi; \ fi .endif .if !target(clean) pre-clean: clean-msg clean-msg: @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" .if empty(FLAVORS) CLEAN_DEPENDENCIES= .if !defined(NOCLEANDEPENDS) CLEAN_DEPENDENCIES+= limited-clean-depends-noflavor limited-clean-depends-noflavor: @cd ${.CURDIR} && ${MAKE} limited-clean-depends .endif .if target(pre-clean) CLEAN_DEPENDENCIES+= pre-clean-noflavor pre-clean-noflavor: @cd ${.CURDIR} && ${SETENV} ${MAKE} pre-clean .endif CLEAN_DEPENDENCIES+= do-clean-noflavor do-clean-noflavor: @cd ${.CURDIR} && ${SETENV} ${MAKE} do-clean .if target(post-clean) CLEAN_DEPENDENCIES+= post-clean-noflavor post-clean-noflavor: @cd ${.CURDIR} && ${SETENV} ${MAKE} post-clean .endif .ORDER: ${CLEAN_DEPENDENCIES} clean: ${CLEAN_DEPENDENCIES} .endif .if !empty(_FLAVOR) _CLEANFLAVORS= ${_FLAVOR} .else _CLEANFLAVORS= ${FLAVORS} .endif .for _f in ${_CLEANFLAVORS} CLEAN_DEPENDENCIES= .if !defined(NOCLEANDEPENDS) CLEAN_DEPENDENCIES+= limited-clean-depends-${_f} limited-clean-depends-${_f}: @cd ${.CURDIR} && ${SETENV} FLAVOR=${_f} ${MAKE} limited-clean-depends .endif .if target(pre-clean) CLEAN_DEPENDENCIES+= pre-clean-${_f} pre-clean-${_f}: @cd ${.CURDIR} && ${SETENV} FLAVOR=${_f} ${MAKE} pre-clean .endif CLEAN_DEPENDENCIES+= do-clean-${_f} do-clean-${_f}: @cd ${.CURDIR} && ${SETENV} FLAVOR=${_f} ${MAKE} do-clean .if target(post-clean) CLEAN_DEPENDENCIES+= post-clean-${_f} post-clean-${_f}: @cd ${.CURDIR} && ${SETENV} FLAVOR=${_f} ${MAKE} post-clean .endif .ORDER: ${CLEAN_DEPENDENCIES} clean: ${CLEAN_DEPENDENCIES} .endfor .endif .if !target(distclean) distclean: clean @cd ${.CURDIR} && ${MAKE} delete-distfiles RESTRICTED_FILES="${_DISTFILES:Q} ${_PATCHFILES:Q}" .endif .if !target(delete-distfiles) delete-distfiles: @${ECHO_MSG} "===> Deleting distfiles for ${PKGNAME}" @(if [ "X${RESTRICTED_FILES}" != "X" -a -d ${_DISTDIR} ]; then \ cd ${_DISTDIR}; \ for file in ${RESTRICTED_FILES}; do \ ${RM} $${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} ${_DISTDIR}/$$file)"; \ dir=$${file%/*}; \ if [ "$${dir}" != "$${file}" ]; then \ ${ECHO_CMD} "(cd ${_DISTDIR} && ${RMDIR} -p $${dir} 2>/dev/null)"; \ fi; \ done; \ fi .if defined(DIST_SUBDIR) @${ECHO_CMD} "${RMDIR} ${_DISTDIR} 2>/dev/null || ${TRUE}" .endif .endif # Generates patches. update-patches: @toedit=`PATCH_WRKSRC=${PATCH_WRKSRC} \ PATCHDIR=${PATCHDIR} \ PATCH_LIST=${PATCHDIR}/patch-* \ DIFF_ARGS=${DIFF_ARGS} \ DISTORIG=${DISTORIG} \ ${SH} ${PORTSDIR}/Tools/scripts/update-patches`; \ case $$toedit in "");; \ *) ${ECHO_CMD} -n 'edit patches: '; read i; \ cd ${PATCHDIR} && $${VISUAL:-$${EDIT:-/usr/bin/vi}} $$toedit;; esac # Checksumming utilities # List all algorithms here, all the variables name must begin with dp_ _CHECKSUM_INIT_ENV= \ dp_SHA256=${SHA256} .if !target(makesum) # Some port change the options with OPTIONS_*_FORCE when make(makesum) to be # able to add all distfiles in one go. # For this to work, we need to call the do-fetch script directly here so that # the options consistent when fetching and when makesum'ing. # As we're fetching new distfiles, that are not in the distinfo file, disable # checksum and sizes checks. makesum: .if !empty(DISTFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_MASTER_SITES_ENV} \ dp_NO_CHECKSUM=yes dp_DISABLE_SIZE=yes \ dp_SITE_FLAVOR=MASTER \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${DISTFILES:C/.*/'&'/} .endif .if defined(PATCHFILES) && !empty(PATCHFILES) @${SETENV} \ ${_DO_FETCH_ENV} ${_PATCH_SITES_ENV} \ dp_NO_CHECKSUM=yes dp_DISABLE_SIZE=yes \ dp_SITE_FLAVOR=PATCH \ ${SH} ${SCRIPTSDIR}/do-fetch.sh ${PATCHFILES:C/:-p[0-9]//:C/.*/'&'/} .endif @${SETENV} \ ${_CHECKSUM_INIT_ENV} \ dp_CHECKSUM_ALGORITHMS='${CHECKSUM_ALGORITHMS:tu}' \ dp_CKSUMFILES='${_CKSUMFILES}' \ dp_DISTDIR='${DISTDIR}' \ dp_DISTINFO_FILE='${DISTINFO_FILE}' \ dp_ECHO_MSG='${ECHO_MSG}' \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ ${SH} ${SCRIPTSDIR}/makesum.sh ${DISTFILES:C/.*/'&'/} .endif .if !target(checksum) checksum: fetch .if !empty(_CKSUMFILES) && !defined(NO_CHECKSUM) @${SETENV} \ ${_CHECKSUM_INIT_ENV} \ dp_CHECKSUM_ALGORITHMS='${CHECKSUM_ALGORITHMS:tu}' \ dp_CURDIR='${.CURDIR}' \ dp_DISTDIR='${DISTDIR}' \ dp_DISTINFO_FILE='${DISTINFO_FILE}' \ dp_DIST_SUBDIR='${DIST_SUBDIR}' \ dp_ECHO_MSG='${ECHO_MSG}' \ dp_FETCH_REGET='${FETCH_REGET}' \ dp_MAKE='${MAKE}' \ dp_MAKEFLAGS='${.MAKEFLAGS}' \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ dp_DISABLE_SIZE='${DISABLE_SIZE}' \ dp_NO_CHECKSUM='${NO_CHECKSUM}' \ ${SH} ${SCRIPTSDIR}/checksum.sh ${_CKSUMFILES:C/.*/'&'/} .endif .endif # Some port's archives contains files modes that are a bit too restrictive for # some usage. For example: # BUILD_DEPENDS= ${NONEXISTENT}:foo/bar:configure # When building as a regular user, dependencies are installed/built as root, so # if the archive contains files that have a mode of, say, 600, they will not be # readable by the port requesting the dependency. # This will also fix broken distribution files where directories don't have the # executable bit on. extract-fixup-modes: @${CHMOD} -R u+w,a+rX ${WRKDIR} ################################################################ # 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} ${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}" \ dp_MAKEFLAGS='${.MAKEFLAGS}' \ ${SH} ${SCRIPTSDIR}/do-depends.sh .endif .endfor .endif # Dependency lists: both build and runtime, recursive. Print out directory names. _UNIFIED_DEPENDS=${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${RUN_DEPENDS} ${TEST_DEPENDS} _DEPEND_SPECIALS= ${_UNIFIED_DEPENDS:M*\:*\:*:C,^[^:]*:([^:]*):.*$,\1,} .for d in ${_UNIFIED_DEPENDS:M*\:/*} _PORTSDIR_STR= $${PORTSDIR}/ DEV_WARNING+= "It looks like the ${d} depends line has an absolute port origin, make sure to remove \$${_PORTSDIR_STR} from it." .endfor all-depends-list: @${ALL-DEPENDS-LIST} # This script is shared among several dependency list variables. See file for # usage. DEPENDS-LIST= \ ${SETENV} \ PORTSDIR="${PORTSDIR}" \ dp_MAKE="${MAKE}" \ dp_PKGNAME="${PKGNAME}" \ dp_PKG_INFO="${PKG_INFO}" \ dp_SCRIPTSDIR="${SCRIPTSDIR}" \ ${SH} ${SCRIPTSDIR}/depends-list.sh ALL-DEPENDS-LIST= ${DEPENDS-LIST} -r ${_UNIFIED_DEPENDS:Q} MISSING-DEPENDS-LIST= ${DEPENDS-LIST} -m ${_UNIFIED_DEPENDS:Q} BUILD-DEPENDS-LIST= ${DEPENDS-LIST} "${PKG_DEPENDS} ${EXTRACT_DEPENDS} ${PATCH_DEPENDS} ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS}" RUN-DEPENDS-LIST= ${DEPENDS-LIST} "${LIB_DEPENDS} ${RUN_DEPENDS}" 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 \ *@*) \ flavor=$${dir#*@}; \ dir=$${dir%@*}; \ ;; \ esac; \ case $$dir in \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac; \ (cd $$dir; ${SETENV} FLAVOR=$${flavor} ${MAKE} fetch); \ done .endif .if !target(fetch-recursive) fetch-recursive: @${ECHO_MSG} "===> Fetching all distfiles for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch); \ done .endif .if !target(fetch-recursive-list) fetch-recursive-list: @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} fetch-list); \ done .endif # Used by fetch-required and fetch-required list, this script looks # at each of the dependencies. If 3 items are specified in the tuple, # such as foo:graphics/foo:extract, the first item (foo) # is examined. Only if it begins with a / and does not exist on the # file-system will ``make targ'' proceed. # For more usual (dual-item) dependency tuples, the ``make targ'' # proceeds, if the exact package, which the directory WOULD'VE installed, # is not yet installed. # This is the exact behaviour of the old code, and it may need # revisiting. For example, the entire first case seems dubious, and in # the second case we, probably, should be satisfied with _any_ (earlier) # package, with the same origin as that of the dir. # # -mi FETCH_LIST?= for i in $$deps; do \ prog=$${i%%:*}; dir=$${i\#*:}; \ case $$dir in \ /*) ;; \ *) dir=${PORTSDIR}/$$dir ;; \ esac; \ case $$dir in \ *:*) if [ $$prog != $${prog\#/} -o ! -e $$prog ]; then \ dir=$${dir%%:*}; \ else \ continue; \ fi;; \ *) if [ -d ${PKG_DBDIR}/$$(cd $$dir; ${MAKE} -V PKGNAME) ]; then \ continue; \ fi;; \ esac; \ echo cd $$dir; cd $$dir; ${MAKE} $$targ; \ done .if !target(fetch-required) fetch-required: fetch .if defined(NO_DEPENDS) @${ECHO_MSG} "===> NO_DEPENDS is set, not fetching any other distfiles for ${PKGNAME}" .else @${ECHO_MSG} "===> Fetching all required distfiles for ${PKGNAME} and dependencies" .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(fetch-required-list) fetch-required-list: fetch-list .if !defined(NO_DEPENDS) .for deptype in PKG EXTRACT PATCH FETCH BUILD RUN .if defined(${deptype}_DEPENDS) @targ=fetch-list; deps="${${deptype}_DEPENDS}"; ${FETCH_LIST} .endif .endfor .endif .endif .if !target(checksum-recursive) checksum-recursive: @${ECHO_MSG} "===> Fetching and checking checksums for ${PKGNAME} and dependencies" @for dir in ${.CURDIR} $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} checksum); \ done .endif # Dependency lists: build and runtime. Print out directory names. build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${BUILD-DEPENDS-LIST} .endif run-depends-list: .if defined(LIB_DEPENDS) || defined(RUN_DEPENDS) @${RUN-DEPENDS-LIST} .endif 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 \ *@*) \ flavor=$${dir\#*@}; \ dir=$${dir%@*}; \ ;; \ esac; \ 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; ${SETENV} FLAVOR=$${flavor} ${MAKE} CHILD_DEPENDS=yes PARENT_CHECKED="$$checked" package-depends-list); \ set -- $$childout; \ childdir=""; \ while [ $$\# != 0 ]; do \ childdir="$$childdir $$2"; \ ${ECHO_CMD} "$$1 $$2 $$3"; \ shift 3; \ done; \ checked="$$dir $$childdir $$checked"; \ else \ ${ECHO_MSG} "${PKGNAME}: \"$$dir\" non-existent -- dependency list incomplete" >&2; \ fi; \ done ACTUAL-PACKAGE-DEPENDS?= \ depfiles="" ; \ for lib in ${LIB_DEPENDS:C/\:.*//}; do \ depfiles="$$depfiles `${SETENV} LIB_DIRS="${LIB_DIRS}" LOCALBASE="${LOCALBASE}" ${SH} ${SCRIPTSDIR}/find-lib.sh $${lib}`" ; \ done ; \ ${SETENV} PKG_BIN="${PKG_BIN}" ${SH} ${SCRIPTSDIR}/actual-package-depends.sh $${depfiles} ${RUN_DEPENDS:C/(.*)\:.*/"\1"/} PKG_NOTES_ENV?= .for note in ${PKG_NOTES} PKG_NOTES_ENV+= dp_PKG_NOTE_${note}=${PKG_NOTE_${note}:Q} .endfor create-manifest: @${SETENV} \ dp_SCRIPTSDIR='${SCRIPTSDIR}' \ dp_ACTUAL_PACKAGE_DEPENDS='${ACTUAL-PACKAGE-DEPENDS}' \ dp_CATEGORIES='${CATEGORIES:u:S/$/,/}' \ dp_COMMENT=${COMMENT:Q} \ dp_COMPLETE_OPTIONS_LIST='${COMPLETE_OPTIONS_LIST}' \ dp_DEPRECATED=${DEPRECATED:Q} \ dp_DESCR='${DESCR}' \ dp_EXPIRATION_DATE='${EXPIRATION_DATE}' \ dp_GROUPS='${GROUPS:u:S/$/,/}' \ dp_LICENSE='${LICENSE:u:S/$/,/}' \ dp_LICENSE_COMB='${LICENSE_COMB}' \ dp_MAINTAINER='${MAINTAINER}' \ dp_METADIR='${METADIR}' \ dp_NO_ARCH='${NO_ARCH}' \ dp_PKGBASE='${PKGBASE}' \ dp_PKGDEINSTALL='${PKGDEINSTALL}' \ dp_PKGINSTALL='${PKGINSTALL}' \ dp_PKGMESSAGES='${_PKGMESSAGES}' \ dp_PKGORIGIN='${PKGORIGIN}' \ dp_PKGPOSTDEINSTALL='${PKGPOSTDEINSTALL}' \ dp_PKGPOSTINSTALL='${PKGPOSTINSTALL}' \ dp_PKGPOSTUPGRADE='${PKGPOSTUPGRADE}' \ dp_PKGPREDEINSTALL='${PKGPREDEINSTALL}' \ dp_PKGPREINSTALL='${PKGPREINSTALL}' \ dp_PKGPREUPGRADE='${PKGPREUPGRADE}' \ dp_PKGUPGRADE='${PKGUPGRADE}' \ dp_PKGVERSION='${PKGVERSION}' \ dp_PKG_BIN='${PKG_BIN}' \ dp_PKG_IGNORE_DEPENDS='${PKG_IGNORE_DEPENDS}' \ dp_PKG_NOTES='${PKG_NOTES}' \ dp_PORT_OPTIONS='${PORT_OPTIONS}' \ dp_PREFIX='${PREFIX}' \ dp_USERS='${USERS:u:S/$/,/}' \ dp_WWW='${WWW}' \ ${PKG_NOTES_ENV} \ ${SH} ${SCRIPTSDIR}/create-manifest.sh # Print out package names. package-depends: @${PACKAGE-DEPENDS-LIST} | ${AWK} '{print $$1":"$$3}' actual-package-depends: @${ACTUAL-PACKAGE-DEPENDS} # Build packages for port and dependencies package-recursive: package @for dir in $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} package-noinstall); \ done # Show missing dependencies missing: @for dir in $$(${MISSING-DEPENDS-LIST}); do \ echo $${dir#${PORTSDIR}/}; \ done # Show missing dependencies by name missing-packages: @_packages=$$(${PKG_INFO} -aq); \ for dir in $$(${ALL-DEPENDS-LIST}); do \ _p=$$(cd $$dir; ${MAKE} -VPKGNAME); \ if ! $$(${ECHO_CMD} $${_packages} | ${GREP} -q $${_p}); then \ ${ECHO_CMD} $${_p}; \ fi; \ done ################################################################ # Everything after here are internal targets and really # shouldn't be touched by anybody but the release engineers. ################################################################ # This target generates an index entry suitable for aggregation into # a large index. Format is: # # distribution-name|port-path|installation-prefix|comment| \ # description-file|maintainer|categories|extract-depends| \ # patch-depends|fetch-depends|build-depends|run-depends|www site # # If this ever changes, portmgr should contact the portsnap maintainer # first to avoid gratuitous breakage. . if !target(describe) _EXTRACT_DEPENDS=${EXTRACT_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _PATCH_DEPENDS=${PATCH_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} _BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} _RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :@]+)(@[^ :]+)?(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS} . if exists(${DESCR}) _DESCR=${DESCR} . else _DESCR=/dev/null . endif . if defined(BUILDING_INDEX) && defined(INDEX_PORTS) INDEX_OUT=${INDEX_TMPDIR}/${INDEXFILE}.desc.aggr . else INDEX_OUT=/dev/stdout . endif . if empty(FLAVORS) || defined(_DESCRIBE_WITH_FLAVOR) 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} . else # empty(FLAVORS) describe: ${FLAVORS:S/^/describe-/} . for f in ${FLAVORS} describe-${f}: @cd ${.CURDIR} && ${SETENV} FLAVOR=${f} ${MAKE} -B -D_DESCRIBE_WITH_FLAVOR describe . endfor . endif # empty(FLAVORS) . 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} ${.CURDIR}/README.html @cd ${.CURDIR} && ${MAKE} ${.CURDIR}/README.html .endif ${.CURDIR}/README.html: @${ECHO_MSG} "===> Creating README.html for ${PKGNAME}" @${SED} -e 's|%%PORT%%|'$$(${ECHO_CMD} ${.CURDIR} | \ ${SED} -e 's|.*/\([^/]*/[^/]*\)$$|\1|')'|g' \ -e 's|%%PKG%%|${PKGNAME}|g' \ -e 's|%%COMMENT%%|'"$$(${ECHO_CMD} ${COMMENT:Q})"'|' \ -e '/%%COMMENT%%/d' \ -e 's|%%DESCR%%|'"$$(${ECHO_CMD} ${DESCR} | \ ${SED} -e 's|${.CURDIR}/||')"'|' \ -e 's|%%EMAIL%%|'"$$(${ECHO_CMD} "${MAINTAINER}" | \ ${SED} -e 's/([^)]*)//;s/.*.*//')"'|g' \ -e 's|%%MAINTAINER%%|${MAINTAINER}|g' \ -e 's|%%WEBSITE%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-www-site)"'|' \ -e 's|%%BUILD_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-build-depends-list)"'|' \ -e 's|%%RUN_DEPENDS%%|'"$$(cd ${.CURDIR} && eval ${MAKE} pretty-print-run-depends-list)"'|' \ -e 's|%%TOP%%|'"$$(${ECHO_CMD} ${CATEGORIES} | \ ${SED} -e 's| .*||' -e 's|[^/]*|..|g')"'/..|' \ ${TEMPLATES}/README.port >> ${.TARGET} # The following two targets require an up-to-date INDEX in ${PORTSDIR} _PRETTY_PRINT_DEPENDS_LIST=\ if [ ! -r ${INDEXDIR}/${INDEXFILE} ] ; then \ ${ECHO_MSG} "${.TARGET} requires an INDEX file (${INDEXFILE}). Please run make index or make fetchindex."; \ else \ target=${.TARGET:C/pretty-print-(.*)-depends-list/\1/} ; \ if [ "$$target" = "build" ] ; then fldnum=8 ; else fldnum=9 ; fi; \ ${ECHO_MSG} -n 'This port requires package(s) "' ; \ ${ECHO_MSG} -n `${AWK} -F\| "\\$$1 ~ /^${PKGNAME}/ {print \\$$$${fldnum};}" ${INDEXDIR}/${INDEXFILE}` ; \ ${ECHO_MSG} "\" to $$target."; \ fi; .if !target(pretty-print-build-depends-list) pretty-print-build-depends-list: .if defined(PKG_DEPENDS) || defined(EXTRACT_DEPENDS) || defined(PATCH_DEPENDS) || \ defined(FETCH_DEPENDS) || defined(BUILD_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif .if !target(pretty-print-run-depends-list) pretty-print-run-depends-list: .if defined(RUN_DEPENDS) || defined(LIB_DEPENDS) @${_PRETTY_PRINT_DEPENDS_LIST} .endif .endif _SUB_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} .if !target(apply-slist) apply-slist: .if defined(SUB_FILES) .for file in ${SUB_FILES} .if !exists(${FILESDIR}/${file}.in) @${ECHO_MSG} "** Missing ${FILESDIR}/${file}.in for ${PKGNAME}."; exit 1 .else @${SED} ${_SUB_LIST_TEMP} -e '/^@comment /d' ${FILESDIR}/${file}.in > ${WRKDIR}/${file} .endif .endfor .for i in pkg-message pkg-install pkg-deinstall pkg-req .if ${SUB_FILES:M${i}*}!="" ${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*} .endif .endfor .endif .endif # Generate packing list. Also tests to make sure all required package # files exist. .if !target(generate-plist) generate-plist: ${WRKDIR} @${ECHO_MSG} "===> Generating temporary packing list" @${MKDIR} ${TMPPLIST:H} @if [ ! -f ${DESCR} ]; then ${ECHO_MSG} "** Missing pkg-descr for ${PKGNAME}."; exit 1; fi @>${TMPPLIST} @for file in ${PLIST_FILES}; do \ ${ECHO_CMD} $${file} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} >> ${TMPPLIST}; \ done @if [ -f ${PLIST} ]; then \ ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \ fi .for dir in ${PLIST_DIRS} @${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -e 's,^,@dir ,' >> ${TMPPLIST} .endfor .if defined(USE_LINUX_PREFIX) .if defined(USE_LDCONFIG) @${ECHO_CMD} '@preexec [ -n "`/sbin/sysctl -q compat.linux.osrelease`" ] || ( echo "Cannot install package: kernel missing Linux support"; exit 1 )' >> ${TMPPLIST} @${ECHO_CMD} "@postexec ${LINUXBASE}/sbin/ldconfig" >> ${TMPPLIST} @${ECHO_CMD} "@postunexec ${LINUXBASE}/sbin/ldconfig" >> ${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 .for _type in EXAMPLES DOCS .if !target(add-plist-${_type:tl}) -.if defined(PORT${_type}) && !defined(NOPORT${_type}) +.if defined(PORT${_type}) && !empty(PORT_OPTIONS:M${_type}) add-plist-${_type:tl}: .for x in ${PORT${_type}} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${${_type}DIR}/${x} ]; then \ ${ECHO_CMD} ${${_type}DIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORT${_type}:S/^/${STAGEDIR}${${_type}DIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .endfor .if !target(add-plist-data) .if defined(PORTDATA) add-plist-data: .for x in ${PORTDATA} @if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \ if [ ! -e ${STAGEDIR}${DATADIR}/${x} ]; then \ ${ECHO_CMD} ${DATADIR}/${x} >> ${TMPPLIST}; \ fi;fi .endfor @${FIND} -P ${PORTDATA:S/^/${STAGEDIR}${DATADIR}\//} ! -type d 2>/dev/null | \ ${SED} -ne 's,^${STAGEDIR},,p' >> ${TMPPLIST} .endif .endif .if !target(add-plist-info) .if defined(INFO) add-plist-info: .for i in ${INFO} @${LS} ${STAGEDIR}${PREFIX}/${INFO_PATH}/$i.info* | ${SED} -e s:${STAGEDIR}:@info\ :g >> ${TMPPLIST} .endfor .endif .endif # If we're installing into a non-standard PREFIX, we need to remove that directory at # deinstall-time .if !target(add-plist-post) .if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} && \ ${PREFIX} != "/usr" && ${PREFIX} != "/" && !defined(NO_PREFIX_RMDIR)) add-plist-post: @${ECHO_CMD} "@dir ${PREFIX}" >> ${TMPPLIST} .endif .endif .if !target(install-rc-script) .if defined(USE_RC_SUBR) install-rc-script: @${ECHO_MSG} "===> Staging rc.d startup script(s)" @for i in ${USE_RC_SUBR}; do \ _prefix=${PREFIX}; \ [ "${PREFIX}" = "/usr" ] && _prefix="" ; \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${STAGEDIR}$${_prefix}/etc/rc.d/$${i%.sh}; \ ${ECHO_CMD} "$${_prefix}/etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .endif .endif .if !target(check-man) check-man: stage @${ECHO_MSG} "====> Checking man pages (check-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ err=0 ; \ for dir in $$mdirs; do \ for f in $$(find $$dir -name "*.gz"); do \ ${ECHO_CMD} "===> Checking $${f##*/}" ; \ gunzip -c $$f | mandoc -Tlint -Werror && continue ; \ err=1 ; \ done ; \ done ; \ exit $$err .endif # Compress all manpage not already compressed which are not hardlinks # Find all manpages which are not compressed and are hadlinks, and only get the list of inodes concerned, for each of them compress the first one found and recreate the hardlinks for the others # Fixes all dead symlinks left by the previous round .if !target(compress-man) compress-man: @${ECHO_MSG} "====> Compressing man pages (compress-man)" @mdirs= ; \ for dir in ${MANDIRS:S/^/${STAGEDIR}/} ; do \ [ -d $$dir ] && mdirs="$$mdirs $$dir" ;\ done ; \ for dir in $$mdirs; do \ ${FIND} $$dir -type f \! -name "*.gz" -links 1 -exec ${GZIP_CMD} {} \; ; \ ${FIND} $$dir -type f \! -name "*.gz" \! -links 1 -exec ${STAT} -f '%i' {} \; | \ ${SORT} -u | while read inode ; do \ unset ref ; \ for f in $$(${FIND} $$dir -type f -inum $${inode} -print); do \ if [ -z $$ref ]; then \ ref=$${f}.gz ; \ ${GZIP_CMD} $${f} ; \ continue ; \ fi ; \ ${RM} $${f} ; \ (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} $$link ; \ done; \ done .endif .if !target(stage-dir) stage-dir: ${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 pretty-flavors-package-names: .PHONY .if empty(FLAVORS) @${ECHO_CMD} "no flavor: ${PKGNAME}" .else .for f in ${FLAVORS} @${ECHO_CMD} -n "${f}: " @cd ${.CURDIR} && ${SETENV} FLAVOR=${f} ${MAKE} -B -V PKGNAME .endfor .endif flavors-package-names: .PHONY .if empty(FLAVORS) @${ECHO_CMD} "${PKGNAME}" .else .for f in ${FLAVORS} @cd ${.CURDIR} && ${SETENV} FLAVOR=${f} ${MAKE} -B -V PKGNAME .endfor .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_REGISTER} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .else @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .endif @${RM} -r ${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: _CHECK_OPTIONS_NAMES= OPTIONS_DEFINE _CHECK_OPTIONS_NAMES+= ${OPTIONS_GROUP:S/^/OPTIONS_GROUP_/} _CHECK_OPTIONS_NAMES+= ${OPTIONS_MULTI:S/^/OPTIONS_MULTI_/} _CHECK_OPTIONS_NAMES+= ${OPTIONS_RADIO:S/^/OPTIONS_RADIO_/} _CHECK_OPTIONS_NAMES+= ${OPTIONS_SINGLE:S/^/OPTIONS_SINGLE_/} .for var in ${_CHECK_OPTIONS_NAMES} . if defined(${var}) . for o in ${${var}} . if ${o:C/[-_[:upper:][:digit:]]//g} OPTIONS_BAD_NAMES+= ${o} . endif . endfor . endif .endfor .if defined(OPTIONS_BAD_NAMES) && !empty(OPTIONS_BAD_NAMES) DEV_WARNING+= "These options name have characters outside of [-_A-Z0-9]:" DEV_WARNING+= "${OPTIONS_BAD_NAMES:O:u}" .endif .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}) OPTIONS_WRONG_SINGLE_${single}+= ${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}) OPTIONS_WRONG_RADIO_${radio}+= ${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" .if defined(OPTIONS_WRONG_SINGLE_${single}) @${ECHO_MSG} "=====> Only one of these must be defined: ${OPTIONS_WRONG_SINGLE_${single}}" .else @${ECHO_MSG} "=====> No option was selected (and one must be)" .endif .endfor .for radio in ${OPTIONS_WRONG_RADIO} @${ECHO_MSG} "====> You cannot select multiple options from the ${radio} radio" @${ECHO_MSG} "=====> Only one of these must be defined: ${OPTIONS_WRONG_RADIO_${radio}}" .endfor .if defined(OPTIONS_WRONG_PREVENTS) @${ECHO_MSG} "====> Two or more enabled options conflict with each other" . for prevents in ${OPTIONS_WRONG_PREVENTS} @${ECHO_MSG} "=====> Option ${prevents} conflicts with ${OPTIONS_WRONG_PREVENTS_${prevents}} (select only one)" . if defined(${prevents}_PREVENTS_MSG) @${ECHO_MSG} "======> ${${prevents}_PREVENTS_MSG}" . endif . endfor .endif .if !empty(OPTIONS_WRONG_MULTI) || !empty(OPTIONS_WRONG_SINGLE) || !empty(OPTIONS_WRONG_RADIO) || !empty(OPTIONS_WRONG_PREVENTS) _CHECK_CONFIG_ERROR= true .endif .endif # _check-config .if !target(check-config) check-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @${FALSE} .endif .endif # check-config .if !target(sanity-config) sanity-config: _check-config .if !empty(_CHECK_CONFIG_ERROR) @echo -n "Config is invalid. Re-edit? [Y/n] "; \ read answer; \ case $$answer in \ [Nn]|[Nn][Oo]) \ exit 0; \ esac; \ cd ${.CURDIR} && ${MAKE} config .endif .endif # sanity-config .if !target(pre-config) pre-config: D4P_ENV= PKGNAME="${PKGNAME}" \ PORT_OPTIONS="${PORT_OPTIONS}" \ ALL_OPTIONS="${ALL_OPTIONS}" \ OPTIONS_MULTI="${OPTIONS_MULTI}" \ OPTIONS_SINGLE="${OPTIONS_SINGLE}" \ OPTIONS_RADIO="${OPTIONS_RADIO}" \ OPTIONS_GROUP="${OPTIONS_GROUP}" \ NEW_OPTIONS="${NEW_OPTIONS}" \ DIALOG4PORTS="${DIALOG4PORTS}" \ PREFIX="${PREFIX}" \ LOCALBASE="${LOCALBASE}" \ PORTSDIR="${PORTSDIR}" \ MAKE="${MAKE}" \ D4PHEIGHT="${D4PHEIGHT}" \ D4PWIDTH="${D4PWIDTH}" \ D4PFULLSCREEN="${D4PFULLSCREEN}" .if exists(${PKGHELP}) D4P_ENV+= PKGHELP="${PKGHELP}" .endif .for opt in ${ALL_OPTIONS} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" .endfor .for otype in MULTI GROUP SINGLE RADIO . for m in ${OPTIONS_${otype}} D4P_ENV+= OPTIONS_${otype}_${m}="${OPTIONS_${otype}_${m}}" \ ${m}_DESC=""${${m}_DESC:Q}"" . for opt in ${OPTIONS_${otype}_${m}} D4P_ENV+= ${opt}_DESC=""${${opt}_DESC:Q}"" . endfor . endfor .endfor .undef m .undef otype .undef opt .endif # pre-config .if !target(do-config) do-config: .if empty(ALL_OPTIONS) && empty(OPTIONS_SINGLE) && empty(OPTIONS_MULTI) && empty(OPTIONS_RADIO) && empty(OPTIONS_GROUP) @${ECHO_MSG} "===> No options to configure" .else @optionsdir=${OPTIONS_FILE:H}; \ if [ ! -w "${PORT_DBDIR}" -a "`stat -f %u ${PORT_DBDIR:H}`" = 0 ]; \ then \ ${ECHO_MSG} "===> Switching to root credentials to create $${optionsdir}"; \ (${SU_CMD} "${SH} -c \"${MKDIR} $${optionsdir} 2> /dev/null\"") || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1); \ ${ECHO_MSG} "===> Returning to user credentials" ; \ else \ ${MKDIR} $${optionsdir} 2> /dev/null || \ (${ECHO_MSG} "===> Cannot create $${optionsdir}, check permissions"; exit 1) ; \ fi @TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${SETENV} ${D4P_ENV} ${SH} ${SCRIPTSDIR}/dialog4ports.sh $${TMPOPTIONSFILE} || { \ ${RM} $${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} $${TMPOPTIONSFILE}; \ TMPOPTIONSFILE=$$(mktemp -t portoptions); \ trap "${RM} $${TMPOPTIONSFILE}; exit 1" 1 2 3 5 10 13 15; \ ${ECHO_CMD} "# This file is auto-generated by 'make config'." > $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "# Options for ${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_OPTIONS_READ=${PKGNAME}" >> $${TMPOPTIONSFILE}; \ ${ECHO_CMD} "_FILE_COMPLETE_OPTIONS_LIST=${COMPLETE_OPTIONS_LIST}" >> $${TMPOPTIONSFILE}; \ for i in ${COMPLETE_OPTIONS_LIST}; do \ if ${ECHO_CMD} $${SELOPTIONS} | ${GREP} -qw $${i}; then \ ${ECHO_CMD} "OPTIONS_FILE_SET+=$${i}" >> $${TMPOPTIONSFILE}; \ else \ ${ECHO_CMD} "OPTIONS_FILE_UNSET+=$${i}" >> $${TMPOPTIONSFILE}; \ fi; \ done; \ if [ ! -w "${OPTIONS_FILE:H}" -a "`stat -f %u ${OPTIONS_FILE:H}`" != ${UID} ]; \ then \ ${ECHO_MSG} "===> Switching to root credentials to write ${OPTIONS_FILE}"; \ ${SU_CMD} "${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${CAT} $${TMPOPTIONSFILE} > ${OPTIONS_FILE}; \ fi; \ ${RM} $${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} ${OPTIONS_FILE} ; \ ${RMDIR} $${optionsdir}"; \ ${ECHO_MSG} "===> Returning to user credentials"; \ else \ ${RM} ${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" | ${EGREP} -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 !empty(BINARY_ALIAS) .if !target(create-binary-alias) create-binary-alias: ${BINARY_LINKDIR} .for target src in ${BINARY_ALIAS:C/=/ /} @${RLN} `which ${src}` ${BINARY_LINKDIR}/${target} .endfor .endif .endif .if defined(WARNING) WARNING_WAIT?= 10 show-warnings: @${ECHO_MSG} "/!\\ WARNING /!\\" @${ECHO_MSG} .for m in ${WARNING} @${ECHO_MSG} "${m}" | ${FMT_80} @${ECHO_MSG} .endfor @sleep ${WARNING_WAIT} .endif +.if defined(ERROR) +show-errors: + @${ECHO_MSG} "/!\\ ERRORS /!\\" + @${ECHO_MSG} +.for m in ${ERROR} + @${ECHO_MSG} "${m}" | ${FMT_80} + @${ECHO_MSG} +.endfor + @${FALSE} +.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} | ${FMT_80} @${ECHO_MSG} .endfor .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}" | ${FMT_80} @${ECHO_MSG} .endfor @${FALSE} .endif .endif #DEVELOPER ${_PORTS_DIRECTORIES}: @${MKDIR} ${.TARGET} # 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 \ 125:show-unsupported-system-error 150:check-makefile \ - 200:show-warnings 210:show-dev-warnings 220:show-dev-errors \ + 190:show-errors 200:show-warnings \ + 210:show-dev-errors 220:show-dev-warnings \ 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 \ 999:extract-fixup-modes \ ${_OPTIONS_extract} ${_USES_extract} ${_SITES_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 160:create-binary-alias \ 200:configure-message \ 300:pre-configure 450:pre-configure-script \ 490:run-autotools-fixup 500:do-configure 700:post-configure \ 850:post-configure-script \ ${_OPTIONS_configure} ${_USES_configure} _BUILD_DEP= configure _BUILD_SEQ= 100:build-message 300:pre-build 450:pre-build-script \ 500:do-build 700:post-build 850:post-build-script \ ${_OPTIONS_build} ${_USES_build} _STAGE_DEP= build # STAGE is special in its numbering as it has install and stage, so install is # the main, and stage goes after. _STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \ 200:apply-slist 300:pre-install \ 400:generate-plist 450:pre-su-install 475:create-users-groups \ 500:do-install 550:kmod-post-install 600:fixup-lib-pkgconfig 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 \ 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 \ 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} .if !defined(NO_TEST) test: ${_TEST_REAL_SEQ} .endif .endif .endif # End of post-makefile section. .endif # End of the DESTDIR if statement Index: head/Mk/bsd.sanity.mk =================================================================== --- head/Mk/bsd.sanity.mk (revision 458512) +++ head/Mk/bsd.sanity.mk (revision 458513) @@ -1,257 +1,255 @@ # $FreeBSD$ # # MAINTAINER: portmgr@FreeBSD.org # -.if defined(WITHOUT_NLS) -WARNING+= "WITHOUT_NLS is deprecated use OPTIONS_UNSET=NLS instead" +# Warnings for everyone + +.for opt in ${ALL_OPTIONS:NDEBUG} +.if defined(WITH_${opt}) +WARNING+= "WITH_${opt} is unsupported, use WITH=${opt} on the command line, or one of these in /etc/make.conf, OPTIONS_SET+=${opt} to set it globally, or ${OPTIONS_NAME}_SET+=${opt} for only this port." .endif +.if defined(WITHOUT_${opt}) +WARNING+= "WITHOUT_${opt} is unsupported, use WITHOUT=${opt} on the command line, or one of these in /etc/make.conf, OPTIONS_UNSET+=${opt} to set it globally, or ${OPTIONS_NAME}_UNSET+=${opt} for only this port." +.endif +.endfor -.if defined(WITH_NEW_XORG) || defined(WITHOUT_NEW_XORG) -WARNING+= "WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no effect" +ALL_UNSUPPORTED= WITHOUT_NLS NOPORTDOCS NOPORTEXAMPLES WITH_BDB_VER \ + OVERRIDE_LINUX_BASE_PORT WITH_OPENSSL_PORT \ + WITH_OPENSSL_BASE +ALL_DEPRECATED= +ALL_NOTNEEDED= WITH_NEW_XORG WITHOUT_NEW_XORG WITH_KMS WITHOUT_KMS + +WITHOUT_NLS_ALT= "OPTIONS_UNSET=NLS, or ${OPTIONS_NAME}_UNSET+=NLS instead" +NOPORTDOCS_ALT= "OPTIONS_UNSET=DOCS, or ${OPTIONS_NAME}_UNSET+=DOCS instead" +NOPORTEXAMPLES_ALT= "OPTIONS_UNSET=EXAMPLES, or ${OPTIONS_NAME}_UNSET+=EXAMPLES instead" +WITH_BDB_VER_ALT= "DEFAULT_VERSIONS+=bdb=${WITH_BDB_VER}" +OVERRIDE_LINUX_BASE_PORT_ALT= "DEFAULT_VERSIONS+=linux=${OVERRIDE_LINUX_BASE_PORT}" +WITH_OPENSSL_PORT_ALT= "DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT:Uopenssl} in your make.conf" +WITH_OPENSSL_BASE_ALT= "DEFAULT_VERSIONS+=ssl=base in your make.conf" +WITH_NEW_XORG_ALT= "removed and has no effect" +WITHOUT_NEW_XORG_ALT= ${WITH_NEW_XORG_ALT} +WITH_MKS_ALT= "removed and has no effect" +WITHOUT_MKS_ALT= ${WITH_MKS_ALT} + +.for a in ${ALL_DEPRECATED} +.if defined(${a}) +WARNING+= "${a} is deprecated, please use ${${a}_ALT}" .endif +.endfor -.if defined(WITH_KMS) || defined(WITHOUT_KMS) -WARNING+= "WITH_KMS was removed and has no effect" +.for a in ${ALL_NOTNEEDED} +.if defined(${a}) +WARNING+= "${a} is not needed: ${${a}_REASON}" .endif +.endfor +.for a in ${ALL_UNSUPPORTED} +.if defined(${a}) +ERROR+= "${a} is unsupported, please use ${${a}_ALT}" +.endif +.endfor + + + +# Warnings only when DEVELOPER=yes + .if exists(${.CURDIR}/../../Mk/bsd.port.mk) .if ${.CURDIR:H:T} != ${PKGCATEGORY} DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives" .endif .else DEV_WARNING+= "Not validating first entry in CATEGORIES due to being outside of PORTSDIR. Please ensure this is proper when committing." .endif -#.if defined(WITHOUT_X11) -#WARNING+= "WITHOUT_X11 is deprecated use X11 option instead" -#.endif - .if defined(USE_PERL5) && ${USE_PERL5} == yes DEV_ERROR+= "USE_PERL5=yes is unsupported, please use USES=perl5 instead" .endif -.if defined(USE_KDEBASE_VER) -DEV_ERROR+= "USE_KDEBASE_VER is unsupported" -.endif - -.if defined(USE_KDELIBS_VER) -DEV_ERROR+= "USE_KDELIBS_VER is unsupported" -.endif - -.if defined(USE_QT_VER) -DEV_ERROR+= "USE_QT_VER is unsupported" -.endif - -.if defined(USE_GHOSTSCRIPT) || defined(USE_GHOSTSCRIPT_BUILD) || defined(USE_GHOSTSCRIPT_RUN) -DEV_ERROR+= "USE_GHOSTSCRIPT is unsupported, please use USES=ghostscript instead" -.endif - .if !empty(LIB_DEPENDS:M*/../*) DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency" .endif .if !empty(RUN_DEPENDS:M*/../*) DEV_ERROR+= "RUN_DEPENDS contains unsupported relative path to dependency" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mpkgconfig} DEV_ERROR+= "USE_GNOME=pkgconfig is unsupported, please use USES=pkgconfig" .endif .if defined(USE_ZOPE) && ${USE_ZOPE} == yes DEV_ERROR+= "USE_ZOPE=yes is unsupported, please use USES=zope instead" .endif .if defined(USE_GITHUB) && defined(GH_COMMIT) DEV_ERROR+= "GH_COMMIT is unsupported, please convert GHL-\>GH in MASTER_SITES and set GH_TAGNAME to tag or commit hash and remove GH_COMMIT" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mgnomehack} DEV_WARNING+= "USE_GNOME=gnomehack is deprecated, please use USES=pathfix" .endif .if defined(USE_GNOME) && ${USE_GNOME:Mdesktopfileutils} DEV_WARNING+= "USE_GNOME=desktopfileutils is deprecated, please use USES=desktop-file-utils" .endif .if defined(LIB_DEPENDS) && ${LIB_DEPENDS:Nlib*} DEV_ERROR+= "All LIB_DEPENDS should use the new format and start out with lib. \(libfoo.so vs foo.so\)" .endif -.if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \ - defined(USE_TK) || defined(USE_TK_BUILD) || defined(USE_TK_RUN) || defined(USE_TK_WRAPPER) -DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk" -.endif - -# print warning if no reason given for NO_STAGE -.if defined(NO_STAGE) -DEV_ERROR+= "NO_STAGE is unsupported, convert port to stage directory:" -DEV_ERROR+= "https://wiki.freebsd.org/ports/StageDir" -.endif - -.for a in 1 2 3 4 5 6 7 8 9 L N -.if defined(MAN${a}) -DEV_WARNING+= "MAN${a} macros are deprecated when using stage directory" -.endif -.endfor - -.if defined(MLINKS) -DEV_WARNING+= "MLINKS macros are deprecated when using stage directory" -.endif - .if defined(_PREMKINCLUDED) DEV_ERROR+= "you cannot include bsd.port[.pre].mk twice" .endif -.if defined(USE_DOS2UNIX) -DEV_ERROR+= "USE_DOS2UNIX is no longer supported, please use USES=dos2unix" -.endif - .if defined(LICENSE) .if ${LICENSE:MBSD} DEV_WARNING+= "LICENSE must not contain BSD, instead use BSD[234]CLAUSE" .endif .else DEV_WARNING+= "Please set LICENSE for this port" .endif .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install" DEV_ERROR+= "USE_PYDISTUTILS=easy_install is no longer supported, please use USE_PYDISTUTILS=yes" .endif .if defined(USE_PYTHON) && (${USE_PYTHON} == "yes" || ${USE_PYTHON:C/[-0-9.+]*//} == "") _PYTHON_VAL := ${USE_PYTHON} .if ${_PYTHON_VAL} != "yes" DEV_ERROR+= "USE_PYTHON=${_PYTHON_VAL} is no longer supported, please use USES=python:${_PYTHON_VAL}" .else DEV_ERROR+= "USE_PYTHON=yes is no longer supported, please use USES=python" .endif .endif .if defined(USE_PYTHON_RUN) .if ${USE_PYTHON_RUN} != "yes" DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:${USE_PYTHON_RUN},run" .else DEV_ERROR+= "USE_PYTHON_RUN is no longer supported, please use USES=python:run" .endif .endif .if defined(USE_PYTHON_BUILD) .if ${USE_PYTHON_BUILD} != "yes" DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:${USE_PYTHON_BUILD},build" .else DEV_ERROR+= "USE_PYTHON_BUILD is no longer supported, please use USES=python:build" .endif .endif -.if defined(PYDISTUTILS_INSTALLNOSINGLE) -DEV_WARNING+= "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use it anymore" -.endif - -.if defined(INSTALLS_EGGINFO) -DEV_ERROR+= "INSTALLS_EGGINFO is no longer supported, please add the entry directly to the plist" -.endif - -.if defined(WANT_SDL) -DEV_ERROR+= "WANT_SDL is no longer supported. If you need SDL, use USE_SDL, if you need optional dependency, use options" -.endif - .if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} == YES DEV_ERROR+= "USE_RC_SUBR=yes has not been supported for a long time, remove it." .endif -.if defined(USE_RUBYGEMS) && !defined(RUBYGEM_AUTOPLIST) -DEV_ERROR+= "USE_RUBYGEMS is no longer supported, please use USES=gem:noautoplist" +.if defined(USE_TCL) || defined(USE_TCL_BUILD) || defined(USE_TCL_RUN) || defined(USE_TCL_WRAPPER) || \ + defined(USE_TK) || defined(USE_TK_BUILD) || defined(USE_TK_RUN) || defined(USE_TK_WRAPPER) +DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk" .endif -.if defined(RUBYGEM_AUTOPLIST) -DEV_ERROR+= "RUBYGEM_AUTOPLIST is no longer supported, please use USES=gem" -.endif - SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \ USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \ USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \ USE_GETTEXT USE_GMAKE USE_SCONS USE_DRUPAL NO_INSTALL_MANPAGES \ INSTALLS_SHLIB USE_PYDISTUTILS PYTHON_CONCURRENT_INSTALL \ PYDISTUTILS_AUTOPLIST PYTHON_PY3K_PLIST_HACK PYDISTUTILS_NOEGGINFO \ USE_PYTHON_PREFIX USE_BZIP2 USE_XZ USE_PGSQL NEED_ROOT \ UNIQUENAME LATEST_LINK USE_SQLITE USE_FIREBIRD USE_PHPEXT \ USE_ZENDEXT USE_PHP_BUILD USE_BDB PLIST_DIRSTRY USE_RCORDER \ - USE_OPENSSL WANT_GNOME -SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS \ + USE_OPENSSL WANT_GNOME RUBYGEM_AUTOPLIST WANT_SDL INSTALLS_EGGINFO \ + USE_DOS2UNIX NO_STAGE USE_RUBYGEMS USE_GHOSTSCRIPT \ + USE_GHOSTSCRIPT_BUILD USE_GHOSTSCRIPT_RUN +SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX USE_AUTOTOOLS MLINKS \ USE_MYSQL WANT_MYSQL_VER \ USE_PHPIZE WANT_PHP_CLI WANT_PHP_CGI WANT_PHP_MOD \ - WANT_PHP_WEB WANT_PHP_EMB -SANITY_NOTNEEDED= CMAKE_NINJA WX_UNICODE + WANT_PHP_WEB WANT_PHP_EMB PYDISTUTILS_INSTALLNOSINGLE +SANITY_NOTNEEDED= CMAKE_NINJA WX_UNICODE USE_KDEBASE_VER \ + USE_KDELIBS_VER USE_QT_VER +.for a in 1 2 3 4 5 6 7 8 9 L N +SANITY_DEPRECATED+= MAN${a} +MAN${a}_ALT= it more, obsoleted by staging +.endfor + USE_AUTOTOOLS_ALT= USES=autoreconf and GNU_CONFIGURE=yes USE_OPENAL_ALT= USES=openal USE_FAM_ALT= USES=fam USE_MAKESELF_ALT= USES=makeself USE_ZIP_ALT= USES=zip USE_LHA_ALT= USES=lha USE_BZIP2_ALT= USES=tar:bzip2 USE_XZ_ALT= USES=tar:xz USE_CMAKE_ALT= USES=cmake USE_READLINE_ALT= USES=readline USE_ICONV_ALT= USES=iconv USE_GMAKE_ALT= USES=gmake PERL_CONFIGURE_ALT= USES=perl5 along with USE_PERL5=configure PERL_MODBUILD_ALT= USES=perl5 along with USE_PERL5=modbuild USE_PERL5_BUILD_ALT= USES=perl5 along with USE_PERL5=build USE_PERL5_RUN_ALT= USES=perl5 along with USE_PERL5=run USE_DISPLAY_ALT= USES=display USE_FUSE_ALT= USES=fuse USE_GETTEXT_ALT= USES=gettext USE_SCONS_ALT= USES=scons USE_DRUPAL_ALT= USES=drupal USE_PYDISTUTILS_ALT= USE_PYTHON=distutils USE_PGSQL_ALT= USES=pgsql INSTALLS_SHLIB_ALT= USE_LDCONFIG NEED_ROOT_ALT= USES=fakeroot or USES=uidfix PYTHON_CONCURRENT_INSTALL_ALT= USE_PYTHON=concurrent PYDISTUTILS_AUTOPLIST_ALT= USE_PYTHON=autoplist PYTHON_PY3K_PLIST_HACK_ALT= USE_PYTHON=py3kplist PYDISTUTILS_NOEGGINFO_ALT= USE_PYTHON=noegginfo USE_PYTHON_PREFIX_ALT= USE_PYTHON=pythonprefix PYTHON_PKGNAMESUFFIX_ALT= PYTHON_PKGNAMEPREFIX NO_INSTALL_MANPAGES_ALT= USES=imake:noman UNIQUENAME_ALT= PKGBASE LATEST_LINK_ALT= PKGBASE CMAKE_NINJA_REASON= Now the ninja generator is the default WX_UNICODE_REASON= Now no-op as only unicode is supported now PLIST_DIRSTRY_ALT= PLIST_DIRS USE_SQLITE_ALT= USES=sqlite USE_FIREBIRD_ALT= USES=firebird USE_BDB_ALT= USES=bdb:${USE_BDB} USE_MYSQL_ALT= USES=mysql:${USE_MYSQL} WANT_MYSQL_VER_ALT= USES=mysql:${WANT_MYSQL_VER} USE_OPENSSL_ALT= USES=ssl USE_PHPIZE_ALT= USES=php:phpize USE_PHPEXT_ALT= USES=php:ext USE_ZENDEXT_ALT= USES=php:zend USE_PHP_BUILD_ALT= USES=php:build WANT_PHP_CLI_ALT= USES=php:cli WANT_PHP_CGI_ALT= USES=php:cgi WANT_PHP_MOD_ALT= USES=php:mod WANT_PHP_WEB_ALT= USES=php:web WANT_PHP_EMB_ALT= USES=php:embed USE_RCORDER_ALT= USE_RC_SUBR=${USE_RCORDER} WANT_GNOME_ALT= USES=gnome +MLINKS_ALT= it no more +USE_DOS2UNIX_ALT= USES=dos2unix +PYDISTUTILS_INSTALLNOSINGLE_ALT= it no more +INSTALLS_EGGINFO_ALT= an entry in the plist +WANT_SDL_ALT= USE_SDL for SDL directly, if you need optional dependency, use options +RUBYGEM_AUTOPLIST_ALT= USES=gem +USE_RUBYGEMS_ALT= USES=gem +USE_GHOSTSCRIPT= USES=ghostscript +USE_GHOSTSCRIPT_BUILD= USES=ghostscript +USE_GHOSTSCRIPT_RUN= USES=ghostscript +NO_STAGE_ALT= https://wiki.freebsd.org/ports/StageDir to convert your port to staging .for a in ${SANITY_DEPRECATED} .if defined(${a}) DEV_WARNING+= "${a} is deprecated, please use ${${a}_ALT}" .endif .endfor .for a in ${SANITY_NOTNEEDED} .if defined(${a}) DEV_WARNING+= "${a} is not needed: ${${a}_REASON}" .endif .endfor .for a in ${SANITY_UNSUPPORTED} .if defined(${a}) DEV_ERROR+= "${a} is unsupported, please use ${${a}_ALT}" .endif .endfor Index: head/audio/chromaprint/Makefile =================================================================== --- head/audio/chromaprint/Makefile (revision 458512) +++ head/audio/chromaprint/Makefile (revision 458513) @@ -1,46 +1,44 @@ # $FreeBSD$ PORTNAME= chromaprint PORTVERSION= 1.4.2 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= https://github.com/acoustid/${PORTNAME}/releases/download/v${PORTVERSION}/ \ https://bitbucket.org/acoustid/${PORTNAME}/downloads/ MAINTAINER= jhale@FreeBSD.org COMMENT= AcoustID audio fingerprinting library LICENSE= LGPL21 MIT LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg USES= cmake:outsource compiler:c++11-lib pathfix USE_LDCONFIG= yes CMAKE_ARGS= -DBUILD_TOOLS:BOOL=true \ -DFFT_LIB:STRING=avfft OPTIONS_DEFINE= DOXYGEN TEST DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_PORTDOCS= * -# PORTDOCS macro won't work if NOPORTDOCS is defined or if DOCS is disabled DOXYGEN_IMPLIES= DOCS -.undef NOPORTDOCS TEST_BUILD_DEPENDS= ${NONEXISTENT}:devel/googletest:patch TEST_CMAKE_BOOL= BUILD_TESTS TEST_CMAKE_ON= -DGTEST_ROOT:PATH=`${MAKE} -C ${PORTSDIR}/devel/googletest -VWRKSRC` TEST_TARGET= check do-build-DOXYGEN-on: @(cd ${BUILD_WRKSRC}; ${DO_MAKE_BUILD} docs) do-install-DOXYGEN-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${INSTALL_WRKSRC}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/audio/nas/Makefile.man =================================================================== --- head/audio/nas/Makefile.man (revision 458512) +++ head/audio/nas/Makefile.man (nonexistent) @@ -1,152 +0,0 @@ -# $FreeBSD$ - -MAN1= auconvert.1 \ - auctl.1 \ - audemo.1 \ - audial.1 \ - auedit.1 \ - auinfo.1 \ - aupanel.1 \ - auphone.1 \ - auplay.1 \ - aurecord.1 \ - auscope.1 \ - autool.1 \ - auwave.1 \ - checkmail.1 \ - issndfile.1 \ - nas.1 \ - nasd.1 \ - playbucket.1 \ - soundtoh.1 -MAN3= AuAnyEvent.3 \ - AuBucketAttributes.3 \ - AuCloseServer.3 \ - AuConvertDataToShort.3 \ - AuConvertShortToData.3 \ - AuCreateBucket.3 \ - AuCreateFlow.3 \ - AuDataFormats.3 \ - AuDataTypes.3 \ - AuDefineToFormat.3 \ - AuDestroyBucket.3 \ - AuDestroyFlow.3 \ - AuDeviceAttributes.3 \ - AuDispatchEvent.3 \ - AuElement.3 \ - AuElementNotifyEvent.3 \ - AuElementParameters.3 \ - AuElementState.3 \ - AuErrorEvent.3 \ - AuEvent.3 \ - AuEventsQueued.3 \ - AuFileFormats.3 \ - AuFixedPointFractionalAddend.3 \ - AuFixedPointFromFraction.3 \ - AuFixedPointFromSum.3 \ - AuFixedPointIntegralAddend.3 \ - AuFixedPointRoundDown.3 \ - AuFixedPointRoundUp.3 \ - AuFlush.3 \ - AuFormatToDefine.3 \ - AuFormatToString.3 \ - AuFreeBucketAttributes.3 \ - AuFreeDeviceAttributes.3 \ - AuFreeElementStates.3 \ - AuFreeElements.3 \ - AuGetBucketAttributes.3 \ - AuGetCloseDownMode.3 \ - AuGetDeviceAttributes.3 \ - AuGetElementParameters.3 \ - AuGetElementStates.3 \ - AuGetElements.3 \ - AuGetErrorDatabaseText.3 \ - AuGetErrorText.3 \ - AuGetScratchFlow.3 \ - AuGetScratchFlowFromBucket.3 \ - AuGetScratchFlowToBucket.3 \ - AuGetServerTime.3 \ - AuGrabNotifyEvent.3 \ - AuHandleEvents.3 \ - AuIDOfEvent.3 \ - AuInputTrack.3 \ - AuKillClient.3 \ - AuListBuckets.3 \ - AuListDevices.3 \ - AuLookupEventHandler.3 \ - AuMakeChangeStateAction.3 \ - AuMakeElementAddConstant.3 \ - AuMakeElementBundle.3 \ - AuMakeElementExportBucket.3 \ - AuMakeElementExportClient.3 \ - AuMakeElementExportDevice.3 \ - AuMakeElementExportMonitor.3 \ - AuMakeElementImportBucket.3 \ - AuMakeElementImportClient.3 \ - AuMakeElementImportDevice.3 \ - AuMakeElementImportWaveForm.3 \ - AuMakeElementMultiplyConstant.3 \ - AuMakeElementState.3 \ - AuMakeElementSum.3 \ - AuMakeInputTrack.3 \ - AuMakeNoopAction.3 \ - AuMakeSendNotifyAction.3 \ - AuMonitorDevice.3 \ - AuMonitorNotifyEvent.3 \ - AuNextEvent.3 \ - AuOpenServer.3 \ - AuPauseFlow.3 \ - AuReadElement.3 \ - AuRegisterEventHandler.3 \ - AuReleaseScratchFlow.3 \ - AuRequeueEvent.3 \ - AuScanEvents.3 \ - AuScanForTypedEvent.3 \ - AuServer.3 \ - AuServerName.3 \ - AuSetBucketAttributes.3 \ - AuSetCloseDownMode.3 \ - AuSetDeviceAttributes.3 \ - AuSetElementParameters.3 \ - AuSetElementStates.3 \ - AuSetElements.3 \ - AuSetErrorHandler.3 \ - AuSetIOErrorHandler.3 \ - AuSetString.3 \ - AuSoundCreateBucketFromData.3 \ - AuSoundCreateBucketFromFile.3 \ - AuSoundCreateDataFromBucket.3 \ - AuSoundCreateFileFromBucket.3 \ - AuSoundPlay.3 \ - AuSoundPlayFromBucket.3 \ - AuSoundPlayFromData.3 \ - AuSoundPlayFromFile.3 \ - AuSoundPlaySynchronousFromFile.3 \ - AuSoundRecord.3 \ - AuSoundRecordToBucket.3 \ - AuSoundRecordToData.3 \ - AuSoundRecordToFile.3 \ - AuSoundRecordToFileN.3 \ - AuStartFlow.3 \ - AuStopFlow.3 \ - AuStringToFormat.3 \ - AuStringToWaveForm.3 \ - AuSync.3 \ - AuSynchronize.3 \ - AuUnregisterEventHandler.3 \ - AuWaveFormToString.3 \ - AuWriteElement.3 \ - Sound.3 \ - SoundAbbrevToFileFormat.3 \ - SoundCloseFile.3 \ - SoundCreate.3 \ - SoundFlushFile.3 \ - SoundOpenFileForReading.3 \ - SoundOpenFileForWriting.3 \ - SoundReadFile.3 \ - SoundRewindFile.3 \ - SoundSeekFile.3 \ - SoundStringToFileFormat.3 \ - SoundTellFile.3 \ - SoundWriteFile.3 -MAN5= nasd.conf.5 Property changes on: head/audio/nas/Makefile.man ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/xmixer/Makefile =================================================================== --- head/audio/xmixer/Makefile (revision 458512) +++ head/audio/xmixer/Makefile (revision 458513) @@ -1,50 +1,49 @@ # Created by: trevor # $FreeBSD$ PORTNAME= xmixer PORTVERSION= 0.9.4 PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://mpx.freeshell.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Audio mixer (gtk and Xlib) for X11R6 WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes ALL_TARGET= ${PROGRAMS} PLIST_FILES= bin/xmixer \ man/man1/xmixer.1.gz OPTIONS_DEFINE= GTK1 .include .if ${PORT_OPTIONS:MGTK1} USE_GNOME+= gtk12 PROGRAMS= xmixer xgmixer -MLINKS+= xmixer.1 xgmixer.1 PLIST_FILES+= bin/xgmixer .else USE_XORG= x11 xt ice xaw PROGRAMS= xmixer LDFLAGS+= -L${LOCALBASE}/lib -lX11 .endif post-patch: @${GREP} -lR "rxvt -e" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|rxvt -e|xterm -e|g' @${REINPLACE_CMD} -e 's|-O -Wall||g ; \ s|^%\.o:.*$$|.c.o:|g ; \ s|gtk-config|pkg-config gtk+|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/main.c do-install: .for file in ${PROGRAMS} ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin/${file} .endfor ${INSTALL_MAN} ${WRKSRC}/xmixer.man ${STAGEDIR}${MAN1PREFIX}/man/man1/xmixer.1 .include Index: head/audio/xoscope/Makefile =================================================================== --- head/audio/xoscope/Makefile (revision 458512) +++ head/audio/xoscope/Makefile (revision 458513) @@ -1,20 +1,18 @@ # $FreeBSD$ PORTNAME= xoscope PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= audio hamradio MASTER_SITES= SF MAINTAINER= db@FreeBSD.org COMMENT= Sound card oscilloscope GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} --sysconfdir=${STAGEDIR}${PREFIX} USES= gmake pkgconfig tar:tgz USE_GNOME= gtk20 USE_XORG= x11 -MAN1= xoscope.1 - .include Index: head/cad/calculix-ccx/Makefile =================================================================== --- head/cad/calculix-ccx/Makefile (revision 458512) +++ head/cad/calculix-ccx/Makefile (revision 458513) @@ -1,96 +1,93 @@ # Created by: Pedro Giffuni # $FreeBSD$ PORTNAME= ccx PORTVERSION= 2.13 CATEGORIES= cad MASTER_SITES= http://www.dhondt.de/ PKGNAMEPREFIX= CalculiX- DISTFILES= ${DIST_SOURCES} DIST_SUBDIR= calculix EXTRACT_ONLY= ${DIST_SOURCES} MAINTAINER= pfg@FreeBSD.org COMMENT= Three-Dimensional Structural Finite Element Program LICENSE= GPLv2 LIB_DEPENDS= libarpack.so:math/arpack \ libspooles.so:math/spooles \ libtaucs.so:math/taucs DIST_SOURCES= ccx_${PORTVERSION}.src${EXTRACT_SUFX} DIST_HTM= ccx_${PORTVERSION}.htm${EXTRACT_SUFX} DIST_PS= ccx_${PORTVERSION}.ps${EXTRACT_SUFX} DIST_EXAMPLES= ccx_${PORTVERSION}.test${EXTRACT_SUFX} USES= blaslapack compiler:openmp fortran gmake tar:bzip2 shebangfix USE_PERL5= build SHEBANG_FILES= date.pl ALL_TARGET= #Empty CCX_VER= ccx_${PORTVERSION} WRKSRC= ${WRKDIR}/CalculiX/${CCX_VER}/src OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_SINGLE= METIS OPTIONS_SINGLE_METIS= METIS4 METISEDF OPTIONS_DEFAULT= METISEDF METIS4_DESC= Reference Metis4 Implementation METIS4_DEPENDS= libmetis.so:math/metis4 METISEDF_DESC= EDF Metis Variant METISEDF_DEPENDS= libmetis.so:math/metis-edf .include .if ${PORT_OPTIONS:MDOCS} DISTFILES+= ${DIST_HTM} ${DIST_PS} EXTRACT_ONLY+= ${DIST_HTM} ${DIST_PS} DOCSDIR= ${PREFIX}/share/doc/CalculiX .endif .if $(PORT_OPTIONS:MEXAMPLES) DISTFILES+= ${DIST_EXAMPLES} EXTRACT_ONLY+= ${DIST_EXAMPLES} -PLIST_SUB= PORTEXAMPLES="" -.else -PLIST_SUB= PORTEXAMPLES="@comment " .endif .if ${ARCH} == "sparc64" CFLAGS+= -fPIC FFLAGS+= -fPIC .else CFLAGS+= -fpic FFLAGS+= -fpic .endif pre-build: @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%CC%%+${CC}+g ; \ s+%%BLAS_LIBS%%+${BLASLIB}+ ; \ s+%%LAPACK_LIBS%%+${LAPACKLIB}+ ; \ s+%%LOCALBASE%%+${LOCALBASE}+g;' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${CCX_VER} \ ${STAGEDIR}${PREFIX}/bin/ccx .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKDIR}/CalculiX/${CCX_VER}/doc/ccx && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/ccx) ${INSTALL_DATA} ${WRKDIR}/CalculiX/${CCX_VER}/doc/${CCX_VER}.ps \ ${STAGEDIR}${DOCSDIR} @${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/${CCX_VER}.ps .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKDIR}/CalculiX/${CCX_VER}/test && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .endif .include Index: head/chinese/libtabe/Makefile =================================================================== --- head/chinese/libtabe/Makefile (revision 458512) +++ head/chinese/libtabe/Makefile (revision 458513) @@ -1,69 +1,58 @@ # Created by: Jing-Tang Keith Jang # $FreeBSD$ PORTNAME= libtabe PORTVERSION= 0.2.6 PORTREVISION= 8 CATEGORIES= chinese MASTER_SITES= http://old-releases.ubuntu.com/ubuntu/pool/universe/libt/libtabe/ DISTNAME= libtabe_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Unified library for Chinese text processing LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= bdb gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes OBSOLETE_BDB_VAR= USE_DB2 DATADIR= ${PREFIX}/share/tabe DOCSDIR= ${PREFIX}/share/doc/tabe CONFIGURE_ARGS= --includedir=${PREFIX}/include/tabe \ --with-db-name=${BDB_LIB_NAME} \ --with-db-inc=${BDB_INCLUDE_DIR} \ --with-db-lib=${BDB_LIB_DIR} \ --with-db-bin=${LOCALBASE}/bin WRKSRC= ${WRKDIR}/${DISTNAME:S|_|-|} MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS X11 OPTIONS_SUB= yes X11_USE= XORG=x11 X11_CONFIGURE_WITH= x .include -pre-everything:: -.if defined(WITH_BDB_VER) -pre-everything:: - @${ECHO_CMD} "" - @${ECHO_CMD} "WARNING:" - @${ECHO_CMD} " You have defined WITH_BDB_VER. Make sure you use the same" - @${ECHO_CMD} " db version for all ports that use libtabe, such as xcin." - @${ECHO_CMD} " Otherwise, ports that use libtabe may not work correctly." - @${ECHO_CMD} "" -.endif - post-patch-X11-off: ${REINPLACE_CMD} -e '/all:/s/ bims//; /bims/d' \ ${WRKSRC}/src/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtabe.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tsi-src/README \ ${STAGEDIR}${DOCSDIR}/README.tsi .if ${PORT_OPTIONS:MX11} ${INSTALL_DATA} ${WRKSRC}/src/supports/bims/README \ ${STAGEDIR}${DOCSDIR}/README.bims .endif .for DOC in BoPoMoFo.shtml Changes Changes.pre-0.1 TODO ZuYinCode.txt \ et26.txt libtabe.sgml ${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/chinese/p5-Lingua-ZH-TaBE/Makefile =================================================================== --- head/chinese/p5-Lingua-ZH-TaBE/Makefile (revision 458512) +++ head/chinese/p5-Lingua-ZH-TaBE/Makefile (revision 458513) @@ -1,37 +1,23 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= Lingua-ZH-TaBE PORTVERSION= 0.07 PORTREVISION= 5 CATEGORIES= chinese perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Chinese processing via libtabe LIB_DEPENDS= libtabe.so:chinese/libtabe USES= bdb perl5 USE_PERL5= configure OBSOLETE_BDB_VAR= WITH_DB CONFIGURE_ARGS= DB="${BDB_LIB_NAME}" -pre-everything:: - @${ECHO_CMD} "" - @${ECHO_CMD} "You may specify db version to use:" - @${ECHO_CMD} "" - @${ECHO_CMD} " WITH_BDB_VER=version (Default 41)" -.if defined(WITH_BDB_VER) - @${ECHO_CMD} "" - @${ECHO_CMD} "WARNING:" - @${ECHO_CMD} " You have defined WITH_BDB_VER. Make sure you use the same" - @${ECHO_CMD} " db version that libtabe uses. Otherwise, this port may" - @${ECHO_CMD} " not work correctly." -.endif - @${ECHO_CMD} "" - .include Index: head/databases/libdrizzle/Makefile =================================================================== --- head/databases/libdrizzle/Makefile (revision 458512) +++ head/databases/libdrizzle/Makefile (revision 458513) @@ -1,55 +1,53 @@ # Created by: Greg Larkin # $FreeBSD$ PORTNAME= libdrizzle PORTVERSION= 0.8 PORTREVISION= 6 CATEGORIES= databases MASTER_SITES= http://launchpadlibrarian.net/41155299/ \ LOCAL/bdrewery/${PORTNAME}/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= Client and protocol library for the Drizzle database LICENSE= BSD3CLAUSE LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -OPTIONS_DEFINE= DOXYGEN EXAMPLES DOCS +OPTIONS_DEFINE= DOXYGEN EXAMPLES +OPTIONS_SUB= yes GNU_CONFIGURE= yes USES= gmake libtool pathfix CONFIGURE_ARGS+=--enable-libsqlite3 USE_LDCONFIG= yes INSTALL_TARGET= install-strip SAMPLE_PROGS= client pipe_query proxy server simple \ simple_multi sqlite_server .include -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} +.if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= doxygen>=0:devel/doxygen ALL_TARGET= all doxygen -PLIST_SUB+= PORTDOCS="" -.else -PLIST_SUB+= PORTDOCS="@comment " .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+=--disable-64bit .endif post-install: -.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN} +.if ${PORT_OPTIONS:MDOXYGEN} @${INSTALL} -d ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR} .for i in ${SAMPLE_PROGS} @${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor .endif .include Index: head/databases/libdrizzle/pkg-plist =================================================================== --- head/databases/libdrizzle/pkg-plist (revision 458512) +++ head/databases/libdrizzle/pkg-plist (revision 458513) @@ -1,394 +1,394 @@ include/libdrizzle/column.h include/libdrizzle/column_client.h include/libdrizzle/column_server.h include/libdrizzle/command_client.h include/libdrizzle/command_server.h include/libdrizzle/conn.h include/libdrizzle/conn_client.h include/libdrizzle/conn_server.h include/libdrizzle/constants.h include/libdrizzle/drizzle.h include/libdrizzle/drizzle_client.h include/libdrizzle/drizzle_server.h include/libdrizzle/field_client.h include/libdrizzle/field_server.h include/libdrizzle/handshake_client.h include/libdrizzle/handshake_server.h include/libdrizzle/query.h include/libdrizzle/result.h include/libdrizzle/result_client.h include/libdrizzle/result_server.h include/libdrizzle/row_client.h include/libdrizzle/row_server.h include/libdrizzle/structs.h include/libdrizzle/visibility.h lib/libdrizzle.so lib/libdrizzle.so.0 lib/libdrizzle.so.0.0.8 libdata/pkgconfig/libdrizzle.pc -%%PORTDOCS%%%%DOCSDIR%%/Doxyfile.api -%%PORTDOCS%%%%DOCSDIR%%/Doxyfile.dev -%%PORTDOCS%%%%DOCSDIR%%/api/html/annotated.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/bc_s.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/bdwn.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/classes.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/client_8c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/client_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/closed.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/column_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/column_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/column__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/column__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/column__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/column__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/command__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/command__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/command__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/command__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/conn_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/conn_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/conn__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/conn__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/conn__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/conn__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/constants_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/constants_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/dir_49e56c817e5e54854c35e136979f97ca.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/dir_d28a4824dc47e487b107a5db32ef43c4.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/dir_e6d885289e332b589fc0bd695d13345c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/doc.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/doxygen.css -%%PORTDOCS%%%%DOCSDIR%%/api/html/doxygen.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/doxygen_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/doxygen_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/drizzle_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/drizzle_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/drizzle__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/drizzle__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/drizzle__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/drizzle__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/dynsections.js -%%PORTDOCS%%%%DOCSDIR%%/api/html/field__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/field__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/field__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/field__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/files.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/folderclosed.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/folderopen.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/functions.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/functions_vars.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_d.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_defs.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_enum.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_eval.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_eval_c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_eval_d.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_func.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_func_d.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_func_m.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_func_p.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_func_r.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_func_s.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_func_u.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_m.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_p.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_r.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_s.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_type.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/globals_u.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__client__interface.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__column.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__column__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__column__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__command__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__command__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__con.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__con__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__con__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__constants.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__field__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__field__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__handshake__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__handshake__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__macros.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__query.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__result.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__result__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__result__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__row__client.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__row__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__server__interface.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/group__drizzle__types.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/handshake__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/handshake__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/handshake__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/handshake__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/index.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/jquery.js -%%PORTDOCS%%%%DOCSDIR%%/api/html/menu.js -%%PORTDOCS%%%%DOCSDIR%%/api/html/menudata.js -%%PORTDOCS%%%%DOCSDIR%%/api/html/modules.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/nav_f.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/nav_g.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/nav_h.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/open.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/pages.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/pipe__query_8c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/pipe__query_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/proxy_8c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/proxy_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/query_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/query_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/result_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/result_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/result__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/result__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/result__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/result__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/row__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/row__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/row__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/row__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/server_8c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/server_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/simple_8c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/simple_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/simple__multi_8c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/simple__multi_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/splitbar.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/sqlite__server_8c.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/sqlite__server_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/structclient__con__st.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/structclient__st.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/structsqlite__server.html -%%PORTDOCS%%%%DOCSDIR%%/api/html/sync_off.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/sync_on.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/tab_a.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/tab_b.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/tab_h.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/tab_s.png -%%PORTDOCS%%%%DOCSDIR%%/api/html/tabs.css -%%PORTDOCS%%%%DOCSDIR%%/api/html/todo.html -%%PORTDOCS%%%%DOCSDIR%%/api_header.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/annotated.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/bc_s.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/bdwn.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/classes.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/client_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/client_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/closed.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/column__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/command_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/command_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/command__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/command__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/command__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/command__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/common_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/common_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__local_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__local_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__uds_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/conn__uds_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/constants_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/constants_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/dir_49e56c817e5e54854c35e136979f97ca.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/dir_d28a4824dc47e487b107a5db32ef43c4.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/dir_e6d885289e332b589fc0bd695d13345c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/doc.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/doxygen.css -%%PORTDOCS%%%%DOCSDIR%%/dev/html/doxygen.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/doxygen_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/doxygen_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle__local_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle__local_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/drizzle__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/dynsections.js -%%PORTDOCS%%%%DOCSDIR%%/dev/html/field_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/field_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/field__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/field__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/field__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/field__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/files.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/folderclosed.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/folderopen.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/functions.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/functions_vars.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_b.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_d.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_defs.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_enum.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_eval.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_eval_c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_eval_d.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func_c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func_d.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func_m.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func_p.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func_r.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func_s.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_func_u.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_l.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_m.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_p.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_r.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_s.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_type.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_u.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/globals_vars.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__client__interface.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__column.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__column__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__column__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__command__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__command__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__con.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__con__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__con__local.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__con__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__con__static.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__constants.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__field__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__field__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__handshake__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__handshake__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__local.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__macros.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__pack.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__pack__private.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__query.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__result.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__result__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__result__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__row__client.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__row__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__server__interface.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__state.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__static.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__drizzle__types.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/group__sha1.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/handshake_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/handshake_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/handshake__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/handshake__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/handshake__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/handshake__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/index.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/jquery.js -%%PORTDOCS%%%%DOCSDIR%%/dev/html/menu.js -%%PORTDOCS%%%%DOCSDIR%%/dev/html/menudata.js -%%PORTDOCS%%%%DOCSDIR%%/dev/html/modules.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/nav_f.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/nav_g.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/nav_h.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/open.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/pack_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/pack_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/pack_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/pack_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/pages.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/pipe__query_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/pipe__query_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/proxy_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/proxy_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/query_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/query_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/query_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/query_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/result__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/row_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/row_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/row__client_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/row__client_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/row__server_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/row__server_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/server_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/server_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sha1_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sha1_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sha1_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sha1_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/simple_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/simple_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/simple__multi_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/simple__multi_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/splitbar.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sqlite__server_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sqlite__server_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/state_8c.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/state_8c_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/state_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/state_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structSHA1__CTX.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structclient__con__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structclient__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structdrizzle__column__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structdrizzle__con__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structdrizzle__con__tcp__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structdrizzle__con__uds__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structdrizzle__query__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structdrizzle__result__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structdrizzle__st.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structs_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structs_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/structsqlite__server.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sync_off.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/sync_on.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/tab_a.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/tab_b.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/tab_h.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/tab_s.png -%%PORTDOCS%%%%DOCSDIR%%/dev/html/tabs.css -%%PORTDOCS%%%%DOCSDIR%%/dev/html/todo.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/visibility_8h.html -%%PORTDOCS%%%%DOCSDIR%%/dev/html/visibility_8h_source.html -%%PORTDOCS%%%%DOCSDIR%%/dev_header.html -%%PORTDOCS%%%%DOCSDIR%%/doxygen.h +%%DOXYGEN%%%%DOCSDIR%%/Doxyfile.api +%%DOXYGEN%%%%DOCSDIR%%/Doxyfile.dev +%%DOXYGEN%%%%DOCSDIR%%/api/html/annotated.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/bc_s.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/bdwn.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/classes.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/client_8c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/client_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/closed.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/column_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/column_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/column__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/column__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/column__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/column__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/command__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/command__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/command__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/command__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/conn_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/conn_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/conn__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/conn__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/conn__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/conn__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/constants_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/constants_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/dir_49e56c817e5e54854c35e136979f97ca.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/dir_d28a4824dc47e487b107a5db32ef43c4.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/dir_e6d885289e332b589fc0bd695d13345c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/doc.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/doxygen.css +%%DOXYGEN%%%%DOCSDIR%%/api/html/doxygen.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/doxygen_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/doxygen_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/drizzle_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/drizzle_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/drizzle__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/drizzle__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/drizzle__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/drizzle__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/dynsections.js +%%DOXYGEN%%%%DOCSDIR%%/api/html/field__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/field__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/field__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/field__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/files.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/folderclosed.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/folderopen.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/functions.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/functions_vars.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_d.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_defs.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_enum.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_eval.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_eval_c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_eval_d.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_func.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_func_d.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_func_m.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_func_p.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_func_r.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_func_s.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_func_u.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_m.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_p.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_r.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_s.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_type.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/globals_u.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__client__interface.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__column.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__column__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__column__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__command__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__command__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__con.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__con__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__con__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__constants.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__field__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__field__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__handshake__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__handshake__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__macros.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__query.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__result.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__result__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__result__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__row__client.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__row__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__server__interface.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/group__drizzle__types.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/handshake__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/handshake__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/handshake__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/handshake__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/index.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/jquery.js +%%DOXYGEN%%%%DOCSDIR%%/api/html/menu.js +%%DOXYGEN%%%%DOCSDIR%%/api/html/menudata.js +%%DOXYGEN%%%%DOCSDIR%%/api/html/modules.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/nav_f.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/nav_g.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/nav_h.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/open.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/pages.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/pipe__query_8c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/pipe__query_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/proxy_8c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/proxy_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/query_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/query_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/result_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/result_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/result__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/result__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/result__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/result__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/row__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/row__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/row__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/row__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/server_8c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/server_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/simple_8c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/simple_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/simple__multi_8c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/simple__multi_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/splitbar.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/sqlite__server_8c.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/sqlite__server_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/structclient__con__st.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/structclient__st.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/structsqlite__server.html +%%DOXYGEN%%%%DOCSDIR%%/api/html/sync_off.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/sync_on.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/tab_a.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/tab_b.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/tab_h.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/tab_s.png +%%DOXYGEN%%%%DOCSDIR%%/api/html/tabs.css +%%DOXYGEN%%%%DOCSDIR%%/api/html/todo.html +%%DOXYGEN%%%%DOCSDIR%%/api_header.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/annotated.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/bc_s.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/bdwn.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/classes.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/client_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/client_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/closed.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/column__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/command_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/command_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/command__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/command__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/command__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/command__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/common_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/common_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__local_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__local_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__uds_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/conn__uds_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/constants_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/constants_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/dir_49e56c817e5e54854c35e136979f97ca.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/dir_d28a4824dc47e487b107a5db32ef43c4.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/dir_e6d885289e332b589fc0bd695d13345c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/doc.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/doxygen.css +%%DOXYGEN%%%%DOCSDIR%%/dev/html/doxygen.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/doxygen_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/doxygen_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle__local_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle__local_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/drizzle__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/dynsections.js +%%DOXYGEN%%%%DOCSDIR%%/dev/html/field_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/field_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/field__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/field__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/field__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/field__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/files.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/folderclosed.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/folderopen.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/functions.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/functions_vars.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_b.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_d.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_defs.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_enum.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_eval.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_eval_c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_eval_d.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func_c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func_d.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func_m.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func_p.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func_r.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func_s.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_func_u.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_l.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_m.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_p.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_r.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_s.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_type.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_u.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/globals_vars.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__client__interface.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__column.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__column__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__column__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__command__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__command__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__con.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__con__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__con__local.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__con__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__con__static.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__constants.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__field__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__field__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__handshake__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__handshake__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__local.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__macros.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__pack.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__pack__private.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__query.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__result.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__result__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__result__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__row__client.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__row__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__server__interface.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__state.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__static.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__drizzle__types.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/group__sha1.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/handshake_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/handshake_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/handshake__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/handshake__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/handshake__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/handshake__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/index.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/jquery.js +%%DOXYGEN%%%%DOCSDIR%%/dev/html/menu.js +%%DOXYGEN%%%%DOCSDIR%%/dev/html/menudata.js +%%DOXYGEN%%%%DOCSDIR%%/dev/html/modules.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/nav_f.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/nav_g.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/nav_h.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/open.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/pack_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/pack_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/pack_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/pack_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/pages.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/pipe__query_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/pipe__query_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/proxy_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/proxy_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/query_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/query_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/query_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/query_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/result__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/row_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/row_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/row__client_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/row__client_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/row__server_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/row__server_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/server_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/server_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sha1_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sha1_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sha1_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sha1_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/simple_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/simple_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/simple__multi_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/simple__multi_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/splitbar.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sqlite__server_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sqlite__server_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/state_8c.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/state_8c_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/state_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/state_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structSHA1__CTX.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structclient__con__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structclient__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structdrizzle__column__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structdrizzle__con__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structdrizzle__con__tcp__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structdrizzle__con__uds__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structdrizzle__query__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structdrizzle__result__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structdrizzle__st.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structs_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structs_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/structsqlite__server.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sync_off.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/sync_on.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/tab_a.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/tab_b.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/tab_h.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/tab_s.png +%%DOXYGEN%%%%DOCSDIR%%/dev/html/tabs.css +%%DOXYGEN%%%%DOCSDIR%%/dev/html/todo.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/visibility_8h.html +%%DOXYGEN%%%%DOCSDIR%%/dev/html/visibility_8h_source.html +%%DOXYGEN%%%%DOCSDIR%%/dev_header.html +%%DOXYGEN%%%%DOCSDIR%%/doxygen.h %%PORTEXAMPLES%%%%EXAMPLESDIR%%/client %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pipe_query %%PORTEXAMPLES%%%%EXAMPLESDIR%%/proxy %%PORTEXAMPLES%%%%EXAMPLESDIR%%/server %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_multi %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sqlite_server Index: head/databases/ruby-bdb/Makefile =================================================================== --- head/databases/ruby-bdb/Makefile (revision 458512) +++ head/databases/ruby-bdb/Makefile (revision 458513) @@ -1,78 +1,77 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= bdb PORTVERSION= 0.6.6 PORTREVISION= 5 CATEGORIES= databases ruby MASTER_SITES= ftp://ftp.idaemons.org/pub/distfiles/ruby/ \ http://idaemons.org/distfiles/ruby/ \ LOCAL/knu PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -PKGNAMESUFFIX= ${WITH_BDB_VER} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= Ruby interface to Oracle Berkeley DB revision 2 or later LICENSE= RUBY OPTIONS_DEFINE= DOCS EXAMPLES USE_RUBY= yes USE_RUBY_EXTCONF= yes MAKE_ENV+= RUBY_RDOC=${LOCALBASE}/bin/rdoc ALL_TARGET= all rdoc CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \ --with-db-lib=${BDB_LIB_DIR} INSTALL_TARGET= site-install DOCS= Changes README.en bdb.rd docs/*.rd DOCSDIR= ${RUBY_MODDOCDIR} EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} SHAREMODE= 0644 PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/bdb.so PORTDOCS= * PORTEXAMPLES= * USES= bdb shebangfix tar:bzip2 SHEBANG_FILES= examples/record.rb \ examples/recno.rb \ examples/zeroc.rb \ examples/txn.rb \ examples/queue.rb \ examples/cats.rb \ examples/log.rb \ examples/cursor.rb \ examples/func.rb \ examples/replication/mgr/b.rb \ examples/replication/base/op.rb \ examples/replication/base/cl.rb \ examples/replication/base/b.rb \ examples/replication/base/ma.rb \ examples/replication/base/mc.rb \ examples/join.rb \ examples/basic.rb \ examples/lock.rb post-patch: @${RM} ${WRKSRC}/docs/*.orig post-install: ${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/bdb.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/doc (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/docs/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc) post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -empty") regression-test: build @${MKDIR} ${BUILD_WRKSRC}/tmp (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) .include Index: head/devel/cvsweb/Makefile =================================================================== --- head/devel/cvsweb/Makefile (revision 458512) +++ head/devel/cvsweb/Makefile (revision 458513) @@ -1,78 +1,78 @@ # Created by: SADA Kenji # $FreeBSD$ PORTNAME= cvsweb PORTVERSION= 2.0.6 PORTREVISION= 2 CATEGORIES= devel www MASTER_SITES= LOCAL/scop http://people.FreeBSD.org/~scop/cvsweb/ # For issues that are not specific to this port/package, please consult # the mailing list. MAINTAINER= noackjr@alumni.rice.edu COMMENT= WWW CGI script to browse CVS repository trees CONFLICTS= cvsweb-3.* NO_BUILD= yes USES= perl5 OPTIONS_DEFINE= DOCS .include # Specify where your repository belongs. # (You can reconfigure it after installation anyway) .if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT) CVSROOT= /home/cvs .endif # Specify the title of your cvsweb site. TITLE?= My CVS Repository # Specify these directories in relative paths to ${PREFIX}. .if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache) CGIDIR?= share/apache/cgi-bin ICONSDIR?= share/apache/icons .else CGIDIR?= www/cgi-bin ICONSDIR?= www/icons .endif CONFFILES= cvsweb.conf \ cvsweb.conf-freebsd \ cvsweb.conf-openbsd \ cvsweb.conf-netbsd \ cvsweb.conf-ruby -PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}" +PLIST_SUB+= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}" SUB_FILES= pkg-message SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}" post-patch: @${REINPLACE_CMD} -i '' -e 's,!!PERL!!,${PERL},' \ -e 's,!!PREFIX!!,${PREFIX},' \ ${WRKSRC}/cvsweb.cgi @${REINPLACE_CMD} -i '' -e 's,!!PREFIX!!,${PREFIX},' \ -e 's,!!CVSROOT!!,${CVSROOT},' \ -e 's,!!TITLE!!,${TITLE},' \ ${WRKSRC}/cvsweb.conf do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${CGIDIR} ${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${STAGEDIR}${PREFIX}/${CGIDIR}/ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/cvsweb .for f in ${CONFFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/etc/cvsweb/${f}.dist .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb ${INSTALL_DATA} ${WRKSRC}/icons/* ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ChangeLog INSTALL README README.FreeBSD TODO TODO.FreeBSD ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include Index: head/devel/cvsweb3/Makefile =================================================================== --- head/devel/cvsweb3/Makefile (revision 458512) +++ head/devel/cvsweb3/Makefile (revision 458513) @@ -1,105 +1,105 @@ # Created by: SADA Kenji # $FreeBSD$ PORTNAME= cvsweb PORTVERSION= 3.0.6 PORTREVISION= 5 CATEGORIES= devel www MASTER_SITES= LOCAL/scop http://people.FreeBSD.org/~scop/cvsweb/ PKGNAMESUFFIX= 3 # For issues that are not specific to this port/package, please consult # the mailing list. MAINTAINER= noackjr@alumni.rice.edu COMMENT= WWW CGI script to browse CVS repository trees version 3 LICENSE= BSD2CLAUSE RUN_DEPENDS= p5-IPC-Run>=0:devel/p5-IPC-Run \ p5-URI>=0:net/p5-URI # The following extra dependencies are optional, but CVSweb works the # best with them. RUN_DEPENDS+= p5-MIME-Types>=0:mail/p5-MIME-Types \ p5-String-Ediff>=0:devel/p5-String-Ediff \ cvsgraph:devel/cvsgraph # Use PAPERSIZE to avoid a stale dependency on Enscript. PAPERSIZE?= letter RUN_DEPENDS+= enscript:print/enscript-${PAPERSIZE} CONFLICTS= cvsweb-2.* USES= perl5 shebangfix SHEBANG_FILES= cvsweb.cgi NO_BUILD= yes NO_ARCH= yes .include # Specify where your repository belongs. # (You can reconfigure it after installation anyway) .if defined(PACKAGE_BUILDING) || !defined(CVSROOT) || empty(CVSROOT) CVSROOT= /home/cvs .endif # Specify the title of your cvsweb site. TITLE?= My CVS Repository # Specify these directories in relative paths to ${PREFIX}. .if exists(${PREFIX}/www/cgi-bin) DIRPREFIX= www .elif exists(${PREFIX}/www/apache24/cgi-bin) DIRPREFIX= www/apache24 .elif exists(${PREFIX}/www/apache22/cgi-bin) DIRPREFIX= www/apache22 .elif exists(${PREFIX}/apache/cgi-bin) DIRPREFIX= apache .else DIRPREFIX= share/apache .endif CGIDIR?= ${DIRPREFIX}/cgi-bin ICONSDIR?= ${DIRPREFIX}/icons CSSDIR?= ${DIRPREFIX}/data/css CONFFILES= cvsweb.conf \ cvsweb.conf-freebsd \ cvsweb.conf-openbsd \ cvsweb.conf-netbsd \ cvsweb.conf-ruby -PLIST_SUB= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}" CSSDIR="${CSSDIR}" \ +PLIST_SUB+= CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}" CSSDIR="${CSSDIR}" \ DIRPREFIX="${DIRPREFIX}" SUB_FILES= pkg-message SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}" post-patch: @${SED} -i '' -e 's,/usr/local/etc/,${PREFIX}/etc/,' \ -e 's,\(qw(hi.*)\),(\1),' ${WRKSRC}/cvsweb.cgi @${REINPLACE_CMD} -i '' -e 's,!!PREFIX!!,${PREFIX},' \ -e 's,!!CVSROOT!!,${CVSROOT},' \ -e 's,!!TITLE!!,${TITLE},' \ ${WRKSRC}/cvsweb.conf do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${CGIDIR} ${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${STAGEDIR}${PREFIX}/${CGIDIR}/ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/cvsweb .for f in ${CONFFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/etc/cvsweb/${f}.dist .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb ${INSTALL_DATA} ${WRKSRC}/icons/* ${STAGEDIR}${PREFIX}/${ICONSDIR}/cvsweb/ @${MKDIR} ${STAGEDIR}${PREFIX}/${CSSDIR}/cvsweb ${INSTALL_DATA} ${WRKSRC}/css/*.css ${STAGEDIR}${PREFIX}/${CSSDIR}/cvsweb/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/enscript/hl ${INSTALL_DATA} ${WRKSRC}/enscript/*.st ${STAGEDIR}${PREFIX}/share/enscript/hl/ @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ChangeLog INSTALL NEWS README TODO ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/devel/motor/Makefile =================================================================== --- head/devel/motor/Makefile (revision 458512) +++ head/devel/motor/Makefile (revision 458513) @@ -1,42 +1,42 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= motor PORTVERSION= 3.4.0 PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://thekonst.net/download/ MAINTAINER= ale@FreeBSD.org COMMENT= Powerful text mode based programming IDE LICENSE= GPLv2 OPTIONS_DEFINE= DOCS NLS USES= alias tar:bzip2 gmake iconv ncurses GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} .include .if ${PORT_OPTIONS:MNLS} USES+= gettext CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE} -PLIST_SUB= NLS="" +PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls -PLIST_SUB= NLS="@comment " +PLIST_SUB+= NLS="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|strndup|my_strndup|' ${WRKSRC}/parser/src/parser.c \ ${WRKSRC}/parser/src/strfn.c ${WRKSRC}/parser/include/strfn.h .if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC} ; ${INSTALL_DATA} FAQ README ${STAGEDIR}${DOCSDIR}) .endif .include Index: head/dns/dnsjava/Makefile =================================================================== --- head/dns/dnsjava/Makefile (revision 458512) +++ head/dns/dnsjava/Makefile (revision 458513) @@ -1,50 +1,50 @@ # Created by: Herve Quiroz # $FreeBSD$ PORTNAME= dnsjava PORTVERSION= 2.1.8 CATEGORIES= dns java MASTER_SITES= http://www.dnsjava.org/download/ MAINTAINER= danilo@FreeBSD.org COMMENT= Implementation of DNS in Java USE_JAVA= yes JAVA_VERSION= 1.6+ USE_ANT= yes ALL_TARGET= jar NO_ARCH= yes OPTIONS_DEFINE= DOCS EXAMPLES SAMPLE_FILES= examples.html USAGE dig.java jnamed.java lookup.java update.java OTHERDOCS= README Changelog DOCS_ALL_TARGET= docs .include .if ${JAVA_PORT_VERSION} == "1.6.0" -PLIST_SUB= JDK6="" +PLIST_SUB+= JDK6="" .else -PLIST_SUB= JDK6="@comment " +PLIST_SUB+= JDK6="@comment " .endif .if ${JAVA_PORT_VERSION} == "1.8.0" PLIST_SUB+= JDK8="" .else PLIST_SUB+= JDK8="@comment " .endif do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${TAR} -C ${WRKSRC}/doc -cf - . | ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf - ${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${SAMPLE_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/games/scummvm-tools/Makefile =================================================================== --- head/games/scummvm-tools/Makefile (revision 458512) +++ head/games/scummvm-tools/Makefile (revision 458513) @@ -1,61 +1,61 @@ # Created by: Adam Weinberger # $FreeBSD$ PORTNAME= scummvm-tools DISTVERSION= 1.8.0 PORTREVISION= 6 CATEGORIES= games emulators MASTER_SITES= SF/scummvm/${PORTNAME}/${DISTVERSION} MAINTAINER= lme@FreeBSD.org COMMENT= Tools for use with the SCUMMVM game emulator LICENSE= GPLv2 RUN_DEPENDS:= ${BUILD_DEPENDS} BUILD_DEPENDS= lame:audio/lame \ flac:audio/flac \ oggenc:audio/vorbis-tools LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis USES= gmake tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_TARGET= STRIP_FILES= construct_mohawk create_sjisfnt decine decompile degob \ dekyra deriven descumm desword2 extract_mohawk gob_loadcalc \ scummvm-tools-cli OPTIONS_DEFINE= WXGTK DOCS OPTIONS_DEFAULT= WXGTK .include .if ${PORT_OPTIONS:MWXGTK} USE_WX= 2.8 WX_COMP= wx:lib:build WX_CONFIG_ARGS= absolute GUI_BIN= tools_gui -PLIST_SUB= WX="" +PLIST_SUB+= WX="" STRIP_FILES+= scummvm-tools .else CONFIGURE_ARGS+= --disable-wxwidgets -PLIST_SUB= WX="@comment " +PLIST_SUB+= WX="@comment " .endif pre-patch: @${REINPLACE_CMD} -e 's|wxgtk2-2.8-config|${WX_CONFIG:C/.*\///}|' \ ${WRKSRC}/configure pre-install: ${STRIP_CMD} ${STRIP_FILES:S|^|${WRKSRC}/|} post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/mscgen/Makefile =================================================================== --- head/graphics/mscgen/Makefile (revision 458512) +++ head/graphics/mscgen/Makefile (revision 458513) @@ -1,39 +1,37 @@ # Created by: Romain Tartiere # $FreeBSD$ PORTNAME= mscgen PORTVERSION= 0.20 PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://www.mcternan.me.uk/mscgen/software/ \ http://romain.blogreen.org/distfiles/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= romain@FreeBSD.org COMMENT= Message Sequence Chart Renderer OPTIONS_DEFINE= FREETYPE PNG OPTIONS_DEFAULT=FREETYPE PNG .include .if ${PORT_OPTIONS:MFREETYPE} CONFIGURE_ARGS+=--with-freetype LIB_DEPENDS+= libfreetype.so:print/freetype2 .else CONFIGURE_ARGS+=--without-freetype .endif .if ${PORT_OPTIONS:MPNG} CONFIGURE_ARGS+=--with-png LIB_DEPENDS+= libgd.so:graphics/gd .else CONFIGURE_ARGS+=--without-png .endif WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} GNU_CONFIGURE= yes -MAN1= mscgen.1 - .include Index: head/graphics/povray37/Makefile =================================================================== --- head/graphics/povray37/Makefile (revision 458512) +++ head/graphics/povray37/Makefile (revision 458513) @@ -1,151 +1,149 @@ # $FreeBSD$ PORTNAME= povray DISTVERSION= 3.7.0.RC6 PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= http://www.povray.org/beta/source/ PKGNAMESUFFIX= 37 DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX} MAINTAINER= bkoenig@alpha-tierchen.de COMMENT= Persistence of Vision Ray Tracer LIB_DEPENDS= libboost_thread.so:devel/boost-libs BROKEN_powerpc64= Does not build: c++: Internal error: Killed (program cc1plus) OPTIONS_DEFINE= X11 PNG JPEG TIFF OPENEXR STATIC IO EXAMPLES DOCS OPTIONS_DEFAULT=PNG JPEG OPTIONS_SUB= yes IO_DESC= Without I/O restrictions (security risk) EXAMPLES_DESC= Install example scenes DOCS_DESC= Install HTML documentation USES= gmake GNU_CONFIGURE= yes VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lboost_system CONFIGURE_ARGS= COMPILED_BY=${MAINTAINER} \ --program-transform-name='s/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/' \ --disable-optimiz .include .if ${PORT_OPTIONS:MX11} USE_XORG= xpm sm ice x11 USE_SDL= sdl .else CONFIGURE_ARGS+= --without-x .endif .if ${PORT_OPTIONS:MSTATIC} CONFIGURE_ARGS+=--enable-static .endif .if ${PORT_OPTIONS:MIO} CONFIGURE_ARGS+=--disable-io-restrictions .endif .if ${PORT_OPTIONS:MPNG} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= png>=1.4:graphics/png .else LIB_DEPENDS+= libpng.so:graphics/png .endif .else CONFIGURE_ARGS+=--without-libpng .endif .if ${PORT_OPTIONS:MJPEG} .if ${PORT_OPTIONS:MSTATIC} USES+= jpeg:build .else USES+= jpeg .endif .else CONFIGURE_ARGS+=--without-libjpeg .endif .if ${PORT_OPTIONS:MTIFF} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= tiff>=4:graphics/tiff .else LIB_DEPENDS+= libtiff.so:graphics/tiff .endif .else CONFIGURE_ARGS+=--without-libtiff .endif .if ${PORT_OPTIONS:MOPENEXR} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= OpenEXR>=1.6:graphics/OpenEXR .else LIB_DEPENDS+= libIlmImf.so:graphics/OpenEXR CPPFLAGS+= -I${LOCALBASE}/include/OpenEXR .endif .else CONFIGURE_ARGS+=--without-openexr .endif .if !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MTIFF} CONFIGURE_ARGS+=NON_REDISTRIBUTABLE_BUILD=yes .endif -MAN1= ${PORTNAME}${PKGNAMESUFFIX}.1 - DOC_FILES= AUTHORS ChangeLog NEWS PORTDOCS= * PORTEXAMPLES= * post-patch: # Fix with boost 1.52 and now boost 1.55 @${REINPLACE_CMD} -e 's/TIME_UTC/TIME_UTC_/g' ${WRKSRC}/source/backend/scene/view.cpp \ ${WRKSRC}/source/base/timer.cpp \ ${WRKSRC}/vfe/vfepovms.cpp \ ${WRKSRC}/vfe/unix/platformbase.cpp \ ${WRKSRC}/vfe/vfesession.cpp ${FIND} ${WRKSRC}/source/*end \( -name \*.h -o -name \*.cpp \) | \ ${XARGS} ${GREP} -l shared_ptr | ${SED} '/shellout/d' | \ ${XARGS} ${REINPLACE_CMD} -e 's|shared_ptr|boost::shared_ptr|g' pre-build: .if ${PORT_OPTIONS:MSTATIC} && ${PORT_OPTIONS:MTIFF} # graphics/tiff adds dependencies on libjpeg and libjbig @${REINPLACE_CMD} -e 's,^\(LIBS = .*\)-ltiff\(.*\),\1-ltiff -ljpeg -ljbig\2,' ${WRKSRC}/unix/Makefile .endif do-install: @${INSTALL_PROGRAM} ${WRKSRC}/unix/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} - @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${MAN1} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}${PKGNAMESUFFIX}.1 @${MKDIR} ${STAGEDIR}${ETCDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${STAGEDIR}${ETCDIR} .for i in include ini scripts ${MKDIR} ${STAGEDIR}${DATADIR}/$i cd ${WRKSRC}/$i && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/$i .endfor .if ${PORT_OPTIONS:MX11} @${MKDIR} ${STAGEDIR}${DATADIR}/icons cd ${WRKSRC}/icons && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/icons .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/scenes && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOC_FILES} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif .include Index: head/graphics/xfig/Makefile =================================================================== --- head/graphics/xfig/Makefile (revision 458512) +++ head/graphics/xfig/Makefile (revision 458513) @@ -1,75 +1,75 @@ # Created by: roberto # $FreeBSD$ PORTNAME= xfig PORTVERSION= 3.2.5c PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF/mcj/mcj-source/ DISTNAME= ${PORTNAME}.${PORTVERSION}.full MAINTAINER= mjl@luckie.org.nz COMMENT= Drawing program for X11 LIB_DEPENDS= libpng.so:graphics/png \ libXaw3d.so:x11-toolkits/Xaw3d RUN_DEPENDS= fig2dev:print/transfig CONFLICTS= xfig-[12].* xfig-3.1* xfig-3.2.[1234]* WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION} USES= imake jpeg USE_XORG= ice sm x11 xaw xext xi xmu xpm xt USE_CSTD= gnu89 CFLAGS+= -Wno-return-type INSTALL_TARGET= install install.libs MAKE_ENV+= DOCSDIR=${DOCSDIR} CHMOD=${CHMOD} TAR=${TAR} MAKE_ARGS+= INSTALLFLAGS="${COPY}" \ INSTPGMFLAGS="${STRIP} -m ${BINMODE}" \ INSTDATFLAGS="-m ${SHAREMODE}" \ INSTMANFLAGS="-m ${MANMODE}" OPTIONS_DEFINE= GHOSTSCRIPT I18N DOCS OPTIONS_DEFAULT= GHOSTSCRIPT I18N I18N_DESC= I18N support and Japanese docs .include .if ${PORT_OPTIONS:MDOCS} INSTALL_TARGET+= install.html .endif .if ! ${PORT_OPTIONS:MI18N} || ! ${PORT_OPTIONS:MDOCS} PLIST_SUB+= JPORTDOCS="@comment " .else -PLIST_SUB= JPORTDOCS="" +PLIST_SUB+= JPORTDOCS="" .endif .if ${PORT_OPTIONS:MI18N} USES+= gettext .endif post-extract: @cd ${WRKSRC}/Doc && ${FIND} . -type f -name "*.orig" -delete @${RM} ${WRKSRC}/Doc/html/images/pspbrwse.jbf @${RM} ${WRKSRC}/Libraries/Examples/xfig.exe.stackdump @${RM} ${WRKSRC}/Libraries/Fasteners/Fasteners.tar @cd ${WRKSRC}/Doc && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r @cd ${WRKSRC}/Libraries && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} post-patch: .if ! ${PORT_OPTIONS:MGHOSTSCRIPT} .if ! ${PORT_OPTIONS:MI18N} @${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile .else @${REINPLACE_CMD} -e '/^XCOMM #define I18N/s|XCOMM ||' \ -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile .endif .elif ${PORT_OPTIONS:MI18N} @${REINPLACE_CMD} -e '/^XCOMM #define I18N/s|XCOMM ||' ${WRKSRC}/Imakefile .endif .include Index: head/lang/fpc/Makefile =================================================================== --- head/lang/fpc/Makefile (revision 458512) +++ head/lang/fpc/Makefile (revision 458513) @@ -1,186 +1,186 @@ # Created by: John Merryweather Cooper et al # $FreeBSD$ PORTNAME= fpc PORTVERSION= 3.0.2 PORTREVISION?= 0 CATEGORIES?= lang MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://planetmirror.com/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.jp.freepascal.org/mirror/fpc/dist/${PORTVERSION}/source/:source \ ftp://freepascal.stack.nl/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.no.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ ftp://ftp.us.freepascal.org/pub/fpc/dist/${PORTVERSION}/source/:source \ SF/freepascal/Source/${PORTVERSION}:source \ http://leaf.dragonflybsd.org/~marino/dports-src/:DragonFlybootstrap \ LOCAL/acm/freepascal/:bootstrap \ LOCAL/acm/freepascal/:man DISTFILES= ${DISTNAME:S/$/.source/}${EXTRACT_SUFX}:source DIST_SUBDIR= freepascal MAINTAINER?= acm@FreeBSD.org COMMENT?= Free Pascal compiler with Turbo and Delphi USES= gmake iconv ONLY_FOR_ARCHS= i386 amd64 BOOTVER= 3.0.2 MANVER= 3.0.2 #USE_GITHUB= yes #GH_ACCOUNT= fpc-svn #GH_PROJECT= fpc FPCSRCDIR= ${PORTNAME}-${PORTVERSION} .include .if ${ARCH} == "i386" PPNAME= ppc386 FPC_ARCH= i386 -PLIST_SUB= FPC_I386="" \ +PLIST_SUB+= FPC_I386="" \ FPC_AMD64="@comment " .elif ${ARCH} == "amd64" PPNAME= ppcx64 FPC_ARCH= x86_64 -PLIST_SUB= FPC_I386="@comment " \ +PLIST_SUB+= FPC_I386="@comment " \ FPC_AMD64="" .endif .if ${OPSYS} == FreeBSD PLIST_SUB+= FREEBSD="" .else PLIST_SUB+= FREEBSD="@comment " .endif .if !defined(PKGNAMESUFFIX) SUB_FILES= pkg-message BUILDNAME= ${FPC_ARCH}-${OPSYS:tl} PLIST_SUB+= PORTVERSION=${PORTVERSION} \ BUILDNAME=${BUILDNAME} DISTFILES+= ${BOOTDIR}.tar.gz:${OPSYS:MDragonFly}bootstrap \ fpc-${MANVER}.man.tar.gz:man NEWFPCMAKE= ${WRKDIR}/${FPCSRCDIR}/utils/fpcm/bin/${BUILDNAME}/fpcmake MAKE_ARGS+= FPCMAKE=${NEWFPCMAKE} \ FPCTARGET=${BUILDNAME} \ ARCH=${FPC_ARCH} \ OPT="${OPT}" \ BSDHIER=1 \ INSTALL="${INSTALL_DATA}" \ INSTALLEXE="${INSTALL_PROGRAM}" \ INSTALLSCR="${INSTALL_SCRIPT}" \ INSTALL_PREFIX=${STAGEDIR}${PREFIX} NEWPPC= PP=${WRKSRC}/compiler/${PPNAME} NEWFPC= FPC=${WRKSRC}/compiler/${PPNAME} BOOTDIR= ${PPNAME}-${BOOTVER}-${OPSYS:tl} BOOTPPC= PP=${WRKDIR}/${BOOTDIR} do-extract: # unpack binary distribution @${MKDIR} ${WRKDIR} @${TAR} -xzf ${_DISTDIR}/${BOOTDIR}.tar.gz \ --directory ${WRKDIR} && ${CHMOD} +x ${WRKDIR}/${BOOTDIR} # unpack man files @${TAR} -xzf ${_DISTDIR}/fpc-${MANVER}.man.tar.gz --directory ${WRKDIR} # unpack source distribution @(cd ${WRKDIR} && ${GZIP_CMD} -dc \ ${_DISTDIR}/${DISTNAME:S/$/.source/}${EXTRACT_SUFX} | \ ${TAR} -xf - \ ${FPCSRCDIR}/compiler \ ${FPCSRCDIR}/rtl \ ${FPCSRCDIR}/utils/fpcmkcfg \ ${FPCSRCDIR}/packages/fcl-base \ ${FPCSRCDIR}/packages/fcl-process \ ${FPCSRCDIR}/packages/fcl-res \ ${FPCSRCDIR}/packages/fpmkunit \ ${FPCSRCDIR}/packages/hash \ ${FPCSRCDIR}/packages/libtar \ ${FPCSRCDIR}/packages/paszlib \ ${FPCSRCDIR}/packages/rtl-objpas \ ${FPCSRCDIR}/utils/fpcm) post-patch: .if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -i "" -e 's|900044|${OSVERSION}|g' \ ${WRKSRC}/rtl/freebsd/${FPC_ARCH}/*.as .else @${REINPLACE_CMD} -i "" -e 's|400000|${DFLYVERSION}|g' \ ${WRKSRC}/rtl/dragonfly/${FPC_ARCH}/*.as .endif .if empty(ICONV_LIB) @${REINPLACE_CMD} -e "s|s<>'c'|(s<>'c') and (s<>'iconv')|" \ ${WRKDIR}/${FPCSRCDIR}/compiler/systems/t_bsd.pas @${REINPLACE_CMD} -e 's|defined(bsd) and not ||' \ ${WRKDIR}/${FPCSRCDIR}/rtl/unix/cwstring.pp .endif @${REINPLACE_CMD} -e '/samplecfg/ {s/INSTALLEXE/INSTALLSCR/;}' \ ${WRKDIR}/${FPCSRCDIR}/compiler/Makefile @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ ${WRKDIR}/${FPCSRCDIR}/packages/fpmkunit/src/fpmkunit.pp do-build: # build fpc compiler @${ECHO_MSG} "##### STARTING COMPILER #####" (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ LDVER=ld.bfd ${MAKE_CMD} cycle ${MAKE_ARGS} ${BOOTPPC}) @${ECHO_MSG} "##### COMPLETE COMPILER #####" # build fpcmkcfg @${ECHO_MSG} "##### STARTING BOOTSTRAP FPMKUNIT #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/fpmkunit && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} bootstrap ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE BOOTSTRAP FPMKUNIT #####" .for component in fcl-res rtl-objpas fcl-base @${ECHO_MSG} "##### STARTING ${component:tu} #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE ${component:tu} #####" .endfor @${ECHO_MSG} "##### STARTING FPMAKE #####" (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcm && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE FPMAKE #####" .for component in hash paszlib libtar fcl-process fpmkunit @${ECHO_MSG} "##### STARTING ${component:tu} #####" (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE ${component:tu} #####" .endfor @${ECHO_MSG} "##### STARTING FPCMKCFG #####" (cd ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} release ${MAKE_ARGS} ${NEWPPC}) @${ECHO_MSG} "##### COMPLETE FPCMKCFG #####" do-install: # Installing fpc compiler (cd ${WRKDIR}/${FPCSRCDIR}/rtl && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installing fpc runtime (cd ${WRKDIR}/${FPCSRCDIR}/compiler && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} install ${MAKE_ARGS} ${NEWFPC}) # Installing fpmkunit and its dependencies .for component in hash paszlib libtar fcl-process fpmkunit (cd ${WRKDIR}/${FPCSRCDIR}/packages/${component} && ${SETENV} \ ${MAKE_ENV} ${MAKE_CMD} install ${MAKE_ARGS} ${NEWPPC}) .endfor # Installing fpcmkcfg ${INSTALL_PROGRAM} ${WRKDIR}/${FPCSRCDIR}/utils/fpcmkcfg/bin/${BUILDNAME}/fpcmkcfg \ ${STAGEDIR}${PREFIX}/bin # Installing fpcmake ${INSTALL_PROGRAM} ${NEWFPCMAKE} ${STAGEDIR}${PREFIX}/bin # Installing manpages ${INSTALL_MAN} ${WRKDIR}/man/man1/* ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKDIR}/man/man5/* ${STAGEDIR}${MAN1PREFIX}/man/man5 # symlinking compiler (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../lib/fpc/${PORTVERSION}/${PPNAME}) # creating sample configuration file ${SH} "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}/samplecfg" \ "${STAGEDIR}${PREFIX}/lib/fpc/${PORTVERSION}" \ "${STAGEDIR}${PREFIX}/etc" @${REINPLACE_CMD} -i "" -e 's|${STAGEDIR}||' \ -e 's|^-Fl/usr/local/lib|-Fl${LOCALBASE}/lib;${LOCALBASE}/lib/qt4|g' \ ${STAGEDIR}${PREFIX}/etc/fpc.cfg.sample .else .include "${MASTERDIR}/Makefile.units" .endif .include Index: head/lang/icon/Makefile =================================================================== --- head/lang/icon/Makefile (revision 458512) +++ head/lang/icon/Makefile (revision 458513) @@ -1,80 +1,80 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= icon PORTVERSION= 9.5.1 PORTREVISION= 3 CATEGORIES= lang MASTER_SITES= http://www.cs.arizona.edu/icon/ftp/packages/unix/ DISTNAME= ${PORTNAME}-v${PORTVERSION:S/.//g}src EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= The Icon programming language USE_GCC= any ALL_TARGET= All MAKE_JOBS_UNSAFE= yes ARCH_NAME= bsd ICONDIR= ${PREFIX}/lib/${PORTNAME} BINS= icont iconx BINXS= colrbook colrpick fontpick palette vib wevents xgamma OPTIONS_DEFINE= DOCS X11 .include .if empty(PORT_OPTIONS:MX11) CONFIG_CMD= Configure -PLIST_SUB= WITHOUT_X11="@comment " +PLIST_SUB+= WITHOUT_X11="@comment " .else USE_XORG= x11 xpm CFLAGS+= -I${LOCALBASE}/include CONFIG_CMD= X-Configure -PLIST_SUB= WITHOUT_X11= +PLIST_SUB+= WITHOUT_X11= .endif post-patch: @${REINPLACE_CMD} -e "s|^CC.*|CC=${CC}|g ; \ s|^CFLAGS.*|CFLAGS=${CFLAGS}|g ; \ s|/usr/X11R6|${LOCALBASE}|g ; \ s|^XLIBS.*|XLIBS=-L${LOCALBASE}/lib -lX11|g" \ ${WRKSRC}/config/${ARCH_NAME}/Makedefs @${REINPLACE_CMD} -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin @${REINPLACE_CMD} -e 's|ld -Bshareable|\$$CC -shared|g ; \ s|-lc||g' ${WRKSRC}/ipl/cfuncs/mklib.sh do-configure: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${CONFIG_CMD} name=${ARCH_NAME}) do-install: ${INSTALL_MAN} ${WRKSRC}/man/man1/icon.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/man1/icont.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${ICONDIR}/bin .for file in ${BINS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${STAGEDIR}${ICONDIR}/bin/${file} .endfor .for file in icont iconx @${LN} -sf ${ICONDIR}/bin/${file} ${STAGEDIR}${PREFIX}/bin/${file} .endfor @${LN} -sf ${ICONDIR}/bin/icont ${STAGEDIR}${PREFIX}/bin/icon @${MKDIR} ${STAGEDIR}${ICONDIR}/lib cd ${WRKSRC}/lib; ${INSTALL_DATA} *.* ${STAGEDIR}${ICONDIR}/lib .if ${PORT_OPTIONS:MX11} .for file in ${BINXS} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${STAGEDIR}${ICONDIR}/bin/${file} .endfor @${LN} -sf ${ICONDIR}/bin/vib ${STAGEDIR}${PREFIX}/bin/vib .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc; ${INSTALL_DATA} *.* ${STAGEDIR}${DOCSDIR} .if defined(MAINTAINER_MODE) test: install (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} Test) .endif .include Index: head/mail/fastforward/Makefile =================================================================== --- head/mail/fastforward/Makefile (revision 458512) +++ head/mail/fastforward/Makefile (revision 458513) @@ -1,41 +1,32 @@ # Created by: Uffe Jakobsen # $FreeBSD$ PORTNAME= fastforward PORTVERSION= 0.51 CATEGORIES= mail MASTER_SITES= http://cr.yp.to/software/ MAINTAINER= ports@FreeBSD.org COMMENT= Fastforward handles qmail forwarding according to a cdb database USES= gmake groff ALL_TARGET= default -MAN1= fastforward.1 printforward.1 setforward.1 newaliases.1 printmaillist.1 setmaillist.1 newinclude.1 -CAT1= fastforward.0 printforward.0 setforward.0 newaliases.0 printmaillist.0 setmaillist.0 newinclude.0 +FILES= fastforward printforward setforward newaliases printmaillist setmaillist newinclude PORTDOCS= ALIASES -PLIST_FILES= \ - bin/fastforward bin/printforward bin/setforward bin/newaliases bin/printmaillist bin/setmaillist bin/newinclude \ - ${MAN1:S,^,man/man1/,:S,$,.gz,} ${CAT1:S,^,man/cat1/,:S,$,.gz,} +PLIST_FILES= ${FILES:S,^,bin/,} ${FILES:S,^,man/man1/,:S,$,.1.gz,} ${FILES:S,^,man/cat1/,:S,$,.0.gz,} do-install: -.for binfile in fastforward printforward setforward newaliases printmaillist setmaillist newinclude +.for binfile in ${FILES} ${INSTALL_PROGRAM} ${WRKSRC}/${binfile} ${STAGEDIR}${PREFIX}/bin/${binfile} -.endfor - -.for manfile in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/${manfile} ${STAGEDIR}${MAN1PREFIX}/man/man1/${manfile} -.endfor - -.for catfile in ${CAT1} - ${INSTALL_MAN} ${WRKSRC}/${catfile} ${STAGEDIR}${MAN1PREFIX}/man/cat1/${catfile} + ${INSTALL_MAN} ${WRKSRC}/${binfile}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${binfile}.0 ${STAGEDIR}${MAN1PREFIX}/man/cat1 .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ALIASES ${STAGEDIR}${DOCSDIR}/ALIASES .include Index: head/net/httpry/Makefile =================================================================== --- head/net/httpry/Makefile (revision 458512) +++ head/net/httpry/Makefile (revision 458513) @@ -1,39 +1,39 @@ # $FreeBSD$ PORTNAME= httpry PORTVERSION= 0.1.7 CATEGORIES= net MASTER_SITES= http://dumpsterventures.com/jason/httpry/ MAINTAINER= wxs@FreeBSD.org COMMENT= Packet sniffer designed for displaying and logging HTTP traffic USE_RC_SUBR= httpry OPTIONS_DEFINE= EXTRASCRIPTS DOCS EXTRASCRIPTS_DESC= Install additional scripts .include .if ${PORT_OPTIONS:MEXTRASCRIPTS} -PLIST_SUB= EXTRASCRIPTS="" +PLIST_SUB+= EXTRASCRIPTS="" USES+= perl5 USE_PERL5= run RUN_DEPENDS= p5-DBI>=0:databases/p5-DBI .else -PLIST_SUB= EXTRASCRIPTS="@comment " +PLIST_SUB+= EXTRASCRIPTS="@comment " .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MEXTRASCRIPTS} @${MKDIR} ${STAGEDIR}${PREFIX}/bin/httpry-scripts (cd ${WRKSRC}/scripts/ && \ ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/bin/httpry-scripts "! -name *.bak") .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/perl-tools ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/format-string ${STAGEDIR}${DOCSDIR} .include Index: head/net/p5-Net-Proxy/Makefile =================================================================== --- head/net/p5-Net-Proxy/Makefile (revision 458512) +++ head/net/p5-Net-Proxy/Makefile (revision 458513) @@ -1,23 +1,20 @@ # Created by: Philippe Audeoud # $FreeBSD$ PORTNAME= Net-Proxy PORTVERSION= 0.13 PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= jadawin@FreeBSD.org COMMENT= Framework for proxying network connections in many ways LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= perl5 USE_PERL5= configure -MAN1= connect-tunnel.1 \ - sslh.1 - .include Index: head/net/ssltunnel-client/Makefile =================================================================== --- head/net/ssltunnel-client/Makefile (revision 458512) +++ head/net/ssltunnel-client/Makefile (revision 458513) @@ -1,49 +1,48 @@ # Created by: at@rominet.net # $FreeBSD$ PORTNAME= ssltunnel PORTVERSION= 1.18 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.hsc.fr/ressources/outils/ssltunnel/download/ PKGNAMESUFFIX= -client MAINTAINER= crees@FreeBSD.org COMMENT= PPP over SSL virtual private networking (client part) LICENSE= BSD3CLAUSE OPTIONS_DEFINE= GUI DOCS GUI_DESC= GTK 1.2 graphical interface CONFIGURE_ARGS= --disable-server \ --with-iconv=${ICONV_PREFIX} \ --with-openssl=${OPENSSLBASE} GNU_CONFIGURE= yes USES= iconv ssl .include .if ${PORT_OPTIONS:MGUI} USE_GNOME= gtk12 USES+= perl5 RUN_DEPENDS= p5-Gtk>=0:x11-toolkits/p5-Gtk -MAN1+= gpppclient.1 PLIST_SUB+= PERLGTK="" .else PLIST_SUB+= PERLGTK="@comment " .endif post-patch: ${REINPLACE_CMD} -e 's|with_iconv|with-iconv|g' ${WRKSRC}/configure post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/LISEZ-MOI \ ${STAGEDIR}${DOCSDIR}/client.LISEZ-MOI ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/client.README ${MKDIR} ${STAGEDIR}${ETCDIR}/ ${INSTALL_DATA} ${WRKSRC}/client/tunnel.conf \ ${STAGEDIR}${ETCDIR}/client.conf.sample .include Index: head/net-mgmt/jnettop/Makefile =================================================================== --- head/net-mgmt/jnettop/Makefile (revision 458512) +++ head/net-mgmt/jnettop/Makefile (revision 458513) @@ -1,29 +1,27 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= jnettop PORTVERSION= 0.13.0 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.13 \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Traffic visualizer, similar to nettop -MAN8= jnettop.8 - GNU_CONFIGURE= yes USES= pkgconfig gmake USE_GNOME= glib20 LICENSE= GPLv2 CONFIGURE_ARGS= --prefix=${PREFIX} .if defined(WITH_DAG) post-configure: ${ECHO_CMD} "#define BSD 1" >> ${WRKSRC}/config.h .endif .include Index: head/news/golded+/Makefile =================================================================== --- head/news/golded+/Makefile (revision 458512) +++ head/news/golded+/Makefile (revision 458513) @@ -1,60 +1,59 @@ # Created by: Max Khon # $FreeBSD$ PORTNAME= golded+ PORTVERSION= 1.1.5.a${SNAPDATE} PORTREVISION= 1 CATEGORIES= news mail MASTER_SITES= SF/golded-plus/Golded%2B%201.1.5%20snapshots/2016.03.22 DISTNAME= gpsrc-115-${SNAPDATE} EXTRACT_SUFX= .tgz SNAPDATE= 20160322 MAINTAINER= fjoe@FreeBSD.org COMMENT= GoldEd+ (FTN message editor) USES= gmake ncurses WRKSRC= ${WRKDIR}/golded-plus/${PORTNAME} -MAN1= golded.1 goldnode.1 rddt.1 DOCS= copying copying.lib license.txt notework.txt rusfaq.txt\ tips.txt notework.rus PORTDOCS= ${DOCS} gold_ref.txt gold_usr.txt SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES DOCS_SUB_LIST= NOTEWORK="Please read the ${DOCSDIR}/notework.txt before using ${PORTNAME}" DOCS_SUB_LIST_OFF= NOTEWORK="" post-patch: @${SED}\ -e 's,^\(#define __GVER_VENDOR_NAME__\).*,\1 "",'\ -e 's,\(#define __GVER_VENDOR_FIDO__\).*,\1 "",'\ -e 's,\(#define __GVER_VENDOR_EMAIL__\).*,\1 "${MAINTAINER}",'\ -e 's,\(#define __GVER_RELEASENAME__\).*,\1 "Golded+ FreeBSD port",'\ -e 's,\(#define __GVER_POSTVERSION__\).*,\1 "-b${SNAPDATE}",'\ <${WRKSRC}/golded3/mygolded.__h >${WRKSRC}/golded3/mygolded.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/gedlnx ${STAGEDIR}${PREFIX}/bin/golded ${INSTALL_PROGRAM} ${WRKSRC}/bin/gnlnx ${STAGEDIR}${PREFIX}/bin/goldnode ${INSTALL_PROGRAM} ${WRKSRC}/bin/rddtlnx ${STAGEDIR}${PREFIX}/bin/rddt ${INSTALL_MAN} ${WRKSRC}/docs/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in charset colorset config template ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/$i; ${FIND} ${WRKSRC}/cfgs/$i -maxdepth 1 -type f |\ ${XARGS} -n 1 -J @ ${INSTALL_DATA} @ ${STAGEDIR}${EXAMPLESDIR}/$i .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manuals/gold_ref.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manuals/gold_usr.txt ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/docs/$i ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/news/leafnode/Makefile =================================================================== --- head/news/leafnode/Makefile (revision 458512) +++ head/news/leafnode/Makefile (revision 458513) @@ -1,81 +1,81 @@ # Created by: Brian Somers # $FreeBSD$ PORTNAME= leafnode DISTVERSION= 1.11.11 CATEGORIES= news ipv6 MASTER_SITES= SF \ http://www.dt.e-technik.uni-dortmund.de/~ma/${PORTNAME}/ MAINTAINER= mandree@FreeBSD.org COMMENT= NNTP package for offline news caching and reading LIB_DEPENDS= libpcre.so:devel/pcre USES= tar:xz GNU_CONFIGURE= yes CONFLICTS= newsx-1* s-news-0* OPTIONS_DEFINE= DOCS .include # TODO: remove this auto-selection, and tell users through UPDATING to # move their spool to /var/spool/leafnode, and run texpire -r .if exists(/var/spool/news/leaf.node) && !defined(PACKAGE_BUILDING) LEAFNODE_SPOOLDIR?=/var/spool/news .elif exists(${LOCALBASE}/var/spool/leafnode/leaf.node) && !defined(PACKAGE_BUILDING) LEAFNODE_SPOOLDIR?=${LOCALBASE}/var/spool/leafnode .endif LEAFNODE_SPOOLDIR?=/var/spool/leafnode PLIST_SUB= SPOOLDIR=${LEAFNODE_SPOOLDIR} REALPREFIX=${PREFIX} CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/leafnode \ --with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6 \ --exec-prefix=${PREFIX} SUB_FILES= pkg-message pkg-install pkg-deinstall SUB_LIST= SPOOLDIR=${LEAFNODE_SPOOLDIR} -MAN1= leafnode-version.1 newsq.1 -MAN8= applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8 +MAN1_DE= leafnode-version.1 newsq.1 +MAN8_DE= applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8 MANLANG= "" de.ISO8859-1 MAN1DIR_DE= ${MAN1PREFIX}/man/de.ISO8859-1/man1 MAN8DIR_DE= ${MAN8PREFIX}/man/de.ISO8859-1/man8 DOCS= ADD-ONS ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \ INSTALL NEWS README ChangeLog.old README-FQDN README-FQDN.html \ README-daemontools leafnode.cron.daily \ leafnode-SA-2002-01.txt leafnode-SA-2003-01.txt \ leafnode-SA-2004-01.txt \ leafnode-SA-2005-01.txt \ leafnode-SA-2005-02.txt \ KNOWNBUGS DOCS_DE= INSTALL_de LIESMICH-daemontools README README_de .if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif pre-configure: @${ECHO_MSG} @${ECHO_MSG} "------------------------------------------------------------------------" @${ECHO_MSG} "This port will use ${LEAFNODE_SPOOLDIR} as spool directory." @${ECHO_MSG} "Use LEAFNODE_SPOOLDIR=d to specify d as spool directory." @${ECHO_MSG} "------------------------------------------------------------------------" @${ECHO_MSG} post-install: ${INSTALL_SCRIPT} ${WRKSRC}/setup-daemontools.sh ${STAGEDIR}${PREFIX}/sbin .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/german cd ${WRKSRC}/doc_german && ${INSTALL_DATA} ${DOCS_DE} ${STAGEDIR}${DOCSDIR}/german .endif ${MKDIR} ${STAGEDIR}${MAN1DIR_DE} ${STAGEDIR}${MAN8DIR_DE} cd ${WRKSRC}/doc_german && \ - ${INSTALL_MAN} ${MAN1} ${STAGEDIR}${MAN1PREFIX}/man/de.ISO8859-1/man1 && \ - ${INSTALL_MAN} ${MAN8} ${STAGEDIR}${MAN8PREFIX}/man/de.ISO8859-1/man8 + ${INSTALL_MAN} ${MAN1_DE} ${STAGEDIR}${MAN1PREFIX}/man/de.ISO8859-1/man1 && \ + ${INSTALL_MAN} ${MAN8_DE} ${STAGEDIR}${MAN8PREFIX}/man/de.ISO8859-1/man8 .include Index: head/security/cyrus-sasl2/Makefile.common =================================================================== --- head/security/cyrus-sasl2/Makefile.common (revision 458512) +++ head/security/cyrus-sasl2/Makefile.common (revision 458513) @@ -1,198 +1,198 @@ # $FreeBSD$ PORTNAME= cyrus-sasl PORTVERSION= 2.1.26 CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.cyrusimap.org/cyrus-sasl/ \ http://cyrusimap.org/releases/ MAINTAINER= ume@FreeBSD.org LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USE_LDCONFIG= yes USES+= ssl GNU_CONFIGURE= yes CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc \ --with-configdir=${PREFIX}/lib/sasl2:${PREFIX}/etc/sasl2 \ --with-plugindir=${PREFIX}/lib/sasl2 \ --with-dbpath=${PREFIX}/etc/sasldb2 \ --with-lib-subdir=lib \ --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --includedir=${PREFIX}/include \ --enable-static \ --with-rc4=openssl CONFIGURE_ARGS+=--disable-anon \ --disable-cram \ --disable-digest \ --disable-gssapi \ --disable-krb4 \ --disable-login \ --disable-ntlm \ --disable-otp \ --disable-plain \ --disable-scram \ --disable-srp \ --with-dblib=none CONFIGURE_ARGS+=${CYRUS_CONFIGURE_ARGS} MAKE_ENV+= INSTALL_STRIP_FLAG=${STRIP} DOCSDIR= ${PREFIX}/share/doc/cyrus-sasl2 CPE_VENDOR= cmu SASLAUTHD_RUNPATH?= /var/run/saslauthd CYRUS_USER?= cyrus CYRUS_GROUP?= cyrus CYRUS_SASL2_DIR=${MASTERDIR}/../../security/cyrus-sasl2 DISTINFO_FILE= ${CYRUS_SASL2_DIR}/distinfo PATCHDIR= ${CYRUS_SASL2_DIR}/files .if defined(PKGNAMESUFFIX) CYRUS_BUILD_TARGET?= ${PKGNAMESUFFIX:S/^-//} .else CYRUS_BUILD_TARGET?= ${PORTNAME} .endif .if ${CYRUS_BUILD_TARGET} != "cyrus-sasl" && ${CYRUS_BUILD_TARGET} != "saslauthd" INSTALL_WRKSRC= ${WRKSRC}/plugins LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 USES+= libtool:build PLIST_FILES+= lib/sasl2/lib${CYRUS_BUILD_TARGET}.a \ lib/sasl2/lib${CYRUS_BUILD_TARGET}.so \ lib/sasl2/lib${CYRUS_BUILD_TARGET}.so.3 \ lib/sasl2/lib${CYRUS_BUILD_TARGET}.so.3.0.0 .endif .include .if ${OPENSSLBASE} == /usr CONFIGURE_ARGS+=--with-openssl=yes .else CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE} .endif .if ${ARCH} == "amd64" CPPFLAGS+= -fPIC .endif .if ${CYRUS_BUILD_TARGET} == "cyrus-sasl" .if ${PORT_OPTIONS:MBDB1} SASLDB_NAME= sasldb2.db .elif ${PORT_OPTIONS:MBDB} INVALID_BDB_VER=2 SASLDB_NAME= sasldb2 .elif ${PORT_OPTIONS:MGDBM} SASLDB_NAME= sasldb2 .else SASLDB= "@comment " .endif SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST= CYRUS_USER=${CYRUS_USER} CYRUS_GROUP=${CYRUS_GROUP} \ SASLDB_NAME=${SASLDB_NAME} PLIST_SUB+= PREFIX=${PREFIX} \ SASLDB=${SASLDB} \ DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} post-patch: # Try to unbreak parallel (-jX) builds, part 1: make build commands atomic @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${PERL} -w0pi.bak \ -e 's/(^\@am__fastdepCC_TRUE\@.*?) \ \n\@am__fastdepCC_TRUE\@\s+(.*?)$$/$$1 && $$2/mgx' # Part 2: prevent intermediate *.Tpo output files clash (use unique names) @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${PERL} -wpi.bak \ -e 's/\$$\*\.Tpo/$$&.$$./g' post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html .for f in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .for f in ${DOC2} @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .for f in ${HTDOCS} @${INSTALL_DATA} ${WRKSRC}/doc/${f}.html \ ${STAGEDIR}${DOCSDIR}/html .endfor @${INSTALL_DATA} ${FILESDIR}/Sendmail.README \ ${STAGEDIR}${DOCSDIR} .elif ${CYRUS_BUILD_TARGET} == "saslauthd" .if ${PORT_OPTIONS:MBDB} INVALID_BDB_VER=2 .endif .if ${PORT_OPTIONS:MOPENLDAP} .if defined(WITH_OPENLDAP_VER) WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER} .endif .endif .if ${SASLAUTHD_RUNPATH} != /var/run/saslauthd RUNPATH= "@comment " .endif -PLIST_SUB= PREFIX=${PREFIX} \ +PLIST_SUB+= PREFIX=${PREFIX} \ DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \ RUNPATH=${RUNPATH} SUB_LIST+= SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH} do-build: cd ${WRKSRC}/include && ${MAKE} .if ${PORT_OPTIONS:MBDB1} || ${PORT_OPTIONS:MBDB} || ${PORT_OPTIONS:MGDBM} cd ${WRKSRC}/sasldb && ${MAKE} .endif cd ${WRKSRC}/saslauthd && ${MAKE} cd ${WRKSRC}/saslauthd && ${MAKE} saslcache cd ${WRKSRC}/saslauthd && ${MAKE} testsaslauthd post-install: @${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/saslcache \ ${STAGEDIR}${PREFIX}/sbin/saslcache @${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/testsaslauthd \ ${STAGEDIR}${PREFIX}/sbin/testsaslauthd .if ${SASLAUTHD_RUNPATH} != /var/run/saslauthd @${ECHO_MSG} "" @${ECHO_MSG} "SASLAUTHD_RUNPATH was specified." @${ECHO_MSG} "Make sure you create ${SASLAUTHD_RUNPATH}." @${ECHO_MSG} "" .else @${MKDIR} ${STAGEDIR}/var/run/saslauthd .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/saslauthd .for file in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/saslauthd/${file} \ ${STAGEDIR}${DOCSDIR}/saslauthd .endfor .else # plugin LIBTOOL= ${LOCALBASE}/bin/libtool post-patch: @${REINPLACE_CMD} \ -e "/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|g" \ ${WRKSRC}/configure do-build: cd ${WRKSRC}/include && ${MAKE} cd ${WRKSRC}/plugins && ${MAKE} .endif .include Index: head/security/p5-SAVI-Perl/Makefile =================================================================== --- head/security/p5-SAVI-Perl/Makefile (revision 458512) +++ head/security/p5-SAVI-Perl/Makefile (revision 458513) @@ -1,35 +1,33 @@ # Created by: Gary Hayers # $FreeBSD$ PORTNAME= SAVI-Perl PORTVERSION= 0.30 PORTREVISION= 6 CATEGORIES= security perl5 MASTER_SITES= http://www.csupomona.edu/~henson/archive/projects/SAVI-Perl/dist/ PKGNAMEPREFIX= p5- MAINTAINER= pi@FreeBSD.org COMMENT= Perl5 module interface to Sophos AntiVirus -MAN3= SAVI.3 - USES= perl5 USE_PERL5= configure ONLY_FOR_ARCHS= i386 amd64 .include .if exists(${PREFIX}/lib/libsavi.so.3) && !exists(${PREFIX}/lib/libsavi.so) FAKELIBDIR=${WRKDIR}/lib CONFIGURE_ARGS+=LDDLFLAGS='-shared -L ${FAKELIBDIR}' .elif !exists(${PREFIX}/lib/libsavi.so) IGNORE= Sophos Anti-Virus needs to be installed (see pkg-descr) .endif .if defined(FAKELIBDIR) pre-configure: ${MKDIR} ${FAKELIBDIR} ${LN} -s ${PREFIX}/lib/libsavi.so.3 ${FAKELIBDIR}/libsavi.so .endif .include Index: head/security/samhain/Makefile =================================================================== --- head/security/samhain/Makefile (revision 458512) +++ head/security/samhain/Makefile (revision 458513) @@ -1,220 +1,214 @@ # Created by: Nikola Kolev # $FreeBSD$ PORTNAME= samhain PORTVERSION= 4.2.4 CATEGORIES= security MASTER_SITES= http://la-samhna.de/archive/ DISTNAME= samhain_signed-${PORTVERSION} MAINTAINER= koue@chaosophia.net COMMENT= Samhain Intrusion Detection System LICENSE= GPLv2 BROKEN_aarch64= fails to build: undefined reference to sbrk BROKEN_mips= fails to configure: error: Could not find the libwrap library BROKEN_mips64= fails to configure: error: Could not find the libwrap library OPTIONS_DEFINE= ASM DB_RELOAD DEBUG DNMALLOC DOCS ENCRYPT GNUPG IPV6 KCHECK \ LIBWRAP LOGFILE_MONITOR LOGIN_WATCH MAIL MOUNTS_CHECK MYSQL \ ODBC PGSQL PORT_CHECK PROCESS_CHECK POSIX_ACL PRELUDE PTRACE \ SRP STATIC SUIDCHECK UDP USERFILES XML_LOGS OPTIONS_DEFAULT=ASM DNMALLOC ENCRYPT LIBWRAP MAIL SRP DB_RELOAD_DESC= Enable database reload on SIGHUP DNMALLOC_DESC= Enable dnmalloc ENCRYPT_DESC= Enable client/server encryption KCHECK_DESC= Enable rogue KLD detection LOGFILE_MONITOR_DESC= Enable monitor logfiles LOGIN_WATCH_DESC= Enable watch for login/logout MAIL_DESC= Enable internal SMTP mailer MOUNTS_CHECK_DESC= Enable check mount options on filesystems PORT_CHECK_DESC= Enable check ports PROCESS_CHECK_DESC= Enable check processes POSIX_ACL_DESC= Enable check posix acls PRELUDE_DESC= Enable Prelude Framework support PTRACE_DESC= Enable use anti-debugger options SRP_DESC= Enable SRP for authentication SUIDCHECK_DESC= Enable check for suid/sgid files UDP_DESC= Enable UDP server USERFILES_DESC= Enable check for users config files XML_LOGS_DESC= Enable XML-formatted logs OPTIONS_SUB= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var \ --with-logserver=true \ --with-altlogserver=true \ --with-timeserver=true \ --with-alttimeserver=true USES= shebangfix SHEBANG_FILES= scripts/samhainadmin.pl.in ASM_CONFIGURE_ENABLE= asm DB_RELOAD_CONFIGURE_ENABLE= db-reload DEBUG_CONFIGURE_ENABLE= debug DNMALLOC_CONFIGURE_ENABLE= dnmalloc ENCRYPT_CONFIGURE_ENABLE= encrypt GNUPG_CONFIGURE_WITH= gpg=${PREFIX}/bin/gpg GNUPG_BUILD_DEPENDS= gpg:security/gnupg IPV6_CONFIGURE_ENABLE= ipv6 KCHECK_CONFIGURE_WITH= kcheck LIBWRAP_CONFIGURE_WITH= libwrap LOGFILE_MONITOR_CONFIGURE_ENABLE= logfile-monitor LOGIN_WATCH_CONFIGURE_ENABLE= login-watch MAIL_CONFIGURE_ENABLE= mail MOUNTS_CHECK_CONFIGURE_ENABLE= mounts-check MYSQL_USES= mysql MYSQL_CONFIGURE_ARGS= --with-database=mysql ODBC_CONFIGURE_ARGS= --with-database=odbc ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC PGSQL_USES= pgsql PGSQL_CONFIGURE_ARGS= --with-database=postgresql PORT_CHECK_CONFIGURE_ENABLE= port-check PROCESS_CHECK_CONFIGURE_ENABLE= process-check POSIX_ACL_CONFIGURE_ENABLE= posix-acl PRELUDE_LIB_DEPENDS= prelude:security/libprelude PRELUDE_CONFIGURE_WITH= prelude PTRACE_CONFIGURE_ENABLE= ptrace SRP_CONFIGURE_ENABLE= srp STATIC_CONFIGURE_ENABLE= static SUIDCHECK_CONFIGURE_ENABLE= suidcheck UDP_CONFIGURE_ENABLE= udp USERFILES_CONFIGURE_ENABLE= userfiles XML_LOGS_CONFIGURE_ENABLE= xml-log .include .if ${ARCH} == "amd64" CFLAGS+= -fPIC .endif .if defined(WITH_RUNAS_USER) CONFIGURE_ARGS+= --enable-identity=${WITH_RUNAS_USER} .else CONFIGURE_ARGS+= --enable-identity=yule .endif .if defined(WITH_CLIENT) CONFIGURE_ARGS+= --enable-network=client \ --with-data-file=REQ_FROM_SERVER/var/lib/samhain/data.samhain \ --with-config-file=REQ_FROM_SERVER PLIST_SUB+= SAMHAIN="" SETPWD="" YULE="@comment " EXTRA_PATCHES+= ${FILESDIR}/fixsamhainrc.patch -MAN5+= samhainrc.5 -MAN8+= samhain.8 .elif defined(WITH_SERVER) USERS= yule GROUPS= yule CONFIGURE_ARGS+= --enable-network=server SUB_LIST+= WITH_YULE="yes" PLIST_SUB+= YULE="" SAMHAIN="@comment " SETPWD="@comment " EXTRA_PATCHES+= ${FILESDIR}/fixyulerc.patch -MAN5+= yulerc.5 -MAN8+= yule.8 .else SUB_LIST+= WITH_YULE="" PLIST_SUB+= SAMHAIN="" YULE="@comment " SETPWD="@comment " EXTRA_PATCHES+= ${FILESDIR}/fixsamhainrc.patch -MAN5+= samhainrc.5 -MAN8+= samhain.8 .endif pre-everything:: .if !defined(WITH_CLIENT) && !defined(WITH_SERVER) @${ECHO_MSG} @${ECHO_MSG} "Building Samhain in standalone mode." @${ECHO_MSG} "If you wish to enable networked mode, please hit CTRL-C" @${ECHO_MSG} "now, and build samhain from the samhain-client and" @${ECHO_MSG} "samhain-server ports." @${ECHO_MSG} .endif .if defined(WITH_CLIENT) && defined(WITH_SERVER) IGNORE= can't build client and server at once .endif .if ${PORT_OPTIONS:MKCHECK} @${ECHO_MSG} @${ECHO_MSG} "Building with kernel checking requires reading /dev/kmem" @${ECHO_MSG} "and /dev/mem. If you're not building as root, please hit" @${ECHO_MSG} "Control-C and restart the build as root." @${ECHO_MSG} .endif .if ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MXML_LOGS} IGNORE= xml logging is required to log to MySQL .endif .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MXML_LOGS} IGNORE= xml logging is required to log to Postgres .endif post-extract: @${TAR} -C ${WRKDIR} -xzf ${WRKSRC}.tar.gz @${RM} ${WRKSRC}.tar.gz ${WRKSRC}.tar.gz.asc post-install: .if !defined(WITH_SERVER) @${CP} ${WRKSRC}/init/samhain.startFreeBSD ${STAGEDIR}${PREFIX}/etc/rc.d/samhain.sh @${CP} ${WRKSRC}/samhainrc ${STAGEDIR}${PREFIX}/etc/samhainrc.sample @${CHGRP} wheel ${STAGEDIR}${PREFIX}/etc/samhainrc.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/samhain .else @${CP} ${WRKSRC}/init/samhain.startFreeBSD ${STAGEDIR}${PREFIX}/etc/rc.d/yule.sh @${CP} ${WRKSRC}/yulerc ${STAGEDIR}${PREFIX}/etc/yulerc.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/yule ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/yulectl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/yule_setpwd .endif .if defined(WITH_CLIENT) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/samhain_setpwd .endif post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/MANUAL-2_4.pdf ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/HOWTO-client+server.html ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/HOWTO-client+server-troubleshooting.html ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/HOWTO-samhain+GnuPG.html ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/HOWTO-write-modules.html ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/FAQ.html ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/README.UPGRADE ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/BUGS ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/sh_mounts.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/docs/sh_userfiles.txt ${STAGEDIR}${DOCSDIR} .include Index: head/sysutils/grub2-pcbsd/Makefile =================================================================== --- head/sysutils/grub2-pcbsd/Makefile (revision 458512) +++ head/sysutils/grub2-pcbsd/Makefile (revision 458513) @@ -1,97 +1,96 @@ # Created by: kmoore@FreeBSD.org # $FreeBSD$ PORTNAME= grub2-pcbsd PORTVERSION= 2.02q PORTREVISION= 11 CATEGORIES= sysutils MASTER_SITES= http://www.pcbsd.org/~kris/software/ \ ftp://ftp.pcbsd.org/pub/software/ DISTNAME= grub-2.02_8 MAINTAINER= kmoore@FreeBSD.org COMMENT= Multiboot boot loader LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \ ${LOCALBASE}/bin/bash:shells/bash \ help2man:misc/help2man WRKSRC= ${WRKDIR}/grub-2.02 CONFLICTS= grub-0* grub2-2* SSP_UNSAFE= yes USE_GCC= yes GNU_CONFIGURE= yes USES= autoreconf:build bison cpe gettext gmake makeinfo python tar:xz ONLY_FOR_ARCHS= i386 amd64 INFO= grub grub-dev MAKE_JOBS_UNSAFE= yes CPE_PRODUCT= grub CPE_VENDOR= gnu CONFIGURE_ARGS= --disable-werror --localedir=${PREFIX}/share/locale CONFIGURE_ENV= CPP="${CC} -E" \ LEX=${LOCALBASE}/bin/flex SUB_FILES= 00_header 10_kfreebsd 10_ktrueos 30_os-prober 50_otherbe OPTIONS_DEFINE= MKFONT FUSE OPTIONS_DEFAULT=MKFONT MKFONT_DESC= Build grub-mkfont (require freetype2) FUSE_DESC= Build grub-mount (require FUSE) .include .if ${ARCH} != "amd64" EFIEMU= "@comment " .endif PLIST_SUB+= EFIEMU=${EFIEMU} .if ${PORT_OPTIONS:MMKFONT} LIB_DEPENDS+= libfreetype.so:print/freetype2 BUILD_DEPENDS+= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/gnu-unifont/unifont.pcf.gz:x11-fonts/gnu-unifont -MAN1+= grub-mkfont.1 CONFIGURE_ARGS+= --enable-grub-mkfont .else CONFIGURE_ARGS+= --disable-grub-mkfont MKFONT= "@comment " .endif PLIST_SUB+= MKFONT=${MKFONT} .if ${PORT_OPTIONS:MFUSE} LIB_DEPENDS+= libfuse.so:sysutils/fusefs-libs CONFIGURE_ARGS+= --enable-grub-mount .else CONFIGURE_ARGS+= --disable-grub-mount FUSE= "@comment " .endif PLIST_SUB+= FUSE=${FUSE} post-patch: @${TOUCH} -t 200001010000 ${WRKSRC}/Makefile.util.def pre-configure: @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/autogen.sh cd ${WRKSRC} && ./autogen.sh post-configure: @${LN} -sfh /usr/include/machine /usr/include/sys /usr/include/x86 ${WRKSRC}/grub-core post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/charset.alias ${INSTALL_SCRIPT} ${WRKDIR}/00_header ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/10_kfreebsd ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/10_ktrueos ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/30_os-prober ${STAGEDIR}${PREFIX}/etc/grub.d/ ${INSTALL_SCRIPT} ${WRKDIR}/50_otherbe ${STAGEDIR}${PREFIX}/etc/grub.d/ ${MV} ${STAGEDIR}${PREFIX}/etc/grub.d/40_custom ${STAGEDIR}/${PREFIX}/etc/grub.d/40_custom.dist RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*} .include Index: head/sysutils/webjob/Makefile =================================================================== --- head/sysutils/webjob/Makefile (revision 458512) +++ head/sysutils/webjob/Makefile (revision 458513) @@ -1,57 +1,56 @@ # Created by: Klayton Monroe # $FreeBSD$ PORTNAME= webjob PORTVERSION= 1.9.0 PORTREVISION= 1 CATEGORIES= sysutils security MASTER_SITES= SF MAINTAINER= klm@uidzero.org COMMENT= Download and execute a program over HTTP/HTTPS BROKEN_aarch64= fails to build: aarch64 is not currently supported BROKEN_mips64= fails to build: mips64 is not currently supported USES= perl5 shebangfix tar:tgz SHEBANG_FILES= tools/xshar/xshar GNU_CONFIGURE= yes USE_PERL5= build OPTIONS_DEFINE= PAD_TOOLS DSV_TOOLS SSL OPTIONS_DEFAULT= PAD_TOOLS DSV_TOOLS PAD_TOOLS_DESC= install PaD tools DSV_TOOLS_DESC= install DSV tools .include .if ${PORT_OPTIONS:MPAD_TOOLS} PLIST_SUB+= PAD_TOOLS="" CONFIGURE_ARGS+= --with-pad-tools .else PLIST_SUB+= PAD_TOOLS="@comment " .endif .if ! ${PORT_OPTIONS:MSSL} CONFIGURE_ARGS+= --without-ssl PLIST_SUB+= DSV_TOOLS="@comment " .else USES+= ssl CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .if ! ${PORT_OPTIONS:MDSV_TOOLS} # Note: DSV requires SSL PLIST_SUB+= DSV_TOOLS="@comment " .else PLIST_SUB+= DSV_TOOLS="" CONFIGURE_ARGS+= --with-dsv-tools -MAN1+= webjob-dsvtool.1 .endif .endif .if !defined(NO_STATIC) CFLAGS+= -static .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/webjob .include Index: head/textproc/elasticsearch/Makefile =================================================================== --- head/textproc/elasticsearch/Makefile (revision 458512) +++ head/textproc/elasticsearch/Makefile (revision 458513) @@ -1,115 +1,115 @@ # Created by: Tom Judge # $FreeBSD$ PORTNAME= elasticsearch PORTVERSION= 1.7.6 CATEGORIES= textproc java devel MASTER_SITES= http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \ http://mirrors.rit.edu/zi/ MAINTAINER= tj@FreeBSD.org COMMENT= Full-text search engine for Java LICENSE= APACHE20 RUN_DEPENDS= java-sigar>=0:java/sigar CONFLICTS= elasticsearch[0-9]-[0-9]* USES= cpe NO_ARCH= yes USE_JAVA= yes NO_BUILD= yes JAVA_VERSION= 1.7+ ONLY_FOR_ARCHS= i386 amd64 USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DOCS .include LUCENEVER= 4.10.4 CONFIG_FILES= elasticsearch.yml logging.yml JARS= elasticsearch-${PORTVERSION}.jar \ asm-4.1.jar \ asm-commons-4.1.jar \ apache-log4j-extras-1.2.17.jar \ antlr-runtime-3.5.jar \ groovy-all-2.4.4.jar \ jna-4.1.0.jar \ jts-1.13.jar \ log4j-1.2.17.jar \ lucene-analyzers-common-${LUCENEVER}.jar \ lucene-core-${LUCENEVER}.jar \ lucene-expressions-${LUCENEVER}.jar \ lucene-grouping-${LUCENEVER}.jar \ lucene-highlighter-${LUCENEVER}.jar \ lucene-join-${LUCENEVER}.jar \ lucene-memory-${LUCENEVER}.jar \ lucene-queries-${LUCENEVER}.jar \ lucene-misc-${LUCENEVER}.jar \ lucene-queries-${LUCENEVER}.jar \ lucene-queryparser-${LUCENEVER}.jar \ lucene-sandbox-${LUCENEVER}.jar \ lucene-spatial-${LUCENEVER}.jar \ lucene-suggest-${LUCENEVER}.jar \ spatial4j-0.4.1.jar DOCS= LICENSE.txt \ NOTICE.txt \ README.textile SIGAR_ARCH= ${ARCH:S|i386|x86|} SEARCHUSER?= elasticsearch SEARCHGROUP?= ${SEARCHUSER} USERS= ${SEARCHUSER} GROUPS= ${SEARCHGROUP} ELASTIC_DBDIR= /var/db/elasticsearch ELASTIC_LOGDIR= /var/log/elasticsearch .if ${OPSYS} != FreeBSD IGNORE= ${OPSYS} platform is not supported .endif SIGAR_LIBNAME= libsigar-${ARCH:S,i386,x86,}-freebsd-9.so SUB_LIST= SEARCHUSER=${SEARCHUSER} \ SEARCHGROUP=${SEARCHGROUP} \ PORTVERSION=${PORTVERSION} SUB_FILES= elasticsearch-plugin pkg-message -PLIST_SUB= SIGAR_ARCH=${SIGAR_ARCH} \ +PLIST_SUB+= SIGAR_ARCH=${SIGAR_ARCH} \ SEARCHUSER=${SEARCHUSER} \ SEARCHGROUP=${SEARCHGROUP} \ LUCENEVER=${LUCENEVER} \ PORTVERSION=${PORTVERSION} \ ELASTIC_DBDIR=${ELASTIC_DBDIR} \ ELASTIC_LOGDIR=${ELASTIC_LOGDIR} \ SIGAR_LIBNAME=${SIGAR_LIBNAME} post-patch: ${SED} -i .bak -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/elasticsearch.yml do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch .for f in ${CONFIG_FILES} ${INSTALL} -m 440 ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor ${INSTALL_SCRIPT} ${WRKDIR}/elasticsearch-plugin ${STAGEDIR}${PREFIX}/bin/elasticsearch-plugin ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch .for f in ${JARS} ${INSTALL_DATA} ${WRKSRC}/lib/${f} ${STAGEDIR}${PREFIX}/lib/elasticsearch/ .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins ${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/sigar # ${INSTALL_DATA} ${WRKSRC}/lib/sigar/sigar-1.6.4.jar ${STAGEDIR}${PREFIX}/lib/elasticsearch/sigar/ cd ${STAGEDIR}${PREFIX}/lib/elasticsearch/sigar && ${LN} -s ${JAVAJARDIR}/sigar.jar cd ${STAGEDIR}${PREFIX}/lib/elasticsearch/sigar && ${LN} -s ${JAVAJARDIR}/${SIGAR_LIBNAME} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/textproc/elasticsearch2/Makefile =================================================================== --- head/textproc/elasticsearch2/Makefile (revision 458512) +++ head/textproc/elasticsearch2/Makefile (revision 458513) @@ -1,87 +1,87 @@ # Created by: Tom Judge # $FreeBSD$ PORTNAME= elasticsearch PORTVERSION= 2.4.6 CATEGORIES= textproc java devel MASTER_SITES= http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \ http://mirrors.rit.edu/zi/ PKGNAMESUFFIX= 2 MAINTAINER= tj@FreeBSD.org COMMENT= Full-text search engine for Java LICENSE= APACHE20 CONFLICTS= elasticsearch-[0-9]* elasticsearch5-[0-9]* USES= cpe NO_ARCH= yes USE_JAVA= yes NO_BUILD= yes JAVA_VERSION= 1.7+ USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DOCS .include LUCENEVER= 5.5.4 CONFIG_FILES= elasticsearch.yml logging.yml BINS= elasticsearch.in.sh \ elasticsearch \ plugin DOCS= LICENSE.txt \ NOTICE.txt \ README.textile SIGAR_ARCH= ${ARCH:S|i386|x86|} SEARCHUSER?= elasticsearch SEARCHGROUP?= ${SEARCHUSER} USERS= ${SEARCHUSER} GROUPS= ${SEARCHGROUP} ELASTIC_DBDIR= /var/db/elasticsearch ELASTIC_LOGDIR= /var/log/elasticsearch SUB_LIST= SEARCHUSER=${SEARCHUSER} \ SEARCHGROUP=${SEARCHGROUP} \ PORTVERSION=${PORTVERSION} SUB_FILES= pkg-message -PLIST_SUB= SEARCHUSER=${SEARCHUSER} \ +PLIST_SUB+= SEARCHUSER=${SEARCHUSER} \ SEARCHGROUP=${SEARCHGROUP} \ LUCENEVER=${LUCENEVER} \ PORTVERSION=${PORTVERSION} \ ELASTIC_DBDIR=${ELASTIC_DBDIR} \ ELASTIC_LOGDIR=${ELASTIC_LOGDIR} post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/elasticsearch.yml ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/elasticsearch.in.sh do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch .for f in ${CONFIG_FILES} ${INSTALL} -m 440 ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin .for f in ${BINS} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib/ "-name *\.jar") @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules (cd ${WRKSRC}/modules && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules/) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/elasticsearch @${MKDIR} ${STAGEDIR}${ELASTIC_DBDIR} ${STAGEDIR}${ELASTIC_LOGDIR} cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PREFIX}/lib/elasticsearch/bin/plugin elasticsearch-plugin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/textproc/elasticsearch5/Makefile =================================================================== --- head/textproc/elasticsearch5/Makefile (revision 458512) +++ head/textproc/elasticsearch5/Makefile (revision 458513) @@ -1,93 +1,93 @@ # Created by: Tom Judge # $FreeBSD$ PORTNAME= elasticsearch PORTVERSION= 5.3.0 PORTREVISION= 1 CATEGORIES= textproc java devel MASTER_SITES= https://artifacts.elastic.co/downloads/${PORTNAME}/ \ http://mirrors.rit.edu/zi/ PKGNAMESUFFIX= 5 MAINTAINER= tj@FreeBSD.org COMMENT= Full-text search engine for Java LICENSE= APACHE20 RUN_DEPENDS= bash>0:shells/bash CONFLICTS= elasticsearch-[0-9]* elasticsearch2-[0-9]* USES= cpe shebangfix NO_ARCH= yes USE_JAVA= yes NO_BUILD= yes JAVA_VERSION= 1.8+ USE_RC_SUBR= ${PORTNAME} SHEBANG_FILES= bin/elasticsearch-plugin \ bin/elasticsearch bin/elasticsearch.in.sh OPTIONS_DEFINE= DOCS .include LUCENEVER= 6.4.1 CONFIG_FILES= elasticsearch.yml log4j2.properties jvm.options BINS= elasticsearch.in.sh \ elasticsearch \ elasticsearch-plugin DOCS= LICENSE.txt \ NOTICE.txt \ README.textile SIGAR_ARCH= ${ARCH:S|i386|x86|} SEARCHUSER?= elasticsearch SEARCHGROUP?= ${SEARCHUSER} USERS= ${SEARCHUSER} GROUPS= ${SEARCHGROUP} ELASTIC_DBDIR= /var/db/elasticsearch ELASTIC_LOGDIR= /var/log/elasticsearch SUB_LIST= SEARCHUSER=${SEARCHUSER} \ SEARCHGROUP=${SEARCHGROUP} \ PORTVERSION=${PORTVERSION} SUB_FILES= pkg-message -PLIST_SUB= SEARCHUSER=${SEARCHUSER} \ +PLIST_SUB+= SEARCHUSER=${SEARCHUSER} \ SEARCHGROUP=${SEARCHGROUP} \ LUCENEVER=${LUCENEVER} \ PORTVERSION=${PORTVERSION} \ ELASTIC_DBDIR=${ELASTIC_DBDIR} \ ELASTIC_LOGDIR=${ELASTIC_LOGDIR} post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/config/elasticsearch.yml ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/elasticsearch.in.sh ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/elasticsearch do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/elasticsearch .for f in ${CONFIG_FILES} ${INSTALL} -m 440 ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin .for f in ${BINS} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/lib/ "-name *\.jar") @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules (cd ${WRKSRC}/modules && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/elasticsearch/modules/) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/elasticsearch/plugins @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/elasticsearch @${MKDIR} ${STAGEDIR}${ELASTIC_DBDIR} ${STAGEDIR}${ELASTIC_LOGDIR} cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PREFIX}/lib/elasticsearch/bin/elasticsearch-plugin elasticsearch-plugin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/textproc/par/Makefile =================================================================== --- head/textproc/par/Makefile (revision 458512) +++ head/textproc/par/Makefile (revision 458513) @@ -1,29 +1,28 @@ # Created by: Mark R V Murray # $FreeBSD$ PORTNAME= par PORTVERSION= 1.52 PORTREVISION= 1 PKGNAMESUFFIX= _format CATEGORIES= textproc MASTER_SITES= http://www.nicemice.net/par/ DISTNAME= Par${PORTVERSION:S|.||} MAINTAINER= markm@FreeBSD.org COMMENT= Paragraph reformatter for email CONFLICTS= quake-par-[0-9]* ALL_TARGET= # -MAN1= par.1 PLIST_FILES= bin/par \ man/man1/par.1.gz do-configure: (cd ${WRKSRC}; ${CP} protoMakefile Makefile) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/par ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/par.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/textproc/uim/Makefile =================================================================== --- head/textproc/uim/Makefile (revision 458512) +++ head/textproc/uim/Makefile (revision 458513) @@ -1,112 +1,112 @@ # Created by: MANTANI Nobutaka # $FreeBSD$ PORTNAME= uim PORTVERSION= 1.8.6 PORTREVISION?= 2 CATEGORIES?= textproc MASTER_SITES= https://github.com/uim/uim/releases/download/${PORTNAME}-${PORTVERSION}/ .if !defined(UIM_SLAVE) && defined(WITHOUT_X11) PKGNAMESUFFIX= -nox11 .endif MAINTAINER= nobutaka@FreeBSD.org COMMENT?= Input method library BROKEN_aarch64= Fails to build: The collector has not been ported to this machine/OS combination USE_LDCONFIG= yes USE_GNOME+= glib20 intltool USES+= gettext gmake iconv libedit libtool pathfix pkgconfig perl5 tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 .include .if ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libXft.so:x11-fonts/libXft CONFIGURE_ARGS+= --with-x --with-xft .endif .if !defined(UIM_SLAVE) .if ${PORT_OPTIONS:MX11} USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk2 .endif CONFIGURE_ARGS+= --enable-emacs --with-sj3 --with-canna --with-prime .endif CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include .if !defined(UIM_SLAVE) DOCSDIR_JA= ${PREFIX}/share/doc/ja/uim DOCSDIR_SIGSCHEME= ${PREFIX}/share/doc/uim/sigscheme -PLIST_SUB= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}" \ +PLIST_SUB+= DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}" \ DOCSDIR_SIGSCHEME="${DOCSDIR_SIGSCHEME:S,^${PREFIX}/,,}" .endif .if empty(PORT_OPTIONS:MX11) PLIST_SUB+= X11="@comment " .else PLIST_SUB+= X11="" .endif .include .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" CONFIGURE_ARGS+= --enable-storage=fatty .endif .for _x in x xft gtk2 qt anthy canna m17nlib prime scim dict .if ${CONFIGURE_ARGS:M--with-${_x}} == "" CONFIGURE_ARGS+=--without-${_x} .endif .endfor .for _x in gnome-applet kde-applet emacs pref .if ${CONFIGURE_ARGS:M--enable-${_x}} == "" CONFIGURE_ARGS+=--disable-${_x} .endif .endfor post-patch: ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/scm/skk-custom.scm do-build: .if !defined(UIM_SLAVE) .for d in replace sigscheme uim scm xim po fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} .endfor .if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk2/candwin && ${MAKE_CMD} .endif .endif do-install: .if !defined(UIM_SLAVE) cd ${WRKSRC} && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-data-am .for d in sigscheme uim scm xim po fep emacs pixmaps tables cd ${WRKSRC}/${d} && ${MAKE_CMD} DESTDIR=${STAGEDIR} install .endfor .if ${PORT_OPTIONS:MX11} cd ${WRKSRC}/gtk2/candwin && ${MAKE_CMD} DESTDIR=${STAGEDIR} install .endif .endif .if !defined(UIM_SLAVE) post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/helperdata ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR_JA} ${INSTALL_DATA} ${WRKSRC}/doc/KEY ${STAGEDIR}${DOCSDIR}/KEY ${INSTALL_DATA} ${WRKSRC}/fep/README ${STAGEDIR}${DOCSDIR}/README.fep ${INSTALL_DATA} ${WRKSRC}/fep/README ${STAGEDIR}${DOCSDIR}/README.key ${INSTALL_DATA} ${WRKSRC}/fep/README.ja ${STAGEDIR}${DOCSDIR_JA}/README.fep ${INSTALL_DATA} ${WRKSRC}/xim/README ${STAGEDIR}${DOCSDIR}/README.xim .endif .include Index: head/www/rubygem-passenger/Makefile =================================================================== --- head/www/rubygem-passenger/Makefile (revision 458512) +++ head/www/rubygem-passenger/Makefile (revision 458513) @@ -1,128 +1,126 @@ # Created by: Jacob Atzen # $FreeBSD$ PORTNAME= passenger PORTVERSION= 5.1.12 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMEPREFIX= rubygem- MAINTAINER= osa@FreeBSD.org COMMENT= Modules for running Ruby on Rails and Rack applications LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rake:devel/rubygem-rake CPE_VENDOR= phusion CPE_PRODUCT= passenger OPTIONS_DEFINE= DEBUG SYMLINK OPTIONS_SINGLE= SERVER OPTIONS_SINGLE_SERVER= APACHE22 NGINX APACHE22_DESC= Build with apache22 support NGINX_DESC= Build with nginx support SYMLINK_DESC= Create passenger symlink OPTIONS_DEFAULT= APACHE22 USE_RUBY= yes RAKE_BIN= ${LOCALBASE}/bin/rake USES= cpe gem libtool shebangfix ssl SHEBANG_FILES= \ src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py \ dev/vagrant/nginx_start \ dev/vagrant/provision.sh \ dev/ci/run-tests-with-docker \ dev/ci/scripts/setup-host-natively.sh \ dev/ci/scripts/docker-entrypoint-stage2.sh \ dev/ci/scripts/inituidgid \ dev/ci/scripts/debug-console-wrapper.sh \ dev/ci/scripts/run-tests-natively-stage2.sh \ dev/ci/scripts/docker-entrypoint.sh \ dev/ci/run-tests-natively \ dev/ci/setup-host -NOPORTDOCS= yes - APACHE22_USE= APACHE=22+ LIB_DEPENDS+= libuv.so:devel/libuv \ libcurl.so:ftp/curl \ libunwind.so:devel/libunwind \ libapr-1.so:devel/apr1 BUILD_DEPENDS+= rubygem-rack16>=0:www/rubygem-rack16 RUN_DEPENDS:= ${BUILD_DEPENDS} SUB_LIST+= GEM_LIB_DIR=${GEM_LIB_DIR} RUBY=${RUBY} SUB_FILES= pkg-message PLIST_DIRS= ${GEM_LIB_DIR}/buildout/common/libboost_oxt/boost \ ${GEM_LIB_DIR}/buildout/common/libboost_oxt/oxt \ ${GEM_LIB_DIR}/buildout/common/libpassenger_common/DataStructures \ ${GEM_LIB_DIR}/buildout/common/libpassenger_common/MemoryKit \ ${GEM_LIB_DIR}/buildout/common/libpassenger_common/ServerKit \ ${GEM_LIB_DIR}/buildout/common/libpassenger_common/Utils \ ${GEM_LIB_DIR}/buildout/common/libpassenger_common/vendor-modified \ ${GEM_LIB_DIR}/download_cache PLIST_FILES= bin/passenger \ bin/passenger-config \ bin/passenger-install-apache2-module \ bin/passenger-memory-stats \ bin/passenger-status \ bin/passenger-install-nginx-module SYMLINK_PLIST_FILES= ${GEMS_DIR}/${PORTNAME} SYMLINK_SUB_LIST= PASSENGER_INSTALL_DIR="${PREFIX}/${GEMS_DIR}/${PORTNAME}" SYMLINK_SUB_LIST_OFF= PASSENGER_INSTALL_DIR="${PREFIX}/${GEM_LIB_DIR}" pre-patch: @${REINPLACE_CMD} \ 's!-Wall!!g; \ s!gcc!${CC}!g; \ s!g++!${CXX}!g; \ s!#{PlatformInfo.debugging_cflags}!${CFLAGS}!g; \ s!-O2!!g; \ s! -feliminate-unused-debug-symbols -feliminate-unused-debug-types!!g; \ 155s!true!false!' \ ${WRKSRC}/build/basics.rb @${REINPLACE_CMD} '1s:python:python2:' \ ${WRKSRC}/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py pre-patch-DEBUG-off: @${REINPLACE_CMD} \ 's!-DPASSENGER_DEBUG!-DNDEBUG!g' \ ${WRKSRC}/build/basics.rb pre-patch-NGINX-on: @${ECHO_CMD} @${ECHO_CMD} "Do not forget compile www/nginx" @${ECHO_CMD} "with PASSENGER_MODULE support" @${ECHO_CMD} post-build: ${FIND} ${WRKSRC} -name '*.o' -delete ${FIND} ${WRKSRC} -name '*.bak' -delete post-build-APACHE22-on: (CC=${CC} CXX=${CXX} ${WRKSRC}/bin/passenger-install-apache2-module --auto) post-build-NGINX-on: (cd ${WRKSRC} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx) post-install: ( cd ${WRKSRC} && \ ${COPYTREE_SHARE} buildout ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION} ) ${CHMOD} +x ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/buildout/support-binaries/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/ruby/*/passenger_native_support.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/support-binaries/PassengerAgent post-install-APACHE22-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so post-install-SYMLINK-on: ${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} .include Index: head/x11-toolkits/tk86/Makefile.man =================================================================== --- head/x11-toolkits/tk86/Makefile.man (revision 458512) +++ head/x11-toolkits/tk86/Makefile.man (nonexistent) @@ -1,381 +0,0 @@ -MAN1= wish.${MAN_SUFFIX}.1 - -MAN3= Tk_3DBorderColor.${MAN_SUFFIX}.3 \ - Tk_3DBorderGC.${MAN_SUFFIX}.3 \ - Tk_3DHorizontalBevel.${MAN_SUFFIX}.3 \ - Tk_3DVerticalBevel.${MAN_SUFFIX}.3 \ - Tk_AddOption.${MAN_SUFFIX}.3 \ - Tk_Alloc3DBorderFromObj.${MAN_SUFFIX}.3 \ - Tk_AllocBitmapFromObj.${MAN_SUFFIX}.3 \ - Tk_AllocColorFromObj.${MAN_SUFFIX}.3 \ - Tk_AllocCursorFromObj.${MAN_SUFFIX}.3 \ - Tk_AllocFontFromObj.${MAN_SUFFIX}.3 \ - Tk_AttachHWND.${MAN_SUFFIX}.3 \ - Tk_Attributes.${MAN_SUFFIX}.3 \ - Tk_BindEvent.${MAN_SUFFIX}.3 \ - Tk_CanvasDrawableCoords.${MAN_SUFFIX}.3 \ - Tk_CanvasEventuallyRedraw.${MAN_SUFFIX}.3 \ - Tk_CanvasGetCoord.${MAN_SUFFIX}.3 \ - Tk_CanvasPsBitmap.${MAN_SUFFIX}.3 \ - Tk_CanvasPsColor.${MAN_SUFFIX}.3 \ - Tk_CanvasPsFont.${MAN_SUFFIX}.3 \ - Tk_CanvasPsPath.${MAN_SUFFIX}.3 \ - Tk_CanvasPsStipple.${MAN_SUFFIX}.3 \ - Tk_CanvasPsY.${MAN_SUFFIX}.3 \ - Tk_CanvasSetStippleOrigin.${MAN_SUFFIX}.3 \ - Tk_CanvasTagsOption.${MAN_SUFFIX}.3 \ - Tk_CanvasTextInfo.${MAN_SUFFIX}.3 \ - Tk_CanvasTkwin.${MAN_SUFFIX}.3 \ - Tk_CanvasWindowCoords.${MAN_SUFFIX}.3 \ - Tk_ChangeWindowAttributes.${MAN_SUFFIX}.3 \ - Tk_Changes.${MAN_SUFFIX}.3 \ - Tk_CharBbox.${MAN_SUFFIX}.3 \ - Tk_Class.${MAN_SUFFIX}.3 \ - Tk_ClearSelection.${MAN_SUFFIX}.3 \ - Tk_ClipboardAppend.${MAN_SUFFIX}.3 \ - Tk_ClipboardClear.${MAN_SUFFIX}.3 \ - Tk_CollapseMotionEvents.${MAN_SUFFIX}.3 \ - Tk_Colormap.${MAN_SUFFIX}.3 \ - Tk_ComputeTextLayout.${MAN_SUFFIX}.3 \ - Tk_ConfigureInfo.${MAN_SUFFIX}.3 \ - Tk_ConfigureValue.${MAN_SUFFIX}.3 \ - Tk_ConfigureWidget.${MAN_SUFFIX}.3 \ - Tk_ConfigureWindow.${MAN_SUFFIX}.3 \ - Tk_CoordsToWindow.${MAN_SUFFIX}.3 \ - Tk_CreateBinding.${MAN_SUFFIX}.3 \ - Tk_CreateBindingTable.${MAN_SUFFIX}.3 \ - Tk_CreateClientMessageHandler.${MAN_SUFFIX}.3 \ - Tk_CreateErrorHandler.${MAN_SUFFIX}.3 \ - Tk_CreateEventHandler.${MAN_SUFFIX}.3 \ - Tk_CreateGenericHandler.${MAN_SUFFIX}.3 \ - Tk_CreateImageType.${MAN_SUFFIX}.3 \ - Tk_CreateItemType.${MAN_SUFFIX}.3 \ - Tk_CreateOptionTable.${MAN_SUFFIX}.3 \ - Tk_CreatePhotoImageFormat.${MAN_SUFFIX}.3 \ - Tk_CreateSelHandler.${MAN_SUFFIX}.3 \ - Tk_CreateWindow.${MAN_SUFFIX}.3 \ - Tk_CreateWindowFromPath.${MAN_SUFFIX}.3 \ - Tk_DefineBitmap.${MAN_SUFFIX}.3 \ - Tk_DefineCursor.${MAN_SUFFIX}.3 \ - Tk_DeleteAllBindings.${MAN_SUFFIX}.3 \ - Tk_DeleteBinding.${MAN_SUFFIX}.3 \ - Tk_DeleteBindingTable.${MAN_SUFFIX}.3 \ - Tk_DeleteClientMessageHandler.${MAN_SUFFIX}.3 \ - Tk_DeleteErrorHandler.${MAN_SUFFIX}.3 \ - Tk_DeleteEventHandler.${MAN_SUFFIX}.3 \ - Tk_DeleteGenericHandler.${MAN_SUFFIX}.3 \ - Tk_DeleteImage.${MAN_SUFFIX}.3 \ - Tk_DeleteOptionTable.${MAN_SUFFIX}.3 \ - Tk_DeleteSelHandler.${MAN_SUFFIX}.3 \ - Tk_Depth.${MAN_SUFFIX}.3 \ - Tk_DestroyWindow.${MAN_SUFFIX}.3 \ - Tk_Display.${MAN_SUFFIX}.3 \ - Tk_DisplayName.${MAN_SUFFIX}.3 \ - Tk_DistanceToTextLayout.${MAN_SUFFIX}.3 \ - Tk_Draw3DPolygon.${MAN_SUFFIX}.3 \ - Tk_Draw3DRectangle.${MAN_SUFFIX}.3 \ - Tk_DrawChars.${MAN_SUFFIX}.3 \ - Tk_DrawFocusHighlight.${MAN_SUFFIX}.3 \ - Tk_DrawTextLayout.${MAN_SUFFIX}.3 \ - Tk_Fill3DPolygon.${MAN_SUFFIX}.3 \ - Tk_Fill3DRectangle.${MAN_SUFFIX}.3 \ - Tk_FindPhoto.${MAN_SUFFIX}.3 \ - Tk_FontId.${MAN_SUFFIX}.3 \ - Tk_Free3DBorder.${MAN_SUFFIX}.3 \ - Tk_Free3DBorderFromObj.${MAN_SUFFIX}.3 \ - Tk_FreeBitmap.${MAN_SUFFIX}.3 \ - Tk_FreeBitmapFromObj.${MAN_SUFFIX}.3 \ - Tk_FreeColor.${MAN_SUFFIX}.3 \ - Tk_FreeColorFromObj.${MAN_SUFFIX}.3 \ - Tk_FreeColormap.${MAN_SUFFIX}.3 \ - Tk_FreeConfigOptions.${MAN_SUFFIX}.3 \ - Tk_FreeCursor.${MAN_SUFFIX}.3 \ - Tk_FreeCursorFromObj.${MAN_SUFFIX}.3 \ - Tk_FreeFont.${MAN_SUFFIX}.3 \ - Tk_FreeFontFromObj.${MAN_SUFFIX}.3 \ - Tk_FreeGC.${MAN_SUFFIX}.3 \ - Tk_FreeImage.${MAN_SUFFIX}.3 \ - Tk_FreeOptions.${MAN_SUFFIX}.3 \ - Tk_FreePixmap.${MAN_SUFFIX}.3 \ - Tk_FreeSavedOptions.${MAN_SUFFIX}.3 \ - Tk_FreeTextLayout.${MAN_SUFFIX}.3 \ - Tk_FreeXId.${MAN_SUFFIX}.3 \ - Tk_GeometryRequest.${MAN_SUFFIX}.3 \ - Tk_Get3DBorder.${MAN_SUFFIX}.3 \ - Tk_Get3DBorderFromObj.${MAN_SUFFIX}.3 \ - Tk_GetAllBindings.${MAN_SUFFIX}.3 \ - Tk_GetAnchor.${MAN_SUFFIX}.3 \ - Tk_GetAnchorFromObj.${MAN_SUFFIX}.3 \ - Tk_GetAtomName.${MAN_SUFFIX}.3 \ - Tk_GetBinding.${MAN_SUFFIX}.3 \ - Tk_GetBitmap.${MAN_SUFFIX}.3 \ - Tk_GetBitmapFromObj.${MAN_SUFFIX}.3 \ - Tk_GetCapStyle.${MAN_SUFFIX}.3 \ - Tk_GetColor.${MAN_SUFFIX}.3 \ - Tk_GetColorByValue.${MAN_SUFFIX}.3 \ - Tk_GetColorFromObj.${MAN_SUFFIX}.3 \ - Tk_GetColormap.${MAN_SUFFIX}.3 \ - Tk_GetCursor.${MAN_SUFFIX}.3 \ - Tk_GetCursorFromData.${MAN_SUFFIX}.3 \ - Tk_GetCursorFromObj.${MAN_SUFFIX}.3 \ - Tk_GetDash.${MAN_SUFFIX}.3 \ - Tk_GetFont.${MAN_SUFFIX}.3 \ - Tk_GetFontFromObj.${MAN_SUFFIX}.3 \ - Tk_GetFontMetrics.${MAN_SUFFIX}.3 \ - Tk_GetGC.${MAN_SUFFIX}.3 \ - Tk_GetHINSTANCE.${MAN_SUFFIX}.3 \ - Tk_GetHWND.${MAN_SUFFIX}.3 \ - Tk_GetImage.${MAN_SUFFIX}.3 \ - Tk_GetImageMasterData.${MAN_SUFFIX}.3 \ - Tk_GetItemTypes.${MAN_SUFFIX}.3 \ - Tk_GetJoinStyle.${MAN_SUFFIX}.3 \ - Tk_GetJustify.${MAN_SUFFIX}.3 \ - Tk_GetJustifyFromObj.${MAN_SUFFIX}.3 \ - Tk_GetMMFromObj.${MAN_SUFFIX}.3 \ - Tk_GetNumMainWindows.${MAN_SUFFIX}.3 \ - Tk_GetOption.${MAN_SUFFIX}.3 \ - Tk_GetOptionInfo.${MAN_SUFFIX}.3 \ - Tk_GetOptionValue.${MAN_SUFFIX}.3 \ - Tk_GetPixels.${MAN_SUFFIX}.3 \ - Tk_GetPixelsFromObj.${MAN_SUFFIX}.3 \ - Tk_GetPixmap.${MAN_SUFFIX}.3 \ - Tk_GetRelief.${MAN_SUFFIX}.3 \ - Tk_GetReliefFromObj.${MAN_SUFFIX}.3 \ - Tk_GetRootCoords.${MAN_SUFFIX}.3 \ - Tk_GetScreenMM.${MAN_SUFFIX}.3 \ - Tk_GetScrollInfo.${MAN_SUFFIX}.3 \ - Tk_GetScrollInfoObj.${MAN_SUFFIX}.3 \ - Tk_GetSelection.${MAN_SUFFIX}.3 \ - Tk_GetUid.${MAN_SUFFIX}.3 \ - Tk_GetUserInactiveTime.${MAN_SUFFIX}.3 \ - Tk_GetVRootGeometry.${MAN_SUFFIX}.3 \ - Tk_GetVisual.${MAN_SUFFIX}.3 \ - Tk_Grab.${MAN_SUFFIX}.3 \ - Tk_HWNDToWindow.${MAN_SUFFIX}.3 \ - Tk_HandleEvent.${MAN_SUFFIX}.3 \ - Tk_Height.${MAN_SUFFIX}.3 \ - Tk_IdToWindow.${MAN_SUFFIX}.3 \ - Tk_ImageChanged.${MAN_SUFFIX}.3 \ - Tk_Init.${MAN_SUFFIX}.3 \ - Tk_InitConsoleChannels.${MAN_SUFFIX}.3 \ - Tk_InitImageArgs.${MAN_SUFFIX}.3 \ - Tk_InitOptions.${MAN_SUFFIX}.3 \ - Tk_InitStubs.${MAN_SUFFIX}.3 \ - Tk_InternAtom.${MAN_SUFFIX}.3 \ - Tk_InternalBorderBottom.${MAN_SUFFIX}.3 \ - Tk_InternalBorderLeft.${MAN_SUFFIX}.3 \ - Tk_InternalBorderRight.${MAN_SUFFIX}.3 \ - Tk_InternalBorderTop.${MAN_SUFFIX}.3 \ - Tk_Interp.${MAN_SUFFIX}.3 \ - Tk_IntersectTextLayout.${MAN_SUFFIX}.3 \ - Tk_IsContainer.${MAN_SUFFIX}.3 \ - Tk_IsEmbedded.${MAN_SUFFIX}.3 \ - Tk_IsMapped.${MAN_SUFFIX}.3 \ - Tk_IsTopLevel.${MAN_SUFFIX}.3 \ - Tk_Main.${MAN_SUFFIX}.3 \ - Tk_MainLoop.${MAN_SUFFIX}.3 \ - Tk_MainWindow.${MAN_SUFFIX}.3 \ - Tk_MaintainGeometry.${MAN_SUFFIX}.3 \ - Tk_MakeWindowExist.${MAN_SUFFIX}.3 \ - Tk_ManageGeometry.${MAN_SUFFIX}.3 \ - Tk_MapWindow.${MAN_SUFFIX}.3 \ - Tk_MeasureChars.${MAN_SUFFIX}.3 \ - Tk_MinReqHeight.${MAN_SUFFIX}.3 \ - Tk_MinReqWidth.${MAN_SUFFIX}.3 \ - Tk_MoveResizeWindow.${MAN_SUFFIX}.3 \ - Tk_MoveToplevelWindow.${MAN_SUFFIX}.3 \ - Tk_MoveWindow.${MAN_SUFFIX}.3 \ - Tk_Name.${MAN_SUFFIX}.3 \ - Tk_NameOf3DBorder.${MAN_SUFFIX}.3 \ - Tk_NameOfAnchor.${MAN_SUFFIX}.3 \ - Tk_NameOfBitmap.${MAN_SUFFIX}.3 \ - Tk_NameOfCapStyle.${MAN_SUFFIX}.3 \ - Tk_NameOfColor.${MAN_SUFFIX}.3 \ - Tk_NameOfCursor.${MAN_SUFFIX}.3 \ - Tk_NameOfFont.${MAN_SUFFIX}.3 \ - Tk_NameOfImage.${MAN_SUFFIX}.3 \ - Tk_NameOfJoinStyle.${MAN_SUFFIX}.3 \ - Tk_NameOfJustify.${MAN_SUFFIX}.3 \ - Tk_NameOfRelief.${MAN_SUFFIX}.3 \ - Tk_NameToWindow.${MAN_SUFFIX}.3 \ - Tk_Offset.${MAN_SUFFIX}.3 \ - Tk_OwnSelection.${MAN_SUFFIX}.3 \ - Tk_Parent.${MAN_SUFFIX}.3 \ - Tk_ParseArgv.${MAN_SUFFIX}.3 \ - Tk_PathName.${MAN_SUFFIX}.3 \ - Tk_PhotoBlank.${MAN_SUFFIX}.3 \ - Tk_PhotoExpand.${MAN_SUFFIX}.3 \ - Tk_PhotoGetImage.${MAN_SUFFIX}.3 \ - Tk_PhotoGetSize.${MAN_SUFFIX}.3 \ - Tk_PhotoPutBlock.${MAN_SUFFIX}.3 \ - Tk_PhotoPutZoomedBlock.${MAN_SUFFIX}.3 \ - Tk_PhotoSetSize.${MAN_SUFFIX}.3 \ - Tk_PointToChar.${MAN_SUFFIX}.3 \ - Tk_PostscriptFontName.${MAN_SUFFIX}.3 \ - Tk_PreserveColormap.${MAN_SUFFIX}.3 \ - Tk_QueueWindowEvent.${MAN_SUFFIX}.3 \ - Tk_RedrawImage.${MAN_SUFFIX}.3 \ - Tk_ReqHeight.${MAN_SUFFIX}.3 \ - Tk_ReqWidth.${MAN_SUFFIX}.3 \ - Tk_ResetUserInactiveTime.${MAN_SUFFIX}.3 \ - Tk_ResizeWindow.${MAN_SUFFIX}.3 \ - Tk_RestackWindow.${MAN_SUFFIX}.3 \ - Tk_RestoreSavedOptions.${MAN_SUFFIX}.3 \ - Tk_RestrictEvents.${MAN_SUFFIX}.3 \ - Tk_SafeInit.${MAN_SUFFIX}.3 \ - Tk_Screen.${MAN_SUFFIX}.3 \ - Tk_ScreenNumber.${MAN_SUFFIX}.3 \ - Tk_SetAppName.${MAN_SUFFIX}.3 \ - Tk_SetBackgroundFromBorder.${MAN_SUFFIX}.3 \ - Tk_SetCaretPos.${MAN_SUFFIX}.3 \ - Tk_SetClass.${MAN_SUFFIX}.3 \ - Tk_SetClassProcs.${MAN_SUFFIX}.3 \ - Tk_SetGrid.${MAN_SUFFIX}.3 \ - Tk_SetInternalBorder.${MAN_SUFFIX}.3 \ - Tk_SetInternalBorderEx.${MAN_SUFFIX}.3 \ - Tk_SetMinimumRequestSize.${MAN_SUFFIX}.3 \ - Tk_SetOptions.${MAN_SUFFIX}.3 \ - Tk_SetWindowBackground.${MAN_SUFFIX}.3 \ - Tk_SetWindowBackgroundPixmap.${MAN_SUFFIX}.3 \ - Tk_SetWindowBorder.${MAN_SUFFIX}.3 \ - Tk_SetWindowBorderPixmap.${MAN_SUFFIX}.3 \ - Tk_SetWindowBorderWidth.${MAN_SUFFIX}.3 \ - Tk_SetWindowColormap.${MAN_SUFFIX}.3 \ - Tk_SetWindowVisual.${MAN_SUFFIX}.3 \ - Tk_SizeOfBitmap.${MAN_SUFFIX}.3 \ - Tk_SizeOfImage.${MAN_SUFFIX}.3 \ - Tk_StrictMotif.${MAN_SUFFIX}.3 \ - Tk_TextLayoutToPostscript.${MAN_SUFFIX}.3 \ - Tk_TextWidth.${MAN_SUFFIX}.3 \ - Tk_Uid.${MAN_SUFFIX}.3 \ - Tk_UndefineCursor.${MAN_SUFFIX}.3 \ - Tk_UnderlineChars.${MAN_SUFFIX}.3 \ - Tk_UnderlineTextLayout.${MAN_SUFFIX}.3 \ - Tk_Ungrab.${MAN_SUFFIX}.3 \ - Tk_UnmaintainGeometry.${MAN_SUFFIX}.3 \ - Tk_UnmapWindow.${MAN_SUFFIX}.3 \ - Tk_UnsetGrid.${MAN_SUFFIX}.3 \ - Tk_Visual.${MAN_SUFFIX}.3 \ - Tk_Width.${MAN_SUFFIX}.3 \ - Tk_WindowId.${MAN_SUFFIX}.3 \ - Tk_X.${MAN_SUFFIX}.3 \ - Tk_Y.${MAN_SUFFIX}.3 \ - Ttk_AddPadding.${MAN_SUFFIX}.3 \ - Ttk_BoxContains.${MAN_SUFFIX}.3 \ - Ttk_CreateTheme.${MAN_SUFFIX}.3 \ - Ttk_ExpandBox.${MAN_SUFFIX}.3 \ - Ttk_GetBorderFromObj.${MAN_SUFFIX}.3 \ - Ttk_GetCurrentTheme.${MAN_SUFFIX}.3 \ - Ttk_GetDefaultTheme.${MAN_SUFFIX}.3 \ - Ttk_GetPaddingFromObj.${MAN_SUFFIX}.3 \ - Ttk_GetStickyFromObj.${MAN_SUFFIX}.3 \ - Ttk_GetTheme.${MAN_SUFFIX}.3 \ - Ttk_MakeBox.${MAN_SUFFIX}.3 \ - Ttk_MakePadding.${MAN_SUFFIX}.3 \ - Ttk_PackBox.${MAN_SUFFIX}.3 \ - Ttk_PadBox.${MAN_SUFFIX}.3 \ - Ttk_PlaceBox.${MAN_SUFFIX}.3 \ - Ttk_RelievePadding.${MAN_SUFFIX}.3 \ - Ttk_StickBox.${MAN_SUFFIX}.3 \ - Ttk_UniformPadding.${MAN_SUFFIX}.3 - -MANN= bell.${MAN_SUFFIX}.n \ - bind.${MAN_SUFFIX}.n \ - bindtags.${MAN_SUFFIX}.n \ - bitmap.${MAN_SUFFIX}.n \ - busy.${MAN_SUFFIX}.n \ - button.${MAN_SUFFIX}.n \ - canvas.${MAN_SUFFIX}.n \ - checkbutton.${MAN_SUFFIX}.n \ - clipboard.${MAN_SUFFIX}.n \ - colors.${MAN_SUFFIX}.n \ - console.${MAN_SUFFIX}.n \ - cursors.${MAN_SUFFIX}.n \ - destroy.${MAN_SUFFIX}.n \ - entry.${MAN_SUFFIX}.n \ - event.${MAN_SUFFIX}.n \ - focus.${MAN_SUFFIX}.n \ - font.${MAN_SUFFIX}.n \ - fontchooser.${MAN_SUFFIX}.n \ - frame.${MAN_SUFFIX}.n \ - geometry.${MAN_SUFFIX}.n \ - grab.${MAN_SUFFIX}.n \ - grid.${MAN_SUFFIX}.n \ - image.${MAN_SUFFIX}.n \ - keysyms.${MAN_SUFFIX}.n \ - label.${MAN_SUFFIX}.n \ - labelframe.${MAN_SUFFIX}.n \ - listbox.${MAN_SUFFIX}.n \ - lower.${MAN_SUFFIX}.n \ - menu.${MAN_SUFFIX}.n \ - menubutton.${MAN_SUFFIX}.n \ - message.${MAN_SUFFIX}.n \ - option.${MAN_SUFFIX}.n \ - options.${MAN_SUFFIX}.n \ - pack.${MAN_SUFFIX}.n \ - pack_old.${MAN_SUFFIX}.n \ - panedwindow.${MAN_SUFFIX}.n \ - photo.${MAN_SUFFIX}.n \ - place.${MAN_SUFFIX}.n \ - radiobutton.${MAN_SUFFIX}.n \ - raise.${MAN_SUFFIX}.n \ - safe_loadTk.${MAN_SUFFIX}.n \ - scale.${MAN_SUFFIX}.n \ - scrollbar.${MAN_SUFFIX}.n \ - selection.${MAN_SUFFIX}.n \ - send.${MAN_SUFFIX}.n \ - spinbox.${MAN_SUFFIX}.n \ - text.${MAN_SUFFIX}.n \ - tk.${MAN_SUFFIX}.n \ - tk_bindForTraversal.${MAN_SUFFIX}.n \ - tk_bisque.${MAN_SUFFIX}.n \ - tk_chooseColor.${MAN_SUFFIX}.n \ - tk_chooseDirectory.${MAN_SUFFIX}.n \ - tk_dialog.${MAN_SUFFIX}.n \ - tk_focusFollowsMouse.${MAN_SUFFIX}.n \ - tk_focusNext.${MAN_SUFFIX}.n \ - tk_focusPrev.${MAN_SUFFIX}.n \ - tk_getOpenFile.${MAN_SUFFIX}.n \ - tk_getSaveFile.${MAN_SUFFIX}.n \ - tk_library.${MAN_SUFFIX}.n \ - tk_mac.${MAN_SUFFIX}.n \ - tk_menuBar.${MAN_SUFFIX}.n \ - tk_menuSetFocus.${MAN_SUFFIX}.n \ - tk_messageBox.${MAN_SUFFIX}.n \ - tk_optionMenu.${MAN_SUFFIX}.n \ - tk_patchLevel.${MAN_SUFFIX}.n \ - tk_popup.${MAN_SUFFIX}.n \ - tk_setPalette.${MAN_SUFFIX}.n \ - tk_strictMotif.${MAN_SUFFIX}.n \ - tk_textCopy.${MAN_SUFFIX}.n \ - tk_textCut.${MAN_SUFFIX}.n \ - tk_textPaste.${MAN_SUFFIX}.n \ - tk_version.${MAN_SUFFIX}.n \ - tkerror.${MAN_SUFFIX}.n \ - tkwait.${MAN_SUFFIX}.n \ - toplevel.${MAN_SUFFIX}.n \ - ttk_button.${MAN_SUFFIX}.n \ - ttk_checkbutton.${MAN_SUFFIX}.n \ - ttk_combobox.${MAN_SUFFIX}.n \ - ttk_entry.${MAN_SUFFIX}.n \ - ttk_frame.${MAN_SUFFIX}.n \ - ttk_image.${MAN_SUFFIX}.n \ - ttk_intro.${MAN_SUFFIX}.n \ - ttk_label.${MAN_SUFFIX}.n \ - ttk_labelframe.${MAN_SUFFIX}.n \ - ttk_menubutton.${MAN_SUFFIX}.n \ - ttk_notebook.${MAN_SUFFIX}.n \ - ttk_panedwindow.${MAN_SUFFIX}.n \ - ttk_progressbar.${MAN_SUFFIX}.n \ - ttk_radiobutton.${MAN_SUFFIX}.n \ - ttk_scale.${MAN_SUFFIX}.n \ - ttk_scrollbar.${MAN_SUFFIX}.n \ - ttk_separator.${MAN_SUFFIX}.n \ - ttk_sizegrip.${MAN_SUFFIX}.n \ - ttk_spinbox.${MAN_SUFFIX}.n \ - ttk_style.${MAN_SUFFIX}.n \ - ttk_treeview.${MAN_SUFFIX}.n \ - ttk_vsapi.${MAN_SUFFIX}.n \ - ttk_widget.${MAN_SUFFIX}.n \ - winfo.${MAN_SUFFIX}.n \ - wm.${MAN_SUFFIX}.n Property changes on: head/x11-toolkits/tk86/Makefile.man ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property