head	1.6;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.06.02.39;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.05.02.03.14.43;	author wen;	state Exp;
branches;
next	1.4;

1.4
date	2011.10.21.08.20.46;	author wen;	state Exp;
branches;
next	1.3;

1.3
date	2010.10.12.12.06.58;	author wen;	state Exp;
branches;
next	1.2;

1.2
date	2010.03.28.06.44.55;	author dinoex;	state Exp;
branches;
next	1.1;

1.1
date	2010.03.01.02.14.06;	author wen;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# New ports collection makefile for:	magento
# Date created:				1st March, 2010
# Whom:					Wen Heping <wen@@FreeBSD.org>
#
# $FreeBSD: head/www/magento/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	magento
PORTVERSION=	1.7.0.0
CATEGORIES=	www finance
MASTER_SITES=	http://www.magentocommerce.com/downloads/assets/1.7.0.0/

MAINTAINER=	wen@@FreeBSD.org
COMMENT=	A feature-rich eCommerce platform

USE_PHP=	pdo_mysql hash gd iconv curl dom soap simplexml mcrypt mysql
WRKSRC=		${WRKDIR}/magento

.include <bsd.port.pre.mk>

NO_BUILD=	yes
PLIST=		${WRKDIR}/plist
SUB_FILES=	pkg-message
SUB_LIST=	MAGENTODIR=${MAGENTODIR}

MAGENTODIR?=	www/magento

pre-install:
	@@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MAGENTODIR}?g" >${PLIST}
	@@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@@dirrm ${MAGENTODIR}?g" >> ${PLIST}
	@@${ECHO} @@dirrmtry ${MAGENTODIR} >> ${PLIST}

do-install:
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${MAGENTODIR}

	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MAGENTODIR}
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MAGENTODIR}' \
		>> ${TMPPLIST}
	${CHMOD} -R 755 ${PREFIX}/${MAGENTODIR}
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 755 ${PREFIX}/${MAGENTODIR}' >> ${TMPPLIST}

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.5
log
@- Update to 1.7.0.0

PR:		167396
Submitted by:	Laurent Berthelet <laurent@@ospowa.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@- Update to 1.6.1.0
@
text
@d9 1
a9 1
PORTVERSION=	1.6.1.0
d11 1
a11 1
MASTER_SITES=	LOCAL/wen
a15 1
USE_BZIP2=	yes
@


1.3
log
@- Update to 1.4.1.1

PR:		ports/151135
Submitted by:	Cristiano Deana <cris@@gufi.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.4.1.1
@


1.2
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d9 1
a9 2
PORTVERSION=	1.4.0.1
PORTREVISION=	1
@


1.1
log
@Magento is a feature-rich eCommerce platform built on open-source technology
that provides online merchants with unprecedented flexibility and control over
the look, content and functionality of their eCommerce store. Magento's
intuitive administration interface features powerful marketing, search engine
optimization and catalog-management tools to give merchants the power to create
sites that are tailored to their unique business needs.

WWW:    http://www.magentocommerce.com/

Feature safe:	yes
@
text
@d10 1
@

