summaryrefslogtreecommitdiff
path: root/pkgtools/pkg
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2016-10-28 23:37:53 +0000
committermarino <marino@pkgsrc.org>2016-10-28 23:37:53 +0000
commit6c6833127e2ed998737c553c64911488b5aa3a86 (patch)
treedddefdb66ae4fb5653e13052e1a31ac0d8de0f19 /pkgtools/pkg
parentefc370a54f39bf39bd7cbc0bcf80e9f611c86b92 (diff)
downloadpkgsrc-6c6833127e2ed998737c553c64911488b5aa3a86.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