aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-10-22 03:36:34 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-10-22 03:36:34 +0800
commitaaea12de08b4de3a7167f03ce9eaaf87db4058a4 (patch)
treec8a2de5b624ad1479e58848d9a00f93d0107ab2a
parente52f8651009259980879fdf95aeea1e3d5e3b69d (diff)
downloadfreebsd-ports-graphics-aaea12de08b4de3a7167f03ce9eaaf87db4058a4.tar.gz
freebsd-ports-graphics-aaea12de08b4de3a7167f03ce9eaaf87db4058a4.tar.zst
freebsd-ports-graphics-aaea12de08b4de3a7167f03ce9eaaf87db4058a4.zip
UdmSearch is a full featured MySQL-based search engine for intranet or small
domain Internet web servers. You can also use it to build specialized search engines such as cooking recipies or searching newspaper articles. Provides pre-built web search frontends in C (via CGI) and PHP. PR: ports/13471, ports/13760, ports/14415 Submitted by: Alexander I. Barkov <bar@titan.izhcom.ru> Kelley Yancey <kbyanc@posi.net>
-rw-r--r--www/udmsearch/Makefile40
-rw-r--r--www/udmsearch/distinfo1
-rw-r--r--www/udmsearch/pkg-comment1
-rw-r--r--www/udmsearch/pkg-descr10
-rw-r--r--www/udmsearch/pkg-message27
-rw-r--r--www/udmsearch/pkg-plist30
6 files changed, 109 insertions, 0 deletions
diff --git a/www/udmsearch/Makefile b/www/udmsearch/Makefile
new file mode 100644
index 00000000000..3389228fc1f
--- /dev/null
+++ b/www/udmsearch/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: udmsearch
+# Version required: 2.1.5
+# Date created: 10/19/1999
+# Whom: Kelly Yancey <kbyanc@posi.net>
+#
+# $FreeBSD$
+#
+
+DISTNAME= udmsearch-2.1.5
+CATEGORIES= www databases
+MASTER_SITES= http://search.udm.net/about/Download/ \
+ http://mysearch.udm.net/Download/ \
+ ftp://ftp.izhcom.ru/pub/unix/UdmSearch/ \
+ http://mirror.kuenzler.ch/udmsearch/Download/
+
+MAINTAINER= kbyanc@posi.net
+
+LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
+
+MAN1= indexer.1
+MAN5= indexer.conf.5
+
+USE_GMAKE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --bindir=${PREFIX}/bin/udmsearch \
+ --sysconfdir=${PREFIX}/etc/udmsearch \
+
+pre-install:
+ ${MKDIR} ${PREFIX}/bin/udmsearch
+ ${MKDIR} ${PREFIX}/etc/udmsearch
+
+post-install:
+ @cp -R ${WRKDIR}/${DISTNAME}/create ${PREFIX}/etc/udmsearch
+ @strip ${PREFIX}/sbin/indexer
+ @strip ${PREFIX}/bin/udmsearch/search.cgi
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/udmsearch/distinfo b/www/udmsearch/distinfo
new file mode 100644
index 00000000000..1dc3cb0deb0
--- /dev/null
+++ b/www/udmsearch/distinfo
@@ -0,0 +1 @@
+MD5 (udmsearch-2.1.5.tar.gz) = 35adb0c32a1e9af078130e63bfe7be25
diff --git a/www/udmsearch/pkg-comment b/www/udmsearch/pkg-comment
new file mode 100644
index 00000000000..f5807d93964
--- /dev/null
+++ b/www/udmsearch/pkg-comment
@@ -0,0 +1 @@
+Full featured MySQL-based hypertext search engine
diff --git a/www/udmsearch/pkg-descr b/www/udmsearch/pkg-descr
new file mode 100644
index 00000000000..fcc636cb774
--- /dev/null
+++ b/www/udmsearch/pkg-descr
@@ -0,0 +1,10 @@
+UdmSearch is a full featured MySQL-based search engine for intranet or small
+domain Internet web servers. You can also use it to build specialized search
+engines such as cooking recipies or searching newspaper articles.
+
+Provides pre-built web search frontends in C (via CGI) and PHP.
+
+WWW: http://mysearch.udm.net/
+
+ -Kelly
+ kbyanc@posi.net
diff --git a/www/udmsearch/pkg-message b/www/udmsearch/pkg-message
new file mode 100644
index 00000000000..ab34a61052a
--- /dev/null
+++ b/www/udmsearch/pkg-message
@@ -0,0 +1,27 @@
+udmsearch is successfully installed.
+Now, to use udmsearch you need to create the appropriate mysql database
+manually:
+
+ Create mysql database 'udmsearch'.
+ You can also use existing MySQL database, skip this step in this case.
+
+ $ mysqladmin create udmsearch
+
+
+ Create tables.
+ If you are installing UdmSearch for the first time:
+
+ $ mysql udmsearch < /usr/local/etc/udmsearch/create/create.txt
+
+ IMPORTANT: If you already use UdmSearch and want to upgrade from
+ UdmSearch 2.0 or earlier while keep existing data, please do not use
+ create.txt. Instead, to upgrade from UdmSearch 2.0, run
+
+ $ mysql udmsearch < /usr/local/etc/udmsearch/create/alter20-21.txt
+
+ or, to upgrade from UdmSearch 1.x, run
+ $ mysql udmsearch < /usr/local/etc/udmsearch/create/alter19-20.txt
+ $ mysql udmsearch < /usr/local/etc/udmsearch/create/alter20-21.txt
+
+For more information on how to use udmsearch, please refer to their
+web site at http://mysearch.udm.net/
diff --git a/www/udmsearch/pkg-plist b/www/udmsearch/pkg-plist
new file mode 100644
index 00000000000..2120f0af496
--- /dev/null
+++ b/www/udmsearch/pkg-plist
@@ -0,0 +1,30 @@
+bin/udmsearch/search.cgi
+bin/udmsearch/search.phtml
+bin/udmsearch/search.php3
+bin/udmsearch/morph.php3
+bin/udmsearch/udmsearch.gif
+etc/udmsearch/indexer.conf-dist
+etc/udmsearch/search.htm-dist
+etc/udmsearch/create/msql/create.txt
+etc/udmsearch/create/mysql/alter19-20.txt
+etc/udmsearch/create/mysql/alter20-21.txt
+etc/udmsearch/create/mysql/create.txt
+etc/udmsearch/create/pgsql/create.txt
+etc/udmsearch/create/stopwords/stop.de.txt
+etc/udmsearch/create/stopwords/stop.en.txt
+etc/udmsearch/create/stopwords/stop.es.txt
+etc/udmsearch/create/stopwords/stop.fr.txt
+etc/udmsearch/create/stopwords/stop.nl.txt
+etc/udmsearch/create/stopwords/stop.no.txt
+etc/udmsearch/create/stopwords/stop.pt.txt
+etc/udmsearch/create/stopwords/stop.ru.txt
+etc/udmsearch/create/stopwords/stop.ua.txt
+doc/UdmSearch.sgml
+sbin/indexer
+@dirrm bin/udmsearch
+@dirrm etc/udmsearch/create/msql
+@dirrm etc/udmsearch/create/mysql
+@dirrm etc/udmsearch/create/pgsql
+@dirrm etc/udmsearch/create/stopwords
+@dirrm etc/udmsearch/create
+@dirrm etc/udmsearch