Ticket #4773: hyperestraier.diff

File hyperestraier.diff, 6.2 KB (added by pelopor@…, 19 years ago)

diff -cNr hyperestraier.old hyperestraier

Line 
1diff -cNr hyperestraier.old/Portfile hyperestraier/Portfile
2*** hyperestraier.old/Portfile  Tue Aug 16 04:11:08 2005
3--- hyperestraier/Portfile      Wed Aug 31 07:03:16 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.5.5.1
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,43 ----
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+ worksrcdir            ${name}-0.5.5
64+ checksums             md5 f31832ed1b25df677671689d6ff5525f
65+ post-extract  {
66+                               #configure
67+                               reinplace "s|\$HOME|\$PREFIX|g" \
68+                                       ${worksrcpath}/configure
69+                               reinplace "s|/usr/local|\$PREFIX|g" \
70+                                       ${worksrcpath}/configure
71+                               # Makefile.in
72+                               reinplace "s|\$(HOME)|\${prefix}|g" \
73+                                       ${worksrcpath}/Makefile.in
74+                               reinplace "s|/usr/local/include -I/usr|\${prefix}|g" \
75+                                       ${worksrcpath}/Makefile.in
76+                               reinplace "s|/usr/local|\${prefix}|g" \
77+                                       ${worksrcpath}/Makefile.in
78+                               reinplace "s|install_name libestraier.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libestraier.\$(LIBVER).dylib|g" \
79+                                       ${worksrcpath}/Makefile.in
80+
81+                               }
82  configure.env         CFLAGS="-no-cpp-precomp -L${prefix}/lib" \
83                                 CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
84  configure.args        --mandir=${prefix}/share/man --datadir=${prefix}/share/doc
85diff -cNr hyperestraier.old/files/patch-Makefile.in.diff hyperestraier/files/patch-Makefile.in.diff
86*** hyperestraier.old/files/patch-Makefile.in.diff      Tue Aug 16 04:11:08 2005
87--- hyperestraier/files/patch-Makefile.in.diff  Thu Jan  1 09:00:00 1970
88***************
89*** 1,36 ****
90- --- Makefile.in.orig  2005-07-23 20:04:57.000000000 +0900
91- +++ Makefile.in       2005-07-23 20:11:21.000000000 +0900
92- @@ -50,16 +50,16 @@
93
94-  # Building binaries
95-  CC = @CC@
96- -CPPFLAGS = -I. -I$(HOME)/include -I/usr/local/include -I/usr/include/qdbm @MYCPPOPTS@ \
97- +CPPFLAGS = -I. -I${prefix}/include -I${prefix}/include/qdbm @MYCPPOPTS@ \
98-    -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
99-    -DPIC=1 -D_REENTRANT=1
100-  CFLAGS = @MYCFLAGS@
101- -LDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib @MYLDOPTS@
102- +LDFLAGS = -L. -L${prefix}/lib @MYLDOPTS@
103-  LIBS = @LIBS@
104-  MTLIBS = @MYMTLIBS@
105-  SKLIBS = @MYSKLIBS@
106- -LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:.
107- -RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
108- +LDENV = LD_RUN_PATH=/lib:/usr/lib:${prefix}/lib:@MYRUNPATH@:.
109- +RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:${prefix}/lib:@MYRUNPATH@
110-  MYPOSTCMD = @MYPOSTCMD@
111
112
113- @@ -377,10 +377,9 @@
114-  libestraier.so : libestraier.so.$(LIBVER).$(LIBREV).0
115-       ln -f -s libestraier.so.$(LIBVER).$(LIBREV).0 $@
116
117- -
118- -libestraier.$(LIBVER).0.0.dylib :
119- +libestraier.$(LIBVER).$(LIBREV).0.dylib :
120-       $(CC) -dynamiclib -o $@ \
121- -       -install_name libestraier.$(LIBVER).dylib \
122- +       -install_name $(MYLIBDIR)/libestraier.$(LIBVER).dylib \
123-         -current_version $(LIBVER).$(LIBREV).0 \
124-         -compatibility_version $(LIBVER).$(LIBREV) \
125-         $(MYLIBOBJS) $(LDFLAGS) $(SKLIBS) $(MTLIBS) $(LIBS)
126--- 0 ----
127diff -cNr hyperestraier.old/files/patch-configure.diff hyperestraier/files/patch-configure.diff
128*** hyperestraier.old/files/patch-configure.diff        Tue Aug 16 04:11:08 2005
129--- hyperestraier/files/patch-configure.diff    Thu Jan  1 09:00:00 1970
130***************
131*** 1,21 ****
132- --- configure.orig    2005-07-23 20:04:51.000000000 +0900
133- +++ configure 2005-07-23 20:06:17.000000000 +0900
134- @@ -1276,12 +1276,12 @@
135
136-  # Building paths
137-  pathtmp="$PATH"
138- -PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
139- -PATH="$PATH:/usr/ccs/bin:/usr/ucb:$pathtmp"
140- -LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
141- -LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
142- -CPATH="$HOME/include:/usr/local/include:$CPATH"
143- -PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
144- +PATH="$PREFIX/bin:${prefix}/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
145- +PATH="$PREFIX/bin:/usr/ccs/bin:/usr/ucb:$pathtmp"
146- +LIBRARY_PATH="$PREFIX/lib:$LIBRARY_PATH"
147- +LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
148- +CPATH="$PREFIX/include:$CPATH"
149- +PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"
150-  export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
151-  if type pkg-config > /dev/null 2>&1
152-  then
153--- 0 ----