source: trunk/dports/security/racoon/Portfile @ 28549

Last change on this file since 28549 was 28549, checked in by mww@…, 12 years ago

replace configure.env as far as possible

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 28549 2007-09-03 13:39:58Z mww@macports.org $
2PortSystem        1.0
3
4name              racoon
5version           20050510a
6categories        security net
7maintainers       a_rankine@yahoo.co.uk arsptr@swiftdsl.com.au
8
9description       an IKE (IPSec) daemon
10long_description  Racoon is the daemon which negotiates and configures IPsec security associations
11homepage          http://www.kame.net/racoon
12master_sites      ftp://ftp.kame.net/pub/kame/misc/
13
14checksums         md5 50a43fa2151e52aa138922fdd9466691
15
16worksrcdir        ${name}-${version}/${name}
17
18patchfiles        patch-Makefile.in
19
20configure.ldflags "-L../libipsec"
21configure.cflags-append "-DBIND_8_COMPAT=1  -isystem ${filespath}/includes"
22
23destroot.destdir  mandir=${destroot}${prefix}/share/man prefix=${destroot}${prefix}
24
25post-patch {
26    file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess
27    file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub
28
29    reinplace "s|IPPROTO_MH|IPPROTO_MHRP|g" ${workpath}/${name}-${version}/libipsec/pfkey_dump.c
30
31    cd ${worksrcpath}/../libipsec
32    system "bsdmake OPSYS=FreeBSD CFLAGS=\"-isystem ${filespath}/includes\""
33}
34
35platform darwin 6 {
36    configure.cflags-delete "-DBIND_8_COMPAT=1  -isystem ${filespath}/includes"
37}
38
39variant gssapi {
40    configure.args --enable-gssapi
41    configure.env-append LIBS="-lgssapi_krb5"
42}
Note: See TracBrowser for help on using the repository browser.