# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 84550 2011-09-27 21:05:11Z snc@macports.org $

PortSystem 1.0
name       suck
version    4.3.2
revision        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}

