diff options
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 && \ |