# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-yenc
version			0.2
revision		1
categories		python
platforms		darwin
maintainers		nomaintainer
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
}
