From b28adfa0c9e341ce6542bf182495b108366e3eeb Mon Sep 17 00:00:00 2001 From: heinz Date: Mon, 14 Jan 2008 23:18:12 +0000 Subject: Added support for installation to DESTDIR and in doing so moved files/install-note to MESSAGE. --- textproc/dsssl-docbook-modular/MESSAGE | 21 +++++++++++++++++++++ textproc/dsssl-docbook-modular/Makefile | 13 ++++++------- textproc/dsssl-docbook-modular/files/install-note | 16 ---------------- 3 files changed, 27 insertions(+), 23 deletions(-) create mode 100644 textproc/dsssl-docbook-modular/MESSAGE delete mode 100644 textproc/dsssl-docbook-modular/files/install-note (limited to 'textproc') diff --git a/textproc/dsssl-docbook-modular/MESSAGE b/textproc/dsssl-docbook-modular/MESSAGE new file mode 100644 index 00000000000..1ec3c050727 --- /dev/null +++ b/textproc/dsssl-docbook-modular/MESSAGE @@ -0,0 +1,21 @@ +=========================================================================== +$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 ) + +To further parse the output of the 'tex' transformation you will need the +'jadetex' macros. + +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" diff --git a/textproc/dsssl-docbook-modular/files/install-note b/textproc/dsssl-docbook-modular/files/install-note deleted file mode 100644 index cf04d37c7d7..00000000000 --- a/textproc/dsssl-docbook-modular/files/install-note +++ /dev/null @@ -1,16 +0,0 @@ -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 ) - -To further parse the output of the 'tex' transformation you will need the -'jadetex' macros. - -More documentation (in HTML format) is available in - - /usr/pkg/share/sgml/docbook/dsssl/modular/doc/ -- cgit v1.2.3