summaryrefslogtreecommitdiff
path: root/textproc/iso12083/Makefile
blob: e48be304deb8d6efab12b62ba7769a3ed4925807 (plain)
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
# $NetBSD: Makefile,v 1.8 2003/03/29 12:42:37 jmmv Exp $
# FreeBSD Id: Makefile,v 1.2 1998/06/27 05:19:39 asami Exp
#

DISTNAME=	iso12083-1993
PKGREVISION=	2
WRKSRC=		${WRKDIR}
CATEGORIES=	textproc
MASTER_SITES=	ftp://info.ex.ac.uk/pub/SGML/ISO-12083/ \
		ftp://ftp.ifi.uio.no/pub/SGML/ISO12083/ \
		ftp://ftp.oit.unc.edu/pub/packages/SGML/oslo-mirror/ISO12083/
DISTFILES=	article.dtd book.dtd maths.dtd serial.dtd

MAINTAINER=	rh@NetBSD.ORG
HOMEPAGE=	http://www.oasis-open.org/cover/sgml-xml.html
COMMENT=	SGML DTDs from the The Electronic Publishing Special Interest Group

DIST_SUBDIR=	iso12083

NO_MTREE=	yes
NO_BUILD=	yes
EXTRACT_ONLY=	# empty
USE_BUILDLINK2=	yes

INSTDIR=	${PREFIX}/share/sgml/iso12083

SGML_CATALOGS=	${INSTDIR}/catalog

pre-install:
	${INSTALL_DATA_DIR} ${INSTDIR}

do-install:
	@for i in ${DISTFILES}; do \
		${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${INSTDIR}/$$i; \
	done
	@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog

.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"