pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk For print-PLIST generation, make sure that ${PKGMAN...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aab9519bba7d
branches:  trunk
changeset: 500324:aab9519bba7d
user:      reed <reed%pkgsrc.org@localhost>
date:      Thu Oct 06 15:25:47 2005 +0000

description:
For print-PLIST generation, make sure that ${PKGMANDIR} becomes "man".

diffstat:

 mk/bsd.pkg.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r db058344f663 -r aab9519bba7d mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Oct 06 14:24:36 2005 +0000
+++ b/mk/bsd.pkg.mk     Thu Oct 06 15:25:47 2005 +0000
@@ -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 @@
        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 @@
                                /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   \



Home | Main Index | Thread Index | Old Index