# $Id: Portfile,v 1.2 2005/12/04 22:23:43 mww Exp $

PortSystem 1.0

name			libb64
version			1.1
categories		mail
platforms		darwin
maintainers		mww@opendarwin.org
description		C library for fast encoding/decoding into and from base64
long_description	\
libb64 is a library of ANSI C routines for fast encoding/decoding data into \
and from a base64-encoded format. C++ wrappers are included, as well as the \
source code for standalone encoding and decoding executables.

homepage		http://libb64.sourceforge.net/
master_sites	sourceforge
distname		${distname}.src
checksums		md5 bd4e95e62f2dd8a220503e0bf5a2dfad

worksrcdir		${name}

use_configure	no

destroot {
	xinstall -m 755 -W ${worksrcpath}/src b64dec b64enc decoder encoder \
		${destroot}${prefix}/bin
	xinstall -m 644 ${worksrcpath}/src/libb64.a \
		${destroot}${prefix}/lib
	file copy ${worksrcpath}/include/b64 ${destroot}${prefix}/include
}

