pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/phpldapadmin Use PAX options instead of ${FI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc5c4a2f3218
branches:  trunk
changeset: 498845:fc5c4a2f3218
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sun Sep 04 10:08:14 2005 +0000

description:
Use PAX options instead of ${FIND} and ${RM} to kill files that we don't
 want to install.  Patch from salo@ in private email.
No functional change.

diffstat:

 databases/phpldapadmin/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 28e52cc580b8 -r fc5c4a2f3218 databases/phpldapadmin/Makefile
--- a/databases/phpldapadmin/Makefile   Sun Sep 04 06:58:59 2005 +0000
+++ b/databases/phpldapadmin/Makefile   Sun Sep 04 10:08:14 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/09/03 17:00:07 adrianp Exp $
+# $NetBSD: Makefile,v 1.13 2005/09/04 10:08:14 adrianp Exp $
 
 DISTNAME=      phpldapadmin-${VERSION}
 PKGREVISION=   4
@@ -37,13 +37,12 @@
        ${INSTALL_DATA} ${WRKDIR}/phpldapadmin.conf \
                ${PREFIX}/share/examples/phpldapadmin
 
-       @${RM} ${WRKSRC}/config.php.example
-       @${FIND} ${WRKSRC} -name \*.orig | ${XARGS} ${RM}
-
        ${INSTALL_DATA_DIR} ${PREFIX}/share/phpldapadmin
        cd ${WRKSRC} && ${PAX}          \
                -s /\.#//               \
                -s /\.cvsignore//       \
+               -s /\.\*.orig//         \
+               -s /\.\*.example//      \
                -rwppm . ${PREFIX}/share/phpldapadmin
 
 .include "../../mk/apache.mk"



Home | Main Index | Thread Index | Old Index