source: trunk/dports/devel/apr-util0/Portfile @ 32744

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

apr0: update to 0.9.17
apr-util0: update to 0.9.15

Closes #13251. Maintainer timeout.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 32744 2008-01-13 01:35:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4name            apr-util0
5version         0.9.15
6categories      devel
7maintainers     blair
8description     utilities built with the apache group's portability library
9
10long_description        apr-util is a library of useful utilities built with \
11                        and intended to be used with the Apache Portable \
12                        Runtime version 0.9.x.  This is an old version of \
13                        the APRutil library, the latest version is in the \
14                        apr-util port.
15
16homepage        http://apr.apache.org/
17master_sites    apache:apr
18
19distname        apr-util-${version}
20use_bzip2       yes
21checksums       md5 8e1427f63379d4ebd6de525e5b242dc3
22
23depends_lib     port:apr0 port:expat port:libiconv port:db44
24
25configure.args  --with-apr=${prefix}/bin/apr-config --with-expat=${prefix} \
26                --with-iconv=${prefix} \
27                --with-berkeley-db=${prefix}/include:${prefix}/lib/db44 \
28                --without-mysql --without-pgsql
29
30test.run        yes
31test.target     check
32test.env        DYLD_LIBRARY_PATH=${worksrcpath}/.libs
33
34post-destroot {
35        delete ${destroot}${prefix}/lib/aprutil.exp
36}
37
38variant no_bdb  {
39                        depends_lib-delete      port:db44
40                        configure.args-delete   --with-berkeley-db=${prefix}/include:${prefix}/lib/db44
41                        configure.args-append   --without-berkeley-db
42                }
43
44variant openldap        {
45                                depends_lib-append port:openldap
46                                configure.args-append --with-ldap \
47                                        --with-ldap-include=${prefix}/include \
48                                        --with-ldap-lib=${prefix}/lib
49                        }
50
51#pre-configure  {
52#                       reinplace "s|^Libs: |Libs: -L${prefix}/lib/db44 |" $worksrcpath/apr-util.pc.in
53#               }
54
55livecheck.check regex
56livecheck.url   http://www.apache.org/dist/apr/
57livecheck.regex APR-util (0\\.\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.