# $Id: Portfile,v 1.18 2006/03/18 21:26:27 blb Exp $ PortSystem 1.0 name mnogosearch version 3.2.38 categories www maintainers darwinports@opendarwin.org description Full-featured SQL-based web search engine long_description \ mnoGoSearch is a full-featured SQL-based web search engine. \ mnoGoSearch consists of two parts. The first part is the indexing \ mechanism (indexer). indexer walks over html hypertext references and \ stores found words and new references into a database. The second part \ is the web CGI front-end to provide searching using data collected by \ indexer. platforms darwin homepage http://www.mnogosearch.org/ master_sites ${homepage}Download/ checksums md5 2aa9a123857a3a6ee77daac762979310 depends_lib port:openssl port:zlib patchfiles patch-doc_Makefile.in configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" configure.args --sysconfdir=${prefix}/etc/mnogosearch \ --localstatedir=${prefix}/var/mnogosearch \ --datadir=${prefix}/share/mnogosearch \ --mandir=${prefix}/share/man --disable-static \ --with-openssl --with-zlib post-configure { ui_msg "\n\n-------------------------------------------------------------" ui_msg "Note: if you did not select any database variants, mnogosearch" ui_msg "will be built without the indexer (which may not be what you" ui_msg "wanted)." ui_msg "-------------------------------------------------------------\n\n" } destroot.keepdirs ${destroot}${prefix}/var/mnogosearch post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \ NEWS README README.CVS README.XML TODO \ ${destroot}${prefix}/share/doc/${name} } variant mysql3 { depends_lib-append port:mysql3 configure.args-append --with-mysql=${prefix} } variant mysql4 { depends_lib-append port:mysql4 configure.args-append --with-mysql=${prefix} } variant mysql5 { depends_lib-append port:mysql5 configure.args-append --with-mysql=${prefix} } variant postgresql { depends_lib-append port:postgresql configure.args-append --with-pgsql=${prefix} } variant postgresql8 { depends_lib-append port:postgresql8 configure.args-append --with-pgsql=${prefix} } # Other database variants would go here variant nosyslog { configure.args-append --disable-syslog }