1 | ファイルqdbm.old/.DS_Storeとqdbm/.DS_Storeは違います |
---|
2 | ファイルqdbm.old/._.DS_Storeとqdbm/._.DS_Storeは違います |
---|
3 | diff -cNr qdbm.old/Portfile qdbm/Portfile |
---|
4 | *** qdbm.old/Portfile 2006-03-07 01:37:23.000000000 +0700 |
---|
5 | --- qdbm/Portfile 2006-03-07 01:43:24.000000000 +0700 |
---|
6 | *************** |
---|
7 | *** 1,8 **** |
---|
8 | # $Id: Portfile,v 1.2 2005/09/10 06:13:20 yeled Exp $ |
---|
9 | |
---|
10 | PortSystem 1.0 |
---|
11 | ! name qdbm |
---|
12 | ! version 1.8.33 |
---|
13 | categories textproc |
---|
14 | maintainers pelopor@nifty.com |
---|
15 | description QDBM is a library of routines for managing a database. |
---|
16 | --- 1,8 ---- |
---|
17 | # $Id: Portfile,v 1.2 2005/09/10 06:13:20 yeled Exp $ |
---|
18 | |
---|
19 | PortSystem 1.0 |
---|
20 | ! name qdbm |
---|
21 | ! version 1.8.46 |
---|
22 | categories textproc |
---|
23 | maintainers pelopor@nifty.com |
---|
24 | description QDBM is a library of routines for managing a database. |
---|
25 | *************** |
---|
26 | *** 14,26 **** |
---|
27 | concept of data tables nor data types. Records are organized in hash table\ |
---|
28 | or B+ tree. |
---|
29 | |
---|
30 | ! homepage http://qdbm.sourceforge.net/ |
---|
31 | ! platforms darwin |
---|
32 | depends_lib bin:iconv:libiconv lib:libz:zlib |
---|
33 | - master_sites http://qdbm.sourceforge.net/ |
---|
34 | - checksums md5 3a462a95923df22e760d20259ad99709 |
---|
35 | |
---|
36 | - #patchfiles patch-configure.diff patch-Makefile.in.diff |
---|
37 | post-extract { |
---|
38 | #configure |
---|
39 | reinplace "s|\$HOME|\${prefix}|g" \ |
---|
40 | --- 14,27 ---- |
---|
41 | concept of data tables nor data types. Records are organized in hash table\ |
---|
42 | or B+ tree. |
---|
43 | |
---|
44 | ! homepage http://qdbm.sourceforge.net/ |
---|
45 | ! platforms darwin |
---|
46 | ! master_sites http://qdbm.sourceforge.net/ |
---|
47 | ! checksums md5 bead0b05d7d39f8f4c41f76062c9f227 \ |
---|
48 | ! sha1 b87fc510cac16f908045446b2e6cf7c46b4da64e \ |
---|
49 | ! rmd160 e1ade5dd50ae543c75420fbd03b38b78224e309b |
---|
50 | depends_lib bin:iconv:libiconv lib:libz:zlib |
---|
51 | |
---|
52 | post-extract { |
---|
53 | #configure |
---|
54 | reinplace "s|\$HOME|\${prefix}|g" \ |
---|
55 | *************** |
---|
56 | *** 36,47 **** |
---|
57 | ${worksrcpath}/Makefile.in |
---|
58 | reinplace "s|install_name libqdbm.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libqdbm.\$(LIBVER).dylib|g" \ |
---|
59 | ${worksrcpath}/Makefile.in |
---|
60 | ! |
---|
61 | } |
---|
62 | |
---|
63 | ! #configure.env LDFLAGS="-L${prefix}/lib -lz -liconv" CPPFLAGS="-I${prefix}/include" |
---|
64 | ! configure.args --mandir=${prefix}/share/man --datadir=${prefix}/share/doc \ |
---|
65 | ! --enable-zlib --enable-iconv |
---|
66 | |
---|
67 | platform macosx { |
---|
68 | build.target mac |
---|
69 | --- 37,50 ---- |
---|
70 | ${worksrcpath}/Makefile.in |
---|
71 | reinplace "s|install_name libqdbm.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libqdbm.\$(LIBVER).dylib|g" \ |
---|
72 | ${worksrcpath}/Makefile.in |
---|
73 | ! reinplace "s|lzo/|lzo2/|g" ${worksrcpath}/myconf.c |
---|
74 | } |
---|
75 | |
---|
76 | ! configure.args --mandir=${prefix}/share/man \ |
---|
77 | ! --datadir=${prefix}/share/doc \ |
---|
78 | ! --enable-zlib --enable-icon |
---|
79 | ! |
---|
80 | ! test.run yes |
---|
81 | |
---|
82 | platform macosx { |
---|
83 | build.target mac |
---|
84 | *************** |
---|
85 | *** 49,51 **** |
---|
86 | --- 52,68 ---- |
---|
87 | destroot.target install-mac |
---|
88 | } |
---|
89 | |
---|
90 | + variant debug { |
---|
91 | + configure.args-append --enable-debug |
---|
92 | + } |
---|
93 | + variant pthread { |
---|
94 | + configure.args-append --enable-pthread |
---|
95 | + } |
---|
96 | + variant lzo { |
---|
97 | + depends_lib-append lib:liblzo2:lzo2 |
---|
98 | + configure.args-append --enable-lzo |
---|
99 | + } |
---|
100 | + variant bzip2 { |
---|
101 | + depends_lib-append lib:libbz2:bzip2 |
---|
102 | + configure.args-append --enable-bzip |
---|
103 | + } |
---|