Tidy up release
[git/cygwin-packages/man-db.git] / man-db.cygport
1 NAME="man-db"
2 VERSION=2.6.7
3 RELEASE=2
4 CATEGORY="Base"
5 SUMMARY="Man page viewer"
6 DESCRIPTION="man-db is an implementation of the standard Unix documentation
7 system accessed using the man command. It uses a Berkeley DB database in place
8 of the traditional flat-text whatis databases."
9 HOMEPAGE="http://www.nongnu.org/man-db/"
10 SRC_URI="mirror://savannah/man-db/man-db-${VERSION}.tar.xz"
11 PATCH_URI="
12 2.6.7-shared-libman.patch
13 "
14
15 PKG_NAMES=${NAME}
16 man_db_OBSOLETES="man"
17 man_db_REQUIRES="groff gzip less lynx util-linux"
18 man_db_CONTENTS="etc/defaults/ etc/p* usr/bin/ usr/libexec/ usr/sbin/
19 usr/share/doc/ usr/share/locale/ usr/share/man/ var/cache/man/"
20 PKG_IGNORE="usr/lib/man-db/libman*"
21
22 # Build dependencies only
23 DEPEND="groff libgdbm-devel libpipeline-devel check po4a"
24
25 CYGCONF_ARGS="
26 --disable-setuid
27 --with-browser=lynx
28 --with-pager=less
29 --with-db=gdbm
30 "
31
32 src_test() {
33 cd ${B}
34 unset MANPATH
35 cygtest
36 }
37
38 src_install() {
39 cd ${B}
40 cyginstall
41 make_etc_defaults /etc/man_db.conf
42 keepdir /var/cache/man
43
44 # In Fedora, zsoelim is in groff as a symlink to soelim(1)
45 # rm -f ${D}/usr/bin/zsoelim.exe ${D}/usr/share/man/man1/zsoelim.*
46 }
This page took 0.033099 seconds and 5 git commands to generate.