diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/docbook-xsl/Makefile | 20 | ||||
-rw-r--r-- | textproc/docbook-xsl/Makefile.common | 20 |
2 files changed, 24 insertions, 16 deletions
diff --git a/textproc/docbook-xsl/Makefile b/textproc/docbook-xsl/Makefile index 5c944286f13..e85eb42bf6a 100644 --- a/textproc/docbook-xsl/Makefile +++ b/textproc/docbook-xsl/Makefile @@ -1,27 +1,18 @@ -# $NetBSD: Makefile,v 1.54 2011/04/19 06:32:47 roy Exp $ +# $NetBSD: Makefile,v 1.55 2011/04/19 10:04:18 roy Exp $ + +.include "Makefile.common" -DISTNAME= docbook-xsl-1.76.1 PKGREVISION= 1 -CATEGORIES= textproc -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/} -EXTRACT_SUFX= .tar.bz2 -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://docbook.sourceforge.net/ COMMENT= Docbook XSL modular stylesheet -PKG_DESTDIR_SUPPORT= user-destdir - DEPENDS+= docbook-xml>=4.2:../../textproc/docbook-xml -USE_LANGUAGES= # empty -USE_TOOLS+= pax perl:run -NO_BUILD= yes +USE_TOOLS+= perl:run REPLACE_PERL+= fo/pdf2index EGDIR= ${PREFIX}/share/examples/docbook-xsl -XSLDIR= ${PREFIX}/share/xsl/docbook # epub requires ruby, so we don't install the XSLMOD XSLMODS= common eclipse fo highlighting html \ htmlhelp images javahelp lib manpages params \ @@ -31,9 +22,6 @@ XML_CATALOGS= ${XSLDIR}/catalog.xml INSTALLATION_DIRS= ${EGDIR} ${XSLDIR} -post-extract: - ${RUN} ${RM} -f ${${FIND} ${WRKSRC} -type d:L:sh:=/.gitignore} - do-install: cd ${WRKSRC}/template && pax -rw -pp -pm . ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKSRC}/VERSION ${DESTDIR}${XSLDIR} diff --git a/textproc/docbook-xsl/Makefile.common b/textproc/docbook-xsl/Makefile.common new file mode 100644 index 00000000000..69fc32634cb --- /dev/null +++ b/textproc/docbook-xsl/Makefile.common @@ -0,0 +1,20 @@ +# $NetBSD: Makefile.common,v 1.1 2011/04/19 10:04:18 roy Exp $ + +DISTNAME= docbook-xsl-1.76.1 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://docbook.sourceforge.net/ + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # empty +USE_TOOLS+= pax +NO_BUILD= yes + +XSLDIR= ${PREFIX}/share/xsl/docbook + +post-extract: + ${RUN} ${RM} -f ${${FIND} ${WRKSRC} -type d:L:sh:=/.gitignore} |