summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjym <jym@pkgsrc.org>2016-06-19 22:16:48 +0000
committerjym <jym@pkgsrc.org>2016-06-19 22:16:48 +0000
commit60ec341ec81a8b1c87826256a0af66c63523bd29 (patch)
treeaabe215cd47f5cc2ff9c41f95d7f4846e4ce7476 /www
parentc5b1547250477899fe9ef3fcf1d41481f8a4c9a2 (diff)
downloadpkgsrc-60ec341ec81a8b1c87826256a0af66c63523bd29.tar.gz
Clean up .orig files after patch... makes things tidier.
Reported by joerg@, thanks
Diffstat (limited to 'www')
-rw-r--r--www/z-push/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/z-push/Makefile b/www/z-push/Makefile
index 973ba531081..f3d69e8d07b 100644
--- a/www/z-push/Makefile
+++ b/www/z-push/Makefile
@@ -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 @@ SUBST_MESSAGE.state-dir=Fixing Z-push state directory path.
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