Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

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