Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 15:09:35 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38712: Update port: lang/gawk to 3.1.1
Message-ID:  <200205292209.g4TM9Z2i033634@www.freebsd.org>

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

>Number:         38712
>Category:       ports
>Synopsis:       Update port: lang/gawk to 3.1.1
>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:   Wed May 29 15:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.5-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.1.1

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/lang/gawk/Makefile lang/gawk/Makefile
--- /usr/ports/lang/gawk/Makefile	Wed Jul 11 18:02:17 2001
+++ lang/gawk/Makefile	Mon May 20 22:36:38 2002
@@ -5,16 +5,20 @@
 # $FreeBSD: ports/lang/gawk/Makefile,v 1.13 2001/07/11 09:02:17 dd Exp $
 
 PORTNAME=	gawk
-PORTVERSION=	3.1.0
+PORTVERSION=	3.1.1
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	gawk
 
 MAINTAINER=	dd@FreeBSD.org
 
-GNU_CONFIGURE=		yes
-CONFIGURE_ARGS=		--enable-bitops \
-			--enable-non-decimal-data
+BUILD_DEPENDS=	${LOCALBASE}/lib/libintl.a:${PORTSDIR}/devel/gettext
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-libiconv-prefix=${LOCALBASE} \
+		--with-libintl-prefix=${LOCALBASE}
 MAN1=		gawk.1 igawk.1
+
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/lang/gawk/distinfo lang/gawk/distinfo
--- /usr/ports/lang/gawk/distinfo	Wed Jul 11 17:53:07 2001
+++ lang/gawk/distinfo	Mon May 20 20:58:59 2002
@@ -1 +1 @@
-MD5 (gawk-3.1.0.tar.gz) = 789d223fc7ee4ada694071e04124a3ae
+MD5 (gawk-3.1.1.tar.gz) = 47e3754195bf32c8b78ad632bab903cd
diff -urN /usr/ports/lang/gawk/files/patch-Makefile lang/gawk/files/patch-Makefile
--- /usr/ports/lang/gawk/files/patch-Makefile	Thu Aug  2 00:19:58 2001
+++ lang/gawk/files/patch-Makefile	Mon May 20 21:04:08 2002
@@ -1,9 +1,9 @@
---- Makefile.in~	Wed Aug  1 15:12:53 2001
-+++ Makefile.in	Wed Aug  1 15:13:00 2001
-@@ -755,7 +755,7 @@
- 	(fullname=gawk-`./gawk --version | sed 1q | awk '{print $$3}'` ; \
+--- Makefile.in.orig	Mon Apr 29 23:36:46 2002
++++ Makefile.in	Mon May 20 21:04:00 2002
+@@ -761,7 +761,7 @@
  	cd $(DESTDIR)$(bindir); \
  	$(LN) gawk $$fullname ; \
+ 	$(LN) pgawk p$$fullname ; \
 -	if [ ! -f awk ]; \
 +	if ! /usr/bin/which -s awk; \
  	then	$(LN_S) gawk awk; \
diff -urN /usr/ports/lang/gawk/files/patch-sec1 lang/gawk/files/patch-sec1
--- /usr/ports/lang/gawk/files/patch-sec1	Wed Jul 11 17:53:07 2001
+++ lang/gawk/files/patch-sec1	Mon May 20 23:08:12 2002
@@ -1,6 +1,62 @@
---- doc/gawk.texi~	Wed Jul 11 01:44:15 2001
-+++ doc/gawk.texi	Wed Jul 11 01:47:18 2001
-@@ -20336,8 +20336,7 @@
+--- doc/gawk.texi.orig	Mon Apr 22 20:26:20 2002
++++ doc/gawk.texi	Mon May 20 23:07:14 2002
+@@ -97,7 +97,7 @@
+ @finalout
+ @end iftex
+ 
+-@copying
++@ifinfo
+ Copyright @copyright{} 1989, 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ @sp 2
+ 
+@@ -122,7 +122,7 @@
+ software.  Copies published by the Free Software Foundation raise
+ funds for GNU development.''
+ @end enumerate
+-@end copying
++@end ifinfo
+ 
+ @c Comment out the "smallbook" for technical review.  Saves
+ @c considerable paper.  Remember to turn it back on *before*
+@@ -184,8 +184,24 @@
+ 
+ @c This one is correct for gawk 3.1.0 from the FSF
+ ISBN 1-882114-28-0 @*
+-@sp 2
+-@insertcopying
++
++Permission is granted to copy, distribute and/or modify this document
++under the terms of the GNU Free Documentation License, Version 1.1 or
++any later version published by the Free Software Foundation; with the
++Invariant Sections being ``GNU General Public License'', the Front-Cover
++texts being (a) (see below), and with the Back-Cover Texts being (b)
++(see below).  A copy of the license is included in the section entitled
++``GNU Free Documentation License''.
++
++@enumerate a
++@item
++``A GNU Manual''
++
++@item
++``You have freedom to copy and modify this GNU Manual, like GNU
++software.  Copies published by the Free Software Foundation raise
++funds for GNU development.''
++@end enumerate
+ @sp 2
+ Cover art by Etienne Suvasa.
+ @end titlepage
+@@ -228,7 +244,9 @@
+ This file documents @command{awk}, a program that you can use to select
+ particular records in a file and perform operations upon them.
+ 
+-@insertcopying
++This is Edition @value{EDITION} of @cite{@value{TITLE}: @value{SUBTITLE}},
++for the @value{VERSION}.@value{PATCHLEVEL} (or later) version of the GNU
++implementation of AWK.
+ 
+ @end ifnottex
+ 
+@@ -21418,8 +21436,7 @@
  arranges to clean up any temporary files on program exit or upon an
  interrupt.
  
@@ -10,7 +66,7 @@
  
  The next part loops through all the command-line arguments.
  There are several cases of interest:
-@@ -20358,13 +20357,13 @@
+@@ -21440,13 +21457,13 @@
  These are saved and passed on to @command{gawk}.
  
  @item -f@r{,} --file@r{,} --file=@r{,} -Wfile=
@@ -26,8 +82,8 @@
  
  @item --version@r{,} -Wversion
  @command{igawk} prints its version number, runs @samp{gawk --version}
-@@ -20375,17 +20374,12 @@
- or @option{-Wsource} arguments are supplied, then the first non-option argument
+@@ -21457,17 +21474,12 @@
+ or @option{-Wsource} arguments are supplied, then the first nonoption argument
  should be the @command{awk} program.  If there are no command-line
  arguments left, @command{igawk} prints an error message and exits.
 -Otherwise, the first argument is echoed into @file{/tmp/ig.s.$$}.
@@ -35,11 +91,11 @@
  In any case, after the arguments have been processed,
 -@file{/tmp/ig.s.$$} contains the complete text of the original @command{awk}
 -program.
-+the complete text of the original @code{awk} program
++the complete text of the original @command{awk} program
 +is contained in a temporary file.
  
  @cindex @command{sed} utility
--@cindex stream editor
+-@cindex stream editors
 -The @samp{$$} in @command{sh} represents the current process ID number.
 -It is often used in shell programs to generate unique temporary @value{FN}s.
 -This allows multiple users to run @command{igawk} without worrying
@@ -47,7 +103,7 @@
  The program is as follows:
  
  @cindex @code{igawk.sh} program
-@@ -20400,6 +20394,18 @@
+@@ -21482,6 +21494,18 @@
  # Arnold Robbins, arnold@@gnu.org, Public Domain
  # July 1993
  
@@ -66,7 +122,7 @@
  @c endfile
  @end ignore
  @c file eg/prog/igawk.sh
-@@ -20409,7 +20415,7 @@
+@@ -21491,7 +21515,7 @@
      shift
  else
      # cleanup on exit, hangup, interrupt, quit, termination
@@ -75,7 +131,7 @@
  fi
  
  while [ $# -ne 0 ] # loop over arguments
-@@ -20426,26 +20432,26 @@
+@@ -21508,26 +21532,26 @@
  
      -[vF]*) opts="$opts '$1'" ;;
  
@@ -108,7 +164,7 @@
              shift;;
  
      -?version)
-@@ -20460,7 +20466,7 @@
+@@ -21542,7 +21566,7 @@
      shift
  done
  
@@ -117,7 +173,7 @@
  then
  @group
      if [ -z "$1" ]
-@@ -20469,12 +20475,12 @@
+@@ -21551,12 +21575,12 @@
           exit 1
  @end group
      else
@@ -132,7 +188,7 @@
  @c endfile
  @end example
  
-@@ -20553,7 +20559,7 @@
+@@ -21635,7 +21659,7 @@
  @c endfile
  @end example
  
@@ -141,7 +197,7 @@
  The main loop comes next.  Input lines are read in succession. Lines that
  do not start with @samp{@@include} are printed verbatim.
  If the line does start with @samp{@@include}, the @value{FN} is in @code{$2}.
-@@ -20599,7 +20605,7 @@
+@@ -21681,7 +21705,7 @@
          @}
          close(input[stackptr])
      @}
@@ -150,7 +206,7 @@
  @c endfile
  @end example
  
-@@ -20625,7 +20631,7 @@
+@@ -21707,7 +21731,7 @@
  
  @example
  @c file eg/prog/igawk.sh
diff -urN /usr/ports/lang/gawk/pkg-plist lang/gawk/pkg-plist
--- /usr/ports/lang/gawk/pkg-plist	Wed Jul 11 18:02:17 2001
+++ lang/gawk/pkg-plist	Mon May 20 23:14:53 2002
@@ -1,13 +1,16 @@
 bin/gawk
-bin/pgawk
-bin/gawk-3.1.0
+bin/gawk-%%VERSION%%
 bin/igawk
+bin/pgawk
+bin/pgawk-%%VERSION%%
+@unexec install-info --delete %D/info/gawk.info %D/info/dir
 info/gawk.info
+@exec install-info %D/info/gawk.info %D/info/dir
+@unexec install-info --delete %D/info/gawkinet.info %D/info/dir
 info/gawkinet.info
-libexec/awk/pwcat
+@exec install-info %D/info/gawkinet.info %D/info/dir
 libexec/awk/grcat
-share/awk/passwd.awk
-share/awk/group.awk
+libexec/awk/pwcat
 share/awk/assert.awk
 share/awk/bits2str.awk
 share/awk/cliff_rand.awk
@@ -15,18 +18,22 @@
 share/awk/ftrans.awk
 share/awk/getopt.awk
 share/awk/gettime.awk
+share/awk/group.awk
 share/awk/join.awk
 share/awk/libintl.awk
 share/awk/nextfile.awk
 share/awk/noassign.awk
 share/awk/ord.awk
+share/awk/passwd.awk
 share/awk/readable.awk
 share/awk/rewind.awk
 share/awk/round.awk
+share/locale/de/LC_MESSAGES/gawk.mo
+share/locale/es/LC_MESSAGES/gawk.mo
+share/locale/fr/LC_MESSAGES/gawk.mo
 share/locale/he/LC_MESSAGES/gawk.mo
-@exec install-info %D/info/gawk.info %D/info/dir
-@unexec install-info --delete %D/info/gawk.info %D/info/dir
-@exec install-info %D/info/gawkinet.info %D/info/dir
-@unexec install-info --delete %D/info/gawkinet.info %D/info/dir
-@dirrm libexec/awk
+share/locale/it/LC_MESSAGES/gawk.mo
+share/locale/sv/LC_MESSAGES/gawk.mo
+share/locale/tr/LC_MESSAGES/gawk.mo
 @dirrm share/awk
+@dirrm libexec/awk

>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?200205292209.g4TM9Z2i033634>