pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/dsssl-docbook-modular Added support for insta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95e31ecf932b
branches:  trunk
changeset: 537724:95e31ecf932b
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Mon Jan 14 23:18:12 2008 +0000

description:
Added support for installation to DESTDIR and in doing so moved
files/install-note to MESSAGE.

diffstat:

 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(-)

diffs (81 lines):

diff -r 1cd29d1dee2f -r 95e31ecf932b textproc/dsssl-docbook-modular/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dsssl-docbook-modular/MESSAGE    Mon Jan 14 23:18:12 2008 +0000
@@ -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 -r 1cd29d1dee2f -r 95e31ecf932b textproc/dsssl-docbook-modular/Makefile
--- a/textproc/dsssl-docbook-modular/Makefile   Mon Jan 14 23:17:27 2008 +0000
+++ b/textproc/dsssl-docbook-modular/Makefile   Mon Jan 14 23:18:12 2008 +0000
@@ -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 @@
 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 @@
        @${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 -r 1cd29d1dee2f -r 95e31ecf932b textproc/dsssl-docbook-modular/files/install-note
--- a/textproc/dsssl-docbook-modular/files/install-note Mon Jan 14 23:17:27 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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/



Home | Main Index | Thread Index | Old Index