mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
add db2latex 0.8 pre1
DocBook to LaTeX XSL stylesheets
This commit is contained in:
parent
d1225b56ad
commit
8c348c8141
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112100
4 changed files with 54 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
|||
SUBDIR += cy-aspell
|
||||
SUBDIR += da-aspell
|
||||
SUBDIR += dadadodo
|
||||
SUBDIR += db2latex
|
||||
SUBDIR += dbacl
|
||||
SUBDIR += denature
|
||||
SUBDIR += dict
|
||||
|
|
41
textproc/db2latex/Makefile
Normal file
41
textproc/db2latex/Makefile
Normal file
|
@ -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>
|
2
textproc/db2latex/distinfo
Normal file
2
textproc/db2latex/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (db2latex-xsl-0.8pre1.tar.gz) = 18ef612e955aaa39b7c58beacd04ba4d
|
||||
SIZE (db2latex-xsl-0.8pre1.tar.gz) = 696369
|
10
textproc/db2latex/pkg-descr
Normal file
10
textproc/db2latex/pkg-descr
Normal file
|
@ -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/
|
Loading…
Add table
Reference in a new issue