summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-05-03 10:59:44 +0000
committerfhajny <fhajny@pkgsrc.org>2015-05-03 10:59:44 +0000
commit0e97a297b52201537755ee9259cf96283fe9f6a6 (patch)
tree70716fcb1c8dcbcf33bf9c82bc1b371ba51a00d7 /finance
parent1d51a143862c40aa21ad9f2ce250bf59d6624d2a (diff)
downloadpkgsrc-0e97a297b52201537755ee9259cf96283fe9f6a6.tar.gz
Remove .orig_dist files before install. Fixes install stage.
Diffstat (limited to 'finance')
-rw-r--r--finance/magento/Makefile5
1 files changed, 4 insertions, 1 deletions
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 && \