diff options
author | roy <roy> | 2011-04-19 10:03:37 +0000 |
---|---|---|
committer | roy <roy> | 2011-04-19 10:03:37 +0000 |
commit | 74d91ed71651f880d1650297a4258b2e92b7f78e (patch) | |
tree | 03c04579f86e9021e42e85fa98c66dd532c4423e /textproc/dbtoepub | |
parent | 2c68fdbb5c34e564aef05d12c6d1defa5ebd6094 (diff) | |
download | pkgsrc-74d91ed71651f880d1650297a4258b2e92b7f78e.tar.gz |
Split dbtoepub off from docbook-xsl
Diffstat (limited to 'textproc/dbtoepub')
-rw-r--r-- | textproc/dbtoepub/DESCR | 5 | ||||
-rw-r--r-- | textproc/dbtoepub/Makefile | 25 | ||||
-rw-r--r-- | textproc/dbtoepub/PLIST | 6 | ||||
-rw-r--r-- | textproc/dbtoepub/distinfo | 5 |
4 files changed, 41 insertions, 0 deletions
diff --git a/textproc/dbtoepub/DESCR b/textproc/dbtoepub/DESCR new file mode 100644 index 00000000000..c7f54ccbaad --- /dev/null +++ b/textproc/dbtoepub/DESCR @@ -0,0 +1,5 @@ +dbtoepub is an alpha-quality reference implementation to convert DocBook +documents into the .epub format, an open standard for reflowable digital books +and publications (e-books). + +The .pub format is defined by the IDPF at http://ww.idpf.org diff --git a/textproc/dbtoepub/Makefile b/textproc/dbtoepub/Makefile new file mode 100644 index 00000000000..e821848169c --- /dev/null +++ b/textproc/dbtoepub/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2011/04/19 10:03:37 roy Exp $ +# + +.include "../../textproc/docbook-xsl/Makefile.common" + +PKGNAME= dbtoepub-${DISTNAME:S/docbook-xsl-//} +COMMENT= DocBook to epub converter + +DEPENDS+= \ + docbook-xsl>=${DISTNAME:S/docbook-xsl-//}:../../textproc/docbook-xsl + +REPLACE_RUBY+= epub/bin/dbtoepub + +do-install: + ${ECHO} "${INSTALL_DATA_DIR} ${DESTDIR}${XSLDIR}/epub" + ${ECHO} "cd ${WRKSRC} && pax -rw -pp -pm epub ${DESTDIR}${XSLDIR}/" + cd ${WRKSRC} && pax -rw -pp -pm epub ${DESTDIR}${XSLDIR}/ + for f in `${FIND} ${DESTDIR}${XSLDIR} -name \\*.orig -print` ; do \ + ${ECHO} "Remove .orig file $$f" ; \ + ${RM} $$f ; \ + done + +.include "../../lang/ruby/buildlink3.mk" +.include "../../lang/ruby/replace.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/dbtoepub/PLIST b/textproc/dbtoepub/PLIST new file mode 100644 index 00000000000..edf5c60b778 --- /dev/null +++ b/textproc/dbtoepub/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2011/04/19 10:03:37 roy Exp $ +share/xsl/docbook/epub/README +share/xsl/docbook/epub/bin/dbtoepub +share/xsl/docbook/epub/bin/lib/docbook.rb +share/xsl/docbook/epub/bin/xslt/obfuscate.xsl +share/xsl/docbook/epub/docbook.xsl diff --git a/textproc/dbtoepub/distinfo b/textproc/dbtoepub/distinfo new file mode 100644 index 00000000000..c034f898e4b --- /dev/null +++ b/textproc/dbtoepub/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2011/04/19 10:03:37 roy Exp $ + +SHA1 (docbook-xsl-1.76.1.tar.bz2) = dc9fa422c53e0a4f0e32b5c8ec896b39080bc14d +RMD160 (docbook-xsl-1.76.1.tar.bz2) = 83acc9ba6dc4df04cef98988cf007d8168301431 +Size (docbook-xsl-1.76.1.tar.bz2) = 3682531 bytes |