head	1.9;
access;
symbols
	RELEASE_8_3_0:1.6
	RELEASE_9_0_0:1.6
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.5
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.2;
locks; strict;
comment	@# @;


1.9
date	2013.01.17.02.44.11;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.17.06.02.44;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.07.24.05.02.02;	author wen;	state Exp;
branches;
next	1.6;

1.6
date	2010.12.07.03.08.04;	author wen;	state Exp;
branches;
next	1.5;

1.5
date	2009.08.14.20.02.34;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2009.05.17.14.12.54;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2008.07.04.06.33.05;	author beech;	state Exp;
branches;
next	1.2;

1.2
date	2008.04.18.23.10.57;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2008.04.04.20.39.48;	author pav;	state Exp;
branches;
next	;


desc
@@


1.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310531
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Wen heping <wenheping@@gmail.com>
# $FreeBSD: head/www/opencart/Makefile 310531 2013-01-17 02:02:11Z wen $

PORTNAME=	opencart
PORTVERSION=	1.5.4.1
CATEGORIES=	www misc
MASTER_SITES=	https://github.com/downloads/opencart/opencart/
DISTNAME=	${PORTNAME}_v${PORTVERSION}

MAINTAINER=	wen@@FreeBSD.org
COMMENT=	An open source PHP-based online shopping cart system

#PROJECTHOST=	open-cart
USE_GITHUB=	yes
GH_ACCOUNT=	opencart
USE_ZIP=	yes
USE_PHP=	mysql gd session pcre
WRKSRC=		${WRKDIR}/${PORTNAME}_v${PORTVERSION}/upload

NO_BUILD=	yes
SUB_FILES=	pkg-message

.include <bsd.port.pre.mk>

do-install:
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
		>> ${TMPPLIST}
	@@${CHMOD} -R 0755 ${WWWDIR}/image/
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 0755 ${WWWDIR}/image/' \
		>> ${TMPPLIST}
	@@${CHMOD} -R 0755 ${WWWDIR}/system/cache/
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 0755 ${WWWDIR}/system/cache/' \
		>> ${TMPPLIST}
	@@${CHMOD} -R 0755 ${WWWDIR}/download/
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 0755 ${WWWDIR}/download/' \
		>> ${TMPPLIST}
	@@${CHMOD} 0755 ${WWWDIR}/config.php
	@@${ECHO_CMD} '@@exec ${CHMOD} 0755 ${WWWDIR}/config.php' \
		>> ${TMPPLIST}
	@@${CHMOD} 0755 ${WWWDIR}/admin/config.php
	@@${ECHO_CMD} '@@exec ${CHMOD} 0755 ${WWWDIR}/admin/config.php' \
		>> ${TMPPLIST}

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

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


1.8
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:   opencart
# Date created:		04 April 2008
# Whom:			Wen heping <wenheping@@gmail.com>
#
# $FreeBSD: head/www/opencart/Makefile 301437 2012-07-24 05:02:02Z wen $
#
d5 1
a5 1
PORTVERSION=	1.5.3
d7 1
a7 1
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
d14 2
@


1.7
log
@SVN rev 301437 on 2012-07-24 05:02:02Z by wen

- Update to 1.5.3
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Update to 1.4.9.1
- Update my mail to FreeBSD

Reported by:	v.georgiev@@gmail.com
@
text
@d9 1
a9 1
PORTVERSION=	1.4.9.1
d20 1
a20 1
WRKSRC=		${WRKDIR}/upload
@


1.5
log
@- Update to 1.3.0

PR:		137239
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.0
d14 1
a14 1
MAINTAINER=	wenheping@@gmail.com
d20 1
a20 1
WRKSRC=		${WRKDIR}/${DISTNAME}/upload
d29 1
a29 1
	@@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}
d35 2
a36 2
	@@${CHMOD} -R 0755 ${WWWDIR}/cache/
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 0755 ${WWWDIR}/cache/' \
@


1.4
log
@- Update to 1.2.6

PR:		133851
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.6
@


1.3
log
@- Add dependencies
- Fix Makefile order

PR:		ports/125170
Submitted by:	Wen heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.7.7
d17 1
a17 1
PROJECTHOST=	open-cart
d20 1
a20 1
WRKSRC=		${WRKDIR}/upload
d32 2
a33 2
	@@${CHMOD} -R 0777 ${WWWDIR}/image/
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 0777 ${WWWDIR}/image/' \
d35 2
a36 2
	@@${CHMOD} -R 0777 ${WWWDIR}/cache/
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 0777 ${WWWDIR}/cache/' \
d38 2
a39 2
	@@${CHMOD} -R 0777 ${WWWDIR}/download/
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 0777 ${WWWDIR}/download/' \
d41 2
a42 2
	@@${CHMOD} 0777 ${WWWDIR}/config.php
	@@${ECHO_CMD} '@@exec ${CHMOD} 0777 ${WWWDIR}/config.php' \
d44 2
a45 2
	@@${CHMOD} 0777 ${WWWDIR}/admin/config.php
	@@${ECHO_CMD} '@@exec ${CHMOD} 0777 ${WWWDIR}/admin/config.php' \
@


1.2
log
@Use MASTER_SITE_GOOGLE_CODE / PROJECTHOST macro
@
text
@a11 1
PROJECTHOST=	open-cart
d17 1
d19 1
a19 1
USE_PHP=	mysql gd
@


1.1
log
@OpenCart is an open source PHP-based online shopping
cart system. A robust e-commerce solution for Internet
merchants with the ability to create their own online
business and participate in e-commerce at a minimal cost.
OpenCart is designed feature rich, easy to use, search
engine friendly and with a visually appealing interface.

WWW: http://www.opencart.com/

PR:		ports/122446
Submitted by:	Wen heping <wenheping@@gmail.com>
@
text
@d11 2
a12 1
MASTER_SITES=	http://open-cart.googlecode.com/files/
@

