pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/ja-vflib-lib Honor PKGDIRMODE and SHAREMODE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba1ab46cb82e
branches:  trunk
changeset: 508749:ba1ab46cb82e
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Feb 24 21:07:51 2006 +0000

description:
Honor PKGDIRMODE and SHAREMODE.

diffstat:

 print/ja-vflib-lib/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 85a86f0e8be5 -r ba1ab46cb82e print/ja-vflib-lib/Makefile
--- a/print/ja-vflib-lib/Makefile       Fri Feb 24 21:01:23 2006 +0000
+++ b/print/ja-vflib-lib/Makefile       Fri Feb 24 21:07:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:10:37 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2006/02/24 21:07:51 minskim Exp $
 
 .include "Makefile.common"
 
@@ -27,6 +27,9 @@
        cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYING.LIB README.txt.JP_EUC \
                ${PREFIX}/share/VFlib/${VFLIB_VERSION}
        cd ${WRKSRC} && ${PAX} -rw jTeX ${PREFIX}/share/VFlib/${VFLIB_VERSION}
-       ${CHMOD} -R a-w ${PREFIX}/share/VFlib/${VFLIB_VERSION}
+       ${FIND} ${PREFIX}/share/VFlib/${VFLIB_VERSION} -type d -print \
+               -exec ${CHMOD} ${PKGDIRMODE} {} \;
+       ${FIND} ${PREFIX}/share/VFlib/${VFLIB_VERSION} -type f -print \
+               -exec ${CHMOD} ${SHAREMODE} {} \;
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index