diff options
Diffstat (limited to 'net-news/tin')
-rw-r--r-- | net-news/tin/tin-1.4.5.ebuild | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/net-news/tin/tin-1.4.5.ebuild b/net-news/tin/tin-1.4.5.ebuild index 2664ce6ad016..19a01c80b95b 100644 --- a/net-news/tin/tin-1.4.5.ebuild +++ b/net-news/tin/tin-1.4.5.ebuild @@ -1,34 +1,43 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Michael Conrad Tilstra <tadpol@gentoo.org> <tadpol@tadpol.org> -# $Header: /var/cvsroot/gentoo-x86/net-news/tin/tin-1.4.5.ebuild,v 1.2 2002/03/06 18:55:22 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/tin/tin-1.4.5.ebuild,v 1.3 2002/07/17 02:39:13 seemant Exp $ -A=${P}.tar.gz S=${WORKDIR}/${P} -DESCRIPTION="" -SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/v1.4/${A}" +DESCRIPTION="A threaded NNTP and spool based UseNet newsreader" +SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/v1.4/${P}.tar.gz" HOMEPAGE="http://www.tin.org/" -DEPEND="virtual/glibc - ncurses? ( sys-libs/ncurses )" + +SLOT="0" +LICENSE="GPL" +KEYWORDS="x86" + +DEPEND="ncurses? ( sys-libs/ncurses )" src_compile() { - local myopts + local myconf - [ "`use ncurses`" ] && myopts="--enable-curses --with-ncurses" - [ -f /etc/NNTP_INEWS_DOMAIN ] && myopts="$myopts --with-domain-name=/etc/NNTP_INEWS_DOMAIN" + use ncurses && myconf="--enable-curses --with-ncurses" + [ -f /etc/NNTP_INEWS_DOMAIN ] \ + && myconf="${myconf} --with-domain-name=/etc/NNTP_INEWS_DOMAIN" - ./configure --verbose --enable-nntp-only --enable-prototypes --disable-echo \ - --disable-mime-strict-charset --with-coffee \ - --enable-fascist-newsadmin $myopts || die - make build || die + ./configure \ + --verbose \ + --enable-nntp-only \ + --enable-prototypes \ + --disable-echo \ + --disable-mime-strict-charset \ + --with-coffee \ + --enable-fascist-newsadmin \ + ${myconf} || die + make build || die } src_install() { - dobin src/tin - ln -s tin ${D}/usr/bin/rtin - doman doc/tin.1 - dodoc doc/* - insinto /etc/tin - doins doc/tin.defaults + dobin src/tin + ln -s tin ${D}/usr/bin/rtin + doman doc/tin.1 + dodoc doc/* + insinto /etc/tin + doins doc/tin.defaults } - |