diff --git a/app-text/lout/lout-3.42.1.recipe b/app-text/lout/lout-3.42.1.recipe new file mode 100644 index 000000000..d56bee224 --- /dev/null +++ b/app-text/lout/lout-3.42.1.recipe @@ -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 +}