17e39f419d
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice.
37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.13 2018/01/07 13:04:35 rillig 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.
|
|
#
|
|
|
|
BUILDLINK_TREE+= xmlcatmgr
|
|
|
|
.if !defined(XMLCATMGR_BUILDLINK3_MK)
|
|
XMLCATMGR_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.xmlcatmgr+= xmlcatmgr>=2.0beta1
|
|
BUILDLINK_PKGSRCDIR.xmlcatmgr?= ../../textproc/xmlcatmgr
|
|
|
|
# Location of the xmlcatmgr binary program.
|
|
XMLCATMGR= ${LOCALBASE}/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
|
|
|
|
.endif # XMLCATMGR_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -xmlcatmgr
|