source: trunk/dports/sysutils/md5sha1sum/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem              1.0
4
5name                    md5sha1sum
6version                 0.9.5
7revision                1
8categories              sysutils
9license                 {GPL-2+ OpenSSLException}
10maintainers             flyn.org:mike
11description             Hash utilites
12long_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.
13homepage                http://www.microbrew.org/tools/md5sha1sum
14platforms               darwin
15installs_libs           no
16master_sites            ${homepage}
17
18checksums               sha1 84a46bfd2b49daa0a601a9c55b7d87c27e19ef87
19
20depends_lib             path:lib/libssl.dylib:openssl
21
22patchfiles              patch-existing.diff \
23                        patch-exit.diff \
24                        patch-macosx.diff
25
26configure.env           SSLINCPATH=${prefix}/include \
27                        SSLLIBPATH=${prefix}/lib
28
29configure.universal_args-delete --disable-dependency-tracking
30
31destroot {
32        xinstall -m 755 -d ${destroot}${prefix}/bin
33        xinstall -m 755 ${worksrcpath}/md5sum ${destroot}${prefix}/bin
34        ln -s md5sum ${destroot}${prefix}/bin/sha1sum
35        ln -s md5sum ${destroot}${prefix}/bin/ripemd160sum
36}
Note: See TracBrowser for help on using the repository browser.