diff -buw qdbm.old/Portfile qdbm/Portfile
old
|
new
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name qdbm |
5 | | version 1.8.33 |
| 5 | version 1.8.46 |
6 | 6 | categories textproc |
7 | 7 | maintainers pelopor@nifty.com |
8 | 8 | description QDBM is a library of routines for managing a database. |
… |
… |
|
16 | 16 | |
17 | 17 | homepage http://qdbm.sourceforge.net/ |
18 | 18 | platforms darwin |
19 | | depends_lib bin:iconv:libiconv lib:libz:zlib |
20 | 19 | master_sites http://qdbm.sourceforge.net/ |
21 | | checksums md5 3a462a95923df22e760d20259ad99709 |
| 20 | checksums md5 bead0b05d7d39f8f4c41f76062c9f227 \ |
| 21 | sha1 b87fc510cac16f908045446b2e6cf7c46b4da64e \ |
| 22 | rmd160 e1ade5dd50ae543c75420fbd03b38b78224e309b |
| 23 | depends_lib bin:iconv:libiconv lib:libz:zlib |
22 | 24 | |
23 | | #patchfiles patch-configure.diff patch-Makefile.in.diff |
24 | 25 | post-extract { |
25 | 26 | #configure |
26 | 27 | reinplace "s|\$HOME|\${prefix}|g" \ |
… |
… |
|
36 | 37 | ${worksrcpath}/Makefile.in |
37 | 38 | reinplace "s|install_name libqdbm.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libqdbm.\$(LIBVER).dylib|g" \ |
38 | 39 | ${worksrcpath}/Makefile.in |
39 | | |
| 40 | reinplace "s|lzo/|lzo2/|g" ${worksrcpath}/myconf.c |
40 | 41 | } |
41 | 42 | |
42 | | #configure.env LDFLAGS="-L${prefix}/lib -lz -liconv" CPPFLAGS="-I${prefix}/include" |
43 | | configure.args --mandir=${prefix}/share/man --datadir=${prefix}/share/doc \ |
44 | | --enable-zlib --enable-iconv |
| 43 | configure.args --mandir=${prefix}/share/man \ |
| 44 | --datadir=${prefix}/share/doc \ |
| 45 | --enable-pthread \ |
| 46 | --enable-zlib --enable-icon |
| 47 | |
| 48 | test.run yes |
45 | 49 | |
46 | 50 | platform macosx { |
47 | 51 | build.target mac |
… |
… |
|
49 | 53 | destroot.target install-mac |
50 | 54 | } |
51 | 55 | |
| 56 | variant debug { |
| 57 | configure.args-append --enable-debug |
| 58 | } |
| 59 | variant bzip2 { |
| 60 | depends_lib-append lib:libbz2:bzip2 |
| 61 | configure.args-append --enable-bzip |
| 62 | } |
| 63 | variant lzo { |
| 64 | depends_lib-append lib:liblzo2:lzo2 |
| 65 | configure.args-append --enable-lzo |
| 66 | } |