1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Convert all :U to :tu and :L to :tl

Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
This commit is contained in:
Baptiste Daroussin 2014-05-05 09:45:36 +00:00
parent a5d24d4bb4
commit 4a4ec28d37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352986
293 changed files with 618 additions and 642 deletions

View File

@ -10,6 +10,15 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20140505:
AUTHOR: bapt@FreeBSD.org
:U and :L syntax is not supported anymore in the ports tree, :tu and :tl
should be used instead
This makes the ports tree incompatible with make(1) version that does not
support :tu and :tl (aka FreeBSD 8.3 and earlier)
20140428:
AUTHOR: bapt@FreeBSD.org

View File

@ -65,7 +65,7 @@ CMAKE_BUILD_TYPE?= Debug
CMAKE_BUILD_TYPE?= Release
.endif #defined(WITH_DEBUG)
PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:L}"
PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:tl}"
.if defined(STRIP) && ${STRIP} != ""
INSTALL_TARGET?= install/strip

View File

@ -42,7 +42,7 @@ _QMAIL_VALID_SLAVEPORTS= ldap mysql spamcontrol tls
. if defined(QMAIL_SLAVEPORT)
. for slave in ${_QMAIL_VALID_SLAVEPORTS}
. if ${QMAIL_SLAVEPORT:L} == ${slave}
. if ${QMAIL_SLAVEPORT:tl} == ${slave}
_QMAIL_SLAVEPORT_OKAY= true
. endif
. endfor
@ -53,7 +53,7 @@ IGNORE= Invalid QMAIL_SLAVEPORT value. Only one can be set, valid values are: ${
. endif
. if defined(QMAIL_SLAVEPORT)
_QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:L}
_QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail-${QMAIL_SLAVEPORT:tl}
. else
_QMAIL_DEPENDS= ${QMAIL_PREFIX}/bin/qmail-send:${PORTSDIR}/mail/qmail
. endif

View File

@ -26,7 +26,7 @@ MAKE_ENV+= PKGCONFIGDIR="${PKGCONFIGDIR}" \
CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" \
LIBPATH="${LIBPATH}" CPPPATH="${CPPPATH}"
.if !defined(NO_STAGE)
MAKE_ARGS+= ${DESTDIRNAME:L}=${STAGEDIR}
MAKE_ARGS+= ${DESTDIRNAME:tl}=${STAGEDIR}
.endif
.endif

View File

@ -147,7 +147,7 @@ IGNORE= lowercase WITH_STATIC_MODULES="${WITH_STATIC_MODULES}"\
# Setting "@comment " as default.
.for module in ${AVAILABLE_MODULES:O}
${module}_PLIST_SUB= "@comment "
_DISABLE_MODULES+= --disable-${module:L}
_DISABLE_MODULES+= --disable-${module:tl}
.endfor
# Configure
@ -219,17 +219,17 @@ APACHE_MODULES+= ${module}
.if defined(WITH_STATIC_MODULES)
. for module in ${APACHE_MODULES}
. if ${WITH_STATIC_MODULES:M${module}}
_CONFIGURE_ARGS+= --enable-${module:L}
_CONFIGURE_ARGS+= --enable-${module:tl}
. else
_CONFIGURE_ARGS+= --enable-${module:L}=shared
_CONFIGURE_ARGS+= --enable-${module:tl}=shared
. endif
. endfor
CONFIGURE_ARGS+= ${_CONFIGURE_ARGS:O}
.elif defined(WITH_STATIC_APACHE) || defined(WITH_ALL_STATIC_MODULES)
WITH_STATIC_MODULES= ${APACHE_MODULES}
CONFIGURE_ARGS+= --enable-modules="${APACHE_MODULES:O:L}"
CONFIGURE_ARGS+= --enable-modules="${APACHE_MODULES:O:tl}"
.else
CONFIGURE_ARGS+= --enable-mods-shared="${APACHE_MODULES:O:L}"
CONFIGURE_ARGS+= --enable-mods-shared="${APACHE_MODULES:O:tl}"
.endif
# ====================================

View File

@ -320,7 +320,7 @@ AUTOTOOLS_VARS= ${AUTOMAKE_VARS} ${AUTOCONF_VARS} ${LIBTOOL_VARS}
.if defined(AUTOTOOLS_VARS) && !empty(AUTOTOOLS_VARS)
. for var in AUTOTOOLS CONFIGURE MAKE SCRIPTS
${var:U}_ENV+= ${AUTOTOOLS_VARS}
${var:tu}_ENV+= ${AUTOTOOLS_VARS}
. endfor
.endif

View File

@ -331,8 +331,8 @@ _DB_6P= 6
# Override the global WITH_BDB_VER with the
# port specific <UNIQUENAME>_WITH_BDB_VER
.if defined(${UNIQUENAME:U:S,-,_,}_WITH_BDB_VER)
WITH_BDB_VER= ${${UNIQUENAME:U:S,-,_,}_WITH_BDB_VER}
.if defined(${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER)
WITH_BDB_VER= ${${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER}
.endif
.if defined(WITH_BDB_VER)
@ -345,7 +345,7 @@ USE_BDB= ${WITH_BDB_VER}
_WANT_BDB_VER= ${USE_BDB}
# Assume the default bdb version as 41
.if ${USE_BDB:L} == "yes"
.if ${USE_BDB:tl} == "yes"
_WANT_BDB_VER= 41+
.endif
@ -492,7 +492,7 @@ BAD_VAR+= ${var},
. endif
. endfor
. if defined(BAD_VAR)
_IGNORE_MSG= Obsolete variable(s) ${BAD_VAR} use WITH_BDB_VER or ${UNIQUENAME:U:S,-,_,}_WITH_BDB_VER to select Berkeley DB version
_IGNORE_MSG= Obsolete variable(s) ${BAD_VAR} use WITH_BDB_VER or ${UNIQUENAME:tu:S,-,_,}_WITH_BDB_VER to select Berkeley DB version
. if defined(IGNORE)
IGNORE+= ${_IGNORE_MSG}
. else
@ -506,7 +506,7 @@ IGNORE= ${_IGNORE_MSG}
# Handling SQLite dependency
.if defined(USE_SQLITE)
.if ${USE_SQLITE:L} == "yes"
.if ${USE_SQLITE:tl} == "yes"
_SQLITE_VER= 3
.else
_SQLITE_VER= ${USE_SQLITE}
@ -531,7 +531,7 @@ IGNORE= cannot install: unknown SQLite version: ${_SQLITE_VER}
USE_FIREBIRD= ${WITH_FIREBIRD_VER}
.endif
.if ${USE_FIREBIRD:L} == "yes"
.if ${USE_FIREBIRD:tl} == "yes"
FIREBIRD_VER= 25
.else
FIREBIRD_VER= ${USE_FIREBIRD}

View File

@ -15,7 +15,7 @@ _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
.for lang in ${DEFAULT_VERSIONS}
_l= ${lang:C/=.*//g}
${_l:U}_DEFAULT= ${lang:C/.*=//g}
${_l:tu}_DEFAULT= ${lang:C/.*=//g}
.endfor
APACHE_DEFAULT?= 2.2

View File

@ -288,8 +288,8 @@ _USE_EFL_EVAS_ENGINES_UQ+= ${COMP}
. endfor
. for COMP in ${_USE_EFL_EVAS_ENGINES_UQ}
BUILD_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
RUN_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
BUILD_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
RUN_DEPENDS+= ${_EFL_EVAS_ENGINES_MODDIR}/${_evas_engine_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_engine_${COMP}_CATEGORY}/${_evas_engine_${COMP}_PORTNAME}
. endfor
.endif #USE_EFL_EVAS_ENGINES
@ -316,8 +316,8 @@ _USE_EFL_EVAS_LOADERS_UQ+= ${COMP}
. endfor
. for COMP in ${_USE_EFL_EVAS_LOADERS_UQ}
BUILD_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
RUN_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:L}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
BUILD_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
RUN_DEPENDS+= ${_EFL_EVAS_LOADERS_MODDIR}/${_evas_loader_${COMP}_DIR}/${OPSYS:tl}${OSREL}-${ARCH}/module.so:${PORTSDIR}/${_evas_loader_${COMP}_CATEGORY}/${_evas_loader_${COMP}_PORTNAME}
. endfor
.endif #USE_EFL_EVAS_LOADERS
@ -398,7 +398,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
PLIST_SUB+= E17_ARCH=${OPSYS:L}${OSREL}-${ARCH}
PLIST_SUB+= E17_ARCH=${OPSYS:tl}${OSREL}-${ARCH}
.if defined(_USE_EFL_LIBRT_HACK)
#

View File

@ -75,7 +75,7 @@ _FPC_ALL_UNITS= a52 aspell bfd bzip2 cairo chm dblib dbus dts fastcgi fcl-async
_FPC_CFG_UNITS= fastcgi fcl-web
.if defined(WANT_FPC_BASE)
. if ${WANT_FPC_BASE:L} == "yes"
. if ${WANT_FPC_BASE:tl} == "yes"
USE_FPC= gdbint graph hash httpd22 httpd24 ibase mysql odbc oracle pasjpeg paszlib \
postgres pthreads regexpr sqlite
. else
@ -84,14 +84,14 @@ IGNORE= unknown value, please use "yes" instead of
.endif
.if defined(WANT_FPC_ALL)
. if ${WANT_FPC_ALL:L} == "yes"
. if ${WANT_FPC_ALL:tl} == "yes"
USE_FPC= ${_FPC_ALL_UNITS}
. else
IGNORE= unknown value, please use "yes" instead of
. endif
.endif
.if ${USE_FPC:L} != "yes"
.if ${USE_FPC:tl} != "yes"
. for UNITS in ${USE_FPC}
. if ${_FPC_ALL_UNITS:M${UNITS}}==""
IGNORE= cannot install: unknown FPC unit ${UNITS}

View File

@ -452,7 +452,7 @@ MOZ_SED_ARGS+= -e's|@CPPFLAGS@|${CPPFLAGS}|g' \
MOZCONFIG_SED?= ${SED} ${MOZ_SED_ARGS}
.if ${ARCH} == amd64
CONFIGURE_TARGET=x86_64-unknown-${OPSYS:L}${OSREL}
CONFIGURE_TARGET=x86_64-unknown-${OPSYS:tl}${OSREL}
. if ${USE_MOZILLA:M-nss}
USE_BINUTILS= # intel-gcm.s
CFLAGS+= -B${LOCALBASE}/bin

View File

@ -410,7 +410,7 @@ do-build:
# Then test if a JAVAC has to be set (JAVA_BUILD==jdk)
. if defined(JAVA_BUILD)
. if (${JAVA_BUILD:U} == "JDK") && !defined(JAVAC)
. if (${JAVA_BUILD:tu} == "JDK") && !defined(JAVAC)
JAVAC?= ${JAVA_HOME}/bin/javac
. endif
. endif

View File

@ -130,7 +130,7 @@ linux-rpm-clean-portdocs:
. if defined(AUTOMATIC_PLIST)
. if ${USE_LINUX} == "f10" || ${USE_LINUX:L} == "yes"
. if ${USE_LINUX} == "f10" || ${USE_LINUX:tl} == "yes"
_LINUX_BASE_SUFFIX= f10
. else
# other linux_base ports do not provide a pkg-plist file

View File

@ -243,7 +243,7 @@ IGNORE?= selected multiple values for WANT_LUA: ${_WANT_LUA}
. endif
_HAVE_LUA= #
# Check for all versions.
. if ${_WANT_LUA:L} == "yes"
. if ${_WANT_LUA:tl} == "yes"
. for comp in ${_LUA_COMPS_ALL}
. for ver in ${_LUA_VERS_ALL}
_LUA_COMP= _LUA_FILE_${comp}_${ver}
@ -534,7 +534,7 @@ BUILD_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_
RUN_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_${comp_part}_${_LUA_VER}}
. endif
. else
${_LUA_DEP_TYPE:U}_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_${comp_part}_${_LUA_VER}}
${_LUA_DEP_TYPE:tu}_DEPENDS+= ${_LUA_FILE_${comp_part}_${_LUA_VER}}:${PORTSDIR}/${_LUA_PORT_${comp_part}_${_LUA_VER}}
. endif
. endfor
.endfor

View File

@ -434,7 +434,7 @@ SUB_LIST:= ${SUB_LIST} ${opt}="@comment " NO_${opt}=""
. if defined(${opt}_USE)
. for option in ${${opt}_USE}
_u= ${option:C/=.*//g}
USE_${_u:U}+= ${option:C/.*=//g:C/,/ /g}
USE_${_u:tu}+= ${option:C/.*=//g:C/,/ /g}
. endfor
. endif
. if defined(${opt}_CONFIGURE_ENABLE)

View File

@ -276,7 +276,7 @@ php-ini:
.endif
# Extensions
.if defined(_POSTMKINCLUDED) && ${USE_PHP:L} != "yes"
.if defined(_POSTMKINCLUDED) && ${USE_PHP:tl} != "yes"
# non-version specific components
_USE_PHP_ALL= apc bcmath bitset bz2 calendar ctype curl dba dom \
exif fileinfo filter ftp gd gettext gmp \
@ -389,7 +389,7 @@ ext= ${extension}
BUILD_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/hash.so:${PORTSDIR}/${hash_DEPENDS}
. endif
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/hash.so:${PORTSDIR}/${hash_DEPENDS}
. elif ${ext:L} != "yes"
. elif ${ext:tl} != "yes"
check-makevars::
@${ECHO_CMD} "Unknown extension ${extension} for PHP ${PHP_VER}."
@${FALSE}

View File

@ -1138,8 +1138,6 @@ PKG_ENV+= PORTSDIR=${PORTSDIR}
# make sure bmake treats -V as expected
.MAKE.EXPAND_VARIABLES= yes
# tell bmake we use the old :L :U modifiers
.MAKE.FreeBSD_UL= yes
.include "${PORTSDIR}/Mk/bsd.commands.mk"
@ -1368,7 +1366,7 @@ IGNORE= PORTVERSION ${PORTVERSION} may not contain '-' '_' or ','
.endif
DISTVERSION?= ${PORTVERSION:S/:/::/g}
.elif defined(DISTVERSION)
PORTVERSION= ${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g}
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
@ -1530,7 +1528,7 @@ USES+= gmake
.endif
.if defined(USE_DOS2UNIX)
.if ${USE_DOS2UNIX:U}=="YES"
.if ${USE_DOS2UNIX:tu}=="YES"
DOS2UNIX_REGEX?= .*
.else
.if ${USE_DOS2UNIX:M*/*}
@ -1752,7 +1750,7 @@ 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/++/:L}
${b}= ${LOCALBASE}/bin/${b:C/PP/++/:tl}
. if defined(GNU_CONFIGURE) || defined(BINUTILS_CONFIGURE)
CONFIGURE_ENV+= ${b}="${${b}}"
. endif
@ -1766,7 +1764,7 @@ MAKE_ENV+= ${b}="${${b}}"
.include "${PORTSDIR}/Mk/bsd.ldap.mk"
.endif
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
SUB_FILES+= ${USE_RC_SUBR}
.endif
@ -1774,10 +1772,10 @@ SUB_FILES+= ${USE_RC_SUBR}
SUB_FILES+= ${USE_RCORDER}
.endif
.if defined(USE_LDCONFIG) && ${USE_LDCONFIG:L} == "yes"
.if defined(USE_LDCONFIG) && ${USE_LDCONFIG:tl} == "yes"
USE_LDCONFIG= ${PREFIX}/lib
.endif
.if defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:L} == "yes"
.if defined(USE_LDCONFIG32) && ${USE_LDCONFIG32:tl} == "yes"
IGNORE= has USE_LDCONFIG32 set to yes, which is not correct
.endif
@ -1802,7 +1800,7 @@ STRIP_CMD= ${TRUE}
# Allow the user to specify another linux_base version.
. if defined(OVERRIDE_LINUX_BASE_PORT)
. if ${USE_LINUX:L} == yes
. if ${USE_LINUX:tl} == yes
USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT}
. endif
. endif
@ -1813,7 +1811,7 @@ USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT}
. if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX})
LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${USE_LINUX}
. else
. if ${USE_LINUX:L} == "yes"
. if ${USE_LINUX:tl} == "yes"
LINUX_BASE_PORT= ${LINUXBASE}/etc/fedora-release:${PORTSDIR}/emulators/linux_base-f10
. else
IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT
@ -1840,7 +1838,7 @@ _GL_glw_LIB_DEPENDS= libGLw.so:${PORTSDIR}/graphics/libGLw
_GL_glut_LIB_DEPENDS= libglut.so:${PORTSDIR}/graphics/freeglut
.if defined(USE_GL)
. if ${USE_GL:L} == "yes"
. if ${USE_GL:tl} == "yes"
USE_GL= glu
. endif
. for _component in ${USE_GL}
@ -2924,13 +2922,13 @@ _COUNT=1
# MAN${sect} is for man pages installed for all languages in MANLANG for a given
# section.
.if defined(MAN${sect})
_MANPAGES+= ${MAN${sect}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%}
_MANPAGES+= ${MAN${sect}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:tl}/%}
.endif
# Language specific MAN${sect} variables are for man pages installed in that
# language, but not necessarily all languages in MANLANG.
.if defined(MAN${sect}_${manlang:S%^man/%%:U})
_MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:U}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:L}/%}
.if defined(MAN${sect}_${manlang:S%^man/%%:tu})
_MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:tu}:S%^%${MAN${sect}PREFIX}/${manlang}/man${sect:tl}/%}
.endif
.endfor
@ -2942,7 +2940,7 @@ _MANPAGES+= ${MAN${sect}_${manlang:S%^man/%%:U}:S%^%${MAN${sect}PREFIX}/${manlan
# of MAN${sect}PREFIX.
.for sect in 1 2 3 4 5 6 7 8 9 L N
.if defined(MAN${sect}_EN)
_MANPAGES+= ${MAN${sect}_EN:S%^%${MAN${sect}PREFIX}/man/man${sect:L}/%}
_MANPAGES+= ${MAN${sect}_EN:S%^%${MAN${sect}PREFIX}/man/man${sect:tl}/%}
.endif
.endfor
@ -3222,7 +3220,7 @@ DEPENDS_ARGS+= NOCLEANDEPENDS=yes
################################################################
.if ((!defined(OPTIONS_DEFINE) && !defined(OPTIONS_SINGLE) && !defined(OPTIONS_MULTI)) \
&& !defined(OPTIONS_GROUP) && !defined(OPTIONS_RADIO) \
|| defined(CONFIG_DONE_${UNIQUENAME:U}) || \
|| defined(CONFIG_DONE_${UNIQUENAME:tu}) || \
defined(PACKAGE_BUILDING) || defined(BATCH))
_OPTIONS_OK=yes
.endif
@ -4684,7 +4682,7 @@ check-checksum-algorithms:
@ \
${checksum_init} \
\
for alg in ${CHECKSUM_ALGORITHMS:U}; do \
for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
eval alg_executable=\$$$$alg; \
if [ -z "$$alg_executable" ]; then \
${ECHO_MSG} "Checksum algorithm $$alg: Couldn't find the executable."; \
@ -4707,7 +4705,7 @@ makesum: check-checksum-algorithms
${checksum_init} \
\
for file in ${_CKSUMFILES}; do \
for alg in ${CHECKSUM_ALGORITHMS:U}; do \
for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
eval alg_executable=\$$$$alg; \
\
if [ $$alg_executable != "NO" ]; then \
@ -4718,7 +4716,7 @@ makesum: check-checksum-algorithms
done \
)
@for file in ${_IGNOREFILES}; do \
for alg in ${CHECKSUM_ALGORITHMS:U}; do \
for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
${ECHO_CMD} "$$alg ($$file) = IGNORE" >> ${DISTINFO_FILE}; \
done; \
done
@ -4733,7 +4731,7 @@ checksum: fetch check-checksum-algorithms
for file in ${_CKSUMFILES}; do \
ignored="true"; \
_file=$${file#${DIST_SUBDIR}/*}; \
for alg in ${CHECKSUM_ALGORITHMS:U}; do \
for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
ignore="false"; \
eval alg_executable=\$$$$alg; \
\
@ -4788,7 +4786,7 @@ checksum: fetch check-checksum-algorithms
_file=$${file#${DIST_SUBDIR}/*}; \
ignored="true"; \
alreadymatched="false"; \
for alg in ${CHECKSUM_ALGORITHMS:U}; do \
for alg in ${CHECKSUM_ALGORITHMS:tu}; do \
ignore="false"; \
eval alg_executable=\$$$$alg; \
\
@ -4926,7 +4924,7 @@ _INSTALL_DEPENDS= \
${ECHO_MSG} "===> Returning to build of ${PKGNAME}";
.for deptype in PKG EXTRACT PATCH FETCH BUILD RUN
${deptype:L}-depends:
${deptype:tl}-depends:
.if defined(${deptype}_DEPENDS)
.if !defined(NO_DEPENDS)
@set -e ; for i in `${ECHO_CMD} "${${deptype}_DEPENDS}"`; do \
@ -5584,7 +5582,7 @@ apply-slist:
.endfor
.for i in pkg-message pkg-install pkg-deinstall pkg-req
.if ${SUB_FILES:M${i}*}!=""
${i:S/-//:U}= ${WRKDIR}/${SUB_FILES:M${i}*}
${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*}
.endif
.endfor
.endif
@ -5637,8 +5635,8 @@ generate-plist:
.endfor
.for reinplace in ${PLIST_REINPLACE}
.if defined(PLIST_REINPLACE_${reinplace:U})
@${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:U}}' ${TMPPLIST}
.if defined(PLIST_REINPLACE_${reinplace:tu})
@${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:tu}}' ${TMPPLIST}
.endif
.endfor
@ -5799,7 +5797,7 @@ add-plist-post:
.endif
.if !target(install-rc-script)
.if defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
.if defined(USE_RCORDER) || defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
install-rc-script:
.if defined(USE_RCORDER)
@${ECHO_MSG} "===> Staging early rc.d startup script(s)"
@ -5810,7 +5808,7 @@ install-rc-script:
done
@${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
.endif
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES"
@${ECHO_MSG} "===> Staging rc.d startup script(s)"
@${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
@for i in ${USE_RC_SUBR}; do \
@ -6169,7 +6167,7 @@ showconfig:
.for otype in MULTI GROUP SINGLE RADIO
. for m in ${OPTIONS_${otype}}
. if empty(${m}_DESC)
@${ECHO_MSG} "====> Options available for the ${otype:L} ${m}${${otype}_EOL}"
@${ECHO_MSG} "====> Options available for the ${otype:tl} ${m}${${otype}_EOL}"
. else
@${ECHO_MSG} "====> ${${m}_DESC}${${otype}_EOL}"
. endif
@ -6642,43 +6640,43 @@ _${_t}_REAL_SUSEQ+= ${s}
# target noting that config is no longer needed.
.if !target(${target}) && defined(_OPTIONS_OK)
_PHONY_TARGETS+= ${target}
${target}: ${${target:U}_COOKIE}
${target}: ${${target:tu}_COOKIE}
.elif !target(${target})
${target}: config-conditional
@cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${UNIQUENAME:U}=1 ${${target:U}_COOKIE}
@cd ${.CURDIR} && ${MAKE} CONFIG_DONE_${UNIQUENAME:tu}=1 ${${target:tu}_COOKIE}
.elif target(${target}) && defined(IGNORE)
.endif
.if !exists(${${target:U}_COOKIE})
.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:U}_REAL_SUSEQ) && !defined(INSTALL_AS_USER)
.if ${UID} != 0 && defined(_${target:tu}_REAL_SUSEQ) && !defined(INSTALL_AS_USER)
. if defined(USE_SUBMAKE)
${${target:U}_COOKIE}: ${_${target:U}_DEP}
@cd ${.CURDIR} && ${MAKE} ${_${target:U}_REAL_SEQ}
${${target:tu}_COOKIE}: ${_${target:tu}_DEP}
@cd ${.CURDIR} && ${MAKE} ${_${target:tu}_REAL_SEQ}
. else # !USE_SUBMAKE
${${target:U}_COOKIE}: ${_${target:U}_DEP} ${_${target:U}_REAL_SEQ}
${${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:U}_REAL_SUSEQ}"
${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:U}_COOKIE}: ${_${target:U}_DEP}
${${target:tu}_COOKIE}: ${_${target:tu}_DEP}
@cd ${.CURDIR} && \
${MAKE} ${_${target:U}_REAL_SEQ} ${_${target:U}_REAL_SUSEQ}
${MAKE} ${_${target:tu}_REAL_SEQ} ${_${target:tu}_REAL_SUSEQ}
@${TOUCH} ${TOUCH_FLAGS} ${.TARGET}
. else # !USE_SUBMAKE
${${target:U}_COOKIE}: ${_${target:U}_DEP} ${_${target:U}_REAL_SEQ} ${_${target:U}_REAL_SUSEQ}
${${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:U}_COOKIE}::
${${target:tu}_COOKIE}::
@if [ -e ${.TARGET} ]; then \
${DO_NADA}; \
else \

View File

@ -187,7 +187,7 @@ Python_Include_MAINTAINER= python@FreeBSD.org
#
# PYEASYINSTALL_OSARCH
# - Platform identifier for easy_install.
# default: -${OPSYS:L}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
# default: -${OPSYS:tl}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
# if PYEASYINSTALL_ARCHDEP is defined.
#
# PYEASYINSTALL_CMD - Full file path to easy_install command.
@ -416,7 +416,7 @@ PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/${PYTHON_VERSION}${PYTHON_ABIVER}
PYTHON_LIBDIR= ${PYTHONBASE}/lib/${PYTHON_VERSION}
PYTHON_PKGNAMEPREFIX= py${PYTHON_SUFFIX}-
PYTHON_PKGNAMESUFFIX= -py${PYTHON_SUFFIX}
PYTHON_PLATFORM= ${OPSYS:L}${OSREL:C/\.[0-9.]*//}
PYTHON_PLATFORM= ${OPSYS:tl}${OSREL:C/\.[0-9.]*//}
PYTHON_SITELIBDIR= ${PYTHON_LIBDIR}/site-packages
PYTHONPREFIX_INCLUDEDIR= ${PYTHON_INCLUDEDIR:S;${PYTHONBASE};${PREFIX};}
@ -448,7 +448,7 @@ MAKE_ENV+= PYTHONPATH=${PYEASYINSTALL_SITELIBDIR}
.endif
.if defined(PYEASYINSTALL_ARCHDEP)
PYEASYINSTALL_OSARCH?= -${OPSYS:L}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
PYEASYINSTALL_OSARCH?= -${OPSYS:tl}-${OSVERSION:C/([0-9]*)[0-9]{5}/\1/}-${ARCH}
MAKE_ENV+= _PYTHON_HOST_PLATFORM=${PYEASYINSTALL_OSARCH}
.endif
PYEASYINSTALL_EGG?= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_PKGVERSION:C/[^A-Za-z0-9.]+/_/g}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg

View File

@ -243,9 +243,9 @@ RUBY_CONFIGURE_ARGS+= --with-rubyhdrdir="${PREFIX}/include/ruby-${RUBY_VER}/" \
--docdir="${RUBY_DOCDIR}" \
--with-soname=ruby${RUBY_SUFFIX}
CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:L}${OSREL:C/\..*//}
CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL:C/\..*//}
RUBY_ARCH?= ${ARCH}-${OPSYS:L}${OSREL:C/\..*//}
RUBY_ARCH?= ${ARCH}-${OPSYS:tl}${OSREL:C/\..*//}
RUBY_NAME?= ruby${RUBY_SUFFIX}
_RUBY_SYSLIBDIR?= ${PREFIX}/lib

View File

@ -954,7 +954,7 @@ MASTER_SITE_PERL_CPAN_BY+= \
_PERL_CPAN_FLAG=${MASTER_SITE_SUBDIR:C/(CPAN):.*$/\1/}
_PERL_CPAN_ID= ${MASTER_SITE_SUBDIR:C/^CPAN:(.)(.)(.*)$/\1\/\1\2\/\1\2\3/}
.if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:L} == "cpan"
.if !empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan"
_PERL_CPAN_SORT=authors/id/${_PERL_CPAN_ID}
MASTER_SITE_PERL_CPAN=${MASTER_SITE_PERL_CPAN_BY:S/%CPANSORT%/${_PERL_CPAN_SORT}/:S/%SUBDIR%\///}
.else
@ -1501,7 +1501,7 @@ MASTER_SITES_ABBREVS= CPAN:PERL_CPAN \
RG:RUBYGEMS \
RF:RUBYFORGE
MASTER_SITES_SUBDIRS= APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
BERLIOS:${PORTNAME:L} \
BERLIOS:${PORTNAME:tl} \
CENKES:myports \
CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/} \
CSME:myports \
@ -1514,16 +1514,16 @@ MASTER_SITES_SUBDIRS= APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
HORDE:${PORTNAME} \
LOGILAB:${PORTNAME} \
MATE:${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
MOZDEV:${PORTNAME:L} \
MOZDEV:${PORTNAME:tl} \
NETLIB:${PORTNAME} \
PERL_CPAN:${PORTNAME:C/-.*//} \
PNET:${PNET_MASTER_SITE_SUBDIR} \
PYTHON:${PYTHON_MASTER_SITE_SUBDIR} \
RUBY_DBI:${RUBY_DBI_MASTER_SITE_SUBDIR} \
RUBY_GNOME:${RUBY_GNOME_MASTER_SITE_SUBDIR} \
SAVANNAH:${PORTNAME:L} \
SOURCEFORGE:${PORTNAME:L}/${PORTNAME:L}/${PORTVERSION} \
RUBYFORGE:${PORTNAME:L}
SAVANNAH:${PORTNAME:tl} \
SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} \
RUBYFORGE:${PORTNAME:tl}
.if defined(MASTER_SITES) && ${MASTER_SITES:N*\:/*}

View File

@ -78,21 +78,21 @@ CONFLICTS_TETEX= \
latex2e-[0-9]*
# override the user configuration
.if !empty(USE_TEX:U:MTETEX)
.if !empty(USE_TEX:tu:MTETEX)
TEX_DEFAULT= tetex
.elif !empty(USE_TEX:U:MTEXLIVE)
.elif !empty(USE_TEX:tu:MTEXLIVE)
TEX_DEFAULT= texlive
.endif
.if !empty(TEX_DEFAULT:U:MTETEX)
.if !empty(TEX_DEFAULT:tu:MTETEX)
CONFLICTS_INSTALL+= ${CONFLICTS_TEXLIVE}
.elif !empty(TEX_DEFAULT:U:MTEXLIVE)
.elif !empty(TEX_DEFAULT:tu:MTEXLIVE)
CONFLICTS_INSTALL+= ${CONFLICTS_TETEX}
.else
.error malformed TEX_DEFAULT: ${TEX_DEFAULT}
.endif
_TEX_LABEL:= ${TEX_DEFAULT:U:S/TEXLIVE/TEX/}
_TEX_LABEL:= ${TEX_DEFAULT:tu:S/TEXLIVE/TEX/}
_USE_TETEX_TEXMF= ${LOCALBASE}/${TEXMFDISTDIR}/LICENSE.texmf:${PORTSDIR}/print/teTeX-texmf
_USE_TEX_TEXMF= ${LOCALBASE}/${TEXMFDISTDIR}/README:${PORTSDIR}/print/texlive-texmf
@ -146,13 +146,13 @@ _USE_TEX_FULL= texmf base web2c infra \
dvipsk dvipdfmx xdvik \
kpathsea:lib ptexenc:lib
.if !empty(USE_TEX:U:MFULL)
.if !empty(USE_TEX:tu:MFULL)
USE_TEX:= ${_USE_${_TEX_LABEL}_FULL}
.endif
.for _UU in ${USE_TEX:U}
.for _UU in ${USE_TEX:tu}
_U:= ${_UU} # ugly but necessary in for loop
. if !empty(_U:U:MKPATHSEA) || !empty(_U:U:MPTEXENC)
. if !empty(_U:tu:MKPATHSEA) || !empty(_U:tu:MPTEXENC)
_U:= ${_U}:lib
. endif
. if empty(_U:M*\:*)
@ -160,7 +160,7 @@ _C:= BUILD RUN
. else
_C:= ${_U:C/.*://}
. endif
. for _CC in ${_C:U}
. for _CC in ${_C:tu}
TEX_${_CC}_DEPENDS+=${_USE_${_TEX_LABEL}_${_UU:C/:.*$//}}
. endfor
.endfor
@ -207,14 +207,14 @@ post-install-script: do-texhash
. for F in ${TEX_FORMATS}
do-fmtutil: do-fmtutil-$F post-install-$F
do-fmtutil-$F:
@${TEST} -n '${TEX_FORMAT_${F:U}}'
@${TEST} -n '${TEX_FORMAT_${F:tu}}'
@${TEST} -r ${LOCALBASE}/${FMTUTIL_CNF}
@exec < ${LOCALBASE}/${FMTUTIL_CNF} && \
${RM} ${LOCALBASE}/${FMTUTIL_CNF} && \
(${GREP} -v "\#$F\$$"; \
${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:U}}) \
${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:tu}}) \
> ${LOCALBASE}/${FMTUTIL_CNF}
@${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:U}} | \
@${PRINTF} "%s\t\#$F\n" ${TEX_FORMAT_${F:tu}} | \
while read format dum; do \
${SETENV} PATH=${PATH}:${LOCALBASE}/bin \
TEXMFMAIN=${LOCALBASE}/${TEXMFDIR} \
@ -224,14 +224,14 @@ do-fmtutil-$F:
@${ECHO_CMD} "@exec exec < ${LOCALBASE}/${FMTUTIL_CNF} && " \
"${RM} ${LOCALBASE}/${FMTUTIL_CNF} && " \
"(${GREP} -v \"\#$F\$$\"; ${PRINTF} \"%%s\t\#$F\n\" " \
"${TEX_FORMAT_${F:U}:S,",\\",g}) " \
"${TEX_FORMAT_${F:tu}:S,",\\",g}) " \
"> ${LOCALBASE}/${FMTUTIL_CNF}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec exec < ${LOCALBASE}/${FMTUTIL_CNF} && " \
"${RM} ${LOCALBASE}/${FMTUTIL_CNF} && " \
"${GREP} -v \"\#$F\$$\" " \
"> ${LOCALBASE}/${FMTUTIL_CNF}" >> ${TMPPLIST}
_PLIST_FILES+= ${TEX_FORMAT_${F:U}_FILES}
_PLIST_DIRSTRY+=${TEX_FORMAT_${F:U}_DIRS}
_PLIST_FILES+= ${TEX_FORMAT_${F:tu}_FILES}
_PLIST_DIRSTRY+=${TEX_FORMAT_${F:tu}_DIRS}
. endfor
post-install-script: do-fmtutil

View File

@ -220,7 +220,7 @@ _WANT_WX= yes
. for __WANT_WX in ${_WANT_WX}
. if defined(_WX_UC_AVAILABLE) && \
(${_WX_VERS_UC_ALL:M${__WANT_WX}} != "" || ${_WANT_WX:L} == "yes")
(${_WX_VERS_UC_ALL:M${__WANT_WX}} != "" || ${_WANT_WX:tl} == "yes")
_WX_WANT_UNICODE= yes
. endif
. endfor
@ -249,7 +249,7 @@ IGNORE?= selected multiple values for WANT_WX: ${_WANT_WX}
. endif
_HAVE_WX= #
# Check for all versions.
. if ${_WANT_WX:L} == "yes"
. if ${_WANT_WX:tl} == "yes"
. for comp in ${_WX_COMPS_ALL}
. for ver in ${_WX_VER_FINAL}
_WX_COMP= _WX_FILE_${comp}_${ver}
@ -564,9 +564,9 @@ MAKE_ENV+= WX_CONFIG=${WX_CONFIG}
CONFIGURE_ENV+= WX_CONFIG=${WX_CONFIG}
.if defined(WX_CONF_ARGS)
. if ${WX_CONF_ARGS:L} == "absolute"
. if ${WX_CONF_ARGS:tl} == "absolute"
CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG}
. elif ${WX_CONF_ARGS:L} == "relative"
. elif ${WX_CONF_ARGS:tl} == "relative"
CONFIGURE_ARGS+= --with-wx=${LOCALBASE} \
--with-wx-config=${WX_CONFIG:T}
. else

View File

@ -39,7 +39,7 @@ FONTS+= ${font}
.for font in KASR SHMOOKH
. if ${PORT_OPTIONS:M${font}}
FONTS+= ${font:C/(.).*/\1/}${font:L:C/.//}
FONTS+= ${font:C/(.).*/\1/}${font:tl:C/.//}
. endif
.endfor

View File

@ -16,7 +16,7 @@ USE_PHP= yes
USE_PHPEXT= yes
CONFIGURE_ARGS= --enable-lzf
WRKSRC= ${WRKDIR}/${DISTNAME:U}
WRKSRC= ${WRKDIR}/${DISTNAME:tu}
OPTIONS_DEFINE= BETTER_COMPRESSION
BETTER_COMPRESSION_DESC= Better compression ratio

View File

@ -5,7 +5,7 @@ PORTNAME= xarchiver
PORTVERSION= 0.5.3
CATEGORIES= archivers
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME:L}
MASTER_SITE_SUBDIR= ${PORTNAME:tl}
MAINTAINER= ports@FreeBSD.org
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools

View File

@ -5,7 +5,7 @@ PORTNAME= Maaate
PORTVERSION= 0.3.1
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}-${PORTVERSION}.tar.gz
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME}-${PORTVERSION}.tar.gz
MAINTAINER= saper@saper.info
COMMENT= MPEG audio analysis toolkit

View File

@ -58,7 +58,7 @@ X11_DESC= X11 module [broken]
.for o in ${OPTIONS_DEFINE}
. ifndef $o_DESC
$o_DESC= ${o:C,^(.).*,\1,}${o:C,^.,,:L} module
$o_DESC= ${o:C,^(.).*,\1,}${o:C,^.,,:tl} module
. endif
.endfor

View File

@ -33,7 +33,7 @@ pre-everything::
@${ECHO} "interfaces. The default is to use OSS."
@${ECHO} ""
.if ${DRIVER:L} == "esd"
.if ${DRIVER:tl} == "esd"
LIB_DEPENDS+= libesd.so:${PORTSDIR}/audio/esound
.endif
@ -49,7 +49,7 @@ post-patch:
@${RMDIR} ${WRKDIR}/boodler-snd/string
do-build:
(cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER:L} ${PIC} --include ${PREFIX}/include --lib ${PREFIX}/lib && make)
(cd ${WRKSRC} && ${PYTHON_CMD} configure.py --driver ${DRIVER:tl} ${PIC} --include ${PREFIX}/include --lib ${PREFIX}/lib && make)
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/effects ${WRKSRC}/boodle/
do-install:

View File

@ -82,10 +82,10 @@ post-patch::
.include <bsd.port.options.mk>
.for m in nas esd
. if ${PORT_OPTIONS:M${m:U}}
. if ${PORT_OPTIONS:M${m:tu}}
LIB_DEPENDS+= lib${m:nas=audio}.so:${PORTSDIR}/audio/${m:esd=esound}
post-patch::
${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ${m:U}_AUDIO,INCLUDE_MODULES += ${m:U}_AUDIO,' \
${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ${m:tu}_AUDIO,INCLUDE_MODULES += ${m:tu}_AUDIO,' \
${WRKDIR}/*/config/config.in
CONFIGURE_ARGS+=--enable-$m
. else

View File

@ -5,7 +5,7 @@ PORTNAME= flake
PORTVERSION= 0.11
CATEGORIES= audio
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME:L}-enc/${PORTNAME:L}/${PORTVERSION}
MASTER_SITE_SUBDIR= ${PORTNAME:tl}-enc/${PORTNAME:tl}/${PORTVERSION}
MAINTAINER= dbn@FreeBSD.org
COMMENT= FLAC audio encoder

View File

@ -54,7 +54,7 @@ PLIST_SUB+= OMF="@comment "
.endif
.for plugin in flac gconf jack ladspa lame mp3 pulse vorbis
. if ${PORT_OPTIONS:M${plugin:U}}
. if ${PORT_OPTIONS:M${plugin:tu}}
USE_GSTREAMER+=${plugin}
. endif
.endfor

View File

@ -5,7 +5,7 @@ PORTNAME= lame
PORTVERSION= 3.99.5
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/3.99
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/3.99
MAINTAINER= netchild@FreeBSD.org
COMMENT= Fast MP3 encoder kit

View File

@ -165,7 +165,7 @@ CONFIGURE_ARGS+= --disable-bjack
.endif
.for i in ${_ALL_PACKAGES}
.if ${PORT_OPTIONS:M${i:U}}
.if ${PORT_OPTIONS:M${i:tu}}
.if defined(LIB_DEPENDS_${i})
LIB_DEPENDS+= ${LIB_DEPENDS_${i}}
.endif

View File

@ -34,8 +34,8 @@ RDEP= AIFF:sox SHN:shorten FLAC APE:mac OFR:ofr:optimfrog LPAC WV:wavpack \
.for o in ${PORT_OPTIONS}
m= ${RDEP:M${o}*}
.if ${m}
b= ${m:C/^[A-Z]*://:C/:.*//:L}
p= ${m:C/^[A-Z]*://:C/.*://:L}
b= ${m:C/^[A-Z]*://:C/:.*//:tl}
p= ${m:C/^[A-Z]*://:C/.*://:tl}
RUN_DEPENDS+= ${b}:${PORTSDIR}/audio/${p}
RUN_DEPENDS:= ${RUN_DEPENDS}
.endif

View File

@ -5,7 +5,7 @@ PORTNAME= tse3
PORTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:U}/${PORTVERSION}
MASTER_SITES= SF/${PORTNAME}/${PORTNAME:tu}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= MIDI library

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= umodplayer
PORTVERSION= 0.${DISTVERSION:L}
PORTVERSION= 0.${DISTVERSION:tl}
DISTVERSION= B5.1
PORTREVISION= 3
CATEGORIES= audio

View File

@ -15,7 +15,7 @@ COMMENT= Self-scaling network benchmark
PORTDOCS= README netpipe_paper.ps
PLIST_FILES= bin/NPtcp bin/NPtcp6 man/man1/netpipe.1.gz
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:L}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl}
do-build:
cd ${WRKSRC} \

View File

@ -3,7 +3,7 @@
PORTNAME= emboss
PORTVERSION= 6.2.0
RELEASE= ${PORTNAME:U}-${PORTVERSION}
RELEASE= ${PORTNAME:tu}-${PORTVERSION}
PORTREVISION= 3
CATEGORIES= biology
MASTER_SITES= ftp://emboss.open-bio.org/pub/EMBOSS/
@ -30,8 +30,8 @@ USE_LDCONFIG= yes
SUB_FILES= pkg-message
SUB_LIST= PREFIX=${PREFIX} DATADIR=${DATADIR}
DOCSDIR= ${PREFIX}/share/${PORTNAME:U}/doc
DATADIR= ${PREFIX}/share/${PORTNAME:U}
DOCSDIR= ${PREFIX}/share/${PORTNAME:tu}/doc
DATADIR= ${PREFIX}/share/${PORTNAME:tu}
CONFIGURE_ARGS+= --with-docroot=${DOCSDIR}

View File

@ -151,7 +151,7 @@ WITH_ED= vi
.endif
unamesm= ${OPSYS} ${ARCH}
v_ifdef= ${OPSYS:U}
v_ifdef= ${OPSYS:tu}
SHELL_INSTALL_ASTER= ${LOCALBASE}/bin/${SHIA}
.if !defined(PACKAGE_BUILDING)

View File

@ -4,7 +4,7 @@ PORTNAME= gdt
PORTVERSION= 4.0
CATEGORIES= cad
MASTER_SITES= SF/gds2/gds2/
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= GDS2/GDT format translator
@ -14,7 +14,7 @@ LICENSE= GPLv2
USES= shebangfix perl5
USE_PERL5= run
SHEBANG_FILES= Examples/gdsinfo Examples/scalegds
WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${PORTVERSION}
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds bin/scalegds
NO_STAGE= yes

View File

@ -45,7 +45,7 @@ LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
CONFIGURE_ARGS+= --enable-ffmpeg
.endif
MACHINE= ${OPSYS:U}
MACHINE= ${OPSYS:tu}
SUB_LIST= PREFIX=${PREFIX}
SUB_FILES= pkg-message

View File

@ -5,7 +5,7 @@ PORTNAME= miniChinput
PORTVERSION= 0.1.9
PORTREVISION= 3
CATEGORIES= chinese
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/0-1-9
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/0-1-9
MAINTAINER= ports@FreeBSD.org
COMMENT= A tiny version of Chinput

View File

@ -69,7 +69,7 @@ NO_STAGE= yes
.include <bsd.port.pre.mk>
CFLAGS+= -DAUTO_PPP
.if defined(WITH_FIDO) && ${WITH_FIDO:L} != no
.if defined(WITH_FIDO) && ${WITH_FIDO:tl} != no
CFLAGS+= -DFIDO
.endif

View File

@ -4,7 +4,7 @@
PORTNAME= WWWdb
PORTVERSION= 0.8.3
CATEGORIES= databases perl5 www
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Perl based generic WWW DB interface / frontend

View File

@ -4,7 +4,7 @@
PORTNAME= dbXML
PORTVERSION= 2.0
CATEGORIES= databases java
MASTER_SITES= SF/${PORTNAME:L}-core/${PORTNAME}/${PORTNAME}%20${PORTVERSION}/
MASTER_SITES= SF/${PORTNAME:tl}-core/${PORTNAME}/${PORTNAME}%20${PORTVERSION}/
DISTNAME= dbXML-${PORTVERSION}
MAINTAINER= rws@procopia.com
@ -20,11 +20,11 @@ SUB_FILES+= pkg-message \
dbxmlctl
SUB_LIST+= DBXML_HOME=${DBXML_HOME} \
USER=${USERS} \
PORTNAME=${PORTNAME:L}
USE_RC_SUBR= ${PORTNAME:L}
PORTNAME=${PORTNAME:tl}
USE_RC_SUBR= ${PORTNAME:tl}
USERS= ${PORTNAME:L}
GROUPS= ${PORTNAME:L}
USERS= ${PORTNAME:tl}
GROUPS= ${PORTNAME:tl}
SHAREMODE= 0644
NO_STAGE= yes

View File

@ -21,7 +21,7 @@ USE_LDCONFIG= yes
GO_ACCOUNT= mdb
GO_PROJECT= mdb
GO_TAGNAME= ${PORTNAME:U}_${PORTVERSION}
GO_TAGNAME= ${PORTNAME:tu}_${PORTVERSION}
FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES}
do-install:

View File

@ -4,7 +4,7 @@
PORTNAME= phpMyAdmin
DISTVERSION= 4.1.14
CATEGORIES= databases www
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${DISTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${DISTVERSION}
DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages
MAINTAINER= matthew@FreeBSD.org
@ -63,7 +63,7 @@ SHEBANG_FILES= libraries/plugins/transformations/generator_main_class.sh \
.for opt in ${OPTIONS_DEFINE} ${OPTIONS_MULTI_DB_connect}
. if ${PORT_OPTIONS:M${opt}}
USE_PHP+= ${opt:L}
USE_PHP+= ${opt:tl}
. endif
.endfor

View File

@ -24,6 +24,6 @@ GH_ACCOUNT= jmafc
GH_COMMIT= 9b0e3d2
GH_TAGNAME= v${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTNAME}-${GH_COMMIT}
WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTNAME}-${GH_COMMIT}
.include <bsd.port.mk>

View File

@ -7,7 +7,7 @@ PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Database Query Language (MySQL Backend for HTSQL)

View File

@ -7,7 +7,7 @@ PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Database Query Language (PostgreSQL Backend for HTSQL)

View File

@ -7,7 +7,7 @@ PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Database Query Language (Core & SQLite Backend)

View File

@ -47,7 +47,7 @@ RUN_DEPENDS+= ${ORACLE_HOME}/network/admin/tnsnames.ora:${PORTSDIR}/databases/or
ORACLE_HOME?= ${LOCALBASE}/oracle8-client
ORACLE_VER= 8i # Client version
CONFIGURE_ARGS+= --with-oracle=${ORACLE_HOME} --with-oci-version=${ORACLE_VER:U}
CONFIGURE_ARGS+= --with-oracle=${ORACLE_HOME} --with-oci-version=${ORACLE_VER:tu}
.endif
run-autotools:

View File

@ -4,7 +4,7 @@
PORTNAME= eGroupware
PORTVERSION= 1.8.006.20140307
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}-1.8/${PORTNAME}-${PORTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}-1.8/${PORTNAME}-${PORTVERSION}
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.bz2 \
${PORTNAME}-egw-pear-${PORTVERSION}.tar.bz2

View File

@ -4,7 +4,7 @@
PORTNAME= SpecTcl
PORTVERSION= 1.2.2a
CATEGORIES= devel tk
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}

View File

@ -6,7 +6,7 @@ PORTVERSION= 6.2.5
CATEGORIES= devel
MASTER_SITES= ftp://download.dre.vanderbilt.edu/previous_versions/ \
http://download.dre.vanderbilt.edu/previous_versions/
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Adaptive Communication Environment for C++
@ -68,9 +68,9 @@ post-patch:
do-configure:
@cd ${WRKSRC}/ace \
&& ${ECHO_CMD} "#include <ace/config-${OPSYS:L}.h>" >> config.h
&& ${ECHO_CMD} "#include <ace/config-${OPSYS:tl}.h>" >> config.h
@cd ${WRKSRC}/include/makeinclude \
&& ${ECHO_CMD} "include \$$(ACE_ROOT)/include/makeinclude/platform_${OPSYS:L}.GNU" >> platform_macros.GNU \
&& ${ECHO_CMD} "include \$$(ACE_ROOT)/include/makeinclude/platform_${OPSYS:tl}.GNU" >> platform_macros.GNU \
&& ${ECHO_CMD} "CC= ${CC}" >> platform_macros.GNU \
&& ${ECHO_CMD} "CXX= ${CXX}" >> platform_macros.GNU \
&& ${ECHO_CMD} "CPPFLAGS= ${CPPFLAGS}" >> platform_macros.GNU \

View File

@ -52,7 +52,7 @@ MAKE_ENV+= SMLNJ_DEVEL=yes
# http://java.sun.com/docs/books/tutorial/java/package/namingpkgs.html
pre-patch:
.for dir in StdPkl StdPrims StdTypes
cd ${WRKSRC}/src/java/asts && [ -d ${dir} ] && ${MV} ${dir} ${dir:L}
cd ${WRKSRC}/src/java/asts && [ -d ${dir} ] && ${MV} ${dir} ${dir:tl}
.endfor
post-build:

View File

@ -17,7 +17,7 @@ ONLY_FOR_ARCHS= i386
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
USE_GMAKE= yes
MAKE_ARGS= OS=${OPSYS:U} KERNEL=${OSREL:S/.//g}
MAKE_ARGS= OS=${OPSYS:tu} KERNEL=${OSREL:S/.//g}
# This will play merry hell with portlint(1)
BINS= bonus/asmutils basename cal cat chmod chown chroot cmp cp \

View File

@ -64,7 +64,7 @@ CONFIGURE_ENV= QTDIR="${QTDIR}"
CONFIGURE_ARGS+=--with-doxywizard
.endif # QT4
.if ${MACHINE_ARCH:L} == alpha
.if ${MACHINE_ARCH:tl} == alpha
CONFIGURE_ARGS+= --enable-langs no
.endif
@ -74,7 +74,7 @@ PLIST_FILES+= bin/doxywizard
pre-configure:
@cd ${WRKSRC};for pro in src/*.pro.in addon/doxywizard/doxywizard.pro.in;do \
${ECHO} "unix:LIBS += ${ICONV_LIB}" >> $$pro; done
${ECHO} "unix:tlIBS += ${ICONV_LIB}" >> $$pro; done
@${CHMOD} +x ${WRKSRC}/configure
post-configure:

View File

@ -6,7 +6,7 @@ PORTVERSION= 2.40
PORTREVISION= 11
CATEGORIES= devel elisp
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME:U}%20${PORTVERSION}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME:tu}%20${PORTVERSION}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= mva@FreeBSD.org

View File

@ -21,11 +21,11 @@ OPTIONS_DEFINE= CON EVAS FILE IMF IMF_EVAS INPUT INPUT_EVAS IPC SDL X11
OPTIONS_DEFAULT=CON EVAS FILE IMF IMF_EVAS INPUT INPUT_EVAS IPC X11
.for NODE in ${OPTIONS_DEFINE}
${NODE}_DESC= Install ${NODE:L} module
${NODE}_DESC= Install ${NODE:tl} module
.endfor
.for NODE in ${OPTIONS_DEFINE}
${NODE}_USE= EFL_ECORE=${NODE:L}
${NODE}_USE= EFL_ECORE=${NODE:tl}
.endfor
.include <bsd.port.mk>

View File

@ -30,7 +30,7 @@ SUB_FILES= ${PORTNAME} pkg-message
DATADIR= ${PREFIX}/lib/${PORTNAME}
NATIVE_ARCHS= i386 amd64
EIFFEL_HOST= ${OPSYS:L}-${EIFFEL_ARCH}
EIFFEL_HOST= ${OPSYS:tl}-${EIFFEL_ARCH}
PLIST_SUB+= EIFFEL_HOST="${EIFFEL_HOST}"
SUB_LIST+= EIFFEL_HOST="${EIFFEL_HOST}"
@ -49,9 +49,9 @@ EIFFEL_ARCH= x86
.for arch in ${NATIVE_ARCHS}
. if ${EIFFEL_ARCH} == ${arch:S/i386/x86/:S/amd64/x86-64/}
PLIST_SUB+= ${arch:U}=""
PLIST_SUB+= ${arch:tu}=""
. else
PLIST_SUB+= ${arch:U}="@comment "
PLIST_SUB+= ${arch:tu}="@comment "
. endif
.endfor

View File

@ -6,7 +6,7 @@ PORTVERSION= 1.0.3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/ELFIO-sources/ELFIO-${PORTVERSION}
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ library for reading and generating files in the ELF binary format

View File

@ -5,7 +5,7 @@ PORTNAME= fc++
PORTVERSION= 1.5
CATEGORIES= devel
MASTER_SITES= http://people.cs.umass.edu/~yannis/fc++/
DISTNAME= ${PORTNAME:U}.${PORTVERSION}
DISTNAME= ${PORTNAME:tu}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Functional Programming in C++

View File

@ -5,7 +5,7 @@ PORTNAME= Fnorb
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}%20${PORTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= CORBA 2.0 ORB written in Python

View File

@ -9,7 +9,6 @@ DISTFILES= # none
MAINTAINER= makc@FreeBSD.org
COMMENT= Geany plugins (meta port)
.MAKE.FreeBSD_UL= yes
NO_BUILD= yes
NO_INSTALL= yes
NO_MTREE= yes
@ -23,9 +22,9 @@ OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
NO_OPTIONS_SORT= yes
.for plugin in ${GEANY_PLUGINS_ALL}
OPTIONS_DEFINE+= ${plugin:U}
${plugin:U}_DESC= ${${plugin}_DESC}
${plugin:U}_RUN_DEPENDS= geany-plugin-${plugin}>=0:${PORTSDIR}/devel/geany-plugin-${plugin}
OPTIONS_DEFINE+= ${plugin:tu}
${plugin:tu}_DESC= ${${plugin}_DESC}
${plugin:tu}_RUN_DEPENDS= geany-plugin-${plugin}>=0:${PORTSDIR}/devel/geany-plugin-${plugin}
.endfor
NLS_RUN_DEPENDS= geany-plugins-l10n>=0:${PORTSDIR}/devel/geany-plugins-l10n

View File

@ -41,7 +41,7 @@ PYTHON_DESC= Enable Python console
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:L}${OSREL}
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
.endif
CONFIGURE_ARGS+= --disable-shared --with-gmp=${PREFIX}

View File

@ -6,7 +6,7 @@ DISTVERSION= 2.1
PORTREVISION= 2
CATEGORIES= devel java
MASTER_SITES= SF
DISTNAME= ${PORTNAME:U}-${DISTVERSION}
DISTNAME= ${PORTNAME:tu}-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java package to parse command-line arguments

View File

@ -5,7 +5,7 @@ PORTNAME= Judy
PORTVERSION= 1.0.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}-${PORTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose dynamic array
@ -17,7 +17,7 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= YES
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION}
PORTDOCS= COPYRIGHT README *.htm

View File

@ -29,7 +29,7 @@ KBUILD_ENV= ACLOCAL=${ACLOCAL} \
AUTORECONF=${AUTORECONF} \
AUTOPOINT=true
USE_GCC= any
KBUILD_TARGET= ${OPSYS:L}
KBUILD_TARGET= ${OPSYS:tl}
KBUILD_BINS= kDepIDB kDepPre kObjCache kmk kmk_append kmk_ash kmk_cat \
kmk_chmod kmk_cmp kmk_cp kmk_echo kmk_expr kmk_gmake \

View File

@ -36,8 +36,8 @@ CFLAGS+= -fno-stack-protector
# add lua prefix to directories
.for p in data: docs:doc/ examples:examples/
${p:C/:.*//:U}DIR_REL= share/${p:C/.*://}${LUA_PKGNAMEPREFIX}${PORTNAME}
${p:C/:.*//:U}DIR= ${PREFIX}/${${p:C/:.*//:U}DIR_REL}
${p:C/:.*//:tu}DIR_REL= share/${p:C/.*://}${LUA_PKGNAMEPREFIX}${PORTNAME}
${p:C/:.*//:tu}DIR= ${PREFIX}/${${p:C/:.*//:tu}DIR_REL}
.endfor
OPTIONS_DEFINE= DOCS EXAMPLES

View File

@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-declarative>=4.10.2:${PORTSDIR}/devel/py
${PYTHON_PKGNAMEPREFIX}qt4-webkit>=4.8.5:${PORTSDIR}/www/py-qt4-webkit
#PYDISTUTILS_PKGNAME= ${PORTNAME:tu:S,-,_,}
PYDISTUTILS_PKGNAME= ${PORTNAME:U:S,-,_,}
PYDISTUTILS_PKGNAME= ${PORTNAME:tu:S,-,_,}
#PYDISTUTILS_PKGVERSION= ${PORTVERSION:R}_dev
USE_GITHUB= yes

View File

@ -4,7 +4,7 @@
PORTNAME= omniORB
PORTVERSION= 4.1.6
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Robust high performance CORBA ORB for C++ and Python

View File

@ -7,7 +7,7 @@ CATEGORIES= devel www
MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= miwi
DISTNAME= ${PORTNAME:U}_${PORTVERSION}
DISTNAME= ${PORTNAME:tu}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Web/Perforce Browser

View File

@ -21,7 +21,7 @@ USE_PHP= yes
USE_PHP_BUILD= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
PHP_MODNAME= ${PORTNAME:L}
WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
PHP_MODNAME= ${PORTNAME:tl}
WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION}
.include <bsd.port.mk>

View File

@ -18,7 +18,7 @@ PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.pre.mk>
pre-configure:
${REINPLACE_CMD} -e 's/linux/${OPSYS:L}/;s|gcc|${CC}|;s|g++|${CXX}|' \
${REINPLACE_CMD} -e 's/linux/${OPSYS:tl}/;s|gcc|${CC}|;s|g++|${CXX}|' \
${WRKSRC}/pylib/gyp/generator/make.py
.include <bsd.port.post.mk>

View File

@ -5,7 +5,7 @@ PORTNAME= tables
PORTVERSION= 3.0.0
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= SF/py${PORTNAME:L}/py${PORTNAME}/${PORTVERSION}
MASTER_SITES= SF/py${PORTNAME:tl}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= tables-${PORTVERSION}.tar.gz pytablesmanual-${PORTVERSION}.pdf
EXTRACT_ONLY= tables-${PORTVERSION}.tar.gz

View File

@ -1,9 +1,6 @@
# $FreeBSD$
# tell bmake we use the old :L :U modifiers
.MAKE.FreeBSD_UL= yes
PORTNAME?= ${DB:L}
PORTNAME?= ${DB:tl}
DISTVERSION?= ${QT5_VERSION}
CATEGORIES?= databases
PKGNAMEPREFIX?= qt5-sqldrivers-
@ -16,12 +13,12 @@ QT_DIST?= base
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=-no-gui -no-xcb
BUILD_WRKSRC?= ${WRKSRC}/src/plugins/sqldrivers/${DB:L}
BUILD_WRKSRC?= ${WRKSRC}/src/plugins/sqldrivers/${DB:tl}
INSTALL_WRKSRC?=${BUILD_WRKSRC}
PLIST_FILES+= ${QT_LIBDIR_REL}/cmake/Qt5Sql/Qt5Sql_Q${DB}DriverPlugin.cmake \
${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:L:C/^sql//}.so \
%%DEBUG%%${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:L:C/^sql//}.so.debug
${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:tl:C/^sql//}.so \
%%DEBUG%%${QT_PLUGINDIR_REL}/sqldrivers/libqsql${DB:tl:C/^sql//}.so.debug
PLIST_DIRSTRY+= ${QT_PLUGINDIR_REL}/sqldrivers \
${QT_PLUGINDIR_REL} \
${QT_ARCHDIR_REL} \

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PORTNAME= ${ORIGNAME:L}
PORTNAME= ${ORIGNAME:tl}
DISTVERSION= 0.5.7
CATEGORIES= devel
MASTER_SITES= http://downloads.reviewboard.org/releases/${ORIGNAME}/${DISTVERSION:R}/

View File

@ -5,7 +5,7 @@ PORTNAME= simpletest
PORTVERSION= 1.1.0
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}_${PORTVERSION:C/\.0//}
DISTNAME= ${PORTNAME:L}_${PORTVERSION}
DISTNAME= ${PORTNAME:tl}_${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Unit testing, mock objects, and web testing framework for PHP
@ -17,7 +17,7 @@ USE_PHP_BUILD= yes
DEFAULT_VERSIONS= php=5
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:L}
WRKSRC= ${WRKDIR}/${PORTNAME:tl}
OPTIONS_DEFINE= DOCS

View File

@ -5,7 +5,7 @@ PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}#
MASTER_SITE_SUBDIR= ${PORTNAME:tl}#
MAINTAINER= grog@FreeBSD.org
COMMENT= Verbose replacement for getopt

View File

@ -6,7 +6,7 @@ PORTVERSION= 1.7.2
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME:L}/${PORTNAME:L}/${PORTVERSION:R}
MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION:R}
MAINTAINER= bf@FreeBSD.org
COMMENT= Minimalistic x86 and x86-64 disassembler library

View File

@ -5,7 +5,7 @@ PORTNAME= dnsmax-perl
PORTVERSION= 1.0.1
CATEGORIES= dns
MASTER_SITES= SF/dynamicdns/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME:L}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/}
DISTNAME= ${PORTNAME:tl}-${PORTVERSION:S/.p/-pre/:S/.b/-beta/}
MAINTAINER= dan@algenta.com
COMMENT= DNSMax-perl is a perl DNS update client for the REST DNSMax protocol

View File

@ -5,7 +5,7 @@ PORTNAME= omegaT
DISTVERSION= 2.6.3_01
PORTREVISION= 1
CATEGORIES= editors java x11
MASTER_SITES= SF/${PORTNAME:L}/OmegaT%20-%20Standard/OmegaT%202.6.3%20update%201/
MASTER_SITES= SF/${PORTNAME:tl}/OmegaT%20-%20Standard/OmegaT%202.6.3%20update%201/
DISTNAME= OmegaT_2.6.3_01_Source
DIST_SUBDIR= ${PORTNAME}

View File

@ -7,7 +7,7 @@ PORTREVISION= 6
CATEGORIES= editors devel python
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= python
DISTNAME= ${PORTNAME:L}-${PORTVERSION}-wx2.6.1.0
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-wx2.6.1.0
MAINTAINER= nivit@FreeBSD.org
COMMENT= Stani's Python Editor
@ -24,7 +24,7 @@ ENCRYPTED_DEBUG_DESC= Enable encrypted debug in SPE
REINPLACE_ARGS= -i.bak -E -e "1s,^(\#!.* )python$$,\1 -S PYTHONPATH=${DATADIR} ${PYTHON_CMD},1"
WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION}
SPEDOCS= ${DATADIR}/_spe/doc
SPEXAMPLES= ${DATADIR}/_spe/examples
SPESCRIPTS= spe SPE.py SPE_DEBUG.py

View File

@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}"
MAKE_ARGS= CP="${CP} -R -f"
ALL_TARGET= ${PORTNAME:U}
ALL_TARGET= ${PORTNAME:tu}
INSTALL_ICONS= yes
DATADIR= ${PREFIX}/share/TeXmacs

View File

@ -10,11 +10,11 @@ MASTER_SITES= \
http://www.mavetju.org/download/adopted/:tapes \
ftp://ftp.komkon.org/pub/EMUL8/P2000/Tapes/:tapes \
http://www.mavetju.org/download/adopted/:code
DISTFILES= ${PORTNAME:U}${EXTRACT_SUFX}:code \
DISTFILES= ${PORTNAME:tu}${EXTRACT_SUFX}:code \
tapeconv.zip:code \
${M2000TAPES:S/$/.gz:tapes/}
DIST_SUBDIR= m2000
EXTRACT_ONLY= ${PORTNAME:U}${EXTRACT_SUFX}
EXTRACT_ONLY= ${PORTNAME:tu}${EXTRACT_SUFX}
MAINTAINER= edwin@mavetju.org
COMMENT= A portable emulator for the Philips P2000 home computer

View File

@ -3,7 +3,7 @@
PORTNAME= ucon64
PORTVERSION= 2.0.0
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME:L}-${PORTVERSION}
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME:tl}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= root@cooltrainer.org

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PORTNAME= ${UPPORTNAME:L}
PORTNAME= ${UPPORTNAME:tl}
PORTVERSION= 10.00
CATEGORIES= finance
MASTER_SITES= SF/${PORTNAME}/OTS_${TAXYEAR}/v${PORTVERSION}

View File

@ -32,8 +32,8 @@ HOMARDDIR= ${PREFIX}/${LHOMARDDIR}
AHPY= aster_homard_py
HOMARDSCRIPT= ${PORTNAME}_base ASTER_HOMARD/aster_homard_py/aster_homard_3.py
# This name is requested to run aster's make test
HOMARDPG= ${PORTNAME:U}_V${PORTVERSION:R}.out
HOMARDWDIR= ${PORTNAME:U}
HOMARDPG= ${PORTNAME:tu}_V${PORTVERSION:R}.out
HOMARDWDIR= ${PORTNAME:tu}
DOCS= A_Lire.txt Readme.txt

View File

@ -44,7 +44,7 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} ";"
cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} ";"
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:L}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${doc} ${STAGEDIR}${DOCSDIR}

View File

@ -62,7 +62,7 @@ ALL_TARGET= release
LIBDIR= lib/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR= share/doc/${PORTNAME}${PKGNAMESUFFIX}
BUILDDIR= ${WRKSRC}/build/${ALL_TARGET}-${OPSYS:L}-${IOQ3ARCH}
BUILDDIR= ${WRKSRC}/build/${ALL_TARGET}-${OPSYS:tl}-${IOQ3ARCH}
BINSUFFIX?=
HOMEPATH?= /.${PORTNAME}
Q3CLIENT?= ioquake3

View File

@ -105,7 +105,7 @@ do-extract:
# Original CD
.elif defined(ORIGINAL)
.for dir in ${CDDIRS:NSystem:NMaps/UPak:NSounds/int} Manuals
@${LN} -sf ${CDROM_MOUNT}/${dir:U} ${WRKDIR}/source/${dir}
@${LN} -sf ${CDROM_MOUNT}/${dir:tu} ${WRKDIR}/source/${dir}
.endfor
.for _file in UDSDemo.u UPak.u
@${CP} ${CDROM_MOUNT}/SYSTEM/${_file} ${WRKDIR}/source/System

View File

@ -4,7 +4,7 @@
PORTNAME= lwjgl
DISTVERSION= 2.9.1
CATEGORIES= games java
MASTER_SITES= SF/java-game-lib/Official%20Releases/${PORTNAME:U}%20${PORTVERSION}/
MASTER_SITES= SF/java-game-lib/Official%20Releases/${PORTNAME:tu}%20${PORTVERSION}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-source-${DISTVERSION}${EXTRACT_SUFX}

View File

@ -1,7 +1,7 @@
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
PORTNAME= ${MTANAME:L}
PORTNAME= ${MTANAME:tl}
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= games linux

View File

@ -55,7 +55,7 @@ X11_ARGS+= CFLAGS+="-DXWINGRAPHX" \
do-build:
.for f in ${TARGETS}
@(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_ARGS} ${${f:U}_ARGS} \
@(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_ARGS} ${${f:tu}_ARGS} \
${ALL_TARGET} clean)
@(cd ${BUILD_WRKSRC}; ${MV} ${PORTNAME} ${PORTNAME}-${f})
.endfor

View File

@ -82,7 +82,7 @@ PLIST_SUB+= GAME="@comment "
. if ${PORT_OPTIONS:M${opt}}
MAKE_ENV+= BUILD_${opt}=YES
PLIST_SUB+= ${opt}=""
Q2REF+= ${opt:L:S/glx/gl/:S/sdlgl/sdl/}
Q2REF+= ${opt:tl:S/glx/gl/:S/sdlgl/sdl/}
. else
PLIST_SUB+= ${opt}="@comment "
. endif

View File

@ -24,11 +24,11 @@ OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in Autoexec.cfg PROGS.DAT
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/${f:L}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/${f:tl}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in B08chg.txt Dedserv.txt Reaprb80.txt Skinspec.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/${f:L}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/${f:tl}
.endfor
.include "${.CURDIR}/../quake-data/Makefile.include"

View File

@ -8,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= http://www.angelfire.com/mt2/quakebots/:prog \
http://ponpoko.tri6.net/3zb2/routes/:routes
PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:U}
DISTNAME= ${PORTNAME:tu}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:prog \
${PORTNAME}src${PORTVERSION:S/0.//}${EXTRACT_SUFX}:prog
DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}

View File

@ -57,12 +57,12 @@ PLIST_SUB+= XATRIX="@comment "
post-extract:
.for f in rogue xatrix
. if ${PORT_OPTIONS:M${f:U}}
. if ${PORT_OPTIONS:M${f:tu}}
@${MKDIR} ${WRKSRC}/src/${f}
@(cd ${WRKSRC}/src/${f} && ${GUNZIP_CMD} -c \
${DISTDIR}/${DIST_SUBDIR}/${f}src320.shar.Z > \
${f}src320.shar && \
${TAIL} +${${f:U}_OFF} ${f}src320.shar | ${SH})
${TAIL} +${${f:tu}_OFF} ${f}src320.shar | ${SH})
. endif
.endfor
@ -76,7 +76,7 @@ do-install:
${CP} -R ${WRKSRC}/src/game ${DATADIR}
${INSTALL_DATA} ${FILESDIR}/Makefile.game ${DATADIR}/game/Makefile
.for f in ctf rogue xatrix
. if ${PORT_OPTIONS:M${f:U}}
. if ${PORT_OPTIONS:M${f:tu}}
${CP} -R ${WRKSRC}/src/${f} ${DATADIR}
${INSTALL_DATA} ${FILESDIR}/Makefile.${f} ${DATADIR}/${f}/Makefile
. endif

View File

@ -114,7 +114,7 @@ MAKE_ENV+= WITH_GAME_MOD=NO
. if ${PORT_OPTIONS:M${opt}}
MAKE_ENV+= BUILD_${opt}=YES
PLIST_SUB+= ${opt}=""
Q2REF+= ${opt:L}
Q2REF+= ${opt:tl}
. else
MAKE_ENV+= BUILD_${opt}=NO
PLIST_SUB+= ${opt}="@comment "
@ -199,8 +199,8 @@ do-install:
.if ${PORT_OPTIONS:MGAME}
${INSTALL_PROGRAM} ${WRKSRC}/quake2/baseq2/game.so ${LIBDIR}/baseq2
.endif
.for mod in ${MOD_LIST:L}
.if ${PORT_OPTIONS:M${mod:U}}
.for mod in ${MOD_LIST:tl}
.if ${PORT_OPTIONS:M${mod:tu}}
@${MKDIR} ${LIBDIR}/${mod}
${INSTALL_PROGRAM} ${WRKSRC}/quake2/${mod}/game.so ${LIBDIR}/${mod}
.endif

Some files were not shown because too many files have changed in this diff Show More