Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (29 sloc) 1.234 kB
# $NetBSD: Makefile,v 1.56 2012/10/03 21:57:47 wiz Exp $
.include "Makefile.common"
PKGREVISION= 2
COMMENT= Docbook XSL modular stylesheet
DEPENDS+= docbook-xml>=4.2:../../textproc/docbook-xml
USE_TOOLS+= perl:run
REPLACE_PERL+= fo/pdf2index
EGDIR= ${PREFIX}/share/examples/docbook-xsl
# epub requires ruby, so we don't install the XSLMOD
XSLMODS= common eclipse fo highlighting html \
htmlhelp images javahelp lib manpages params \
profiling roundtrip slides website xhtml xhtml-1_1
XML_CATALOGS= ${XSLDIR}/catalog.xml
INSTALLATION_DIRS= ${EGDIR} ${XSLDIR}
do-install:
cd ${WRKSRC}/template && pax -rw -pp -pm . ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/VERSION ${DESTDIR}${XSLDIR}
${INSTALL_DATA} ${WRKSRC}/catalog.xml ${DESTDIR}${XSLDIR}/catalog.xml
set -e; for d in ${XSLMODS}; do \
${ECHO} "${INSTALL_DATA_DIR} ${DESTDIR}${XSLDIR}/$$d"; \
${ECHO} "cd ${WRKSRC} && pax -rw -pp -pm $$d ${DESTDIR}${XSLDIR}/"; \
cd ${WRKSRC} && pax -rw -pp -pm $$d ${DESTDIR}${XSLDIR}/; \
done
set -e; for f in `${FIND} ${DESTDIR}${XSLDIR} -name \\*.orig -print` ; do \
${ECHO} "Remove .orig file $$f" ; \
${RM} $$f ; \
done
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.