mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
lout, new recipe (#7160)
This commit is contained in:
54
app-text/lout/lout-3.42.1.recipe
Normal file
54
app-text/lout/lout-3.42.1.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY="A document formating system"
|
||||
DESCRIPTION="Lout is a document formatting system designed and implemented by Jeffrey Kingston at \
|
||||
the Basser Department of Computer Science, University of Sydney, Australia.
|
||||
The system reads a high-level description of a document similar in style to LaTeX and produces a \
|
||||
PostScript file which can be printed on most laser printers and graphic display devices.
|
||||
Plain text output is also available, PDF output is limited but working (e.g. no graphics).
|
||||
Lout is inherently multilingual. Adding new languages is easy."
|
||||
HOMEPAGE="https://github.com/william8000/lout"
|
||||
COPYRIGHT="1991-2010 Jeffrey H. Kingston"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/refs/tags/3.42.1.tar.gz"
|
||||
CHECKSUM_SHA256="b0b2f66a0f959bc80835966c69ae4d4eef2cb0def2b03e634bf1c7e55b1fe6dd"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
lout$secondaryArchSuffix = $portVersion
|
||||
cmd:lout = $portVersion
|
||||
cmd:prg2lout = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make PDF_COMPRESSION=1 ZLIB=-lz \
|
||||
PREFIX=$prefix \
|
||||
LIBDIR=$dataDir/lout-$portVersion \
|
||||
LOUTDOCDIR=$docDir \
|
||||
MANDIR=$manDir/man1 \
|
||||
all $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make PREFIX=$prefix \
|
||||
LIBDIR=$dataDir/lout-$portVersion \
|
||||
LOUTDOCDIR=$docDir \
|
||||
MANDIR=$manDir/man1 \
|
||||
allinstall
|
||||
}
|
||||
Reference in New Issue
Block a user