summaryrefslogtreecommitdiff
path: root/lang/mawk
diff options
context:
space:
mode:
authoragc <agc>1997-10-16 13:49:08 +0000
committeragc <agc>1997-10-16 13:49:08 +0000
commitd30fb1fef2ee1c6f245fddae3a720966450e87ba (patch)
tree427050f684461f9e4a1039e50cb39feb84572241 /lang/mawk
parent9c994a217af69682e5b0a819fe1a89ac93d10587 (diff)
downloadpkgsrc-d30fb1fef2ee1c6f245fddae3a720966450e87ba.tar.gz
Initial import of Mike Brennan's small, fast awk clone to
NetBSD package system.
Diffstat (limited to 'lang/mawk')
-rw-r--r--lang/mawk/Makefile18
-rw-r--r--lang/mawk/files/md51
-rw-r--r--lang/mawk/patches/patch-aa25
-rw-r--r--lang/mawk/pkg/COMMENT1
-rw-r--r--lang/mawk/pkg/DESCR3
-rw-r--r--lang/mawk/pkg/PLIST2
6 files changed, 50 insertions, 0 deletions
diff --git a/lang/mawk/Makefile b/lang/mawk/Makefile
new file mode 100644
index 00000000000..4ae34240c86
--- /dev/null
+++ b/lang/mawk/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 1997/10/16 13:49:08 agc Exp $
+# New ports collection makefile for: mawk
+# Version required: 1.2.2
+# Date created: 1 October 1997
+# Whom: agc@netbsd.org
+#
+#
+
+DISTNAME= mawk1.2.2
+PKGNAME= mawk-1.2.2
+WRKSRC= ${WRKDIR}/${PKGNAME}
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.oxy.edu/public/
+
+GNU_CONFIGURE= yes
+MAN1= mawk.1
+
+.include <bsd.port.mk>
diff --git a/lang/mawk/files/md5 b/lang/mawk/files/md5
new file mode 100644
index 00000000000..1b76478cd62
--- /dev/null
+++ b/lang/mawk/files/md5
@@ -0,0 +1 @@
+MD5 (mawk1.2.2.tar.gz) = 614a469cc1cc3f26ba7da04d9f55fd73
diff --git a/lang/mawk/patches/patch-aa b/lang/mawk/patches/patch-aa
new file mode 100644
index 00000000000..d668bcdae97
--- /dev/null
+++ b/lang/mawk/patches/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.in.orig Sun Dec 17 22:20:55 1995
++++ Makefile.in Wed Oct 1 16:24:02 1997
+@@ -11,10 +11,11 @@
+
+ YACC = @YACC@
+
++prefix= ${PREFIX}
+ # where to put mawk
+-BINDIR = @BINDIR@
++BINDIR = ${prefix}/bin
+ # where to put the man pages
+-MANDIR = @MANDIR@
++MANDIR = ${prefix}/man/man1
+ MANEXT = @MANEXT@
+ #######################################
+
+@@ -31,7 +32,7 @@
+ REXP_C=rexp/rexp.c rexp/rexp0.c rexp/rexp1.c rexp/rexp2.c\
+ rexp/rexp3.c
+
+-
++all: mawk_and_test
+ mawk_and_test : mawk mawk_test fpe_test
+
+ mawk : $(O) rexp/.done
diff --git a/lang/mawk/pkg/COMMENT b/lang/mawk/pkg/COMMENT
new file mode 100644
index 00000000000..96dffb910cb
--- /dev/null
+++ b/lang/mawk/pkg/COMMENT
@@ -0,0 +1 @@
+Mike Brennan's fast awk clone
diff --git a/lang/mawk/pkg/DESCR b/lang/mawk/pkg/DESCR
new file mode 100644
index 00000000000..1e7eba9b9e0
--- /dev/null
+++ b/lang/mawk/pkg/DESCR
@@ -0,0 +1,3 @@
+Mike Brennan's awk clone.
+It's fast (faster than gawk), and relatively small.
+
diff --git a/lang/mawk/pkg/PLIST b/lang/mawk/pkg/PLIST
new file mode 100644
index 00000000000..1d42885fdf9
--- /dev/null
+++ b/lang/mawk/pkg/PLIST
@@ -0,0 +1,2 @@
+bin/mawk
+man/man1/mawk.1