aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/db2latex/Makefile41
-rw-r--r--textproc/db2latex/distinfo2
-rw-r--r--textproc/db2latex/pkg-descr10
4 files changed, 54 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index fe1b98feba90..1636d117d6a1 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -49,6 +49,7 @@
SUBDIR += cy-aspell
SUBDIR += da-aspell
SUBDIR += dadadodo
+ SUBDIR += db2latex
SUBDIR += dbacl
SUBDIR += denature
SUBDIR += dict
diff --git a/textproc/db2latex/Makefile b/textproc/db2latex/Makefile
new file mode 100644
index 000000000000..fe62cc199554
--- /dev/null
+++ b/textproc/db2latex/Makefile
@@ -0,0 +1,41 @@
+# ex:ts=8
+# Ports collection makefile for: db2latex
+# Date created: Jun 24, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= db2latex
+PORTVERSION= 0.8p1
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-xsl-${PORTVERSION:S/p/pre/}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= DocBook to LaTeX XSL stylesheets
+
+RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
+ ${LOCALBASE}/share/xml/docbook/4.2/docbook.cat:${PORTSDIR}/textproc/docbook-xml \
+ ${LOCALBASE}/share/xsl/docbook/VERSION:${PORTSDIR}/textproc/docbook-xsl
+
+NO_BUILD= yes
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ ${CP} -R ${WRKSRC}/xsl ${DATADIR}
+ @${FIND} ${DATADIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${DATADIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/db2latex/distinfo b/textproc/db2latex/distinfo
new file mode 100644
index 000000000000..47fc0850cada
--- /dev/null
+++ b/textproc/db2latex/distinfo
@@ -0,0 +1,2 @@
+MD5 (db2latex-xsl-0.8pre1.tar.gz) = 18ef612e955aaa39b7c58beacd04ba4d
+SIZE (db2latex-xsl-0.8pre1.tar.gz) = 696369
diff --git a/textproc/db2latex/pkg-descr b/textproc/db2latex/pkg-descr
new file mode 100644
index 000000000000..068baee46a13
--- /dev/null
+++ b/textproc/db2latex/pkg-descr
@@ -0,0 +1,10 @@
+DB2LaTeX are a set of XSLT stylesheets which generate high level LaTeX2e from
+your docbook document. They do not perform any FO transformation, the only
+thing they do is to map DocBook tags into more or less standard LaTeX (a recent
+installation of LaTeX 2e is required, with most common packages. However, in
+more stable releases, package dependencies will be completely managed with xsl
+parameters, making it virtually compatible with basic LaTeX 2e installations).
+All the "styling" has to be done by modifying available xsl:params, overriding
+and customizing templates, and in the last, by adding your "sty" files.
+
+WWW: http://db2latex.sourceforge.net/