# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 90352 2012-03-03 10:14:58Z dports@macports.org $

PortSystem		1.0

name			ssdeep
version			2.6
categories		security sysutils
license			GPL-2
maintainers		gmail.com:jessekornblum
description		Recursively compute fuzzy hashes on files
long_description \
  ssdeep is a program for computing fuzzy hashes on files. These hashes \
  can be used for finding similar files.

platforms     	  	darwin

homepage		http://ssdeep.sourceforge.net/
master_sites		sourceforge:project/ssdeep/ssdeep-${version}

checksums               rmd160  6fd7a38539bab4fa45d8ebfa064706fcfd659e9c \
                        sha256  06e73821203e0148d0f302b00288fc4d1ad3a94d580a4222bf534b6515372756

configure.args	    	--mandir=${prefix}/share/man

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog FILEFORMAT \
      NEWS README TODO ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.regex     ${name}-(\[.\\d\]+)\.tar\.gz
livecheck.url       http://sourceforge.net/projects/${name}/files/${name}
