summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoragc <agc>1998-10-15 13:19:21 +0000
committeragc <agc>1998-10-15 13:19:21 +0000
commit2b89a321927a4adc255cf2b81bb3273dde8dbbf5 (patch)
tree3bd08f7e5b369bc46dafad7846e3a8387fdc80d8 /lang
parentf2e385d8d47196f7fb0c58f8f5f27144d4c727a8 (diff)
downloadpkgsrc-2b89a321927a4adc255cf2b81bb3273dde8dbbf5.tar.gz
Initial import of Brian Kernighan's definitive version of new awk into
the Packages collection.
Diffstat (limited to 'lang')
-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