2018-01-07 14:03:53 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.13 2018/01/07 13:04:35 rillig Exp $
|
2004-02-01 11:11:39 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= xmlcatmgr
|
2004-02-01 11:11:39 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(XMLCATMGR_BUILDLINK3_MK)
|
|
|
|
XMLCATMGR_BUILDLINK3_MK:=
|
2004-03-05 20:25:06 +01:00
|
|
|
|
2018-01-07 14:03:53 +01:00
|
|
|
BUILDLINK_API_DEPENDS.xmlcatmgr+= xmlcatmgr>=2.0beta1
|
2004-02-01 11:11:39 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.xmlcatmgr?= ../../textproc/xmlcatmgr
|
|
|
|
|
|
|
|
# Location of the xmlcatmgr binary program.
|
2015-11-25 13:53:42 +01:00
|
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
2004-02-01 11:11:39 +01:00
|
|
|
|
|
|
|
# System-wide configurable catalogs.
|
2004-03-05 20:25:06 +01:00
|
|
|
.if defined(PKG_SYSCONFDIR.xmlcatmgr) && !empty(PKG_SYSCONFDIR.xmlcatmgr)
|
2004-02-01 11:11:39 +01:00
|
|
|
SGML_DEFAULT_CATALOG= ${PKG_SYSCONFDIR.xmlcatmgr}/sgml/catalog
|
|
|
|
XML_DEFAULT_CATALOG= ${PKG_SYSCONFDIR.xmlcatmgr}/xml/catalog
|
2004-03-05 20:25:06 +01:00
|
|
|
.else
|
2004-02-01 11:11:39 +01:00
|
|
|
SGML_DEFAULT_CATALOG= ${PKG_SYSCONFBASEDIR}/sgml/catalog
|
|
|
|
XML_DEFAULT_CATALOG= ${PKG_SYSCONFBASEDIR}/xml/catalog
|
2004-03-05 20:25:06 +01:00
|
|
|
.endif
|
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # XMLCATMGR_BUILDLINK3_MK
|
2004-09-02 13:38:07 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -xmlcatmgr
|