source: trunk/dports/security/aesutil/Portfile

Last change on this file was 124884, checked in by jmr@…, 3 years ago

aesutil: build fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 124884 2014-08-30 03:35:03Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    aesutil
6version                 1.0.7
7revision                1
8categories              security sysutils
9license                 BSD ISC
10platforms               darwin
11maintainers             nomaintainer
12description             command line program to encrypt and decrypt data via AES
13long_description        aesutil is a command line program to encrypt and decrypt \
14                                        data using the Rjiandel algorythm.
15
16homepage                http://my.cubic.ch/~timtas/aes/
17master_sites    ${homepage}
18distname                aes-${version}
19checksums               md5 59e9b9635c384b42055d85a6dd66a5c7
20
21patchfiles              patch-Makefile.linux.diff aes.c.patch
22
23platform darwin {
24        configure.args  linux
25}
26
27configure.pre_args
28configure.universal_args
29
30variant universal {}
31
32build.args              CC=${configure.cc}
33build.env               CFLAGS="[join ${configure.cflags}] [get_canonical_archflags cc]" \
34                                LDFLAGS="[join ${configure.ldflags}] [get_canonical_archflags ld]"
35
36destroot        {
37        xinstall -m 755 ${worksrcpath}/aes ${destroot}${prefix}/bin
38        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
39        xinstall -m 644 -W ${worksrcpath} CHANGES INSTALL LICENSE README TODO \
40                ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.