diff options
-rw-r--r-- | finance/Makefile | 1 | ||||
-rw-r--r-- | finance/prestashop/Makefile | 41 | ||||
-rw-r--r-- | finance/prestashop/distinfo | 2 | ||||
-rw-r--r-- | finance/prestashop/files/pkg-message.in | 25 | ||||
-rw-r--r-- | finance/prestashop/pkg-descr | 6 |
5 files changed, 75 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile index 710ec72a61de..143cc9fe7a41 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -80,6 +80,7 @@ SUBDIR += pfpro SUBDIR += php-tclink SUBDIR += php4-pfpro + SUBDIR += prestashop SUBDIR += qhacc SUBDIR += qtstalker SUBDIR += quantlib diff --git a/finance/prestashop/Makefile b/finance/prestashop/Makefile new file mode 100644 index 000000000000..57f2887aa659 --- /dev/null +++ b/finance/prestashop/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: prestashop +# Date created: Nov 23, 2010 +# Whom: Wen Heping <wen@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= prestashop +PORTVERSION= 1.3.2.3 +CATEGORIES= finance www +MASTER_SITES= http://www.prestashop.com/download/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Open-Source e-Commerce Software for Web 2.0 + +USE_ZIP= yes +NO_BUILD= yes +PRESTADIR= www/${PORTNAME} +PLIST= ${WRKDIR}/plist +SUB_FILES= pkg-message +USE_PHP= mysql gd +WRKSRC= ${WRKDIR}/${PORTNAME} +SUB_FILES= pkg-message + +.include <bsd.port.pre.mk> + +pre-install: + @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${PRESTADIR}?g" >${PLIST} + @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dirrm ${PRESTADIR}?g" >> ${PLIST} + +do-install: + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + @${CHMOD} -R 755 ${WWWDIR} + @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ + >> ${TMPPLIST} + @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >>${TMPPLIST} + + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/finance/prestashop/distinfo b/finance/prestashop/distinfo new file mode 100644 index 000000000000..e0a5d0da670c --- /dev/null +++ b/finance/prestashop/distinfo @@ -0,0 +1,2 @@ +SHA256 (prestashop_1.3.2.3.zip) = 3e9948f4e2c99145833a1a71c0db754dcafba2e2ce66e28b0b7d409a9ef6d8e7 +SIZE (prestashop_1.3.2.3.zip) = 8046835 diff --git a/finance/prestashop/files/pkg-message.in b/finance/prestashop/files/pkg-message.in new file mode 100644 index 000000000000..b456c2f0f973 --- /dev/null +++ b/finance/prestashop/files/pkg-message.in @@ -0,0 +1,25 @@ +============================================= +1 Congratulations! You have successfully installed +PRESTASHOP e-Commerce platform. + +2 Add the following to your Apache configuration, and + restart the server: + + ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. + Alias /prestashop %%WWWDIR%%/ + AcceptPathInfo On + <Directory %%WWWDIR%%> + AllowOverride None + Order Allow,Deny + Allow from all + </Directory> + +3 Create a database for PRESTASHOP. + +4 Then continue to proceed to Prestashop web setup proccess with + your browser: + http://your-server-name/prestashop/install + +5 More detailed document could be found here: + http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/ +============================================= diff --git a/finance/prestashop/pkg-descr b/finance/prestashop/pkg-descr new file mode 100644 index 000000000000..fa3d109d3ffe --- /dev/null +++ b/finance/prestashop/pkg-descr @@ -0,0 +1,6 @@ +Conceived in PHP and MySQL, PrestaShop is a really modular and customizable +solution, as well as technically than graphically. Find on the PrestaShop +official marketplace, addons.prestashop.com, an unlimited quantity of +extensions or templates for our e-commerce solution. + +WWW: http://www.prestashop.com/ |