# $Id$

PortSystem 1.0

name			libmd
version			0.3
revision		1
categories		devel
license			Permissive Noncommercial public-domain
platforms		darwin
maintainers		nomaintainer
description		Libmd is a cryptographic message digest library
long_description	${description}

homepage		http://www.penguin.cz/~mhi/libmd/
master_sites	ftp://ftp.penguin.cz/pub/users/mhi/libmd/
checksums		sha1 cae4815cd0eff38de800a2cb36de20dcaaad37f7
use_bzip2		yes
patchfiles		patch-Makefile.in patch-rmd160.h

configure.args	--includedir=${prefix}/include/libmd/ \
				--host=powerpc-apple-freebsd

post-destroot {
	set ln	"ln -sf libmd.1.0.dylib"
	system "cd ${destroot}${prefix}/lib && ${ln} libmd.1.dylib && ${ln} libmd.dylib"
}