# $Id: Portfile,v 1.26 2004/05/18 01:59:47 mww Exp $

PortSystem 1.0
name		fetch
version		4.6.2-RELEASE
revision	1
categories	net
maintainers	eric@opendarwin.org
description	FreeBSD file fetching utility
platforms	darwin
use_bzip2	yes
master_sites	opendarwin
checksums	md5 08c3a2b57be775c1d630f5a9097451d1
worksrcdir	${portname}
use_configure	no
depends_lib	lib:libfetch.3:libfetch
build.type	bsd
build.args	CFLAGS+=-I${prefix}/include LDADD+=-L${prefix}/lib\\ -lfetch

destroot	{ cd ${workpath}/${worksrcdir}
		xinstall -m 755 fetch ${destroot}${prefix}/bin
		xinstall -m 644 -c fetch.1 ${destroot}${prefix}/share/man/man1 }
