Sun Dec 2 07:06:20 2018 UTC ()
bash-completion: install pkgconfig file in pkgsrc standard location.

Use OWN_DIRS to create directory.

Bump PKGREVISION.


(wiz)
diff -r1.10 -r1.11 pkgsrc/shells/bash-completion/Makefile
diff -r1.5 -r1.6 pkgsrc/shells/bash-completion/PLIST

cvs diff -r1.10 -r1.11 pkgsrc/shells/bash-completion/Makefile (expand / switch to unified diff)

--- pkgsrc/shells/bash-completion/Makefile 2018/10/19 20:28:25 1.10
+++ pkgsrc/shells/bash-completion/Makefile 2018/12/02 07:06:20 1.11
@@ -1,31 +1,40 @@ @@ -1,31 +1,40 @@
1# $NetBSD: Makefile,v 1.10 2018/10/19 20:28:25 leot Exp $ 1# $NetBSD: Makefile,v 1.11 2018/12/02 07:06:20 wiz Exp $
2# 2#
3# Note to packagers: 3# Note to packagers:
4# packages installing additional completion files should drop 4# packages installing additional completion files should drop
5# them into ${DESTDIR}${PREFIX}/share/bash-completion.d 5# them into ${DESTDIR}${PREFIX}/share/bash-completion.d
6# with the name of the package as file name. 6# with the name of the package as file name.
7 7
8DISTNAME= bash-completion-2.8 8DISTNAME= bash-completion-2.8
 9PKGREVISION= 1
9CATEGORIES= shells 10CATEGORIES= shells
10MASTER_SITES= ${MASTER_SITE_GITHUB:=scop/} 11MASTER_SITES= ${MASTER_SITE_GITHUB:=scop/}
11GITHUB_RELEASE= ${PKGVERSION_NOREV} 12GITHUB_RELEASE= ${PKGVERSION_NOREV}
12EXTRACT_SUFX= .tar.xz 13EXTRACT_SUFX= .tar.xz
13 14
14MAINTAINER= pkgsrc-users@NetBSD.org 15MAINTAINER= pkgsrc-users@NetBSD.org
15HOMEPAGE= http://bash-completion.alioth.debian.org/ 16HOMEPAGE= http://bash-completion.alioth.debian.org/
16COMMENT= Programmable completion specifications for bash 17COMMENT= Programmable completion specifications for bash
17LICENSE= gnu-gpl-v2 18LICENSE= gnu-gpl-v2
18 19
19USE_TOOLS+= bash:run gmake 20USE_TOOLS+= bash:run gmake
20 21
 22OWN_DIRS+= share/bash-completion.d
 23
21USE_LANGUAGES= # none 24USE_LANGUAGES= # none
22GNU_CONFIGURE= yes 25GNU_CONFIGURE= yes
23 26
24SUBST_CLASSES+= path 27SUBST_CLASSES+= path
25SUBST_SED.path+= -e "s,/etc/bash_completion.d,${PREFIX}/share/bash-completion.d,g" 28SUBST_SED.path+= -e "s,/etc/bash_completion.d,${PREFIX}/share/bash-completion.d,g"
26SUBST_SED.path+= -e "s,/etc/bash_completion,${PREFIX}/share/bash-completion/bash_completion,g" 29SUBST_SED.path+= -e "s,/etc/bash_completion,${PREFIX}/share/bash-completion/bash_completion,g"
27SUBST_STAGE.path= pre-build 30SUBST_STAGE.path= pre-build
28SUBST_FILES.path+= README 31SUBST_FILES.path+= README
29SUBST_MESSAGE.path= Fixing path to completion files. 32SUBST_MESSAGE.path= Fixing path to completion files.
30 33
 34INSTALLATION_DIRS= lib/pkgconfig
 35
 36post-install:
 37 ${MV} ${DESTDIR}${PREFIX}/share/pkgconfig/bash-completion.pc \
 38 ${DESTDIR}${PREFIX}/lib/pkgconfig/bash-completion.pc
 39
31.include "../../mk/bsd.pkg.mk" 40.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/shells/bash-completion/PLIST (expand / switch to unified diff)

--- pkgsrc/shells/bash-completion/PLIST 2018/10/19 20:28:25 1.5
+++ pkgsrc/shells/bash-completion/PLIST 2018/12/02 07:06:20 1.6
@@ -1,15 +1,16 @@ @@ -1,15 +1,16 @@
1@comment $NetBSD: PLIST,v 1.5 2018/10/19 20:28:25 leot Exp $ 1@comment $NetBSD: PLIST,v 1.6 2018/12/02 07:06:20 wiz Exp $
2etc/profile.d/bash_completion.sh 2etc/profile.d/bash_completion.sh
 3lib/pkgconfig/bash-completion.pc
3share/bash-completion/bash_completion 4share/bash-completion/bash_completion
4share/bash-completion/completions/2to3 5share/bash-completion/completions/2to3
5share/bash-completion/completions/7z 6share/bash-completion/completions/7z
6share/bash-completion/completions/7za 7share/bash-completion/completions/7za
7share/bash-completion/completions/_cal 8share/bash-completion/completions/_cal
8share/bash-completion/completions/_chfn 9share/bash-completion/completions/_chfn
9share/bash-completion/completions/_chsh 10share/bash-completion/completions/_chsh
10share/bash-completion/completions/_dmesg 11share/bash-completion/completions/_dmesg
11share/bash-completion/completions/_eject 12share/bash-completion/completions/_eject
12share/bash-completion/completions/_hexdump 13share/bash-completion/completions/_hexdump
13share/bash-completion/completions/_hwclock 14share/bash-completion/completions/_hwclock
14share/bash-completion/completions/_ionice 15share/bash-completion/completions/_ionice
15share/bash-completion/completions/_look 16share/bash-completion/completions/_look
@@ -649,15 +650,13 @@ share/bash-completion/completions/xsltpr @@ -649,15 +650,13 @@ share/bash-completion/completions/xsltpr
649share/bash-completion/completions/xvnc4viewer 650share/bash-completion/completions/xvnc4viewer
650share/bash-completion/completions/xxd 651share/bash-completion/completions/xxd
651share/bash-completion/completions/xz 652share/bash-completion/completions/xz
652share/bash-completion/completions/xzdec 653share/bash-completion/completions/xzdec
653share/bash-completion/completions/ypcat 654share/bash-completion/completions/ypcat
654share/bash-completion/completions/ypmatch 655share/bash-completion/completions/ypmatch
655share/bash-completion/completions/yum-arch 656share/bash-completion/completions/yum-arch
656share/bash-completion/completions/zopfli 657share/bash-completion/completions/zopfli
657share/bash-completion/completions/zopflipng 658share/bash-completion/completions/zopflipng
658share/bash-completion/helpers/perl 659share/bash-completion/helpers/perl
659share/bash-completion/helpers/python 660share/bash-completion/helpers/python
660share/cmake/bash-completion/bash-completion-config-version.cmake 661share/cmake/bash-completion/bash-completion-config-version.cmake
661share/cmake/bash-completion/bash-completion-config.cmake 662share/cmake/bash-completion/bash-completion-config.cmake
662share/pkgconfig/bash-completion.pc 
663@pkgdir share/bash-completion.d