# $Id: Portfile,v 1.3 2005/10/09 14:38:03 mww Exp $

PortSystem 1.0

name			stegdetect
version			0.6
revision		1
categories		security graphics
platforms		darwin
maintainers		mww@opendarwin.org
description		tool for detecting steganographic content in jpeg images.
long_description	Stegdetect is an automated tool for detecting \
					steganographic content in images. It is capable of \
					detecting several different steganographic methods to \
					embed hidden information in jpeg images.

homepage		http://www.outguess.org/detection.php
master_sites	http://www.outguess.org/
checksums		md5 850a3551b5c450b9f450a919ad021767

depends_lib		port:jpeg

configure.args	--mandir=${prefix}/share/man
post-configure {
	reinplace "s|install:|_install:|g" ${worksrcpath}/jpeg-6b/Makefile
}

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

post-destroot	{
	file delete ${destroot}${prefix}/share/magic \
		${destroot}${prefix}/share/magic.inc \
		${destroot}${prefix}/share/magic.mime \
		${destroot}${prefix}/share/man/man1/file.1 \
		${destroot}${prefix}/share/man/man4/magic.4
}
