Ticket #8773: qdbm-update-1.8.52.diff
File qdbm-update-1.8.52.diff, 2.8 KB (added by pelopor@…, 18 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile,v 1.5 2006/04/10 15:02:38 takanori Exp$1 # $Id: $ 2 2 3 3 PortSystem 1.0 4 4 name qdbm 5 version 1.8.48 6 categories textproc 7 maintainers pelopor@nifty.com 5 version 1.8.52 6 categories databases 7 maintainers rsky0711@gmail.com pelopor@nifty.com 8 platforms darwin 8 9 description QDBM is a library of routines for managing a database. 9 10 long_description \ 10 11 QDBM is a library of routines for managing a database. The database is a\ … … 13 14 data and character string can be used as a key and a value. There is neither\ 14 15 concept of data tables nor data types. Records are organized in hash table\ 15 16 or B+ tree. 16 17 17 homepage http://qdbm.sourceforge.net/ 18 platforms darwin 19 master_sites http://qdbm.sourceforge.net/ 20 checksums md5 ac59de1fd23478edcb906612fe48f3b8 \ 21 sha1 fd5aea55ff7620c6c6947d4a3d3d576ec3c779a7 \ 22 rmd160 d9ae92666efe7b3c24bebde6d07ee39d4cf7bf50 18 master_sites ${homepage} 19 checksums md5 b8cfb79688c8cf5c4a25489e4740ec72 \ 20 sha1 7186830e38dc943a7e6fa051cc9e64591dea1c1a \ 21 rmd160 69d3f3c196038dc25b23a9b186d17b37c8e0b0c1 22 #patchfiles patch-qdbm_def.diff 23 23 24 depends_lib port:libiconv port:zlib 24 25 26 configure.args --mandir=${prefix}/share/man \ 27 --datadir=${prefix}/share/doc \ 28 --enable-pthread \ 29 --enable-zlib --enable-iconv 30 25 31 post-extract { 26 32 #configure 27 33 reinplace "s|\$HOME|\${prefix}|g" \ 28 34 ${worksrcpath}/configure 29 reinplace "s|/usr/local|\${prefix}|g" \30 ${worksrcpath}/configure31 35 # Makefile.in 32 36 reinplace "s|\$(HOME)|\$(prefix)|g" \ 33 37 ${worksrcpath}/Makefile.in 34 reinplace "s|/usr/local/include -I/usr|\$(prefix)|g" \ 35 ${worksrcpath}/Makefile.in 36 reinplace "s|/usr/local|\$(prefix)|g" \ 37 ${worksrcpath}/Makefile.in 38 reinplace "s|install_name libqdbm.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libqdbm.\$(LIBVER).dylib|g" \ 39 ${worksrcpath}/Makefile.in 40 reinplace "s|lzo/|lzo2/|g" ${worksrcpath}/myconf.c 38 # myconf.c 39 reinplace "s|lzo/|lzo2/|g" \ 40 ${worksrcpath}/myconf.c 41 41 } 42 42 43 configure.args --mandir=${prefix}/share/man \44 --datadir=${prefix}/share/doc \45 --enable-pthread \46 --enable-zlib --enable-icon --enable-iconv47 48 43 test.run yes 49 44 50 45 platform macosx { … … 53 48 destroot.target install-mac 54 49 } 55 50 56 platform darwin 8 {57 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.058 }59 60 51 variant debug { 61 52 configure.args-append --enable-debug 62 53 } 54 63 55 variant bzip2 { 64 56 depends_lib-append port:bzip2 65 57 configure.args-append --enable-bzip 66 58 } 59 67 60 variant lzo { 68 61 depends_lib-append port:lzo2 69 62 configure.args-append --enable-lzo