From 0e97a297b52201537755ee9259cf96283fe9f6a6 Mon Sep 17 00:00:00 2001 From: fhajny Date: Sun, 3 May 2015 10:59:44 +0000 Subject: Remove .orig_dist files before install. Fixes install stage. --- finance/magento/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'finance/magento/Makefile') diff --git a/finance/magento/Makefile b/finance/magento/Makefile index a1f5516e7de..5ae5724d13a 100644 --- a/finance/magento/Makefile +++ b/finance/magento/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2015/04/29 14:11:09 fhajny Exp $ +# $NetBSD: Makefile,v 1.3 2015/05/03 10:59:44 fhajny Exp $ DISTNAME= magento-1.9.1.0 PKGREVISION= 1 @@ -84,6 +84,9 @@ post-patch: ${GREP} '^SUPEE-' ${DISTDIR}/${DIST_SUBDIR}/${file} >> ${WRKSRC}/app/etc/applied.patches.list .endfor +pre-install: + ${FIND} ${WRKSRC} -type f -name "*.orig_dist" | ${XARGS} ${RM} -f + do-install: cd ${WRKSRC} && pax -rw -p pp * ${DESTDIR}${PREFIX}/share/magento cd ${DESTDIR}${PREFIX}/share/magento/app/etc && \ -- cgit v1.2.3