Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 20:46:21 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/20102: Update port: net/freewais-sf to 2.2.14
Message-ID:  <20000722034621.78EFD37B80C@hub.freebsd.org>

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

>Number:         20102
>Category:       ports
>Synopsis:       Update port: net/freewais-sf to 2.2.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 21 20:50:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 2.2.14

New file:
patches/patch-ah
files/freebsd.sh

Remove file:
files/configure.ans.skel

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/net/freewais-sf/Makefile net/freewais-sf/Makefile
--- /usr/ports/net/freewais-sf/Makefile	Mon Apr 10 20:56:45 2000
+++ net/freewais-sf/Makefile	Sat Jul 22 11:54:19 2000
@@ -6,30 +6,26 @@
 #
 
 PORTNAME=	freewais-sf
-PORTVERSION=	2.2.13
+PORTVERSION=	2.2.14
 CATEGORIES=	net databases
 MASTER_SITES=	ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/freeWAIS-sf/
-DISTNAME=	freeWAIS-sf-2.2.13
+DISTNAME=	freeWAIS-sf-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	Configure
-CONFIGURE_ARGS=	< ${WRKDIR}/configure.ans
+CONFIGURE_ENV=		PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}"
+CONFIGURE_ARGS=		-sde -Dprefix="${PREFIX}" \
+			-Darchname="${MACHINE_ARCH}-freebsd"
 INSTALL_TARGET=	install install.man
 
-MAN1=	catalog.1 dictionary.1 inverted_file.1 makedb.1 mkfmt.1 waisindex.1 \
+MAN1=	catalog.1 dictionary.1 inverted_file.1 mkfmt.1 waisindex.1 \
 	waisq.1 waissearch.1 waisserver.1 xwais.1 xwaisq.1
 MAN3=	ftw.3 regexp.3 scandir.3
 
-pre-configure:
-	@${SED} -e "s:%%CC%%:${CC}:g" \
-	        -e "s:%%CFLAGS%%:${CFLAGS}:g" \
-		${FILESDIR}/configure.ans.skel > ${WRKDIR}/configure.ans
-
-post-configure:
-	@find ${WRKSRC} -type f | \
-		xargs ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g"
+post-extract:
+	${CP} ${FILESDIR}/freebsd.sh ${WRKSRC}/hints
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -urN /usr/ports/net/freewais-sf/files/configure.ans.skel net/freewais-sf/files/configure.ans.skel
--- /usr/ports/net/freewais-sf/files/configure.ans.skel	Mon Oct 11 08:45:04 1999
+++ net/freewais-sf/files/configure.ans.skel	Thu Jan  1 09:00:00 1970
@@ -1,49 +0,0 @@
-
-
-
-none
-n
-%%PREFIX%%
-y
-%%PREFIX%%/bin
-y
-%%PREFIX%%/man/man1
-y
-%%PREFIX%%/lib/freeWAIS-sf
-%%PREFIX%%/bin
-y
-%%PREFIX%%/man/man1
-1
-%%PREFIX%%/man/man3
-3
-none
-%%CC%%
-/lib /usr/lib
-%%CFLAGS%%
-none
-none
-so
-
-y
-
-y
-y
-y
-y
-y
-n
-n
-y
-y
-/usr/bin/install
-flex
-/usr/bin/mkdep
-pid_t
-void
-time_t
-uid_t
-/usr/bin/byacc
-none
-
-y
-
diff -urN /usr/ports/net/freewais-sf/files/freebsd.sh net/freewais-sf/files/freebsd.sh
--- /usr/ports/net/freewais-sf/files/freebsd.sh	Thu Jan  1 09:00:00 1970
+++ net/freewais-sf/files/freebsd.sh	Sat Jul 22 12:01:20 2000
@@ -0,0 +1,7 @@
+locincpth="$PREFIX/include";
+libpth="/usr/lib";
+man3dir="$PREFIX/man/man3";
+privlic="$PREFIX/lib/";
+optimize="$CFLAGS";
+cc="$CC";
+ld="$CC";
diff -urN /usr/ports/net/freewais-sf/files/md5 net/freewais-sf/files/md5
--- /usr/ports/net/freewais-sf/files/md5	Tue Mar 21 10:50:08 2000
+++ net/freewais-sf/files/md5	Sat Jul 22 06:49:04 2000
@@ -1 +1 @@
-MD5 (freeWAIS-sf-2.2.13.tar.gz) = 31b9984cf7c9ef8cd65a5db6eadfee17
+MD5 (freeWAIS-sf-2.2.14.tar.gz) = d94ed4c2ccc0102dda37727c1de47dd1
diff -urN /usr/ports/net/freewais-sf/patches/patch-ah net/freewais-sf/patches/patch-ah
--- /usr/ports/net/freewais-sf/patches/patch-ah	Thu Jan  1 09:00:00 1970
+++ net/freewais-sf/patches/patch-ah	Sat Jul 22 07:45:03 2000
@@ -0,0 +1,29 @@
+--- lib/ir/grundform.c.orig	Sat Jul 22 06:56:48 2000
++++ lib/ir/grundform.c	Sat Jul 22 07:44:53 2000
+@@ -9,7 +9,7 @@
+  * Update Count    : 50
+  * Status          : Unknown, Use with caution!
+  * 
+- * (C) Copyright 1996, Universität Dortmund, all rights reserved.
++ * (C) Copyright 1996, UniversitçÕ Dortmund, all rights reserved.
+  * 
+  */
+ #include "../config.h"
+@@ -169,7 +169,7 @@
+ {
+   if (!my_perl_inited)   init_perl(NULL);
+   if (!my_module_loaded) {
+-    require_pv("Text/German.pm");
++    perl_require_pv("Text/German.pm");
+     my_module_loaded = 1;
+   }
+   return(call_reduce("Text::German::cache_reduce", word));
+@@ -181,7 +181,7 @@
+ {
+   if (!my_perl_inited)   init_perl(NULL);
+   if (!my_module_loaded) {
+-    require_pv("Text/German.pm");
++    perl_require_pv("Text/German.pm");
+     my_module_loaded = 1;
+   }
+   return (call_reduce("Text::German::stem", word));
diff -urN /usr/ports/net/freewais-sf/pkg/PLIST net/freewais-sf/pkg/PLIST
--- /usr/ports/net/freewais-sf/pkg/PLIST	Mon Oct 11 08:45:11 1999
+++ net/freewais-sf/pkg/PLIST	Sat Jul 22 11:57:27 2000
@@ -3,7 +3,6 @@
 bin/dictionary
 bin/getaddrs
 bin/inverted_file
-bin/makedb
 bin/mkfmt
 bin/server_stats
 bin/stats.awk
@@ -26,8 +25,8 @@
 lib/freeWAIS-sf/emacs/lisp/wais.el
 lib/freeWAIS-sf/libwais.a
 share/doc/SF/fwsf.ps
-@dirrm include/freeWAIS-sf
+@dirrm share/doc/SF
 @dirrm lib/freeWAIS-sf/emacs/lisp
 @dirrm lib/freeWAIS-sf/emacs
 @dirrm lib/freeWAIS-sf
-@dirrm share/doc/SF
+@dirrm include/freeWAIS-sf


>Release-Note:
>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?20000722034621.78EFD37B80C>