Ticket #4773: hyperestraier_Portfile_054-090.diff

File hyperestraier_Portfile_054-090.diff, 6.9 KB (added by pelopor@…, 19 years ago)

Update from ver. 0.5.4 to ver. 0.9.0

Line 
1diff -cNr /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/textproc/hyperestraier/Portfile /Users/kaoru_k/MyDarwinPorts/dports/textproc/hyperestraier/Portfile
2*** /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/textproc/hyperestraier/Portfile Tue Aug 16 04:11:08 2005
3--- /Users/kaoru_k/MyDarwinPorts/dports/textproc/hyperestraier/Portfile Thu Sep 22 17:12:12 2005
4***************
5*** 2,8 ****
6 
7  PortSystem            1.0
8  name                  hyperestraier
9! version                       0.5.4
10  categories            textproc
11  maintainers           pelopor@nifty.com
12  description           Hyper Estraier is a full-text search system.
13--- 2,8 ----
14 
15  PortSystem            1.0
16  name                  hyperestraier
17! version                       0.9.0
18  categories            textproc
19  maintainers           pelopor@nifty.com
20  description           Hyper Estraier is a full-text search system.
21***************
22*** 11,38 ****
23        documents for some documents including specified words. If you run a web\
24        site, it is useful as your own search engine for pages in your site. Also,\
25        it is useful as search utilities of mail boxes and file servers.\
26-       \
27-       The characteristic of Hyper Estraier is the following.\
28-       \
29-       * High performance of search\
30-       * High scalability of target documents\
31-       * Perfect recall ratio by N-gram method\
32-       * Phrase search, attribute search, and similarity search\
33-       * Multilingualism with Unicode\
34-       * Independent of file format and repository\
35-       * Simple and powerful API\
36-       * Supporting P2P architecture (in the future)\
37-       \
38        Hyper Estraier is an open-source software released under the terms of the\
39        GNU Lesser General Public License.\
40 
41  homepage              http://hyperestraier.sourceforge.net/
42  platforms             darwin
43  depends_lib           port:qdbm bin:iconv:libiconv lib:libz:zlib
44! patchfiles            patch-configure.diff patch-Makefile.in.diff
45! master_sites  http://hyperestraier.sourceforge.net/
46! checksums             md5 2d92b1a6bfde553b5b9219b248f3eed3
47 
48  configure.env         CFLAGS="-no-cpp-precomp -L${prefix}/lib" \
49                                 CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
50  configure.args        --mandir=${prefix}/share/man --datadir=${prefix}/share/doc
51--- 11,42 ----
52        documents for some documents including specified words. If you run a web\
53        site, it is useful as your own search engine for pages in your site. Also,\
54        it is useful as search utilities of mail boxes and file servers.\
55        Hyper Estraier is an open-source software released under the terms of the\
56        GNU Lesser General Public License.\
57 
58  homepage              http://hyperestraier.sourceforge.net/
59  platforms             darwin
60  depends_lib           port:qdbm bin:iconv:libiconv lib:libz:zlib
61! master_sites  sourceforge
62 
63+ checksums             md5 1ab89fdb2d1fb47d8b9d2a1e5485e8e2
64+ post-extract  {
65+                               #configure
66+                               reinplace "s|\$HOME|\$PREFIX|g" \
67+                                       ${worksrcpath}/configure
68+                               reinplace "s|/usr/local|\$PREFIX|g" \
69+                                       ${worksrcpath}/configure
70+                               # Makefile.in
71+                               reinplace "s|\$(HOME)|\${prefix}|g" \
72+                                       ${worksrcpath}/Makefile.in
73+                               reinplace "s|/usr/local/include -I/usr|\${prefix}|g" \
74+                                       ${worksrcpath}/Makefile.in
75+                               reinplace "s|/usr/local|\${prefix}|g" \
76+                                       ${worksrcpath}/Makefile.in
77+                               reinplace "s|install_name libestraier.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libestraier.\$(LIBVER).dylib|g" \
78+                                       ${worksrcpath}/Makefile.in
79+
80+                               }
81  configure.env         CFLAGS="-no-cpp-precomp -L${prefix}/lib" \
82                                 CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
83  configure.args        --mandir=${prefix}/share/man --datadir=${prefix}/share/doc
84diff -cNr /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/textproc/hyperestraier/files/patch-Makefile.in.diff /Users/kaoru_k/MyDarwinPorts/dports/textproc/hyperestraier/files/patch-Makefile.in.diff
85*** /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/textproc/hyperestraier/files/patch-Makefile.in.diff     Tue Aug 16 04:11:08 2005
86--- /Users/kaoru_k/MyDarwinPorts/dports/textproc/hyperestraier/files/patch-Makefile.in.diff     Thu Jan  1 09:00:00 1970
87***************
88*** 1,36 ****
89- --- Makefile.in.orig  2005-07-23 20:04:57.000000000 +0900
90- +++ Makefile.in       2005-07-23 20:11:21.000000000 +0900
91- @@ -50,16 +50,16 @@
92
93-  # Building binaries
94-  CC = @CC@
95- -CPPFLAGS = -I. -I$(HOME)/include -I/usr/local/include -I/usr/include/qdbm @MYCPPOPTS@ \
96- +CPPFLAGS = -I. -I${prefix}/include -I${prefix}/include/qdbm @MYCPPOPTS@ \
97-    -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
98-    -DPIC=1 -D_REENTRANT=1
99-  CFLAGS = @MYCFLAGS@
100- -LDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib @MYLDOPTS@
101- +LDFLAGS = -L. -L${prefix}/lib @MYLDOPTS@
102-  LIBS = @LIBS@
103-  MTLIBS = @MYMTLIBS@
104-  SKLIBS = @MYSKLIBS@
105- -LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
106- -RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
107- +LDENV = LD_RUN_PATH=/lib:/usr/lib:${prefix}/lib:@MYRUNPATH@:.
108- +RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:${prefix}/lib:@MYRUNPATH@
109-  MYPOSTCMD = @MYPOSTCMD@
110
111
112- @@ -377,10 +377,9 @@
113-  libestraier.so : libestraier.so.$(LIBVER).$(LIBREV).0
114-       ln -f -s libestraier.so.$(LIBVER).$(LIBREV).0 $@
115
116- -
117- -libestraier.$(LIBVER).0.0.dylib :
118- +libestraier.$(LIBVER).$(LIBREV).0.dylib :
119-       $(CC) -dynamiclib -o $@ \
120- -       -install_name libestraier.$(LIBVER).dylib \
121- +       -install_name $(MYLIBDIR)/libestraier.$(LIBVER).dylib \
122-         -current_version $(LIBVER).$(LIBREV).0 \
123-         -compatibility_version $(LIBVER).$(LIBREV) \
124-         $(MYLIBOBJS) $(LDFLAGS) $(SKLIBS) $(MTLIBS) $(LIBS)
125--- 0 ----
126diff -cNr /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/textproc/hyperestraier/files/patch-configure.diff /Users/kaoru_k/MyDarwinPorts/dports/textproc/hyperestraier/files/patch-configure.diff
127*** /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/textproc/hyperestraier/files/patch-configure.diff       Tue Aug 16 04:11:08 2005
128--- /Users/kaoru_k/MyDarwinPorts/dports/textproc/hyperestraier/files/patch-configure.diff       Thu Jan  1 09:00:00 1970
129***************
130*** 1,21 ****
131- --- configure.orig    2005-07-23 20:04:51.000000000 +0900
132- +++ configure 2005-07-23 20:06:17.000000000 +0900
133- @@ -1276,12 +1276,12 @@
134
135-  # Building paths
136-  pathtmp="$PATH"
137- -PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
138- -PATH="$PATH:/usr/ccs/bin:/usr/ucb:$pathtmp"
139- -LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
140- -LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
141- -CPATH="$HOME/include:/usr/local/include:$CPATH"
142- -PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
143- +PATH="$PREFIX/bin:${prefix}/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
144- +PATH="$PREFIX/bin:/usr/ccs/bin:/usr/ucb:$pathtmp"
145- +LIBRARY_PATH="$PREFIX/lib:$LIBRARY_PATH"
146- +LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
147- +CPATH="$PREFIX/include:$CPATH"
148- +PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"
149-  export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
150-  if type pkg-config > /dev/null 2>&1
151-  then
152--- 0 ----