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

Last change on this file was 113091, checked in by blair@…, 4 years ago

apr-util0: whitespace cleanup.

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