source: trunk/dports/www/neon/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem      1.0
4
5name            neon
6version         0.28.4
7categories      www
8maintainers     geeklair.net:dluke
9description     An HTTP and WebDAV client library with a C interface
10platforms       darwin freebsd
11
12long_description \
13    neon is an HTTP and WebDAV client library with a C language API.    \
14    It provides a high-level interface to HTTP and WebDAV methods and a \
15    low-level interface to HTTP request handling, easily allowing the   \
16    implementation of new methods.
17
18homepage        http://www.webdav.org/neon/
19master_sites    ${homepage}
20
21depends_lib     port:expat \
22                port:gettext \
23                port:libiconv \
24                port:openssl \
25                port:zlib
26
27checksums       md5 6c3b94362af743d046e198e9fcbe4a85 \
28                sha1 f2685b56cecf754cb51ac69f974ea090ea85c75e \
29                rmd160 b9448e420c5d152628e7b09437b3e3be157759ae
30
31use_parallel_build      yes
32
33configure.args  --with-ssl \
34                --enable-shared \
35                --with-expat \
36                --mandir=${prefix}/share/man
37
38pre-test {
39        set x {}
40
41        fs-traverse dir ${worksrcpath} {
42                if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
43                        lappend x ${dir}
44                        continue
45                }
46        }
47
48        test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
49}
50
51post-configure {
52        if {[variant_isset universal]} {
53                system "cd ${worksrcpath} && ed - config.h < ${filespath}/config.h.ed && touch stamp-h1"
54        }
55}
56
57post-destroot {
58        if {[variant_isset universal]} {
59                reinplace "s|${configure.universal_cppflags}||g" \
60                        ${destroot}${prefix}/bin/neon-config \
61                        ${destroot}${prefix}/lib/pkgconfig/neon.pc
62                reinplace "s|${configure.universal_ldflags}||g" \
63                        ${destroot}${prefix}/bin/neon-config \
64                        ${destroot}${prefix}/lib/pkgconfig/neon.pc
65        }
66}
67
68test.run    yes
69test.target check
70
71livecheck.check regex
72livecheck.url   ${homepage}
73livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.