summaryrefslogtreecommitdiff
path: root/pkgtools/pkg
diff options
context:
space:
mode:
authormarino <marino>2016-10-28 23:37:53 +0000
committermarino <marino>2016-10-28 23:37:53 +0000
commit32a6bfe263fa1f8fe94857862006bdf8aeb03a27 (patch)
tree843d30f1bc08516cd6cf003a22420aec8bf298ec /pkgtools/pkg
parentdceec6217d8f064df24cbec1358b0b83d1bbb9a6 (diff)
downloadpkgsrc-32a6bfe263fa1f8fe94857862006bdf8aeb03a27.tar.gz
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 (limited to 'pkgtools/pkg')
-rw-r--r--pkgtools/pkg/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgtools/pkg/Makefile b/pkgtools/pkg/Makefile
index 9fe1a306f68..5e8efbd5623 100644
--- a/pkgtools/pkg/Makefile
+++ b/pkgtools/pkg/Makefile
@@ -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}/periodic/weekly/400.status-pkg \
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