1 | # $Id: Portfile,v 1.1 2005/08/15 19:11:08 olegb Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name hyperestraier |
---|
5 | version 0.5.6 |
---|
6 | categories textproc |
---|
7 | maintainers pelopor@nifty.com |
---|
8 | description Hyper Estraier is a full-text search system. |
---|
9 | long_description \ |
---|
10 | Hyper Estraier is a full-text search system. You can search lots of\ |
---|
11 | documents for some documents including specified words. If you run a web\ |
---|
12 | site, it is useful as your own search engine for pages in your site. Also,\ |
---|
13 | it is useful as search utilities of mail boxes and file servers.\ |
---|
14 | Hyper Estraier is an open-source software released under the terms of the\ |
---|
15 | GNU Lesser General Public License.\ |
---|
16 | |
---|
17 | homepage http://hyperestraier.sourceforge.net/ |
---|
18 | platforms darwin |
---|
19 | depends_lib port:qdbm bin:iconv:libiconv lib:libz:zlib |
---|
20 | master_sites sourceforge |
---|
21 | |
---|
22 | #worksrcdir ${name}-0.5.5 |
---|
23 | checksums md5 7747791f8fd83d25fbd01002eaf3bb19 |
---|
24 | post-extract { |
---|
25 | #configure |
---|
26 | reinplace "s|\$HOME|\$PREFIX|g" \ |
---|
27 | ${worksrcpath}/configure |
---|
28 | reinplace "s|/usr/local|\$PREFIX|g" \ |
---|
29 | ${worksrcpath}/configure |
---|
30 | # Makefile.in |
---|
31 | reinplace "s|\$(HOME)|\${prefix}|g" \ |
---|
32 | ${worksrcpath}/Makefile.in |
---|
33 | reinplace "s|/usr/local/include -I/usr|\${prefix}|g" \ |
---|
34 | ${worksrcpath}/Makefile.in |
---|
35 | reinplace "s|/usr/local|\${prefix}|g" \ |
---|
36 | ${worksrcpath}/Makefile.in |
---|
37 | reinplace "s|install_name libestraier.\$(LIBVER).dylib|install_name \$(MYLIBDIR)/libestraier.\$(LIBVER).dylib|g" \ |
---|
38 | ${worksrcpath}/Makefile.in |
---|
39 | |
---|
40 | } |
---|
41 | configure.env CFLAGS="-no-cpp-precomp -L${prefix}/lib" \ |
---|
42 | CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" |
---|
43 | configure.args --mandir=${prefix}/share/man --datadir=${prefix}/share/doc |
---|
44 | |
---|
45 | test.run yes |
---|
46 | platform macosx { |
---|
47 | build.target mac |
---|
48 | test.target check-mac |
---|
49 | destroot.target install-mac |
---|
50 | } |
---|
51 | |
---|
52 | variant regex { |
---|
53 | configure.args-append --enable-regex |
---|
54 | } |
---|
55 | variant debug { |
---|
56 | configure.args-append --enable-debug |
---|
57 | } |
---|