pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/z-push Clean up .orig files after patch... makes t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48e492bd941c
branches:  trunk
changeset: 348885:48e492bd941c
user:      jym <jym%pkgsrc.org@localhost>
date:      Sun Jun 19 22:16:48 2016 +0000

description:
Clean up .orig files after patch... makes things tidier.

Reported by joerg@, thanks

diffstat:

 www/z-push/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b4092c5bbba7 -r 48e492bd941c www/z-push/Makefile
--- a/www/z-push/Makefile       Sun Jun 19 21:29:07 2016 +0000
+++ b/www/z-push/Makefile       Sun Jun 19 22:16:48 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/06/05 00:02:21 jym Exp $
+# $NetBSD: Makefile,v 1.2 2016/06/19 22:16:48 jym Exp $
 #
 
 DISTNAME=      z-push-${ZPUSH_VERSION}
@@ -74,6 +74,9 @@
 post-extract:
        ${CP} ${FILESDIR}/z-push.conf ${WRKDIR}/z-push.conf
 
+post-patch:
+       ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
+
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/config.php    \
                ${DESTDIR}${EGDIR}/config.php



Home | Main Index | Thread Index | Old Index