a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name libb64
version 1.1
categories mail
platforms darwin
maintainers nomaintainer@macports.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
}