dcff1da5be
solve problems shown in Hubert's bulk build.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2002/12/26 22:52:36 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= docbook-xsl-1.58.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
|
|
|
|
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 \
|
|
manpages params profiling tools xhtml
|
|
|
|
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}
|
|
@for d in ${XSLMODS}; do \
|
|
${ECHO} "${INSTALL_DATA_DIR} ${XSLDIR}/$$d"; \
|
|
${INSTALL_DATA_DIR} ${XSLDIR}/$$d; \
|
|
${ECHO} "cd ${WRKSRC} && ${PAX} -rwpppm $$d ${XSLDIR}/$$d"; \
|
|
cd ${WRKSRC} && ${PAX} -rwpppm $$d ${XSLDIR}/$$d; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|