# $Id: Portfile 30252 2007-10-23 02:19:43Z jmpp@macports.org $

PortSystem 1.0

name		sign
version		1.0.7
categories	security
platforms	darwin
maintainers	nomaintainer
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}
}
