summaryrefslogtreecommitdiff
path: root/textproc/iso8879/Makefile
blob: fa7201c5c58cc8982c67f3102541bce2713f02e3 (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.34 2014/10/09 14:07:02 wiz Exp $

DISTNAME=	ISOEnts
PKGNAME=	iso8879-1986
PKGREVISION=	8
CATEGORIES=	textproc
MASTER_SITES=	http://www.oasis-open.org/cover/
EXTRACT_SUFX=	.zip

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.iso.org/cate/d16387.html
COMMENT=	Character entity sets from ISO 8879:1986 (SGML)

WRKSRC=		${WRKDIR}
USE_TOOLS+=	unzip
EXTRACT_ONLY=	# empty
NO_BUILD=	yes

INSTALLATION_DIRS=	share/sgml/iso8879

INSTDIR=	${DESTDIR}${PREFIX}/share/sgml/iso8879

SGML_CATALOGS=	${PREFIX}/share/sgml/iso8879/catalog

do-install:
	@unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}
	@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog
	@${CHMOD} ${SHAREMODE} ${INSTDIR}/*
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}

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