Files
haikuports/app-text/dblatex/dblatex-0.3.12.recipe
2023-01-27 18:37:15 +01:00

123 lines
2.0 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="DocBook to LaTeX/ConTeXt Publishing"
DESCRIPTION="dblatex is a program that transforms your SGML/XML DocBook \
documents to DVI, PostScript or PDF by translating them into pure LaTeX as a \
first process. MathML 2.0 markups are supported, too. It started as a clone \
of DB2LaTeX."
HOMEPAGE="http://dblatex.sourceforge.net/"
COPYRIGHT="20032020 Benoit Guillon"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/dblatex-$portVersion/dblatex3-$portVersion.tar.bz2"
CHECKSUM_SHA256="16e82786272ed1806a079d37914d7ba7a594db792dc4cc34c1c3737dbd4da079"
SOURCE_DIR="dblatex3-$portVersion"
ARCHITECTURES="any"
PROVIDES="
dblatex = $portVersion
cmd:dblatex
"
REQUIRES="
haiku
cmd:convert
cmd:epstopdf
cmd:fig2dev
cmd:kpsewhich
cmd:latex
cmd:makeindex
cmd:pdflatex
cmd:python3
tex:amsfonts
tex:amsmath
tex:anysize
tex:appendix
tex:bookmark
tex:changebar
tex:colortbl
tex:courier
tex:fancybox
tex:fancyhdr
tex:fancyvrb
tex:float
tex:footmisc
tex:graphics
tex:hyperref
tex:iftex
tex:jknapltx
tex:latex
tex:listings
tex:multirow
tex:overpic
tex:pdfpages
tex:psnfss
tex:refcount
tex:stmaryrd
tex:subfigure
tex:titlesec
tex:tools
tex:wasysym
"
BUILD_REQUIRES="
haiku_devel
cmd:convert
cmd:epstopdf
cmd:fig2dev
cmd:kpsewhich
cmd:latex
cmd:makeindex
cmd:pdflatex
setuptools_python3
tex:amsfonts
tex:amsmath
tex:anysize
tex:appendix
tex:bookmark
tex:changebar
tex:colortbl
tex:courier
tex:fancybox
tex:fancyhdr
tex:fancyvrb
tex:float
tex:footmisc
tex:graphics
tex:hyperref
tex:iftex
tex:jknapltx
tex:latex
tex:listings
tex:multirow
tex:overpic
tex:pdfpages
tex:psnfss
tex:refcount
tex:stmaryrd
tex:subfigure
tex:titlesec
tex:tools
tex:wasysym
"
BUILD_PREREQUIRES="
cmd:python3
cmd:sed
"
PATCH()
{
sed -i "s|share/dblatex|$relativeDataDir/dblatex|
s|share/doc/dblatex|$relativeDocDir|
s|share/man|$relativeManDir|" setup.py
}
BUILD()
{
rm -rf build
python3 setup.py build
}
INSTALL()
{
python3 setup.py install --prefix="$prefix"
}