summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-10-06 22:03:49 +0000
committerAchim Gottinger <achim@gentoo.org>2000-10-06 22:03:49 +0000
commit2dc2922fa1b8918c32456bf30259c175edd76287 (patch)
tree4ccccbab9aeac6fd3736d45f5df2976a4a73ad0a /net-www/htdig
parent*** empty log message *** (diff)
downloadgentoo-2-2dc2922fa1b8918c32456bf30259c175edd76287.tar.gz
gentoo-2-2dc2922fa1b8918c32456bf30259c175edd76287.tar.bz2
gentoo-2-2dc2922fa1b8918c32456bf30259c175edd76287.zip
*** empty log message ***
Diffstat (limited to 'net-www/htdig')
-rw-r--r--net-www/htdig/files/CONFIG93
-rw-r--r--net-www/htdig/files/digest-htdig-3.1.51
-rw-r--r--net-www/htdig/htdig-3.1.5.ebuild32
3 files changed, 126 insertions, 0 deletions
diff --git a/net-www/htdig/files/CONFIG b/net-www/htdig/files/CONFIG
new file mode 100644
index 000000000000..09abf0c425a7
--- /dev/null
+++ b/net-www/htdig/files/CONFIG
@@ -0,0 +1,93 @@
+##
+## CONFIG
+##
+## This file is part of ht://Dig
+##
+
+#
+# These variables are set by configure
+#
+# This specifies the root of the directory tree to be used by ht://Dig
+prefix= ${DESTDIR}/usr
+
+# This specifies the root of the directory tree to be used for programs
+# installed by ht://Dig
+exec_prefix= ${prefix}
+
+#
+# Please modify the variables below to reflect your preferences.
+#
+
+#
+# DEST
+#
+# This specifies the root of the directory tree to be used by ht://Dig
+#
+DEST= $(prefix)
+
+#
+# BIN_DIR
+# Set this macro to where you want the binaries to be installed.
+#
+BIN_DIR= $(exec_prefix)/bin
+
+#
+# CONFIG_DIR
+# This is the directory that contains ht://Dig configuration files
+#
+CONFIG_DIR= $(DESTDIR)/etc/httpd/htdig/
+
+#
+# COMMON_DIR
+# This is the directory for files that can be shared between different
+# databases.
+#
+COMMON_DIR= $(DESTDIR)/var/htdig/common
+
+#
+# DATABASE_DIR
+# The default directory where the search databases will reside.
+#
+DATABASE_DIR= $(DESTDIR/var/htdig/db
+
+#
+# DEFAULT_CONFIG_FILE
+# This macro defines where the various programs will look for a configuration
+# file.
+#
+DEFAULT_CONFIG_FILE= $(CONFIG_DIR)/htdig.conf
+
+#
+# CGIBIN_DIR
+# The directory where your HTTP server looks for CGI programs. This is where
+# htsearch will get installed.
+#
+CGIBIN_DIR= ${ÐESTDIR}/usr/local/httpd/cgi-bin
+
+#
+# IMAGE_DIR
+# Define this to be a place that can be accessed by your web server. This is
+# where a couple of images will be placed.
+#
+IMAGE_DIR= ${DESTDIR}/usr/local/httpd/images/htdig
+
+#
+# IMAGE_URL_PREFIX
+# This is the URL to prefix the images placed in IMAGE_DIR.
+#
+IMAGE_URL_PREFIX= /images/htdig
+
+#
+# SEARCH_DIR
+# Set this to the absolute path where you want the sample search form to
+# be installed.
+#
+SEARCH_DIR= ${DESTDIR}/usr/local/httpd/htdig/htdocs
+
+#
+# SEARCH_FORM
+# Set this to the name you want to give to the search form. This form
+# will be located in the SEARCH_DIR directory.
+#
+SEARCH_FORM= search.html
+
diff --git a/net-www/htdig/files/digest-htdig-3.1.5 b/net-www/htdig/files/digest-htdig-3.1.5
new file mode 100644
index 000000000000..360405ad2d8b
--- /dev/null
+++ b/net-www/htdig/files/digest-htdig-3.1.5
@@ -0,0 +1 @@
+MD5 cbf4a0f2b703d9822db555a14dc96ed3 htdig-3.1.5.tar.gz
diff --git a/net-www/htdig/htdig-3.1.5.ebuild b/net-www/htdig/htdig-3.1.5.ebuild
new file mode 100644
index 000000000000..fd845e3afe04
--- /dev/null
+++ b/net-www/htdig/htdig-3.1.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-www/htdig/htdig-3.1.5.ebuild,v 1.1 2000/10/06 22:03:49 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="WWW index and searching system"
+SRC_URI="http://www.htdig.org/files/${A}"
+HOMEPAGE="http://www.htdig.org"
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/CONFIG ${S}
+}
+
+src_compile() {
+
+ cd ${S}
+ try ./configure --prefix=/usr --host=${CHOST}
+ cp ${FILESDIR}/CONFIG ${S}
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}
+ try make DESTDIR=${D} install
+
+}
+