summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/mawk/Makefile9
-rw-r--r--lang/mawk/files/md54
-rw-r--r--lang/mawk/files/patch-sum4
-rw-r--r--lang/mawk/patches/patch-aa30
4 files changed, 30 insertions, 17 deletions
diff --git a/lang/mawk/Makefile b/lang/mawk/Makefile
index 705fb50095d..44ecd11b4e5 100644
--- a/lang/mawk/Makefile
+++ b/lang/mawk/Makefile
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.5 1999/09/04 15:22:02 agc Exp $
+# $NetBSD: Makefile,v 1.6 2000/03/24 17:56:49 jlam Exp $
#
-DISTNAME= mawk1.2.2
-PKGNAME= mawk-1.2.2
+DISTNAME= mawk1.3.3
+PKGNAME= mawk-1.3.3
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.oxy.edu/public/
+MASTER_SITES= ftp://ftp.whidbey.net/pub/brennan/ \
+ ftp://ftp.fu-berlin.de/pub/unix/languages/mawk
MAINTAINER= agc@netbsd.org
diff --git a/lang/mawk/files/md5 b/lang/mawk/files/md5
index ff1e42b9fe2..9ce9bb394c2 100644
--- a/lang/mawk/files/md5
+++ b/lang/mawk/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.2 1998/08/07 13:24:58 agc Exp $
+$NetBSD: md5,v 1.3 2000/03/24 17:56:51 jlam Exp $
-MD5 (mawk1.2.2.tar.gz) = 614a469cc1cc3f26ba7da04d9f55fd73
+MD5 (mawk1.3.3.tar.gz) = ad46743641924e1234b2bfba92641085
diff --git a/lang/mawk/files/patch-sum b/lang/mawk/files/patch-sum
index afb6e8cfcfd..fcc0f9f1a27 100644
--- a/lang/mawk/files/patch-sum
+++ b/lang/mawk/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 13:54:09 agc Exp $
+$NetBSD: patch-sum,v 1.2 2000/03/24 17:56:51 jlam Exp $
-MD5 (patch-aa) = f768743914ec1b57a33b2e093abe3ddd
+MD5 (patch-aa) = 47bba5165139766dc797c5575ab09007
diff --git a/lang/mawk/patches/patch-aa b/lang/mawk/patches/patch-aa
index abd865446ca..bbc52d9dc52 100644
--- a/lang/mawk/patches/patch-aa
+++ b/lang/mawk/patches/patch-aa
@@ -1,27 +1,39 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:09:19 agc Exp $
+$NetBSD: patch-aa,v 1.3 2000/03/24 17:56:51 jlam Exp $
---- Makefile.in.orig Sun Dec 17 22:20:55 1995
-+++ Makefile.in Wed Oct 1 16:24:02 1997
+--- Makefile.in.orig Wed Jan 31 21:05:40 1996
++++ Makefile.in Fri Mar 24 09:50:06 2000
@@ -11,10 +11,11 @@
YACC = @YACC@
-+prefix= ${PREFIX}
++prefix = ${PREFIX}
# where to put mawk
-BINDIR = @BINDIR@
-+BINDIR = ${prefix}/bin
++BINDIR = $(prefix)/bin
# where to put the man pages
-MANDIR = @MANDIR@
-+MANDIR = ${prefix}/man/man1
++MANDIR = $(prefix)/man/man1
MANEXT = @MANEXT@
#######################################
-@@ -31,7 +32,7 @@
- REXP_C=rexp/rexp.c rexp/rexp0.c rexp/rexp1.c rexp/rexp2.c\
+@@ -32,6 +33,7 @@
rexp/rexp3.c
--
+
+all: mawk_and_test
mawk_and_test : mawk mawk_test fpe_test
mawk : $(O) rexp/.done
+@@ -74,10 +76,8 @@
+
+ MAWKMAN = $(MANDIR)/mawk.$(MANEXT)
+ install : mawk
+- cp mawk $(BINDIR)
+- chmod 0755 $(BINDIR)/mawk
+- cp man/mawk.1 $(MAWKMAN)
+- chmod 0644 $(MAWKMAN)
++ ${BSD_INSTALL_PROGRAM} mawk $(BINDIR)
++ ${BSD_INSTALL_MAN} man/mawk.1 $(MAWKMAN)
+
+ clean :
+ rm -f *.o rexp/*.o rexp/.done test/mawk core test/core mawk