diff options
author | fhajny <fhajny@pkgsrc.org> | 2015-05-03 10:59:44 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2015-05-03 10:59:44 +0000 |
commit | cc6798760697d7374dd3c9c02e56e49989e4219f (patch) | |
tree | 70716fcb1c8dcbcf33bf9c82bc1b371ba51a00d7 /finance | |
parent | 7a1bfd73c2f6483cc8c31b448a5aa33bad150624 (diff) | |
download | pkgsrc-cc6798760697d7374dd3c9c02e56e49989e4219f.tar.gz |
Remove .orig_dist files before install. Fixes install stage.
Diffstat (limited to 'finance')
-rw-r--r-- | finance/magento/Makefile | 5 |
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 && \ |