#!/bin/sh

name="reed"
title="Reed"
package="reed"
version="5.3"
build="1"
noarch="n"
build_info="Standard build."

info="An autoscrolling pager for UNIX systems."
desc="Reed is a text pager I wrote for reading large files, such
as full books (usually Project Gutenberg ones). It's based loosely
off the excellent Palm DOC reader, CSpotRun. Anyone familiar
with the DOS pager Smooth should have little trouble with the
Reed interface, as well."
category="viewer/pager"
environment="console/curses"
contact="$name@packages.packware.gnu.pl"
vendor="Packware Project"
vendor_id="pw"

requires=""
obsoletes=""
conflicts=""

docs_source="AUTHORS,BUGS,COPYING,INSTALL,NEWS,README"
docs_cwd=""

strip_bin="y"
reset_own="y"
reset_dir="y"
reset_fil="y"
delete_cat="y"

. /usr/src/tgz/lib/builder.defs

add_source http://www.sacredchao.net/software/$name/$name-$version.tar.gz

apply_patch reed-am_cflags.pw.patch

install_option DESTDIR=$pkg_main

# Before compiling write the info file.
parent_package="$package"
write_info main

cd $src1

./configures --prefix=/usr

sed "s}share/man}man}" Makefile > Makefile.new
cat Makefile.new > Makefile

do_make
do_install

make_docs

make_package main

clean_up

# ChangeLog
#
# 2002/06/10 Jaroslaw Swierczynski <swiergot@intersec.pl>
# - Initial release.
#
