diff options
author | wiz <wiz> | 2004-04-27 17:28:50 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-04-27 17:28:50 +0000 |
commit | 0563c86542efd05813472779f81bcaedd84e3318 (patch) | |
tree | 86a1ecbf89cc6531168105d293db12181885c2eb /textproc | |
parent | 118e199bf978868f557651aabb583f1fbe8c1cd9 (diff) | |
download | pkgsrc-0563c86542efd05813472779f81bcaedd84e3318.tar.gz |
Re-instate for now (catalogs.mk _sets_ USE_BUILDLINK2).
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xmlcatmgr/buildlink2.mk | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/textproc/xmlcatmgr/buildlink2.mk b/textproc/xmlcatmgr/buildlink2.mk new file mode 100644 index 00000000000..a429384b03b --- /dev/null +++ b/textproc/xmlcatmgr/buildlink2.mk @@ -0,0 +1,42 @@ +# $NetBSD: buildlink2.mk,v 1.9 2004/04/27 17:28:50 wiz Exp $ +# +# This Makefile fragment is included by packages that use xmlcatmgr. +# +# The following variables are automatically defined for free use in packages: +# XMLCATMGR - Path to the xmlcatmgr program. +# SGML_DEFAULT_CATALOG - Path to the system-wide (tunable) SGML catalog. +# XML_DEFAULT_CATALOG - Path to the system-wide (tunable) XML catalog. +# +# Packages that recognize a system-wide catalog file should be configured +# to use SGML_DEFAULT_CATALOG or XML_DEFAULT_CATALOG, depending on the +# type of tool they are. +# + +.if !defined(XMLCATMGR_BUILDLINK2_MK) +XMLCATMGR_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= xmlcatmgr +BUILDLINK_DEPENDS.xmlcatmgr?= xmlcatmgr>=0.2 +BUILDLINK_RECOMMENDED.xmlcatmgr?= xmlcatmgr>=2.0beta1 +BUILDLINK_PKGSRCDIR.xmlcatmgr?= ../../textproc/xmlcatmgr + +EVAL_PREFIX+= BUILDLINK_PREFIX.xmlcatmgr=xmlcatmgr +BUILDLINK_PREFIX.xmlcatmgr_DEFAULT= ${LOCALBASE} + +BUILDLINK_TARGETS+= xmlcatmgr-buildlink + +# Location of the xmlcatmgr binary program. +XMLCATMGR= ${BUILDLINK_PREFIX.xmlcatmgr}/bin/xmlcatmgr + +# System-wide configurable catalogs. +.if defined(PKG_SYSCONFDIR.xmlcatmgr) && !empty(PKG_SYSCONFDIR.xmlcatmgr) +SGML_DEFAULT_CATALOG= ${PKG_SYSCONFDIR.xmlcatmgr}/sgml/catalog +XML_DEFAULT_CATALOG= ${PKG_SYSCONFDIR.xmlcatmgr}/xml/catalog +.else +SGML_DEFAULT_CATALOG= ${PKG_SYSCONFBASEDIR}/sgml/catalog +XML_DEFAULT_CATALOG= ${PKG_SYSCONFBASEDIR}/xml/catalog +.endif + +xmlcatmgr-buildlink: _BUILDLINK_USE + +.endif # XMLCATMGR_BUILDLINK2_MK |