# $Id: Portfile,v 1.4 2004/12/29 12:26:50 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-yenc
version			0.2
revision		1
categories		python
platforms		darwin
maintainers		mww@opendarwin.org
description		provides raw yEnc encoding/decoding with crc32 calculation
long_description	py-yenc provides (only) raw yEnc encoding/decoding \
				with builitin crc32 calculation.

homepage		http://golug.cc.uniud.it/yenc.html
master_sites	http://golug.cc.uniud.it/pub/yenc/
distname		yenc-${version}
checksums		md5 2f1162447da3a25feb321e6776bdbb0a
patchfiles		patch-yenc.c.diff \
				patch-yenc.h.diff \
				patch-yenc_wrap.c.diff

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README TODO \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/examples logo.gif logo.yenc \
		ydecode.py yencode.py \
		${destroot}${prefix}/share/doc/${name}/examples
}
