# $Id: Portfile 69520 2010-07-08 20:19:52Z jmr@macports.org $

PortSystem 1.0

name		sign
version		1.0.7
revision        1
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}
}
