# $NetBSD: Makefile,v 1.6 2003/01/29 21:28:26 jmmv Exp $ # DISTNAME= docbook-xsl-1.60.1 PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/} MAINTAINER= jmmv@netbsd.org HOMEPAGE= http://docbook.sourceforge.net/ COMMENT= Docbook XSL modular stylesheet DEPENDS= docbook-xml>=4.2:../../textproc/docbook-xml NO_BUILD= YES NO_CONFIGURE= YES NO_PATCH= YES USE_BUILDLINK2= YES DOCDIR= ${PREFIX}/share/doc/docbook-xsl EGDIR= ${PREFIX}/share/examples/docbook-xsl XSLDIR= ${PREFIX}/share/xsl/docbook XSLMODS= common extensions fo html htmlhelp images javahelp \ lib manpages params profiling tools xhtml XML_CATALOGS= ${XSLDIR}/catalog do-install: ${INSTALL_DATA_DIR} ${DOCDIR} cd ${WRKSRC}/doc && ${PAX} -rwpppm . ${DOCDIR} ${INSTALL_DATA_DIR} ${EGDIR} cd ${WRKSRC}/template && ${PAX} -rwpppm . ${EGDIR} ${INSTALL_DATA_DIR} ${XSLDIR} ${INSTALL_DATA} ${WRKSRC}/VERSION ${XSLDIR} @for d in ${XSLMODS}; do \ ${ECHO} "${INSTALL_DATA_DIR} ${XSLDIR}/$$d"; \ ${ECHO} "cd ${WRKSRC} && ${PAX} -rwpppm $$d ${XSLDIR}/"; \ cd ${WRKSRC} && ${PAX} -rwpppm $$d ${XSLDIR}/; \ done ${INSTALL_DATA} ${FILESDIR}/catalog ${XSLDIR}/catalog .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk"