Install a prefix-less symlink for 'awk' into ${PREFIX}/gnu/bin.

Bump PKGREVISION.
This commit is contained in:
fhajny 2012-05-31 10:44:30 +00:00
parent 12f55af007
commit 4ec11b3023
2 changed files with 11 additions and 2 deletions

View file

@ -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"

View file

@ -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