# Template file for 'groff'
pkgname=groff
version=1.19.2
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--with-appresdir=/usr/lib/X11/app-defaults"
short_desc="The GNU troff text-formatting system"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d864fbd0bf6dea24e4f71736da9902a1cae86d0a1a893b5fe17118927257ec3e
long_desc="
 The Groff package contains the traditional UN*X text formatting tools troff,
 nroff, tbl, eqn, and pic. These utilities, together with the man package,
 are essential for displaying the online manual pages. Output can be produced
 in a number of formats including plain ASCII and PostScript.

 All the standard macro packages are supported. A number of other utilities
 are also included together with several fonts."

disable_parallel_build=yes
run_depends="glibc-2.8"

pre_install()
{
	# The install target fails if the dir is not there already.
	mkdir -p $XBPS_DESTDIR/$pkgname-$version/usr
}
