# $Id: Portfile 83828 2011-09-11 14:40:31Z ryandesign@macports.org $

PortSystem 1.0

name		afflib
version		3.6.12
categories	security
maintainers	darkart.com:opendarwin.org
description	The Advanced Forensic Format
homepage	http://www.afflib.org/
platforms	darwin

long_description AFF(R) is an open and extensible file format designed \
			to store disk images and associated metadata.

master_sites	http://www.afflib.org/downloads/

checksums	sha1    1bd156a7e970253c3e2df5b55046142073b311fe \
		rmd160  aebb740513992d6ef24cf6a54a965ff3c1a5d9cb

depends_lib	port:libewf	\
		port:openssl	\
		port:readline	\
		port:expat	\
		port:zlib

patchfiles	patch-configure.ac.diff

use_autoreconf	yes

configure.args	--enable-fuse=no	\
		--enable-s3=no	

##		--with-ssl=${prefix}	\
##		--with-zlib=${prefix}


variant s3 description {Enable the use of Amazon's S3 service} {
	configure.args-append	--enable-s3=yes	\
				--with-curl=${prefix}/lib
	configure.args-delete	--enable-s3=no
	depends_lib-append	port:curl
}


## untested....
## variant fuse description {Access AFF data through FUSE} {
## 	configure.args-append	--enable-fuse=yes
## 	configure.args-delete	--enable-fuse=no
## 	'port lint' is silly about trailing whitespace in comments
## }
##

#
##EOF
