# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem 1.0
name       suck
version    4.3.2
categories net
maintainers gmail.com:springer.jonathan
description grab news from a remote NNTP news server.
platforms   darwin freebsd
long_description Suck is a program used to grab news from a remote NNTP news \
	server and bring it to your local machine, without the remote server \
	doing anything special. If you have read permission on the server, \
	you can use suck. Suck does NOT use the NEWNEWS command, hated by \
	many administrators.

homepage	http://home.comcast.net/~bobyetman/
master_sites	http://home.comcast.net/~bobyetman/
checksums	md5 b4de28e7f256ec3c2c388b2c984f30bf

depends_lib	port:gdbm port:openssl

patchfiles	patch-killfile.c

configure.cflags-append	"-L${prefix}/lib -I${prefix}/include"
configure.args	--mandir=\\\${prefix}/share/man

post-configure	{ reinplace "s/strip -s/strip/" "${worksrcpath}/Makefile" }

destroot.destdir	prefix=${destroot}${prefix}

