Update to ports/Mk/bsd.port.mk 1.541.

This commit is contained in:
Mark Linimon 2006-09-15 07:13:23 +00:00
parent 3f6d652468
commit e47df16d7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173097
2 changed files with 62 additions and 4 deletions

View file

@ -72,6 +72,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# PKGNAMEPREFIX - Prefix to specify that port is language-specific, etc.
# Optional.
# PKGNAMESUFFIX - Suffix to specify compilation options. Optional.
# PKGVERSION - Always defined as
# ${PORTVERSION}.
# Do not define this in your Makefile.
# UNIQUENAME - A name for your port that is globally unique. By default,
# this is set to ${LATEST_LINK} when LATEST_LINK is set,
# and to ${PKGNAMEPREFIX}${PORTNAME} otherwise.
@ -426,6 +429,12 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# or http://www.FreeBSD.org/gnome/docs/porting.html
# for more details.
##
# USE_LUA - If set, this port uses the Lua library and related
# components. See bsd.lua.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_KDEBASE_VER
# - Set to 3 to use the KDE windowing system.
# Implies inclusion of bsd.kde.mk.
@ -1295,8 +1304,11 @@ _SUF2= ,${PORTEPOCH}
# check for old, crufty, makefile types, part 2. The "else" case
# should have been handled in part 1, above.
.if !defined(PKGVERSION)
PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2}
.endif
.if !defined(PKGNAME)
PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2}
PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION}
.endif
DISTNAME?= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
@ -1544,6 +1556,14 @@ PERL= ${LOCALBASE}/bin/perl
.endif
.endif
.if defined(WANT_LUA) || defined(USE_LUA) || defined(USE_LUA_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.lua.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.lua.mk"
.else
.include "${PORTSDIR}/Mk/bsd.lua.mk"
.endif
.endif
.if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.wx.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.wx.mk"
@ -2105,6 +2125,14 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
.if defined(WANT_LUA) || defined(USE_LUA) || defined(USE_LUA_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.lua.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.lua.mk"
.else
.include "${PORTSDIR}/Mk/bsd.lua.mk"
.endif
.endif
.if defined(USE_WX) || defined(USE_WX_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.wx.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.wx.mk"
@ -2137,6 +2165,7 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
.if exists(${PORTSDIR}/../Makefile.inc)
.include "${PORTSDIR}/../Makefile.inc"
USE_SUBMAKE= yes
@ -5317,7 +5346,7 @@ missing:
@for dir in $$(${ALL-DEPENDS-LIST}); do \
THISORIGIN=$$(${ECHO_CMD} $$dir | ${SED} 's,${PORTSDIR}/,,'); \
installed=$$(${PKG_INFO} -qO $${THISORIGIN}); \
if [ -z $$installed ]; then \
if [ -z "$$installed" ]; then \
${ECHO_CMD} $$THISORIGIN; \
fi \
done

View file

@ -72,6 +72,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# PKGNAMEPREFIX - Prefix to specify that port is language-specific, etc.
# Optional.
# PKGNAMESUFFIX - Suffix to specify compilation options. Optional.
# PKGVERSION - Always defined as
# ${PORTVERSION}.
# Do not define this in your Makefile.
# UNIQUENAME - A name for your port that is globally unique. By default,
# this is set to ${LATEST_LINK} when LATEST_LINK is set,
# and to ${PKGNAMEPREFIX}${PORTNAME} otherwise.
@ -426,6 +429,12 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# or http://www.FreeBSD.org/gnome/docs/porting.html
# for more details.
##
# USE_LUA - If set, this port uses the Lua library and related
# components. See bsd.lua.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_KDEBASE_VER
# - Set to 3 to use the KDE windowing system.
# Implies inclusion of bsd.kde.mk.
@ -1295,8 +1304,11 @@ _SUF2= ,${PORTEPOCH}
# check for old, crufty, makefile types, part 2. The "else" case
# should have been handled in part 1, above.
.if !defined(PKGVERSION)
PKGVERSION= ${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2}
.endif
.if !defined(PKGNAME)
PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION:C/[-_,]/./g}${_SUF1}${_SUF2}
PKGNAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PKGVERSION}
.endif
DISTNAME?= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
@ -1544,6 +1556,14 @@ PERL= ${LOCALBASE}/bin/perl
.endif
.endif
.if defined(WANT_LUA) || defined(USE_LUA) || defined(USE_LUA_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.lua.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.lua.mk"
.else
.include "${PORTSDIR}/Mk/bsd.lua.mk"
.endif
.endif
.if defined(WANT_WX) || defined(USE_WX) || defined(USE_WX_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.wx.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.wx.mk"
@ -2105,6 +2125,14 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
.if defined(WANT_LUA) || defined(USE_LUA) || defined(USE_LUA_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.lua.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.lua.mk"
.else
.include "${PORTSDIR}/Mk/bsd.lua.mk"
.endif
.endif
.if defined(USE_WX) || defined(USE_WX_NOT)
.if exists(${DEVELPORTSDIR}/Mk/bsd.wx.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.wx.mk"
@ -2137,6 +2165,7 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
.if exists(${PORTSDIR}/../Makefile.inc)
.include "${PORTSDIR}/../Makefile.inc"
USE_SUBMAKE= yes
@ -5317,7 +5346,7 @@ missing:
@for dir in $$(${ALL-DEPENDS-LIST}); do \
THISORIGIN=$$(${ECHO_CMD} $$dir | ${SED} 's,${PORTSDIR}/,,'); \
installed=$$(${PKG_INFO} -qO $${THISORIGIN}); \
if [ -z $$installed ]; then \
if [ -z "$$installed" ]; then \
${ECHO_CMD} $$THISORIGIN; \
fi \
done