pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/bash-completion



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Dec  2 07:06:20 UTC 2018

Modified Files:
        pkgsrc/shells/bash-completion: Makefile PLIST

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

Use OWN_DIRS to create directory.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/shells/bash-completion/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/shells/bash-completion/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/bash-completion/Makefile
diff -u pkgsrc/shells/bash-completion/Makefile:1.10 pkgsrc/shells/bash-completion/Makefile:1.11
--- pkgsrc/shells/bash-completion/Makefile:1.10 Fri Oct 19 20:28:25 2018
+++ pkgsrc/shells/bash-completion/Makefile      Sun Dec  2 07:06:20 2018
@@ -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"

Index: pkgsrc/shells/bash-completion/PLIST
diff -u pkgsrc/shells/bash-completion/PLIST:1.5 pkgsrc/shells/bash-completion/PLIST:1.6
--- pkgsrc/shells/bash-completion/PLIST:1.5     Fri Oct 19 20:28:25 2018
+++ pkgsrc/shells/bash-completion/PLIST Sun Dec  2 07:06:20 2018
@@ -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



Home | Main Index | Thread Index | Old Index