source: trunk/dports/devel/electric-fence/Portfile

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

electric-fence: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 121741 2014-07-06 16:12:40Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            electric-fence
7version         2.1.13-0.1
8categories      devel
9license         GPL-2
10maintainers     nomaintainer
11description     a library to detect memory buffers over- and \
12                underruns
13
14long_description    Electric Fence (efence) stops your program on \
15                    the exact instruction that overruns (or \
16                    underruns) a malloc() memory buffer. GDB will \
17                    then display the source-code line that causes \
18                    the bug. It works by using the virtual-memory \
19                    hardware to create a red-zone at the border of \
20                    each buffer - touch that, and your program \
21                    stops. Catch all of those formerly \
22                    impossible-to-catch overrun bugs that have \
23                    been bothering you for years.
24homepage        http://perens.com/FreeSoftware/
25platforms       darwin
26master_sites    http://perens.com/FreeSoftware/ElectricFence/
27distname        ${name}_${version}
28worksrcdir      ${name}-[lindex [split ${version} -] 0]
29checksums       md5 59e4e7817a30aff52d8971ce00e1ad35 \
30                sha1 e6765bcb1543272040b806eea706fc7ae9b60524 \
31                rmd160 75e41de7bef263007f24a1053528959f9f7fe1fa
32patchfiles      patch-page.c.diff
33
34use_configure   no
35
36build.target    libefence.a
37build.args      CFLAGS="-g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS"
38
39test.run        yes
40test.target     all
41test.args       CFLAGS="-g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS"
42
43destroot.destdir LIB_INSTALL_DIR=${destroot}${prefix}/lib MAN_INSTALL_DIR=${destroot}${prefix}/share/man/man3
44
45livecheck.version   ${name}_${version}
Note: See TracBrowser for help on using the repository browser.