diff options
author | steve <steve@FreeBSD.org> | 1998-07-05 03:21:58 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-07-05 03:21:58 +0800 |
commit | 727883f552e93bf25ef0f3f85a67c9a40008d92c (patch) | |
tree | 62ed10bf5925e6dd723d78561d3e81f06c2b4dd8 /lang | |
parent | 6bb71d7da1b522d670082951709f0c47256b1923 (diff) | |
download | freebsd-ports-gnome-727883f552e93bf25ef0f3f85a67c9a40008d92c.tar.gz freebsd-ports-gnome-727883f552e93bf25ef0f3f85a67c9a40008d92c.tar.zst freebsd-ports-gnome-727883f552e93bf25ef0f3f85a67c9a40008d92c.zip |
Initial import of kawk.
kawk - Brian Kernighan's awk.
PR: 6460
Submitted by: Josh Gilliam <josh@quick.net>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/nawk/Makefile | 25 | ||||
-rw-r--r-- | lang/nawk/distinfo | 1 | ||||
-rw-r--r-- | lang/nawk/files/patch-aa | 18 | ||||
-rw-r--r-- | lang/nawk/pkg-comment | 1 | ||||
-rw-r--r-- | lang/nawk/pkg-descr | 8 | ||||
-rw-r--r-- | lang/nawk/pkg-plist | 2 |
6 files changed, 55 insertions, 0 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile new file mode 100644 index 000000000000..8bb5b0ae7cc0 --- /dev/null +++ b/lang/nawk/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: kawk +# Version required: 98.02.11 +# Date created: 29 April 1998 +# Whom: Josh Gilliam <josh@quick.net> +# +# $Id$ +# + +DISTNAME= awk +PKGNAME= kawk-98.02.11 +CATEGORIES= lang +MASTER_SITES= http://cm.bell-labs.com/who/bwk/ + +MAINTAINER= josh@quick.net + +NO_WRKSUBDIR= yes +MAKEFILE= makefile +ALL_TARGET= a.out +MAN1= kawk.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/kawk + ${INSTALL_MAN} ${WRKSRC}/awk.1 ${PREFIX}/man/man1/kawk.1 + +.include <bsd.port.mk> diff --git a/lang/nawk/distinfo b/lang/nawk/distinfo new file mode 100644 index 000000000000..bbb81357603a --- /dev/null +++ b/lang/nawk/distinfo @@ -0,0 +1 @@ +MD5 (awk.tar.gz) = 6a55811b417b489d6ce0a10cd1e9ab06 diff --git a/lang/nawk/files/patch-aa b/lang/nawk/files/patch-aa new file mode 100644 index 000000000000..d4615cfddcb0 --- /dev/null +++ b/lang/nawk/files/patch-aa @@ -0,0 +1,18 @@ +--- 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 + diff --git a/lang/nawk/pkg-comment b/lang/nawk/pkg-comment new file mode 100644 index 000000000000..a4dccf779612 --- /dev/null +++ b/lang/nawk/pkg-comment @@ -0,0 +1 @@ +Brian Kernighan's pattern scanning and processing language diff --git a/lang/nawk/pkg-descr b/lang/nawk/pkg-descr new file mode 100644 index 000000000000..990b2b41d3e8 --- /dev/null +++ b/lang/nawk/pkg-descr @@ -0,0 +1,8 @@ +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. + + +-- +Josh Gilliam <josh@quick.net> diff --git a/lang/nawk/pkg-plist b/lang/nawk/pkg-plist new file mode 100644 index 000000000000..12f41ca3b92f --- /dev/null +++ b/lang/nawk/pkg-plist @@ -0,0 +1,2 @@ +bin/kawk +man/man1/kawk.1.gz |