summaryrefslogtreecommitdiff
path: root/textproc/tei/Makefile
blob: 1b45365930f5472baaa075ffb882fad929de1a4f (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
# $NetBSD: Makefile,v 1.11 2009/03/06 22:27:36 minskim Exp $

DISTNAME=	dtd
PKGNAME=	tei-4
PKGREVISION=	5
CATEGORIES=	textproc
MASTER_SITES=	http://www.tei-c.org/P4X/DTD/
EXTRACT_SUFX=	.zip

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	http://www.tei-c.org/
COMMENT=	DTD of the Text Encoding Initiative

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/dtd
DIST_SUBDIR=	${PKGNAME_NOREV}nb3
NO_CONFIGURE=	YES
NO_BUILD=	YES

DTDDIR=		${DESTDIR}${PREFIX}/share/xml/tei

XML_CATALOGS=	${DTDDIR}/teicatalog.xml

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

do-install:
	${INSTALL_DATA} ${WRKSRC}/*.dtd ${DTDDIR}
	${INSTALL_DATA} ${WRKSRC}/*.ent ${DTDDIR}
	${INSTALL_DATA} ${WRKSRC}/*.dec ${DTDDIR}
	${INSTALL_DATA} ${WRKSRC}/teicatalog.xml ${DTDDIR}

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