Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 1998 14:03:02 -0800 (PST)
From:      pfgiffun@bachue.usc.unal.edu.co
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/8530: Update to the kawk port
Message-ID:  <199811012203.OAA13636@hub.freebsd.org>

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

>Number:         8530
>Category:       ports
>Synopsis:       Update to the kawk port
>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:   Sun Nov  1 14:10:00 PST 1998
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Organization:
U. Nacional de Colombia
>Release:        2.2.7-Release
>Environment:
not-relevant
>Description:
A new version of Brian Kernighan's awk, with minor fixes is available.
>How-To-Repeat:
Apply attched diff. Note I changed the name from kawk to nawk.
>Fix:
diff -rNu kawk/Makefile nawk/Makefile
--- kawk/Makefile	Sat Jul  4 14:21:55 1998
+++ nawk/Makefile	Sun Nov  1 16:24:09 1998
@@ -1,4 +1,4 @@
-# New ports collection makefile for:  kawk
+# New ports collection makefile for:  nawk
 # Version required:    98.02.11
 # Date created:        29 April 1998
 # Whom:                Josh Gilliam <josh@quick.net>
@@ -7,19 +7,20 @@
 #
 
 DISTNAME=	awk
-PKGNAME=	kawk-98.02.11
+PKGNAME=	nawk-98.10.20
 CATEGORIES=	lang
 MASTER_SITES=	http://cm.bell-labs.com/who/bwk/
+EXTRACT_SUFX=	tar.gz
 
 MAINTAINER=	josh@quick.net
 
 NO_WRKSUBDIR=	yes
 MAKEFILE=	makefile
 ALL_TARGET=	a.out
-MAN1=		kawk.1
+MAN1=		nawk.1
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/kawk
-	${INSTALL_MAN} ${WRKSRC}/awk.1 ${PREFIX}/man/man1/kawk.1
+	${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
+	${INSTALL_MAN} ${WRKSRC}/awk.1 ${PREFIX}/man/man1/nawk.1
 
 .include <bsd.port.mk>
diff -rNu kawk/files/md5 nawk/files/md5
--- kawk/files/md5	Sat Jul  4 14:21:55 1998
+++ nawk/files/md5	Sun Nov  1 16:22:32 1998
@@ -1 +1 @@
-MD5 (awk.tar.gz) = 6a55811b417b489d6ce0a10cd1e9ab06
+MD5 (awktar.gz) = 5ce5f5aa2d1d5232afb9108c7445f3fe
diff -rNu kawk/patches/patch-aa nawk/patches/patch-aa
--- kawk/patches/patch-aa	Sat Jul  4 14:21:55 1998
+++ nawk/patches/patch-aa	Sun Nov  1 16:33:46 1998
@@ -1,18 +1,31 @@
---- makefile.orig	Sat Aug 16 05:52:46 1997
-+++ makefile	Wed Apr 29 13:52:20 1998
-@@ -22,13 +22,9 @@
- # THIS SOFTWARE.
- # ****************************************************************/
- 
--CFLAGS = -g
--CFLAGS = -O
--CC = purify cc
--CC = gcc -Wall -g
--CC = cc
-+CFLAGS ?= ${CFLAGS}
-+CC ?= ${CC}
- 
--YACC = bison -y
- YACC = yacc
- YFLAGS = -d
- 
+*** makefile.orig	Tue Oct 20 08:48:03 1998
+--- makefile	Sun Nov  1 16:32:49 1998
+***************
+*** 22,34 ****
+  # THIS SOFTWARE.
+  # ****************************************************************/
+  
+! CFLAGS = -g
+! CFLAGS = -O
+! CC = gcc -Wall -g
+! CC = purify cc
+! CC = cc
+  
+! YACC = bison -y
+  YACC = yacc
+  YFLAGS = -d
+  
+--- 22,34 ----
+  # THIS SOFTWARE.
+  # ****************************************************************/
+  
+! CFLAGS ?= ${CFLAGS}
+! #CFLAGS = -O
+! #CC = gcc -Wall -g
+! #CC = purify cc
+! CC ?= ${CC}
+  
+! #YACC = bison -y
+  YACC = yacc
+  YFLAGS = -d
+  
diff -rNu kawk/pkg/DESCR nawk/pkg/DESCR
--- kawk/pkg/DESCR	Sat Jul  4 14:21:58 1998
+++ nawk/pkg/DESCR	Sun Nov  1 16:45:23 1998
@@ -1,8 +1,9 @@
-This is Brian Kernighan's awk, which is "the one true awk".
-Awk scans input files for specified patterns and can perform
-an associated action when a line of the file matches the
-pattern.
+This is the version of awk described in "The AWK Programming Language",
+by Al Aho, Brian Kernighan, and Peter Weinberger
+(Addison-Wesley, 1988, ISBN 0-201-07981-X).
 
+Awk scans input files for specified patterns and can perform an associated
+action when a line of the file matches the pattern.
 
 -- 
 Josh Gilliam                    <josh@quick.net>
diff -rNu kawk/pkg/PLIST nawk/pkg/PLIST
--- kawk/pkg/PLIST	Tue Aug 18 17:42:48 1998
+++ nawk/pkg/PLIST	Sun Nov  1 16:51:11 1998
@@ -1 +1 @@
-bin/kawk
+bin/nawk

>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?199811012203.OAA13636>