2008-10-25 02:50:55 +02:00
|
|
|
# Template file for 'groff'
|
|
|
|
pkgname=groff
|
2011-01-04 16:22:24 +01:00
|
|
|
version=1.21
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/groff/groff-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2010-10-26 15:56:48 +02:00
|
|
|
configure_args="--without-x"
|
2011-11-12 06:01:02 +01:00
|
|
|
revision=1
|
2008-10-25 02:50:55 +02:00
|
|
|
short_desc="The GNU troff text-formatting system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-01-04 16:22:24 +01:00
|
|
|
checksum=344e6af5480e7ab4ec51e2a2ed10acd69ba3e062d285b6d5f6d49fb5ed2f9f7a
|
2008-10-25 02:50:55 +02:00
|
|
|
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."
|
|
|
|
|
2010-10-26 15:56:48 +02:00
|
|
|
subpackages="groff-doc"
|
|
|
|
|
2010-01-10 15:13:00 +01:00
|
|
|
Add_dependency run zlib
|
2009-10-30 22:14:09 +01:00
|
|
|
Add_dependency build bison
|
2010-01-10 15:13:00 +01:00
|
|
|
Add_dependency build zlib-devel
|
|
|
|
Add_dependency full bash
|
|
|
|
Add_dependency full sed
|
2010-10-26 15:56:48 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove unused stuff.
|
|
|
|
rm -rf ${DESTDIR}/usr/lib
|
|
|
|
|
|
|
|
# From Arch:
|
|
|
|
#
|
|
|
|
# Fix some issues when encoding to utf8 man pages
|
|
|
|
# The output chars don't match keyboard chars...
|
|
|
|
for f in man mdoc; do
|
|
|
|
cat ${FILESDIR}/site.tmac >> \
|
|
|
|
${DESTDIR}/usr/share/groff/site-tmac/${f}.local
|
|
|
|
done
|
|
|
|
}
|