Ticket #17265: Portfile.blb

File Portfile.blb, 817 bytes (added by blb@…, 16 years ago)

updated Portfile

Line 
1# $Id$
2
3PortSystem              1.0
4
5name                    md5sha1sum
6version                 0.9.5
7categories              sysutils
8maintainers             flyn.org:mike
9description             Hash utilites
10long_description        This toolset provides md5sum, sha1sum, and ripemd160sum. They are intended to be drop in replacements for the tools from GNU textutils. Since installing textutils is somewhat excessive for just those two utilities, these are meant to be the more compact and easier to install replacements.
11homepage                http://www.microbrew.org/tools/md5sha1sum
12platforms               darwin
13master_sites            ${homepage}
14
15checksums               sha1 84a46bfd2b49daa0a601a9c55b7d87c27e19ef87
16
17destroot {
18        xinstall -m 755 -d ${destroot}${prefix}/bin
19        xinstall -m 755 ${worksrcpath}/md5sum ${destroot}${prefix}/bin
20        ln -s md5sum ${destroot}${prefix}/bin/sha1sum
21        ln -s md5sum ${destroot}${prefix}/bin/ripemd160sum
22}