aboutsummaryrefslogtreecommitdiff
path: root/finance/prestashop
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-11-23 06:54:34 +0000
committerWen Heping <wen@FreeBSD.org>2010-11-23 06:54:34 +0000
commit6a0a0c8aa41fdd356866e1b218b148bfd6663083 (patch)
treed23a7fcc79dde29a383f436ae91050bbbb74275e /finance/prestashop
parent1028d1ffcf7dedcd6bd68783b5ae18627a8956a7 (diff)
downloadports-6a0a0c8aa41fdd356866e1b218b148bfd6663083.tar.gz
ports-6a0a0c8aa41fdd356866e1b218b148bfd6663083.zip
Notes
Diffstat (limited to 'finance/prestashop')
-rw-r--r--finance/prestashop/Makefile41
-rw-r--r--finance/prestashop/distinfo2
-rw-r--r--finance/prestashop/files/pkg-message.in25
-rw-r--r--finance/prestashop/pkg-descr6
4 files changed, 74 insertions, 0 deletions
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/