pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg pkgtools/pkg: fix installation of conf fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63564b6cdfb5
branches:  trunk
changeset: 354415:63564b6cdfb5
user:      marino <marino%pkgsrc.org@localhost>
date:      Fri Oct 28 23:37:53 2016 +0000

description:
pkgtools/pkg: fix installation of conf files (better)

Use of OWN_DIRS alleviates use of @pkgdir.  Thanks to jperkins
and ultimately wiz for the suggestion.

diffstat:

 pkgtools/pkg/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 8b2b9693e52d -r 63564b6cdfb5 pkgtools/pkg/Makefile
--- a/pkgtools/pkg/Makefile     Fri Oct 28 23:28:32 2016 +0000
+++ b/pkgtools/pkg/Makefile     Fri Oct 28 23:37:53 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2016/10/28 19:35:30 marino Exp $
+# $NetBSD: Makefile,v 1.12 2016/10/28 23:37:53 marino Exp $
 
 DISTNAME=      pkg-1.8.7
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    pkgtools
 MASTER_SITES=  http://files.etoilebsd.net/pkg/
 EXTRACT_SUFX=  .tar.xz
@@ -36,6 +36,11 @@
 CONF_FILES+=   ${EGDIR}/pkg.conf.sample \
                ${PKG_SYSCONFDIR}/pkg.conf
 
+OWN_DIRS=      ${PKG_SYSCONFDIR}/bash_completion.d \
+               ${PKG_SYSCONFDIR}/periodic/daily \
+               ${PKG_SYSCONFDIR}/periodic/security \
+               ${PKG_SYSCONFDIR}/periodic/weekly
+
 SUBST_CLASSES+=        manpages-prefix
 SUBST_STAGE.manpages-prefix=   pre-install
 SUBST_FILES.manpages-prefix=   docs/pkg-install.8 docs/pkg-repo.8



Home | Main Index | Thread Index | Old Index