diff options
author | reed <reed@pkgsrc.org> | 2005-10-06 15:25:47 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-10-06 15:25:47 +0000 |
commit | f2979429c195bc66d912a0ac0d3e863dd09776f7 (patch) | |
tree | c859634027496edfcd62c17956ffb0ff6339f633 /mk | |
parent | 9a60478a1798a946333ff413142934c91cde5ad8 (diff) | |
download | pkgsrc-f2979429c195bc66d912a0ac0d3e863dd09776f7.tar.gz |
For print-PLIST generation, make sure that ${PKGMANDIR} becomes "man".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index d3bb89b44fc..7c65db03ab0 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1725 2005/10/04 20:50:49 seb Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1726 2005/10/06 15:25:47 reed Exp $ # # This file is in the public domain. # @@ -4039,6 +4039,7 @@ _PRINT_PLIST_AWK_SUBST+= \ gsub(/${PKGNAME_NOREV}/, "$${PKGNAME}"); \ gsub(/${PKGVERSION:S/./\./g:C/nb[0-9]*$$//}/, "$${PKGVERSION}");\ gsub(/${PKGLOCALEDIR}\/locale/, "$${PKGLOCALEDIR}/locale"); \ + gsub("^${PKGMANDIR}\/", "man/"); \ } _PRINT_PLIST_AWK_IGNORE= ($$0 ~ /emul\/linux\/proc/) @@ -4169,6 +4170,7 @@ print-PLIST: /emul\/linux\/proc/ { next; } \ /${PREFIX:S|/|\\/|g}\/\.$$/ { next; } \ { sub("${PREFIX}/\\\\./", ""); } \ + { sub("^${PKGMANDIR}/", "man/"); } \ ${_PRINT_PLIST_COMMON_DIRS}'` ; \ do \ if [ `${LS} -la ${PREFIX}/$$i | ${WC} -l` = 3 ]; then \ |