aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/nawk/Makefile25
-rw-r--r--lang/nawk/distinfo1
-rw-r--r--lang/nawk/files/patch-aa18
-rw-r--r--lang/nawk/pkg-comment1
-rw-r--r--lang/nawk/pkg-descr8
-rw-r--r--lang/nawk/pkg-plist2
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