# $Id: Portfile,v 1.7 2005/10/11 12:52:35 mww Exp $

PortSystem 1.0
name            libmcrypt
version         2.5.7
revision	2
categories	devel security
maintainers    	benoitc@opendarwin.org
description	The encryption library used by mcrypt 
long_description libmcrypt is the library which implements all the \
		 algorithms and modes found in mcrypt. 
homepage	http://mcrypt.sourceforge.net/
platforms	darwin

master_sites	sourceforge:mcrypt \
		ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/ \
		freebsd
checksums	md5 b1be163143f8e8ed0474beeb642b3bad
				
configure.env	LDFLAGS=-L${prefix}/lib CPPFLAGS=-I${prefix}/include
configure.args	--disable-posix-threads --mandir=${prefix}/share/man

platform darwin 6 {
	depends_lib-append	lib:libdl:dlcompat
}

platform darwin 8 {
	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
