summaryrefslogtreecommitdiffstats
path: root/abs/core/man
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core/man
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core/man')
-rw-r--r--abs/core/man/PKGBUILD31
-rw-r--r--abs/core/man/man-troff.patch16
-rwxr-xr-xabs/core/man/whatis.cron.daily9
3 files changed, 56 insertions, 0 deletions
diff --git a/abs/core/man/PKGBUILD b/abs/core/man/PKGBUILD
new file mode 100644
index 0000000..6cb2bf0
--- /dev/null
+++ b/abs/core/man/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=man
+pkgver=1.6f
+pkgrel=11
+pkgdesc="A utility for reading man pages"
+arch=('i686' 'x86_64')
+url="http://primates.ximian.com/~flucifredi/man/"
+license=('GPL')
+groups=('base')
+depends=('groff' 'less' 'gzip' 'awk' 'coreutils' 'sh' 'diffutils')
+backup=(etc/man.conf)
+source=(http://primates.ximian.com/~flucifredi/man/man-$pkgver.tar.gz \
+ whatis.cron.daily man-troff.patch)
+md5sums=('67aaaa6df35215e812fd7d89472c44b6'
+ 'b86a5f2dd87c6be30421a8813547229d'
+ '21541cb3073259f7fb9335675ca41b0e')
+options=(!emptydirs)
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ patch -Np1 -i ../man-troff.patch || return 1
+ ./configure -confdir='/etc' -d +lang all -mandir=/usr/share/man
+ make || return 1
+ make PREFIX=$startdir/pkg install || return 1
+
+ sed -i "s|-Tlatin1||g" $startdir/pkg/etc/man.conf
+
+ #install whatis cron script
+ install -D -m744 ../whatis.cron.daily $startdir/pkg/etc/cron.daily/whatis
+}
diff --git a/abs/core/man/man-troff.patch b/abs/core/man/man-troff.patch
new file mode 100644
index 0000000..e08e931
--- /dev/null
+++ b/abs/core/man/man-troff.patch
@@ -0,0 +1,16 @@
+diff -Naur man-1.5p-orig/src/man.conf.in man-1.5p/src/man.conf.in
+--- man-1.5p-orig/src/man.conf.in 2005-01-08 10:50:45.000000000 -0800
++++ man-1.5p/src/man.conf.in 2005-03-18 13:22:17.000000000 -0800
+@@ -88,9 +88,9 @@
+ # If you have a new troff (version 1.18.1?) and its colored output
+ # causes problems, add the -c option to TROFF, NROFF, JNROFF.
+ #
+-TROFF @troff@
+-NROFF @nroff@
+-JNROFF @jnroff@
++TROFF @troff@ -c
++NROFF @nroff@ -c
++JNROFF @jnroff@ -c
+ EQN @eqn@
+ NEQN @neqn@
+ JNEQN @jneqn@
diff --git a/abs/core/man/whatis.cron.daily b/abs/core/man/whatis.cron.daily
new file mode 100755
index 0000000..6332d80
--- /dev/null
+++ b/abs/core/man/whatis.cron.daily
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Make sure MANPATH is complete
+source /etc/profile
+source /etc/profile.d/* 2>/dev/null
+
+# Update the "whatis" database
+/usr/sbin/makewhatis -u -w
+