PortSystem 1.0

name			nget
version			0.27.1
categories		news
license			GPL-2+
platforms		darwin
maintainers		nomaintainer
description		nget is a command line nntp file grabber
long_description	nget is a command line nntp file grabber. It automatically \
				pieces together multipart postings for easy retrieval, even \
				substituting parts from multiple servers and newsgroups. \
				Handles disconnects gracefully, resuming after the last part \
				succesfully downloaded.

homepage		http://nget.sourceforge.net/
master_sites	sourceforge:project/nget/nget/${version}
checksums		md5 0710a25aebede4799bd9ca3756573f6a

depends_lib		port:popt port:uudeview

patchfiles      patch-auto_map.h

# Same issue as par2 and libpar2
# ./par2/par2fileformat.h:89:25: error: flexible array member 'entries' of non-POD element type 'FILEVERIFICATIONENTRY []'
compiler.blacklist  *clang*

configure.args	--mandir='\${prefix}/share/man'
configure.cxxflags-append	"-I${prefix}/include"

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