diff options
author | wiz <wiz@pkgsrc.org> | 2018-12-02 07:06:20 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2018-12-02 07:06:20 +0000 |
commit | 7cd0585eaaf886eac98d2942fef84d60ff87ebe1 (patch) | |
tree | a791bb13be4dae1ca79be7a5c12a6cf4003e59cb /shells | |
parent | 9e8cea2d721949f6f4e72a1c88c830cbf58976fb (diff) | |
download | pkgsrc-7cd0585eaaf886eac98d2942fef84d60ff87ebe1.tar.gz |
bash-completion: install pkgconfig file in pkgsrc standard location.
Use OWN_DIRS to create directory.
Bump PKGREVISION.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash-completion/Makefile | 11 | ||||
-rw-r--r-- | shells/bash-completion/PLIST | 5 |
2 files changed, 12 insertions, 4 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 9cd1e8f7bf2..df07e50b4a7 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2018/10/19 20:28:25 leot Exp $ +# $NetBSD: Makefile,v 1.11 2018/12/02 07:06:20 wiz Exp $ # # Note to packagers: # packages installing additional completion files should drop @@ -6,6 +6,7 @@ # with the name of the package as file name. DISTNAME= bash-completion-2.8 +PKGREVISION= 1 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GITHUB:=scop/} GITHUB_RELEASE= ${PKGVERSION_NOREV} @@ -18,6 +19,8 @@ LICENSE= gnu-gpl-v2 USE_TOOLS+= bash:run gmake +OWN_DIRS+= share/bash-completion.d + USE_LANGUAGES= # none GNU_CONFIGURE= yes @@ -28,4 +31,10 @@ SUBST_STAGE.path= pre-build SUBST_FILES.path+= README SUBST_MESSAGE.path= Fixing path to completion files. +INSTALLATION_DIRS= lib/pkgconfig + +post-install: + ${MV} ${DESTDIR}${PREFIX}/share/pkgconfig/bash-completion.pc \ + ${DESTDIR}${PREFIX}/lib/pkgconfig/bash-completion.pc + .include "../../mk/bsd.pkg.mk" diff --git a/shells/bash-completion/PLIST b/shells/bash-completion/PLIST index f61eaab2a44..4c7c458d79d 100644 --- a/shells/bash-completion/PLIST +++ b/shells/bash-completion/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.5 2018/10/19 20:28:25 leot Exp $ +@comment $NetBSD: PLIST,v 1.6 2018/12/02 07:06:20 wiz Exp $ etc/profile.d/bash_completion.sh +lib/pkgconfig/bash-completion.pc share/bash-completion/bash_completion share/bash-completion/completions/2to3 share/bash-completion/completions/7z @@ -659,5 +660,3 @@ share/bash-completion/helpers/perl share/bash-completion/helpers/python share/cmake/bash-completion/bash-completion-config-version.cmake share/cmake/bash-completion/bash-completion-config.cmake -share/pkgconfig/bash-completion.pc -@pkgdir share/bash-completion.d |