# $Id: Portfile,v 1.1 2004/09/20 16:35:08 mww Exp $

PortSystem 1.0

name			createtorrent
version			1.0.0
categories		sysutils
platforms		darwin
maintainers		mww@opendarwin.org
description		command line utility to create BitTorrent files
long_description	CreateTorrent is a small and fast command line utility to \
				create BitTorrent files easily. BitTorrent files can be \
				made from either one file or a collection of files that are \
				grouped together into a directory.

homepage		http://www.createtorrent.com/
master_sites	${homepage}
checksums		md5 6bccec3874301050511b122a64a50beb
patchfiles		patch-configure

depends_lib		lib:libssl:openssl

configure.env	CFLAGS=-I${prefix}/include/ \
				LDFLAGS=-L${prefix}/lib/

post-destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog \
		${destroot}${prefix}/share/doc/${name}
}
