source: trunk/dports/security/libtomcrypt/Portfile

Last change on this file was 153136, checked in by raimue@…, 10 months ago

security/libtomcrypt: fix build on OS X >= 10.10

Closes #52364.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 153136 2016-09-25 13:39:05Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             libtomcrypt
6version          1.17
7categories       security
8license          public-domain
9maintainers      nomaintainer
10description      cryptographic toolkit
11long_description \
12        LibTomCrypt is a fairly comprehensive, modular and portable \
13        cryptographic toolkit that provides developers with a vast \
14        array of well known published block ciphers, one-way hash \
15        functions, chaining modes, pseudo-random number generators, \
16        public key cryptography and a plethora of other routines.
17homepage         http://libtom.org/
18platforms        darwin
19master_sites     ${homepage}files/
20distname         crypt-${version}
21use_bzip2        yes
22checksums        sha1 9c746822c84e4276e432b64964f94d1d5ddd13ad \
23                 rmd160 742d72d82fea2e6a9865d8c682c10cbaba69ea2f
24
25worksrcdir       ${name}-${version}
26
27patchfiles       patch-rolc-asm.diff
28
29use_configure    no
30
31build.target
32build.env        CC=${configure.cc} CFLAGS="${configure.cc_archflags}"
33
34destroot.args    LIBPATH=${prefix}/lib INCPATH=${prefix}/include \
35                 USER=`id -u` GROUP=`id -g` NODOCS=1
36
37post-destroot {
38    # the makefile wants to rebuild this if you tell it to install it
39    xinstall -d ${destroot}${prefix}/share/doc/${name}
40    xinstall -m 444 ${worksrcpath}/doc/crypt.pdf ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.