summaryrefslogtreecommitdiff
path: root/lang/nawk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-10-15 13:19:21 +0000
committeragc <agc@pkgsrc.org>1998-10-15 13:19:21 +0000
commita94c635854987bae2f6f5be19ae45cd9b42f71c3 (patch)
tree3bd08f7e5b369bc46dafad7846e3a8387fdc80d8 /lang/nawk
parent23fc7d9c88e775ec38933959d82fd93a561059d0 (diff)
downloadpkgsrc-a94c635854987bae2f6f5be19ae45cd9b42f71c3.tar.gz
Initial import of Brian Kernighan's definitive version of new awk into
the Packages collection.
Diffstat (limited to 'lang/nawk')
-rw-r--r--lang/nawk/Makefile20
-rw-r--r--lang/nawk/files/md53
-rw-r--r--lang/nawk/pkg/COMMENT1
-rw-r--r--lang/nawk/pkg/DESCR6
-rw-r--r--lang/nawk/pkg/PLIST3
5 files changed, 33 insertions, 0 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
new file mode 100644
index 00000000000..6e145a2b9a7
--- /dev/null
+++ b/lang/nawk/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
+#
+
+DISTNAME= awk
+PKGNAME= nawk-19980211
+CATEGORIES= lang
+MASTER_SITES= http://cm.bell-labs.com/who/bwk/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://cm.bell-labs.com/who/bwk/
+
+NO_WRKSUBDIR= yes
+MAKEFILE= makefile
+ALL_TARGET= a.out
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk
+ ${SED} -e 's|awk|nawk|g' ${WRKSRC}/awk.1 > ${PREFIX}/man/man1/nawk.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/nawk/files/md5 b/lang/nawk/files/md5
new file mode 100644
index 00000000000..2540153597d
--- /dev/null
+++ b/lang/nawk/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
+
+MD5 (awk.tar.gz) = 6a55811b417b489d6ce0a10cd1e9ab06
diff --git a/lang/nawk/pkg/COMMENT b/lang/nawk/pkg/COMMENT
new file mode 100644
index 00000000000..2ad42331f75
--- /dev/null
+++ b/lang/nawk/pkg/COMMENT
@@ -0,0 +1 @@
+Brian Kernighan's pattern-directed scanning and processing language
diff --git a/lang/nawk/pkg/DESCR b/lang/nawk/pkg/DESCR
new file mode 100644
index 00000000000..db80762a0b2
--- /dev/null
+++ b/lang/nawk/pkg/DESCR
@@ -0,0 +1,6 @@
+The one, true implementation of the AWK pattern-directed scanning and
+processing language, by one of the language's creators, Brian
+Kernighan. 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).
+It is also known as new awk, or nawk.
diff --git a/lang/nawk/pkg/PLIST b/lang/nawk/pkg/PLIST
new file mode 100644
index 00000000000..e09673a4ba4
--- /dev/null
+++ b/lang/nawk/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/15 13:19:21 agc Exp $
+bin/nawk
+man/man1/nawk.1