mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
125 lines
4.7 KiB
Bash
125 lines
4.7 KiB
Bash
SUMMARY="GNU troff typesetting package"
|
|
DESCRIPTION="groff (GNU roff) is a typesetting system that reads plain text input files that \
|
|
include formatting commands to produce output in PostScript, PDF, HTML, or DVI formats or for \
|
|
display to a terminal. Formatting commands can be low-level typesetting primitives, macros from a \
|
|
supplied package, or user-defined macros. All three approaches can be combined.
|
|
|
|
A reimplementation and extension of the typesetter from AT&T Unix, groff is present on most POSIX \
|
|
systems owing to its long association with Unix manuals (including man pages). It and its \
|
|
predecessor are notable for their production of several best-selling software engineering texts. \
|
|
groff is capable of producing typographically sophisticated documents while consuming minimal \
|
|
system resources."
|
|
HOMEPAGE="http://www.gnu.org/software/groff/"
|
|
COPYRIGHT="1996-2022 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://ftp.gnu.org/gnu/groff/groff-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
|
|
commandBinDir=$binDir
|
|
commandSuffix=$secondaryArchSuffix
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
groff$secondaryArchSuffix = $portVersion compat >= 1.20
|
|
cmd:addftinfo$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:afmtodit$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:chem$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:eqn$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:eqn2graph$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:gdiffmk$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:glilypond$commandSuffix = $portVersion compat >= 1.22
|
|
cmd:gperl$commandSuffix = $portVersion compat >= 1.22
|
|
cmd:gpinyin$commandSuffix = $portVersion compat >= 1.22
|
|
cmd:grap2graph$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:grn$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:grodvi$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:groff$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:groffer$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:grog$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:grolbp$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:grolj4$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:gropdf$commandSuffix = $portVersion compat >= 1.22
|
|
cmd:grops$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:grotty$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:hpftodit$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:indxbib$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:lkbib$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:lookbib$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:mmroff$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:neqn$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:nroff$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:pdfmom$commandSuffix = $portVersion compat >= 1.22
|
|
cmd:pdfroff$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:pfbtops$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:pic$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:pic2graph$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:post_grohtml$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:pre_grohtml$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:preconv$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:refer$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:roff2dvi$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:roff2html$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:roff2pdf$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:roff2ps$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:roff2text$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:roff2x$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:soelim$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:tbl$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:tfmtodit$commandSuffix = $portVersion compat >= 1.20
|
|
cmd:troff$commandSuffix = $portVersion compat >= 1.20
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libuchardet$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libgs$secondaryArchSuffix
|
|
devel:libuchardet$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:bison
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:pnmcrop
|
|
cmd:pnmtopng
|
|
cmd:pnmtops
|
|
cmd:psselect
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$commandBinDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/charset.alias
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|