summaryrefslogtreecommitdiff
path: root/textproc/iso12083/Makefile
blob: 6dc8d9356da9e9f729fa3425013a6ae7bba0d790 (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
# $NetBSD: Makefile,v 1.22 2013/12/23 11:57:06 wiz Exp $

DISTNAME=	iso12083-1993
PKGREVISION=	5
CATEGORIES=	textproc
MASTER_SITES=	ftp://ftp.ifi.uio.no/pub/SGML/ISO12083/
DISTFILES=	article.dtd book.dtd maths.dtd serial.dtd

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://xml.coverpages.org/sgml-xml.html
COMMENT=	SGML DTDs from the The Electronic Publishing Special Interest Group

DIST_SUBDIR=	iso12083

WRKSRC=		${WRKDIR}
NO_BUILD=	yes
EXTRACT_ONLY=	# empty

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

SGML_CATALOGS=	${INSTDIR}/catalog

INSTALLATION_DIRS=	${INSTDIR}

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

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