UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-05-17 Thread Brian Callahan
Hi ports --

Now that we're post unlock, here is the update to GNU awk again. I have 
successful reports on octeon from jj and I've tested things on amd64.

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile	18 Dec 2019 00:36:46 -	1.39
+++ Makefile	24 Apr 2020 17:39:08 -
@@ -2,8 +2,9 @@
 
 COMMENT=	GNU awk
 
-V=		5.0.1
+V=		5.1.0
 DISTNAME=	gawk-$V
+EXTRACT_SUFX=	.tar.xz
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
 
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo	18 Dec 2019 00:36:46 -	1.19
+++ distinfo	24 Apr 2020 17:39:08 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-5.0.1.tar.gz) = YlvzcY4lqE3ESGE11ctTiBdGgjYscBB/0T8hVy9WA7s=
-SIZE (gawk-5.0.1.tar.gz) = 5981609
+SHA256 (gawk-5.1.0.tar.xz) = z1/qSsVmX9UXGvRxa6qy7/x2MGqVcpiNW6EHjxljgr0=
+SIZE (gawk-5.1.0.tar.xz) = 3154564


Re: UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-05-17 Thread Charlene Wendling
Hi,

On Sun, 17 May 2020 18:26:09 +
Brian Callahan wrote:

> Hi ports --
> 
> Now that we're post unlock, here is the update to GNU awk again. I
> have successful reports on octeon from jj and I've tested things on
> amd64.
> 
> OK?

It builds and works fine on macppc as well.

OK cwen@

> ~Brian
> 



Re: UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-04-18 Thread Brian Callahan




On 2020-04-18 4:56 PM, Christian Weisgerber wrote:

On 2020-04-16, Brian Callahan  wrote:


Here is an update to GNU awk, released yesterday.
The announcement, including the major changes, is here:
https://lists.gnu.org/archive/html/info-gnu/2020-04/msg7.html

Do we need this now?
Maybe wait until after the release?



Doesn't matter to me; after is fine.

~Brian



Re: UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-04-18 Thread Christian Weisgerber
On 2020-04-16, Brian Callahan  wrote:

> Here is an update to GNU awk, released yesterday.
> The announcement, including the major changes, is here: 
> https://lists.gnu.org/archive/html/info-gnu/2020-04/msg7.html

Do we need this now?
Maybe wait until after the release?

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-04-17 Thread Janne Johansson
Den tors 16 apr. 2020 kl 04:19 skrev Brian Callahan :

> Hi ports --
> All tests pass on amd64 and I don't anticipate any breakage in any ports
> that depend on gawk based on my limited testing. A big endian check
> would be appreciated.
>

All tests passed on octeon.

-- 
May the most significant bit of your life be positive.


UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-04-15 Thread Brian Callahan

Hi ports --

Here is an update to GNU awk, released yesterday.
The announcement, including the major changes, is here: 
https://lists.gnu.org/archive/html/info-gnu/2020-04/msg7.html


All tests pass on amd64 and I don't anticipate any breakage in any ports 
that depend on gawk based on my limited testing. A big endian check 
would be appreciated.


I would like to move to the .tar.xz tarball; it's about half the size of 
the .tar.gz tarball.


OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile	18 Dec 2019 00:36:46 -	1.39
+++ Makefile	16 Apr 2020 02:10:08 -
@@ -2,8 +2,9 @@
 
 COMMENT=	GNU awk
 
-V=		5.0.1
+V=		5.1.0
 DISTNAME=	gawk-$V
+EXTRACT_SUFX=	.tar.xz
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
 
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo	18 Dec 2019 00:36:46 -	1.19
+++ distinfo	16 Apr 2020 02:10:08 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-5.0.1.tar.gz) = YlvzcY4lqE3ESGE11ctTiBdGgjYscBB/0T8hVy9WA7s=
-SIZE (gawk-5.0.1.tar.gz) = 5981609
+SHA256 (gawk-5.1.0.tar.xz) = z1/qSsVmX9UXGvRxa6qy7/x2MGqVcpiNW6EHjxljgr0=
+SIZE (gawk-5.1.0.tar.xz) = 3154564


Re: UPDATE: lang/gawk 5.0.0 => 5.0.1

2019-12-17 Thread Charlene Wendling
Hi,

On Tue, 17 Dec 2019 11:26:55 -0500
Brian Callahan wrote:

> 
> 
> On 2019-12-06 10:00, Brian Callahan wrote:
> > Hi ports --
> >
> > I send a diff for this over the summer and got an ok from cwen@ but 
> > never committed it. 

And it's still OK cwen@ :)

> > Lots of things have changed in ports since
> > then, so I figured I'd resend.
> >
> > The update is still all the same; all tests pass on amd64 and
> > macppc. I also added debug packages to get a feel for what that's
> > like under my fingers.
> >
> > OK?
> >
> > ~Brian
> >
> 
> Ping.
> 



Re: UPDATE: lang/gawk 5.0.0 => 5.0.1

2019-12-17 Thread Brian Callahan




On 2019-12-06 10:00, Brian Callahan wrote:

Hi ports --

I send a diff for this over the summer and got an ok from cwen@ but 
never committed it. Lots of things have changed in ports since then, 
so I figured I'd resend.


The update is still all the same; all tests pass on amd64 and macppc. 
I also added debug packages to get a feel for what that's like under 
my fingers.


OK?

~Brian



Ping.



UPDATE: lang/gawk 5.0.0 => 5.0.1

2019-12-06 Thread Brian Callahan

Hi ports --

I send a diff for this over the summer and got an ok from cwen@ but 
never committed it. Lots of things have changed in ports since then, so 
I figured I'd resend.


The update is still all the same; all tests pass on amd64 and macppc. I 
also added debug packages to get a feel for what that's like under my 
fingers.


OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile	12 Jul 2019 20:47:18 -	1.38
+++ Makefile	6 Dec 2019 14:58:14 -
@@ -2,19 +2,21 @@
 
 COMMENT=	GNU awk
 
-V=		5.0.0
+V=		5.0.1
 DISTNAME=	gawk-$V
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
-REVISION=	0
 
 HOMEPAGE=	https://www.gnu.org/software/gawk/
+MAINTAINER=	Brian Callahan 
 
 # GPLv3+
 PERMIT_PACKAGE=	Yes
 
 WANTLIB += c curses gmp iconv intl m mpfr readline sigsegv
 
+DEBUG_PACKAGES=	${BUILD_PACKAGES}
+
 LIB_DEPENDS=	devel/gettext,-runtime \
 		devel/gmp \
 		devel/libsigsegv \
@@ -26,8 +28,8 @@ MAKE_ENV +=	RM="rm -f"
 
 CONFIGURE_STYLE=gnu
 LIBTOOL_FLAGS=	--tag=disable-static
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
 
 post-install:
 	${INSTALL_MAN_DIR} ${PREFIX}/man/man3am
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- distinfo	11 May 2019 20:18:18 -	1.18
+++ distinfo	6 Dec 2019 14:58:14 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
-SIZE (gawk-5.0.0.tar.gz) = 5763496
+SHA256 (gawk-5.0.1.tar.gz) = YlvzcY4lqE3ESGE11ctTiBdGgjYscBB/0T8hVy9WA7s=
+SIZE (gawk-5.0.1.tar.gz) = 5981609
Index: files/automake.dep
===
RCS file: files/automake.dep
diff -N files/automake.dep
--- files/automake.dep	8 Dec 2012 20:46:05 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,5 +0,0 @@
-# $OpenBSD: automake.dep,v 1.1 2012/12/08 20:46:05 naddy Exp $
-configh.in configure.in
-configh.in configure.ac
-configh.in aclocal.m4
-/Maketests /Makefile.am
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/gawk/pkg/PLIST,v
retrieving revision 1.17
diff -u -p -r1.17 PLIST
--- pkg/PLIST	11 May 2019 20:18:18 -	1.17
+++ pkg/PLIST	6 Dec 2019 14:58:14 -
@@ -7,18 +7,18 @@ include/gawkapi.h
 @info info/gawkinet.info
 @info info/gawkworkflow.info
 lib/gawk/
-lib/gawk/filefuncs.so
-lib/gawk/fnmatch.so
-lib/gawk/fork.so
-lib/gawk/inplace.so
-lib/gawk/intdiv.so
-lib/gawk/ordchr.so
-lib/gawk/readdir.so
-lib/gawk/readfile.so
-lib/gawk/revoutput.so
-lib/gawk/revtwoway.so
-lib/gawk/rwarray.so
-lib/gawk/time.so
+@so lib/gawk/filefuncs.so
+@so lib/gawk/fnmatch.so
+@so lib/gawk/fork.so
+@so lib/gawk/inplace.so
+@so lib/gawk/intdiv.so
+@so lib/gawk/ordchr.so
+@so lib/gawk/readdir.so
+@so lib/gawk/readfile.so
+@so lib/gawk/revoutput.so
+@so lib/gawk/revtwoway.so
+@so lib/gawk/rwarray.so
+@so lib/gawk/time.so
 libexec/awk/
 @bin libexec/awk/grcat
 @bin libexec/awk/pwcat
@@ -78,6 +78,7 @@ share/locale/ms/LC_MESSAGES/
 share/locale/ms/LC_MESSAGES/gawk.mo
 share/locale/nl/LC_MESSAGES/gawk.mo
 share/locale/pl/LC_MESSAGES/gawk.mo
+share/locale/pt/LC_MESSAGES/gawk.mo
 share/locale/pt_BR/LC_MESSAGES/gawk.mo
 share/locale/sv/LC_MESSAGES/gawk.mo
 share/locale/vi/LC_MESSAGES/gawk.mo


Re: UPDATE: lang/gawk 5.0.0 => 5.0.1

2019-08-12 Thread Charlene Wendling
On Sun, 11 Aug 2019 21:57:07 -0400
Brian Callahan wrote:

> 
> 
> On 7/29/19 9:12 PM, Brian Callahan wrote:
> > Hi ports --
> >
> > Attached is a simple update to lang/gawk. All tests pass on amd64
> > and macppc.
> > There is something in FILESDIR. But removing it seems to have no 
> > consequence on building the port whatsoever. So let's get rid of it.
> >
> > Take MAINTAINER because sure why not.
> >
> > OK?

OK cwen@ (i've tested on amd64 only)

> > ~Brian
> >
> 
> Ping. Diff reattached for convenience.
> 
> ~Brian
> 



Re: UPDATE: lang/gawk 5.0.0 => 5.0.1

2019-08-11 Thread Brian Callahan



On 7/29/19 9:12 PM, Brian Callahan wrote:

Hi ports --

Attached is a simple update to lang/gawk. All tests pass on amd64 and 
macppc.
There is something in FILESDIR. But removing it seems to have no 
consequence on building the port whatsoever. So let's get rid of it.


Take MAINTAINER because sure why not.

OK?

~Brian



Ping. Diff reattached for convenience.

~Brian

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile	12 Jul 2019 20:47:18 -	1.38
+++ Makefile	30 Jul 2019 00:59:07 -
@@ -2,13 +2,13 @@
 
 COMMENT=	GNU awk
 
-V=		5.0.0
+V=		5.0.1
 DISTNAME=	gawk-$V
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
-REVISION=	0
 
 HOMEPAGE=	https://www.gnu.org/software/gawk/
+MAINTAINER=	Brian Callahan 
 
 # GPLv3+
 PERMIT_PACKAGE=	Yes
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- distinfo	11 May 2019 20:18:18 -	1.18
+++ distinfo	30 Jul 2019 00:59:07 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
-SIZE (gawk-5.0.0.tar.gz) = 5763496
+SHA256 (gawk-5.0.1.tar.gz) = YlvzcY4lqE3ESGE11ctTiBdGgjYscBB/0T8hVy9WA7s=
+SIZE (gawk-5.0.1.tar.gz) = 5981609
Index: files/automake.dep
===
RCS file: files/automake.dep
diff -N files/automake.dep
--- files/automake.dep	8 Dec 2012 20:46:05 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,5 +0,0 @@
-# $OpenBSD: automake.dep,v 1.1 2012/12/08 20:46:05 naddy Exp $
-configh.in configure.in
-configh.in configure.ac
-configh.in aclocal.m4
-/Maketests /Makefile.am
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/gawk/pkg/PLIST,v
retrieving revision 1.17
diff -u -p -r1.17 PLIST
--- pkg/PLIST	11 May 2019 20:18:18 -	1.17
+++ pkg/PLIST	30 Jul 2019 00:59:07 -
@@ -78,6 +78,7 @@ share/locale/ms/LC_MESSAGES/
 share/locale/ms/LC_MESSAGES/gawk.mo
 share/locale/nl/LC_MESSAGES/gawk.mo
 share/locale/pl/LC_MESSAGES/gawk.mo
+share/locale/pt/LC_MESSAGES/gawk.mo
 share/locale/pt_BR/LC_MESSAGES/gawk.mo
 share/locale/sv/LC_MESSAGES/gawk.mo
 share/locale/vi/LC_MESSAGES/gawk.mo


UPDATE: lang/gawk 5.0.0 => 5.0.1

2019-07-29 Thread Brian Callahan

Hi ports --

Attached is a simple update to lang/gawk. All tests pass on amd64 and 
macppc.
There is something in FILESDIR. But removing it seems to have no 
consequence on building the port whatsoever. So let's get rid of it.


Take MAINTAINER because sure why not.

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile	12 Jul 2019 20:47:18 -	1.38
+++ Makefile	30 Jul 2019 00:59:07 -
@@ -2,13 +2,13 @@
 
 COMMENT=	GNU awk
 
-V=		5.0.0
+V=		5.0.1
 DISTNAME=	gawk-$V
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
-REVISION=	0
 
 HOMEPAGE=	https://www.gnu.org/software/gawk/
+MAINTAINER=	Brian Callahan 
 
 # GPLv3+
 PERMIT_PACKAGE=	Yes
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- distinfo	11 May 2019 20:18:18 -	1.18
+++ distinfo	30 Jul 2019 00:59:07 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
-SIZE (gawk-5.0.0.tar.gz) = 5763496
+SHA256 (gawk-5.0.1.tar.gz) = YlvzcY4lqE3ESGE11ctTiBdGgjYscBB/0T8hVy9WA7s=
+SIZE (gawk-5.0.1.tar.gz) = 5981609
Index: files/automake.dep
===
RCS file: files/automake.dep
diff -N files/automake.dep
--- files/automake.dep	8 Dec 2012 20:46:05 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,5 +0,0 @@
-# $OpenBSD: automake.dep,v 1.1 2012/12/08 20:46:05 naddy Exp $
-configh.in configure.in
-configh.in configure.ac
-configh.in aclocal.m4
-/Maketests /Makefile.am
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/gawk/pkg/PLIST,v
retrieving revision 1.17
diff -u -p -r1.17 PLIST
--- pkg/PLIST	11 May 2019 20:18:18 -	1.17
+++ pkg/PLIST	30 Jul 2019 00:59:07 -
@@ -78,6 +78,7 @@ share/locale/ms/LC_MESSAGES/
 share/locale/ms/LC_MESSAGES/gawk.mo
 share/locale/nl/LC_MESSAGES/gawk.mo
 share/locale/pl/LC_MESSAGES/gawk.mo
+share/locale/pt/LC_MESSAGES/gawk.mo
 share/locale/pt_BR/LC_MESSAGES/gawk.mo
 share/locale/sv/LC_MESSAGES/gawk.mo
 share/locale/vi/LC_MESSAGES/gawk.mo


Re: Update: lang/gawk -> 5.0.0

2019-05-11 Thread Charlene Wendling
Hi!

On Sun, 5 May 2019 10:31:11 -0400
Brian Callahan  wrote:

> Hi Stephen --
> 
> On 5/5/19 8:47 AM, Stephen Gregoratto wrote:
> > Gawk 5 released on April 12[1] with some cool new features. I
> > couldn't find updates for it on ports@, so here it is. The release
> > notes recommend using GNU Bison 3.3, but it compiles fine and
> > passes all tests on 6.5 and -current.
> 
> Thanks for the diff. The comment from upstream about bison is
> regarding their infrastructure to generate needed files for their
> releases; since we're using release tarballs, these files are
> pre-generated (and thus we don't need to worry about bison).
> 
> There needs to be a little more for this to be ok. First, REVISION is 
> always removed when updating version. Second, there are some files 
> installed to ${WRKINST}/etc/profile.d that should go. Third, if you
> run `make update-plist' then the PLIST changes.
> 
> The attached diff takes care of these issues. All tests pass on
> amd64, hppa, and mips64el.

And so they do on macppc :) I've found nothing wrong port-wise as well.

OK cwen@

> ~Brian
> 
> > [1]
> > https://lists.gnu.org/archive/html/info-gnu/2019-04/msg2.html
> >



Re: Update: lang/gawk -> 5.0.0

2019-05-05 Thread Brian Callahan

Hi Stephen --

On 5/5/19 8:47 AM, Stephen Gregoratto wrote:

Gawk 5 released on April 12[1] with some cool new features. I couldn't
find updates for it on ports@, so here it is. The release notes
recommend using GNU Bison 3.3, but it compiles fine and passes all tests
on 6.5 and -current.


Thanks for the diff. The comment from upstream about bison is regarding 
their infrastructure to generate needed files for their releases; since 
we're using release tarballs, these files are pre-generated (and thus we 
don't need to worry about bison).


There needs to be a little more for this to be ok. First, REVISION is 
always removed when updating version. Second, there are some files 
installed to ${WRKINST}/etc/profile.d that should go. Third, if you run 
`make update-plist' then the PLIST changes.


The attached diff takes care of these issues. All tests pass on amd64, 
hppa, and mips64el.


~Brian


[1] https://lists.gnu.org/archive/html/info-gnu/2019-04/msg2.html

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile2 Nov 2018 18:48:39 -   1.35
+++ Makefile5 May 2019 04:49:13 -
@@ -2,7 +2,7 @@
  
  COMMENT=	GNU awk
  
-V=		4.2.1

+V= 5.0.0
  DISTNAME= gawk-$V
  REVISION= 0
  CATEGORIES=   lang
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo2 Apr 2018 17:04:44 -   1.17
+++ distinfo5 May 2019 04:49:13 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
-SIZE (gawk-4.2.1.tar.gz) = 510
+SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
+SIZE (gawk-5.0.0.tar.gz) = 5763496


Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile	2 Nov 2018 18:48:39 -	1.35
+++ Makefile	5 May 2019 13:52:15 -
@@ -2,9 +2,8 @@
 
 COMMENT=	GNU awk
 
-V=		4.2.1
+V=		5.0.0
 DISTNAME=	gawk-$V
-REVISION=	0
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
 
@@ -32,5 +31,6 @@ CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/
 post-install:
 	${INSTALL_MAN_DIR} ${PREFIX}/man/man3am
 	mv ${PREFIX}/man/man3/*.3am ${PREFIX}/man/man3am
+	@rm -rf ${WRKINST}/etc/profile.d
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo	2 Apr 2018 17:04:44 -	1.17
+++ distinfo	5 May 2019 13:52:15 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
-SIZE (gawk-4.2.1.tar.gz) = 510
+SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
+SIZE (gawk-5.0.0.tar.gz) = 5763496
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/gawk/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST
--- pkg/PLIST	14 Jan 2018 10:03:54 -	1.16
+++ pkg/PLIST	5 May 2019 13:52:15 -
@@ -50,6 +50,7 @@ share/awk/intdiv0.awk
 share/awk/join.awk
 share/awk/libintl.awk
 share/awk/noassign.awk
+share/awk/ns_passwd.awk
 share/awk/ord.awk
 share/awk/passwd.awk
 share/awk/processarray.awk
@@ -71,6 +72,7 @@ share/locale/fr/LC_MESSAGES/gawk.mo
 share/locale/id/LC_MESSAGES/gawk.mo
 share/locale/it/LC_MESSAGES/gawk.mo
 share/locale/ja/LC_MESSAGES/gawk.mo
+share/locale/ko/LC_MESSAGES/gawk.mo
 share/locale/ms/
 share/locale/ms/LC_MESSAGES/
 share/locale/ms/LC_MESSAGES/gawk.mo


Update: lang/gawk -> 5.0.0

2019-05-05 Thread Stephen Gregoratto
Gawk 5 released on April 12[1] with some cool new features. I couldn't
find updates for it on ports@, so here it is. The release notes
recommend using GNU Bison 3.3, but it compiles fine and passes all tests
on 6.5 and -current.

[1] https://lists.gnu.org/archive/html/info-gnu/2019-04/msg2.html

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile2 Nov 2018 18:48:39 -   1.35
+++ Makefile5 May 2019 04:49:13 -
@@ -2,7 +2,7 @@
 
 COMMENT=   GNU awk
 
-V= 4.2.1
+V= 5.0.0
 DISTNAME=  gawk-$V
 REVISION=  0
 CATEGORIES=lang
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo2 Apr 2018 17:04:44 -   1.17
+++ distinfo5 May 2019 04:49:13 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
-SIZE (gawk-4.2.1.tar.gz) = 510
+SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
+SIZE (gawk-5.0.0.tar.gz) = 5763496
-- 
Stephen Gregoratto
PGP: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B



Re: UPDATE lang/gawk

2018-04-02 Thread Jeremie Courreges-Anglas
On Mon, Apr 02 2018, Björn Ketelaars  wrote:
> A maintenance release (4.2.1) of gawk has been made available. Changelog
> can be found at
> http://git.savannah.gnu.org/cgit/gawk.git/tree/ChangeLog?h=gawk-4.2.1=bd8a8ad0c258d2db31e420eec81932cf15bf9702
>
> make test runs without any failures.

Tested on amd64, arm and sparc64.

> OK?

ok jca@

> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/gawk/Makefile,v
> retrieving revision 1.33
> diff -u -p -r1.33 Makefile
> --- Makefile  14 Jan 2018 10:03:54 -  1.33
> +++ Makefile  2 Apr 2018 12:03:14 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= GNU awk
>  
> -V=   4.2.0
> +V=   4.2.1
>  DISTNAME=gawk-$V
>  CATEGORIES=  lang
>  MASTER_SITES=${MASTER_SITE_GNU:=gawk/}
> Index: distinfo
> ===
> RCS file: /cvs/ports/lang/gawk/distinfo,v
> retrieving revision 1.16
> diff -u -p -r1.16 distinfo
> --- distinfo  14 Jan 2018 10:03:54 -  1.16
> +++ distinfo  2 Apr 2018 12:03:14 -
> @@ -1,2 +1,2 @@
> -SHA256 (gawk-4.2.0.tar.gz) = yIBGxug5buVIvLlB4W3vgJt7VbYKEES13SVAlPNHx9k=
> -SIZE (gawk-4.2.0.tar.gz) = 5602299
> +SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
> +SIZE (gawk-4.2.1.tar.gz) = 510
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



UPDATE lang/gawk

2018-04-02 Thread Björn Ketelaars
A maintenance release (4.2.1) of gawk has been made available. Changelog
can be found at
http://git.savannah.gnu.org/cgit/gawk.git/tree/ChangeLog?h=gawk-4.2.1=bd8a8ad0c258d2db31e420eec81932cf15bf9702

make test runs without any failures.

OK?


Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile14 Jan 2018 10:03:54 -  1.33
+++ Makefile2 Apr 2018 12:03:14 -
@@ -2,7 +2,7 @@
 
 COMMENT=   GNU awk
 
-V= 4.2.0
+V= 4.2.1
 DISTNAME=  gawk-$V
 CATEGORIES=lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gawk/}
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo14 Jan 2018 10:03:54 -  1.16
+++ distinfo2 Apr 2018 12:03:14 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.2.0.tar.gz) = yIBGxug5buVIvLlB4W3vgJt7VbYKEES13SVAlPNHx9k=
-SIZE (gawk-4.2.0.tar.gz) = 5602299
+SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
+SIZE (gawk-4.2.1.tar.gz) = 510



Re: UPDATE: lang/gawk

2018-01-07 Thread Jeremie Courreges-Anglas
On Tue, Jan 02 2018, Rafael Sadowski  wrote:
> Hi All,
>
> here is a simple GNU awk update to the latest stable version.
> One test fails as weel as in 4.1.4.
>
> Ok? Comments?

ok jca@ except...

> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/lang/gawk/pkg/PLIST,v
> retrieving revision 1.15
> diff -u -p -u -p -r1.15 PLIST
> --- pkg/PLIST 26 Jul 2017 18:57:59 -  1.15
> +++ pkg/PLIST 2 Jan 2018 07:40:51 -
> @@ -1,29 +1,28 @@
>  @comment $OpenBSD: PLIST,v 1.15 2017/07/26 18:57:59 jasper Exp $
>  bin/awk
>  @bin bin/gawk
> -@bin bin/gawk-${V}
> -bin/igawk
> +@bin bin/${FULLPKGNAME}

this will break whenever REVISION gets bumped, please keep gawk-${V}.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



UPDATE: lang/gawk

2018-01-02 Thread Rafael Sadowski
Hi All,

here is a simple GNU awk update to the latest stable version.
One test fails as weel as in 4.1.4.

Ok? Comments?

Best regards,

Rafael Sadowski

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 Makefile
--- Makefile26 Jul 2017 18:57:59 -  1.32
+++ Makefile2 Jan 2018 07:40:51 -
@@ -2,7 +2,7 @@
 
 COMMENT=   GNU awk
 
-V= 4.1.4
+V= 4.2.0
 DISTNAME=  gawk-$V
 CATEGORIES=lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gawk/}
@@ -12,7 +12,7 @@ HOMEPAGE= https://www.gnu.org/software/g
 # GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += c gmp iconv intl m mpfr readline sigsegv termcap
+WANTLIB += c curses gmp iconv intl m mpfr readline sigsegv
 
 LIB_DEPENDS=   devel/gettext \
devel/gmp \
@@ -25,7 +25,7 @@ MAKE_ENV +=   RM="rm -f"
 
 CONFIGURE_STYLE=gnu
 LIBTOOL_FLAGS= --tag=disable-static
-CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 
 post-install:
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo26 Jul 2017 18:57:59 -  1.15
+++ distinfo2 Jan 2018 07:40:51 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.1.4.tar.gz) = jAMIDitaViY+h4P28fMGOY1Fkb4YJUBB8/VH7++UTTU=
-SIZE (gawk-4.1.4.tar.gz) = 4582398
+SHA256 (gawk-4.2.0.tar.gz) = yIBGxug5buVIvLlB4W3vgJt7VbYKEES13SVAlPNHx9k=
+SIZE (gawk-4.2.0.tar.gz) = 5602299
Index: patches/patch-getopt_c
===
RCS file: patches/patch-getopt_c
diff -N patches/patch-getopt_c
--- patches/patch-getopt_c  21 May 2015 06:45:48 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-getopt_c,v 1.1 2015/05/21 06:45:48 ajacoutot Exp $
-
-incompatible implicit declaration of built-in function 'malloc'
-
 getopt.c.orig  Thu May 21 08:42:48 2015
-+++ getopt.c   Thu May 21 08:43:06 2015
-@@ -57,7 +57,7 @@
- 
- /* This needs to come after some library #include
-to get __GNU_LIBRARY__ defined.  */
--#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) 
|| defined(__APPLE__) || defined(__MINGW32__) || defined(__sun) /* Illumos */
-+#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) 
|| defined(__APPLE__) || defined(__MINGW32__) || defined(__OpenBSD__) || 
defined(__sun) /* Illumos */
- /* Don't include stdlib.h for
-  * non-GNU C libraries
-  * non-Cygwin
Index: patches/patch-support_getopt_c
===
RCS file: patches/patch-support_getopt_c
diff -N patches/patch-support_getopt_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-support_getopt_c  2 Jan 2018 07:40:51 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+incompatible implicit declaration of built-in function 'malloc'
+
+Index: support/getopt.c
+--- support/getopt.c.orig
 support/getopt.c
+@@ -57,7 +57,7 @@
+ 
+ /* This needs to come after some library #include
+to get __GNU_LIBRARY__ defined.  */
+-#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) 
|| defined(__APPLE__) || defined(__MINGW32__) || defined(__sun) /* Illumos */
++#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) 
|| defined(__APPLE__) || defined(__MINGW32__) || defined(__OpenBSD__) || 
defined(__sun) /* Illumos */
+ /* Don't include stdlib.h for
+  * non-GNU C libraries
+  * non-Cygwin
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/gawk/pkg/PLIST,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 PLIST
--- pkg/PLIST   26 Jul 2017 18:57:59 -  1.15
+++ pkg/PLIST   2 Jan 2018 07:40:51 -
@@ -1,29 +1,28 @@
 @comment $OpenBSD: PLIST,v 1.15 2017/07/26 18:57:59 jasper Exp $
 bin/awk
 @bin bin/gawk
-@bin bin/gawk-${V}
-bin/igawk
+@bin bin/${FULLPKGNAME}
 include/gawkapi.h
 @info info/gawk.info
 @info info/gawkinet.info
+@info info/gawkworkflow.info
 lib/gawk/
 lib/gawk/filefuncs.so
 lib/gawk/fnmatch.so
 lib/gawk/fork.so
 lib/gawk/inplace.so
+lib/gawk/intdiv.so
 lib/gawk/ordchr.so
 lib/gawk/readdir.so
 lib/gawk/readfile.so
 lib/gawk/revoutput.so
 lib/gawk/revtwoway.so
 lib/gawk/rwarray.so
-lib/gawk/testext.so
 lib/gawk/time.so
 libexec/awk/
 @bin libexec/awk/grcat
 @bin libexec/awk/pwcat
 @man man/man1/gawk.1
-@man man/man1/igawk.1
 @mandir man/man3am/
 @man man/man3am/filefuncs.3am
 @man man/man3am/fnmatch.3am
@@ -45,7 +44,9 @@ share/awk/ftrans.awk
 share/awk/getopt.awk
 share/awk/gettime.awk
 share/awk/group.awk
+share/awk/have_mpfr.awk
 share/awk/inplace.awk
+share/awk/intdiv0.awk
 share/awk/join.awk
 share/awk/libintl.awk
 share/awk/noassign.awk
@@ -75,6 +76,7 @@ 

Re: [UPDATE] lang/gawk

2013-06-09 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes:

 Hi,

 here's an update for Gawk.  No modifications for mail/dovecot-antispam
 and net/quagga, regress tests still OK for devel/quilt, build OK for
 databases/virtuoso.  databases/mdbtools untested.

 The extensions are only dlopened for now so static versions are not
 built and the .la files are removed.

 Since ${PREFIX}/man/man3/*.3am manpages were unreachable anyway and
 renaming them to .3 would lead to namespace clashes, I decided to move
 them into their own man/man3am subdir and added a note in pkg/MESSAGE.

 naddy: cc'ing you since your patches are gone.

I had forgotten the PFRAG.shared bits. The diff below also includes
the DESCR rewrite and strips locale directories.

(make-plist logged something like this:

  make-plist: Found out old directory in pkg/PLIST: /usr/local/share/locale 
(mtree)

  make-plist: Found out old directory in pkg/PLIST: /usr/local/share/locale/da 
(mtree)

  make-plist: Found out old directory in pkg/PLIST: 
/usr/local/share/locale/da/LC_MESSAGES (mtree)
)

There's a warning at configure time; it doesn't happen with CONFIG_SHELL
set to bash, but the build doesn't seem affected (say config.{h,log}).

[...]
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking where to find the socket library calls... the standard library
checking whether readline via -lreadline is present and sane... no
checking whether readline via -lreadline -ltermcap is present and sane... yes
checking whether mpfr via -lmpfr -lgmp is present and usable... yes
/usr/obj/pobj/gawk-4.1.0/gawk-4.1.0/configure[10548]: break: cannot break
checking for struct stat.st_blksize... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
[...]

Copyright (C) 2010, 2011, 2012, 2013 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.

 Changes from 4.0.2 to 4.1.0
 ---

 1. The three executables gawk, pgawk, and dgawk, have been merged into
one, named just gawk.  As a result:
  * The -R option is gone
  * Use -D to run the debugger. An optional file argument is a
list of commands to run first.
  * Use -o to do pretty-printing only.
  * Use -p to do profiling.
This considerably reduces gawk's footprint and eases the documentation
burden as well.

 2. Gawk now supports high precision arithmetic with MPFR.  The default is
still double precision, but setting PREC changes things, or using
the -M / --bignum options.  This support is not compiled in if the MPFR
library is not available.

 3. The new -i option (from xgawk) is used for loading awk library files.
This differs from -f in that the first non-option argument is treated
as a script.

 4. The new -l option (from xgawk) is used for loading dynamic extensions.

 5. The dynamic extension interface has been completely redone!  There is
now a defined API for C extensions to use.  A C extension acts like
a function written in awk, except that it cannot do everything that awk
code can. However, this allows interfacing to any facility that is
available from C.  This is a major development, see the doc, which has
a nice shiny new chapter describing everything.

This support is not compiled in if dynamic loading of shared libraries
is not supported.

The old extension mechanism is still supported for compatiblity, but
it will most definitely be removed at the next major release.

 6. The inplace extension, built using the new facility, can be used to
simulate the GNU sed -i feature.

 7. The and(), or() and xor() functions now take any number of arguments,
with a minimum of two.

 8. New arrays: SYMTAB, FUNCTAB, and PROCINFO[identifiers]. SYMTAB allows
indirect access to any defined variable or array; it is possible to
walk the symbol table, if that should be necessary.

 9. Support for building gawk with a cross compiler has been improved.

 10. Infrastructure upgrades: bison 2.7.1, gettext 0.18.2.1, automake 1.13.1,
 libtool 2.4.2 for the extensions.

 Changes from 4.0.1 to 4.0.2
 ---

 1. Infrastructure upgrades: Autoconf 2.69, Automake 1.12.6, bison 2.7.

 2. `fflush()', `nextfile', and `delete array' are all now part of POSIX.

 3. fflush() behavior changed to match BWK awk and for POSIX - now both
fflush() and fflush() flush all open output redirections.

 4. Various minor bug fixes and documentation updates.



Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile11 Mar 2013 11:20:27 -  1.23
+++ Makefile9 Jun 2013 00:00:38 -
@@ -2,9 +2,8 @@
 
 COMMENT=   GNU awk
 
-V=   

Re: [UPDATE] lang/gawk

2013-06-09 Thread Jérémie Courrèges-Anglas

and...
- yacc finds 36 shift/reduce conflicts: same as before
- there's one more test that fails: tests/parseme (now 2 failures)

[...]
parseme
/usr/obj/pobj/gawk-4.1.0/gawk-4.1.0/test/parseme.ok _parseme differ: char 230, 
line 4
*** Error 1 in target 'parseme' (ignored)
[...]

parseme.ok:
gawk: parseme.awk:1: BEGIN { toupper(substr*line,1,12)) }
gawk: parseme.awk:1:   ^ syntax error
gawk: parseme.awk:1: BEGIN { toupper(substr*line,1,12)) }
gawk: parseme.awk:1: ^ 3 is invalid as number 
of arguments for toupper
EXIT CODE: 1

output:
gawk: parseme.awk:1: BEGIN { toupper(substr*line,1,12)) }
gawk: parseme.awk:1:   ^ syntax error
gawk: parseme.awk:1: BEGIN { toupper(substr*line,1,12)) }
gawk: parseme.awk:1: ^ 2 is invalid as number 
of arguments for toupper
EXIT CODE: 1

Those two tests are probably failing because of of differences between
yacc and bison.

-- 
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



[UPDATE] lang/gawk

2013-05-11 Thread Jérémie Courrèges-Anglas
Hi,

here's an update for Gawk.  No modifications for mail/dovecot-antispam
and net/quagga, regress tests still OK for devel/quilt, build OK for
databases/virtuoso.  databases/mdbtools untested.

The extensions are only dlopened for now so static versions are not
built and the .la files are removed.

Since ${PREFIX}/man/man3/*.3am manpages were unreachable anyway and
renaming them to .3 would lead to namespace clashes, I decided to move
them into their own man/man3am subdir and added a note in pkg/MESSAGE.

naddy: cc'ing you since your patches are gone.

Copyright (C) 2010, 2011, 2012, 2013 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.

 Changes from 4.0.2 to 4.1.0
 ---

 1. The three executables gawk, pgawk, and dgawk, have been merged into
one, named just gawk.  As a result:
   * The -R option is gone
   * Use -D to run the debugger. An optional file argument is a
 list of commands to run first.
   * Use -o to do pretty-printing only.
   * Use -p to do profiling.
This considerably reduces gawk's footprint and eases the documentation
burden as well.

 2. Gawk now supports high precision arithmetic with MPFR.  The default is
still double precision, but setting PREC changes things, or using
the -M / --bignum options.  This support is not compiled in if the MPFR
library is not available.

 3. The new -i option (from xgawk) is used for loading awk library files.
This differs from -f in that the first non-option argument is treated
as a script.

 4. The new -l option (from xgawk) is used for loading dynamic extensions.

 5. The dynamic extension interface has been completely redone!  There is
now a defined API for C extensions to use.  A C extension acts like
a function written in awk, except that it cannot do everything that awk
code can. However, this allows interfacing to any facility that is
available from C.  This is a major development, see the doc, which has
a nice shiny new chapter describing everything.

This support is not compiled in if dynamic loading of shared libraries
is not supported.

The old extension mechanism is still supported for compatiblity, but
it will most definitely be removed at the next major release.

 6. The inplace extension, built using the new facility, can be used to
simulate the GNU sed -i feature.

 7. The and(), or() and xor() functions now take any number of arguments,
with a minimum of two.

 8. New arrays: SYMTAB, FUNCTAB, and PROCINFO[identifiers]. SYMTAB allows
indirect access to any defined variable or array; it is possible to
walk the symbol table, if that should be necessary.

 9. Support for building gawk with a cross compiler has been improved.

 10. Infrastructure upgrades: bison 2.7.1, gettext 0.18.2.1, automake 1.13.1,
 libtool 2.4.2 for the extensions.

 Changes from 4.0.1 to 4.0.2
 ---

 1. Infrastructure upgrades: Autoconf 2.69, Automake 1.12.6, bison 2.7.

 2. `fflush()', `nextfile', and `delete array' are all now part of POSIX.

 3. fflush() behavior changed to match BWK awk and for POSIX - now both
fflush() and fflush() flush all open output redirections.

 4. Various minor bug fixes and documentation updates.


-- 
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile11 Mar 2013 11:20:27 -  1.23
+++ Makefile11 May 2013 17:51:44 -
@@ -2,9 +2,8 @@
 
 COMMENT=   GNU awk
 
-V= 4.0.1
+V= 4.1.0
 DISTNAME=  gawk-$V
-REVISION=  1
 CATEGORIES=lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gawk/}
 
@@ -13,18 +12,25 @@ HOMEPAGE=   http://www.gnu.org/software/ga
 # GPLv3+
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=   c m readline sigsegv termcap
+WANTLIB=   c gmp m mpfr readline sigsegv termcap
 
 MODULES=   devel/gettext
-LIB_DEPENDS=   devel/libsigsegv
+LIB_DEPENDS=   devel/gmp \
+   devel/libsigsegv \
+   devel/mpfr
 
 SUBST_VARS=V
 
-SEPARATE_BUILD=Yes
-AUTOCONF_VERSION=2.68
-CONFIGURE_STYLE=autoconf
+SEPARATE_BUILD= Yes
+CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS= ${CONFIGURE_SHARED}
+LIBTOOL_FLAGS= --tag=disable-static
 CONFIGURE_ENV=  CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
-REORDER_DEPENDENCIES=${FILESDIR}/automake.dep
+
+post-install:
+   rm -f ${PREFIX}/lib/gawk/*.la
+   ${INSTALL_MAN_DIR} ${PREFIX}/man/man3am
+   mv ${PREFIX}/man/man3/*.3am ${PREFIX}/man/man3am
 
 .include bsd.port.mk
Index: distinfo

Re: [UPDATE] lang/gawk

2013-05-11 Thread Jérémie Courrèges-Anglas

Thinking about it, pkg/DESCR was quite terse.
Does this look nicer?

-- 
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

Index: pkg/DESCR
===
RCS file: /cvs/ports/lang/gawk/pkg/DESCR,v
retrieving revision 1.2
diff -u -p -r1.2 DESCR
--- pkg/DESCR   15 Dec 2003 21:42:37 -  1.2
+++ pkg/DESCR   11 May 2013 20:38:06 -
@@ -1 +1,15 @@
-The GNU AWK utility, a pattern scanning and processing tool.
+GNU AWK is a pattern scanning and processing tool.  It conforms to the
+definition of the language in the POSIX 1003.1 Standard.  This version in
+turn is based on the description in The AWK Programming Language, by Aho,
+Kernighan, and Weinberger.  Gawk provides the additional features found in the
+current version of Brian Kernighan's awk(1) and a number of GNU-specific
+extensions.
+
+Among these extensions:
+- profiler
+- interactive debugger a la GDB
+- file inclusion, useful to share code between Gawk scripts
+- API for loadable extension modules
+- lint mode to warn about possible portability problems
+- bignums, for arbitrary precision arithmetic
+- socket networking