source: trunk/dports/security/rats/Portfile

Last change on this file was 152279, checked in by ryandesign@…, 11 months ago

rats: remove archcheck portgroup

MacPorts base has included arch checking code for years.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 152279 2016-09-02 12:06:06Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            rats
6version         2.3
7license         GPL-2
8categories      security devel
9maintainers     nomaintainer
10platforms       darwin
11description     Rough Auditing Tool for Security
12
13long_description \
14    RATS is a tool for scanning C, C++, Perl, PHP and Python source code and \
15    flagging common security related programming errors such as buffer \
16    overflows and TOCTOU (Time Of Check, Time Of Use) race conditions.
17
18homepage        http://www.fortify.com/security-resources/rats.jsp
19master_sites    http://www.fortify.com/servlet/download/public/
20
21checksums       md5     339ebe60fc61789808a457f6f967d226 \
22                sha1    02283f2a5f0482f09c7e33d2aa84d68c48a8ec5a \
23                rmd160  0db9d6277ba03d68c4d3171ae07de02069622ca8
24
25depends_lib \
26    port:expat
27
28configure.args \
29    --datadir='\${prefix}/share/rats' \
30    --mandir='\${prefix}/share/man'
31
32build.target rats
33
34destroot.destdir prefix=${destroot}${prefix}
35
36post-destroot {
37    set docdir ${prefix}/share/doc/${name}
38    xinstall -d ${destroot}${docdir}
39    xinstall -m 644 -W ${worksrcpath} COPYING README ${destroot}${docdir}
40}
41
42livecheck.type  regex
43livecheck.regex {rats-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.