Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 1998 16:56:20 -0400 (EDT)
From:      Bill Fumerola <billf@firewall.chc-chimes.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7140: new port htdig
Message-ID:  <199807012056.QAA06450@firewall.chc-chimes.com>

next in thread | raw e-mail | index | archive | help

>Number:         7140
>Category:       ports
>Synopsis:       new port: htdig
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  1 14:00:01 PDT 1998
>Last-Modified:
>Originator:     Bill Fumerola
>Organization:
Compute Horizons Corp
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:
FreeBSD firewall.chc-chimes.com 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Mon May 18 13:11:19 EDT 1998     billf@firewall.chc-chimes.com:/usr/src/sys/compile/HORIZONS  i386

>Description:

the popular ht://dig search engine

NOTE: this is my first port, ever. I know that I missed the .info stuff,
and it's possible that I may have missed something else. portlint thought 
I did all right, though.

>How-To-Repeat:

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/textproc/htdig
#	/usr/ports/textproc/htdig/Makefile
#	/usr/ports/textproc/htdig/pkg
#	/usr/ports/textproc/htdig/pkg/COMMENT
#	/usr/ports/textproc/htdig/pkg/DESCR
#	/usr/ports/textproc/htdig/pkg/PLIST
#	/usr/ports/textproc/htdig/patches
#	/usr/ports/textproc/htdig/patches/patch-aa
#	/usr/ports/textproc/htdig/patches/patch-ac
#	/usr/ports/textproc/htdig/patches/patch-ab
#	/usr/ports/textproc/htdig/patches/patch-ad
#	/usr/ports/textproc/htdig/patches/patch-ae
#	/usr/ports/textproc/htdig/files
#	/usr/ports/textproc/htdig/files/md5
#
echo c - /usr/ports/textproc/htdig
mkdir -p /usr/ports/textproc/htdig > /dev/null 2>&1
echo x - /usr/ports/textproc/htdig/Makefile
sed 's/^X//' >/usr/ports/textproc/htdig/Makefile << 'END-of-/usr/ports/textproc/htdig/Makefile'
X# New ports collection makefile for:   htdig
X# Version required:    1.1
X# Date created:        30 June 1998
X# Whom:                Bill Fumerola <billf@chc-chimes.com>
X#
X# $Id$
X#
X
XDISTNAME=	htdig-3.0.8b2
XCATEGORIES=	textproc
XMASTER_SITES=	http://htdig.sdsu.edu/files/
X
XMAINTAINER=	billf@chc-chimes.com
X
XLIB_DEPENDS=	gdbm:${PORTSDIR}/databases/gdbm
X
XHAS_CONFIGURE=	yes
X
Xpost-patch:
X	${RM} -rf ${WRKSRC}/gdbm*
X
X.include <bsd.port.mk>
END-of-/usr/ports/textproc/htdig/Makefile
echo c - /usr/ports/textproc/htdig/pkg
mkdir -p /usr/ports/textproc/htdig/pkg > /dev/null 2>&1
echo x - /usr/ports/textproc/htdig/pkg/COMMENT
sed 's/^X//' >/usr/ports/textproc/htdig/pkg/COMMENT << 'END-of-/usr/ports/textproc/htdig/pkg/COMMENT'
Xhtdig is a search engine similar to glimpse
END-of-/usr/ports/textproc/htdig/pkg/COMMENT
echo x - /usr/ports/textproc/htdig/pkg/DESCR
sed 's/^X//' >/usr/ports/textproc/htdig/pkg/DESCR << 'END-of-/usr/ports/textproc/htdig/pkg/DESCR'
Xhtdig is a search engine similar to glimpse
X This system is not meant to replace the need for powerful internet-wide
Xsearch systems like Lycos, Infoseek, Webcrawler and AltaVista. Instead it
Xis meant to cover the search needs for a single company, campus, or even a
Xparticular sub section of a web site. 
X
Xhttp://htdig.sdsu.edu
X
XBill Fumerola <billf@chc-chimes.com>
END-of-/usr/ports/textproc/htdig/pkg/DESCR
echo x - /usr/ports/textproc/htdig/pkg/PLIST
sed 's/^X//' >/usr/ports/textproc/htdig/pkg/PLIST << 'END-of-/usr/ports/textproc/htdig/pkg/PLIST'
Xwww/data/htdig/search.html
Xwww/data/htdig/button1.gif
Xwww/data/htdig/button2.gif
Xwww/data/htdig/button3.gif
Xwww/data/htdig/button4.gif
Xwww/data/htdig/button5.gif
Xwww/data/htdig/button6.gif
Xwww/data/htdig/button7.gif
Xwww/data/htdig/button8.gif
Xwww/data/htdig/button9.gif
Xwww/data/htdig/buttonl.gif
Xwww/data/htdig/buttonr.gif
Xwww/data/htdig/button10.gif
Xwww/data/htdig/htdig.gif
Xwww/data/htdig/star.gif
Xwww/data/htdig/star_blank.gif
Xwww/cgi-bin/htsearch
Xwww/htdig/bin/rundig
Xwww/htdig/bin/htfuzzy
Xwww/htdig/bin/htdig
Xwww/htdig/bin/htmerge
Xwww/htdig/bin/htnotify
Xwww/htdig/conf/htdig.conf
Xwww/htdig/common/footer.html
Xwww/htdig/common/bad_words
Xwww/htdig/common/header.html
Xwww/htdig/common/nomatch.html
Xwww/htdig/common/syntax.html
Xwww/htdig/common/english.0
Xwww/htdig/common/english.aff
Xwww/htdig/common/synonyms
END-of-/usr/ports/textproc/htdig/pkg/PLIST
echo c - /usr/ports/textproc/htdig/patches
mkdir -p /usr/ports/textproc/htdig/patches > /dev/null 2>&1
echo x - /usr/ports/textproc/htdig/patches/patch-aa
sed 's/^X//' >/usr/ports/textproc/htdig/patches/patch-aa << 'END-of-/usr/ports/textproc/htdig/patches/patch-aa'
X--- CONFIG.old	Tue Jun 30 22:26:48 1998
X+++ CONFIG	Tue Jun 30 22:35:08 1998
X@@ -13,7 +13,7 @@
X #
X # This specifies the root of the directory tree to be used by ht://Dig
X #
X-DEST=                  /opt/www/htdig
X+DEST=                  /usr/local/www/htdig
X 
X #
X # BIN_DIR
X@@ -52,14 +52,14 @@
X # The directory where your HTTP server looks for CGI programs.  This is where
X # htsearch will get installed.
X #
X-CGIBIN_DIR=             /opt/www/cgi-bin
X+CGIBIN_DIR=             /usr/local/www/cgi-bin
X 
X #
X # IMAGE_DIR
X # Define this to be a place that can be accessed by your web server.  This is
X # where a couple of images will be placed.
X #
X-IMAGE_DIR=              /opt/www/htdocs/htdig
X+IMAGE_DIR=              /usr/local/www/data/htdig
X 
X #
X # IMAGE_URL_PREFIX
X@@ -72,7 +72,7 @@
X # Set this to the absolute path where you want the sample search form to
X # be installed.
X #
X-SEARCH_DIR=		/opt/www/htdocs/htdig
X+SEARCH_DIR=		/usr/local/www/data/htdig
X 
X #
X # SEARCH_FORM
END-of-/usr/ports/textproc/htdig/patches/patch-aa
echo x - /usr/ports/textproc/htdig/patches/patch-ac
sed 's/^X//' >/usr/ports/textproc/htdig/patches/patch-ac << 'END-of-/usr/ports/textproc/htdig/patches/patch-ac'
X--- configure.old	Fri Aug 15 17:34:01 1997
X+++ configure	Wed Jul  1 13:06:02 1998
X@@ -1233,8 +1233,6 @@
X HTDIG_TOP=`pwd`
X 
X 
X-GDBM_DIR=`echo gdbm*`
X-
X 
X RX_DIR=`echo rx*`
X 
X@@ -1273,11 +1271,6 @@
X rm -f conftest*
X 
X 
X-echo ""
X-echo "Configuring GNU GDBM"
X-(cd gdbm*; ./configure)
X-echo "GDBM Configuration complete"
X-echo ""
X 
X # Extract the first word of "tsort", so it can be a program name with args.
X set dummy tsort; ac_word=$2
X@@ -1447,7 +1440,6 @@
X s%@TAR@%$TAR%g
X s%@CXXCPP@%$CXXCPP%g
X s%@HTDIG_TOP@%$HTDIG_TOP%g
X-s%@GDBM_DIR@%$GDBM_DIR%g
X s%@RX_DIR@%$RX_DIR%g
X s%@TSORT@%$TSORT%g
X 
END-of-/usr/ports/textproc/htdig/patches/patch-ac
echo x - /usr/ports/textproc/htdig/patches/patch-ab
sed 's/^X//' >/usr/ports/textproc/htdig/patches/patch-ab << 'END-of-/usr/ports/textproc/htdig/patches/patch-ab'
X--- configure.in.old	Fri Aug 15 17:32:15 1997
X+++ configure.in	Wed Jul  1 13:05:40 1998
X@@ -59,9 +59,6 @@
X HTDIG_TOP=`pwd`
X AC_SUBST(HTDIG_TOP)
X 
X-GDBM_DIR=`echo gdbm*`
X-AC_SUBST(GDBM_DIR)
X-
X RX_DIR=`echo rx*`
X AC_SUBST(RX_DIR)
X 
X@@ -82,11 +79,6 @@
X   [AC_MSG_RESULT(no)],
X   [AC_MSG_RESULT(yes);AC_DEFINE(NEED_PROTO_GETHOSTNAME)])
X 
X-echo ""
X-echo "Configuring GNU GDBM"
X-(cd gdbm*; ./configure)
X-echo "GDBM Configuration complete"
X-echo ""
X 
X AC_PATH_PROG(TSORT, tsort)
X if test -z "$TSORT"; then
END-of-/usr/ports/textproc/htdig/patches/patch-ab
echo x - /usr/ports/textproc/htdig/patches/patch-ad
sed 's/^X//' >/usr/ports/textproc/htdig/patches/patch-ad << 'END-of-/usr/ports/textproc/htdig/patches/patch-ad'
X--- Makefile.in.old	Fri Aug 15 01:59:17 1997
X+++ Makefile.in	Wed Jul  1 13:08:04 1998
X@@ -1,6 +1,6 @@
X include @HTDIG_TOP@/Makefile.config
X 
X-DIRS=		@GDBM_DIR@ @RX_DIR@ \
X+DIRS=		@RX_DIR@ \
X 		htlib htcommon htfuzzy htdig \
X 		htsearch htmerge htnotify
X INSTALLDIRS=	htfuzzy htdig \
END-of-/usr/ports/textproc/htdig/patches/patch-ad
echo x - /usr/ports/textproc/htdig/patches/patch-ae
sed 's/^X//' >/usr/ports/textproc/htdig/patches/patch-ae << 'END-of-/usr/ports/textproc/htdig/patches/patch-ae'
X--- Makefile.config.in.old	Fri Aug 15 01:59:17 1997
X+++ Makefile.config.in	Wed Jul  1 13:48:50 1998
X@@ -22,8 +22,8 @@
X TAR=		@TAR@
X 
X CCC=		$(CXX)
X-LIBDIRS=	-L../htlib -L../htcommon -L../@GDBM_DIR@ -L../@RX_DIR@/rx
X-INCS=		-I../htlib -I../htcommon -I../include -I../@GDBM_DIR@ -I../@RX_DIR@/rx
X+LIBDIRS=	-L../htlib -L../htcommon -L../@RX_DIR@/rx -L/usr/local/lib
X+INCS=		-I../htlib -I../htcommon -I../include -I../@RX_DIR@/rx -I/usr/local/include
X LIBS=		-lcommon -lht -lgdbm -lrx @LIBS@
X 
X DIST=		htdig-@HTDIG_VERSION@
END-of-/usr/ports/textproc/htdig/patches/patch-ae
echo c - /usr/ports/textproc/htdig/files
mkdir -p /usr/ports/textproc/htdig/files > /dev/null 2>&1
echo x - /usr/ports/textproc/htdig/files/md5
sed 's/^X//' >/usr/ports/textproc/htdig/files/md5 << 'END-of-/usr/ports/textproc/htdig/files/md5'
XMD5 (htdig-3.0.8b2.tar.gz) = 0dea24b400b1ab7ade5602079e3841bf
END-of-/usr/ports/textproc/htdig/files/md5
exit


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807012056.QAA06450>