On 2013/05/11 03:09, Jérémie Courrèges-Anglas wrote: > Hi, > > here's an update for lang/mawk > > Some notes: > - patch gone > - new maintainer (Thomas Dickey), MASTER_SITES, etc > - lots of bugfixes > - compatibility with BWK and Gawk improved
Tweaked slightly: borrow manpage text for DESCR, don't USE_GROFF, better license marker. Index: Makefile =================================================================== RCS file: /cvs/ports/lang/mawk/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- Makefile 11 Mar 2013 11:20:28 -0000 1.23 +++ Makefile 11 May 2013 09:22:48 -0000 @@ -2,25 +2,19 @@ COMMENT= fast POSIX-compliant awk -DISTNAME= mawk-1.3.3 -REVISION= 0 -DISTFILES= ${DISTNAME:S,-,,}.tar.gz +DISTNAME= mawk-1.3.4-20130219 +PKGNAME= mawk-1.3.4.20130219 CATEGORIES= lang -MASTER_SITES= ${MASTER_SITE_BACKUP} +MASTER_SITES= ftp://invisible-island.net/mawk/ +EXTRACT_SUFX= .tgz -# GPL V2 +HOMEPAGE= http://invisible-island.net/mawk/ + +# GPLv2 only PERMIT_PACKAGE_CDROM= Yes WANTLIB= c m -CONFIGURE_STYLE= gnu old - -ALL_TARGET= mawk -TEST_TARGET= mawk_test -USE_GROFF = Yes - -do-install: - ${INSTALL_PROGRAM} ${WRKBUILD}/mawk ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/mawk.1 ${PREFIX}/man/man1 +CONFIGURE_STYLE= gnu .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/lang/mawk/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- distinfo 5 Apr 2007 16:20:00 -0000 1.3 +++ distinfo 11 May 2013 09:22:48 -0000 @@ -1,5 +1,2 @@ -MD5 (mawk1.3.3.tar.gz) = rUZ0NkGSThI0sr+6kmQQhQ== -RMD160 (mawk1.3.3.tar.gz) = 8ck5qgMux/XoFXqUQNNSDy7MhQE= -SHA1 (mawk1.3.3.tar.gz) = MUvNtlQ3M/R+9NnZNWsj9T1qf4k= -SHA256 (mawk1.3.3.tar.gz) = MmScRgY9TvB3ehKubpomvMkggz1U4avKftuNN0gedIU= -SIZE (mawk1.3.3.tar.gz) = 209942 +SHA256 (mawk-1.3.4-20130219.tgz) = A4KqxxFPQJr+iObxkSjsof68YKGtYbRNusxpv47g+T4= +SIZE (mawk-1.3.4-20130219.tgz) = 354004 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/lang/mawk/patches/patch-configure,v retrieving revision 1.1 diff -u -p -r1.1 patch-configure --- patches/patch-configure 6 Jan 2004 02:28:12 -0000 1.1 +++ patches/patch-configure 11 May 2013 09:22:48 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-configure,v 1.1 2004/01/06 02:28:12 espie Exp $ ---- configure.orig 2004-01-06 03:24:49.000000000 +0100 -+++ configure 2004-01-06 03:25:10.000000000 +0100 -@@ -529,7 +529,7 @@ cat > conftest.$ac_ext <<EOF - - int main() { return 0; } - int t() { --log() -+log(5.0) - ; return 0; } - EOF - if eval $ac_link; then Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/lang/mawk/pkg/DESCR,v retrieving revision 1.2 diff -u -p -r1.2 DESCR --- pkg/DESCR 16 Apr 2007 00:04:32 -0000 1.2 +++ pkg/DESCR 11 May 2013 09:22:48 -0000 @@ -1,13 +1,10 @@ -mawk is a new, fast reimplementation of the AWK language. +mawk is an interpreter for the AWK Programming Language. The AWK +language is useful for manipulation of data files, text retrieval and +processing, and for prototyping and experimenting with algorithms. mawk +is a new awk meaning it implements the AWK language as defined in Aho, +Kernighan and Weinberger, The AWK Programming Language, Addison-Wesley +Publishing, 1988 ("the AWK book".) -Version 1.3 implements a new internal design for arrays: - -Extensive redesign of array data structures to support large arrays and -fast access to arrays created with split. Many of the ideas in the -new design were inspired by reading "The Design and Implementation of -Dynamic Hashing Sets and Tables in Icon" by William Griswold and -Gregg Townsend, SPE 23,351-367. - -Bug reports, comments, questions, etc. to -Mike Brennan, bren...@whidbey.com. -ftp site: ftp.whidbey.net in ~/pub/brennan +mawk conforms to the Posix 1003.2 (draft 11.3) definition of the AWK +language which contains a few features not described in the AWK book, +and mawk provides a small number of extensions. Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/lang/mawk/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 15 Sep 2004 19:16:08 -0000 1.3 +++ pkg/PLIST 11 May 2013 09:22:48 -0000 @@ -1,3 +1,3 @@ @comment $OpenBSD: PLIST,v 1.3 2004/09/15 19:16:08 espie Exp $ -bin/mawk +@bin bin/mawk @man man/man1/mawk.1