2002-08-22 13:22:04 +02:00
|
|
|
# $NetBSD: Makefile,v 1.2 2002/08/22 11:22:04 martti Exp $
|
2001-11-04 23:46:58 +01:00
|
|
|
#
|
|
|
|
|
2002-08-22 13:22:04 +02:00
|
|
|
DISTNAME= docbook-xml-4.2
|
2001-11-04 23:46:58 +01:00
|
|
|
CATEGORIES= textproc
|
2002-08-22 13:22:04 +02:00
|
|
|
MASTER_SITES= http://www.oasis-open.org/docbook/xml/4.2/
|
2001-11-04 23:46:58 +01:00
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= seb@netbsd.org
|
|
|
|
HOMEPAGE= http://www.oasis-open.org/docbook
|
|
|
|
COMMENT= XML DTD designed for computer documentation
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
|
|
|
INSTDIR= ${DESTDIR}${PREFIX}/share/xml
|
|
|
|
DTDDIR= ${INSTDIR}/docbook
|
|
|
|
ENTDIR= ${INSTDIR}/docbook/ent
|
|
|
|
DTDFILES= calstblx.dtd dbcentx.mod dbgenent.mod dbhierx.mod \
|
|
|
|
dbnotnx.mod dbpoolx.mod docbookx.dtd soextblx.dtd
|
2002-08-22 13:22:04 +02:00
|
|
|
MISCFILES= README
|
2001-11-04 23:46:58 +01:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${ECHO} 'CATALOG "${PREFIX}/share/xml/docbook/catalog"' \
|
|
|
|
> ${WRKSRC}/catalog
|
|
|
|
${GREP} '^PUBLIC' ${WRKSRC}/docbook.cat > ${WRKSRC}/catalog.docbook
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DTDDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${ENTDIR}
|
|
|
|
(cd ${WRKSRC}; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR})
|
|
|
|
(cd ${WRKSRC}/ent; ${INSTALL_DATA} *.ent ${ENTDIR})
|
|
|
|
(cd ${WRKSRC}; ${INSTALL_DATA} ${MISCFILES} ${DTDDIR})
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/catalog ${INSTDIR}/catalog
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/catalog.docbook ${DTDDIR}/catalog
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|