source: trunk/dports/devel/boehmgc/Portfile @ 3173

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.4 2003/08/05 09:29:00 jkh Exp $
2
3PortSystem 1.0
4name            boehmgc
5version         6.2
6revision        1
7categories      devel
8maintainers     waqar@opendarwin.org
9description     Boehm-Demers-Weiser conservative garbage collector
10long_description   The Boehm-Demers-Weiser conservative garbage collector \
11                   can be used as a garbage collecting replacement for C \
12                   malloc or C++ new. It is also used by a number of \
13                   programming language implementations that use C as \
14                   intermediate code.
15set d_name      gc
16homepage        http://www.hpl.hp.com/personal/Hans_Boehm/${d_name}/
17platforms       darwin
18master_sites    http://www.hpl.hp.com/personal/Hans_Boehm/${d_name}/gc_source/
19distname        ${d_name}${version}
20checksums       md5 15492b14ca7b9a9e035238611e9cd1e3
21worksrcdir      ${d_name}${version}
22configure.args  --with-threads=posix \
23                --enable-parallel-mark \
24                --enable-cplusplus
25post-destroot {  system "mkdir -p ${destroot}${prefix}/include/gc"
26                system "cd ${worksrcpath} && install -m 444 \
27                include/gc.h ${destroot}${prefix}/include/gc" }
28variant redirect {
29        configure.args-append  --enable-redirect-malloc
30}
Note: See TracBrowser for help on using the repository browser.