diff options
author | heinz <heinz@pkgsrc.org> | 2008-01-14 23:18:12 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-01-14 23:18:12 +0000 |
commit | b28adfa0c9e341ce6542bf182495b108366e3eeb (patch) | |
tree | 9b9dbe182d2ade0629d1e722245aa90a355b3ac9 /textproc | |
parent | 7b4447907cdba29d2af79d1b59d042daa773fcc8 (diff) | |
download | pkgsrc-b28adfa0c9e341ce6542bf182495b108366e3eeb.tar.gz |
Added support for installation to DESTDIR and in doing so moved
files/install-note to MESSAGE.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/dsssl-docbook-modular/MESSAGE (renamed from textproc/dsssl-docbook-modular/files/install-note) | 11 | ||||
-rw-r--r-- | textproc/dsssl-docbook-modular/Makefile | 13 |
2 files changed, 14 insertions, 10 deletions
diff --git a/textproc/dsssl-docbook-modular/files/install-note b/textproc/dsssl-docbook-modular/MESSAGE index cf04d37c7d7..1ec3c050727 100644 --- a/textproc/dsssl-docbook-modular/files/install-note +++ b/textproc/dsssl-docbook-modular/MESSAGE @@ -1,12 +1,15 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2008/01/14 23:18:12 heinz Exp $ + These are DSSSL stylesheets for the DocBook DTD by Norm Walsh. Use them in conjunction with a DSSSL processor (such as jade) to convert documents marked up as DocBook to other formats. For example (assume $DBPATH = /usr/pkg/share/sgml/docbook/dsssl/modular) - jade -t sgml -d $DBPATH/html/docbook.dsl filename.sgml (DocBook -> HTML) - jade -t rtf -d $DBPATH/print/docbook.dsl filename.sgml (DocBook -> RTF ) - jade -t tex -d $DBPATH/print/docbook.dsl filename.sgml (DocBook -> TeX ) + jade -t sgml -d $DBPATH/html/docbook.dsl filename.sgml (DocBook -> HTML) + jade -t rtf -d $DBPATH/print/docbook.dsl filename.sgml (DocBook -> RTF ) + jade -t tex -d $DBPATH/print/docbook.dsl filename.sgml (DocBook -> TeX ) To further parse the output of the 'tex' transformation you will need the 'jadetex' macros. @@ -14,3 +17,5 @@ To further parse the output of the 'tex' transformation you will need the More documentation (in HTML format) is available in /usr/pkg/share/sgml/docbook/dsssl/modular/doc/ + +=========================================================================== diff --git a/textproc/dsssl-docbook-modular/Makefile b/textproc/dsssl-docbook-modular/Makefile index b2bb25ed14a..4097c7c8bd0 100644 --- a/textproc/dsssl-docbook-modular/Makefile +++ b/textproc/dsssl-docbook-modular/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2006/03/21 06:00:49 jlam Exp $ +# $NetBSD: Makefile,v 1.31 2008/01/14 23:18:12 heinz Exp $ DISTNAME= docbook-dsssl-1.79 PKGNAME= dsssl-docbook-modular-1.79 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://docbook.sourceforge.net/ COMMENT= DSSSL stylesheets for the DocBook DTD +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= docbook>=4.0:../../textproc/docbook NO_MTREE= yes @@ -25,14 +27,11 @@ do-build: @${RM} -rf ${WRKSRC}/docsrc pre-install: - ${INSTALL_DATA_DIR} ${INSTDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${INSTDIR} do-install: - @${CP} -rp ${WRKSRC}/* ${INSTDIR} - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} - -post-install: - @${CAT} ${FILESDIR}/install-note + @${CP} -rp ${WRKSRC}/* ${DESTDIR}${INSTDIR} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${INSTDIR} .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk" |