aboutsummaryrefslogtreecommitdiff
path: root/textproc/dtd-catalogs/Makefile
blob: 401b1ad7f3edd3fdbdf7eb7807676c1b2b8f0d2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:	dtd-catalogs
# Version required:	1.0
# Date created:		23 January 1999
# Whom:			shige
#
# $FreeBSD$
#

DISTNAME=	dtd-catalogs-1.0
CATEGORIES=	textproc
MASTER_SITES=	# empty
DISTFILES=	# empty

MAINTAINER=	shige@FreeBSD.org

RUN_DEPENDS=	${ISO8879_CAT}:${PORTSDIR}/textproc/iso8879 \
		${ISO12083_CAT}:${PORTSDIR}/textproc/iso12083 \
		${HTML_CAT}:${PORTSDIR}/textproc/html \
		${DOCBOOK_CAT}:${PORTSDIR}/textproc/docbook \
		${LINUXDOC_CAT}:${PORTSDIR}/textproc/linuxdoc

# DOCBOOK_CAT catalog is only for dependency.
DOCBOOK_CAT=	${LOCALBASE}/share/sgml/docbook/catalog

# The following catalogs are listed in catalog-list-file actually.
ISO8879_CAT=	${LOCALBASE}/share/sgml/iso8879/catalog
ISO12083_CAT=	${LOCALBASE}/share/sgml/iso12083/catalog
HTML_CAT=	${LOCALBASE}/share/sgml/html/catalog
DOCBOOK241_CAT=	${LOCALBASE}/share/sgml/docbook/2.4.1/catalog
DOCBOOK300_CAT=	${LOCALBASE}/share/sgml/docbook/3.0/catalog
DOCBOOK310_CAT=	${LOCALBASE}/share/sgml/docbook/3.1/catalog
LINUXDOC_CAT=	${LOCALBASE}/share/sgml/linuxdoc/catalog

ALL_CATALOGS=	${ISO8879_CAT} ${ISO12083_CAT} ${HTML_CAT} \
		${DOCBOOK241_CAT} ${DOCBOOK300_CAT} ${DOCBOOK310_CAT} \
		${LINUXDOC_CAT}

CATALOG=	${LOCALBASE}/share/sgml/catalog

EXTRACT_ONLY=	# empty
NO_BUILD=	yes

do-install:	# empty
	@([ -f ${CATALOG} ] && ${MV} ${CATALOG} ${CATALOG}.orig; \
	  ${TOUCH} ${CATALOG}; \
	  for i in ${ALL_CATALOGS}; do \
	  	${ECHO} "CATALOG \"$${i}\"" >> ${CATALOG}; \
	  done)

.include <bsd.port.mk>