pkgsrc/textproc/iso8879/Makefile
2017-08-16 20:21:03 +00:00

32 lines
847 B
Makefile

# $NetBSD: Makefile,v 1.35 2017/08/16 20:21:15 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= https://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"