summaryrefslogtreecommitdiff
path: root/textproc/dsssl-docbook-modular
diff options
context:
space:
mode:
authorheinz <heinz>2008-01-14 23:18:12 +0000
committerheinz <heinz>2008-01-14 23:18:12 +0000
commit0678759b86f534c4f860edd8d81636767a0c7b18 (patch)
tree9b9dbe182d2ade0629d1e722245aa90a355b3ac9 /textproc/dsssl-docbook-modular
parent31ed79625bf10de11943f66d74a7909ae21ba1dd (diff)
downloadpkgsrc-0678759b86f534c4f860edd8d81636767a0c7b18.tar.gz
Added support for installation to DESTDIR and in doing so moved
files/install-note to MESSAGE.
Diffstat (limited to 'textproc/dsssl-docbook-modular')
-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/Makefile13
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"