pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/bash-completion bash-completion: install pkgcon...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9587d0712519
branches:  trunk
changeset: 326228:9587d0712519
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Dec 02 07:06:20 2018 +0000

description:
bash-completion: install pkgconfig file in pkgsrc standard location.

Use OWN_DIRS to create directory.

Bump PKGREVISION.

diffstat:

 shells/bash-completion/Makefile |  11 ++++++++++-
 shells/bash-completion/PLIST    |   5 ++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r dd0d655fe013 -r 9587d0712519 shells/bash-completion/Makefile
--- a/shells/bash-completion/Makefile   Sun Dec 02 06:49:34 2018 +0000
+++ b/shells/bash-completion/Makefile   Sun Dec 02 07:06:20 2018 +0000
@@ -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 @@
 
 USE_TOOLS+=    bash:run gmake
 
+OWN_DIRS+=     share/bash-completion.d
+
 USE_LANGUAGES= # none
 GNU_CONFIGURE= yes
 
@@ -28,4 +31,10 @@
 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 -r dd0d655fe013 -r 9587d0712519 shells/bash-completion/PLIST
--- a/shells/bash-completion/PLIST      Sun Dec 02 06:49:34 2018 +0000
+++ b/shells/bash-completion/PLIST      Sun Dec 02 07:06:20 2018 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index