From 18f0ec8946a5e05c3a98fa08098fc79ad7ca7062 Mon Sep 17 00:00:00 2001 From: fhajny Date: Thu, 31 May 2012 10:44:30 +0000 Subject: Install a prefix-less symlink for 'awk' into ${PREFIX}/gnu/bin. Bump PKGREVISION. --- lang/gawk/Makefile | 9 ++++++++- lang/gawk/PLIST | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index acfc2de46a9..f4cd763192a 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.47 2012/05/29 14:16:24 wiz Exp $ +# $NetBSD: Makefile,v 1.48 2012/05/31 10:44:30 fhajny Exp $ DISTNAME= gawk-4.0.1 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=gawk/} EXTRACT_SUFX= .tar.xz @@ -42,6 +43,12 @@ CONFIGURE_ARGS+= --enable-portals CFLAGS+= -Dvm_region=vm_region_64 .endif +INSTALLATION_DIRS+= gnu/bin gnu/man/man1 + +post-install: + ${LN} -s ../../bin/gawk ${DESTDIR}${PREFIX}/gnu/bin/awk + ${LN} -s ../../../man/man1/gawk.1 ${DESTDIR}${PREFIX}/gnu/man/man1/awk.1 + BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.10.36 .include "../../devel/gettext-lib/buildlink3.mk" diff --git a/lang/gawk/PLIST b/lang/gawk/PLIST index c41f6aab9fb..76b3692f8da 100644 --- a/lang/gawk/PLIST +++ b/lang/gawk/PLIST @@ -1,10 +1,12 @@ -@comment $NetBSD: PLIST,v 1.16 2012/03/17 03:16:20 wiz Exp $ +@comment $NetBSD: PLIST,v 1.17 2012/05/31 10:44:30 fhajny Exp $ bin/dgawk bin/gawk bin/${PKGNAME} bin/igawk bin/pgawk bin/p${PKGNAME} +gnu/bin/awk +gnu/man/man1/awk.1 info/gawk.info info/gawkinet.info libexec/awk/grcat -- cgit v1.2.3