# $Id: Portfile,v 1.4 2004/08/07 08:03:29 mww Exp $

PortSystem 1.0

name		sign
version		1.0.7
categories	security
platforms	darwin
maintainers	mww@opendarwin.org
description	sign is a file signing and signature verification utility
long_description	${description}

homepage	http://swapped.cc/sign/
master_sites	${homepage}/files/
checksums		md5 f01c3f5dffc80d3ccd096d039e0c94f1

depends_lib	lib:libssl:openssl

use_configure	no

destroot	{
	xinstall -m 755 -s ${worksrcpath}/sign ${destroot}${prefix}/bin
	system "cd ${destroot}${prefix}/bin && ln -sf sign unsign"
	xinstall -m 644 ${worksrcpath}/man/sign.1 \
		${destroot}${prefix}/share/man/man1
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/README \
		${destroot}${prefix}/share/doc/${name}
}
