Ticket #483: Portfile

File Portfile, 981 bytes (added by wmalik@…, 19 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem    1.0
4name          flawfinder
5version       1.22
6categories    devel
7maintainers   waqar@opendarwin.org
8description   Examines C/C++ source code for security flaw
9long_description   Program that examines source code and reports possible \
10                                           security weaknesses (``flaws'') sorted by risk level. \
11                                                                         It's very useful for quickly finding and removing at \
12                                                                         least some potential security problems before a program \
13                                                                         is widely released to the public.
14homepage      http://www.dwheeler.com/flawfinder/
15platforms     darwin
16master_sites  http://www.dwheeler.com/${name}/
17checksums     md5 a6746b5e8b443e777ebd223edae33e6d
18configure {}
19build.cmd   make
20build.target
21install.destroot
22
23install      { system "cd ${worksrcpath} && install -o root -m 555 \
24                                             ${name} ${destroot}${prefix}/bin/"
25               system "cd ${worksrcpath} && install -o root -m 444 \
26                                     ${name}.1 ${destroot}${prefix}/man/man1/"
27}