1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

e107 is a content management system written in PHP and using the

popular open source MySQL database system for content storage.
It's completely free, totally customisable and in constant development.

WWW: http://www.e107.org/

PR:		ports/135090
Submitted by:	Wen Heping <wenheping at gmail.com>
This commit is contained in:
Martin Wilke 2009-05-31 10:10:44 +00:00
parent d83170403e
commit 0dba116c8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234897
5 changed files with 94 additions and 0 deletions

View File

@ -175,6 +175,7 @@
SUBDIR += drupal6-views
SUBDIR += dtse
SUBDIR += dummyflash
SUBDIR += e107
SUBDIR += eaccelerator
SUBDIR += efront
SUBDIR += eldav.el

53
www/e107/Makefile Normal file
View File

@ -0,0 +1,53 @@
# New ports collection makefile for: e107
# Date created: 31 May, 2009
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= e107
PORTVERSION= 0.7.15
CATEGORIES= www
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_v${PORTVERSION}_full
MAINTAINER= wenheping@gmail.com
COMMENT= A content management system written in PHP
USE_PHP= mysql xml
WRKSRC= ${WRKDIR}/e107
.include <bsd.port.pre.mk>
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
SUB_FILES= pkg-message
SUB_LIST= E107DIR=${E107DIR}
E107DIR= www/e107
post-extract:
@cd ${WRKDIR} && ${MKDIR} ${WRKSRC}
@cd ${WRKDIR} && ${MV} *.php ${WRKSRC}
@cd ${WRKDIR} && ${MV} e107_* ${WRKSRC}
@cd ${WRKDIR} && ${MV} e107.htaccess ${WRKSRC}
@cd ${WRKDIR} && ${MV} favicon.ico ${WRKSRC}
@cd ${WRKDIR} && ${MV} robots.txt ${WRKSRC}
pre-install:
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${E107DIR}#g" >${PLIST}
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#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}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

3
www/e107/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (e107_v0.7.15_full.tar.gz) = 0a6ab0f1753ac827588614b654334642
SHA256 (e107_v0.7.15_full.tar.gz) = 0abb0cccc2adbb18aa9336e77ccb312095322d1111a78f96105627d8fb30d54a
SIZE (e107_v0.7.15_full.tar.gz) = 3219604

View File

@ -0,0 +1,32 @@
POST-INSTALL CONFIGURATION FOR e107
=====================================
1) Create a user and a database for e107 to store all
its tables in (or choose an existing database).
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 /e107 %%PREFIX%%/%%E107DIR%%/
AcceptPathInfo On
<Directory %%PREFIX%%/%%E107DIR%%>
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>
3) Visit your e107 site with a browser (i.e.,
http://your.server.com/e107/), and you should
be taken to the install.php script, which will lead
you through creating a config.php file and then
setting up e107, creating an admin account, etc.
For more information, see the INSTALL DOCUMENTATION:
http://wiki.e107.org/?title=HOWTO:Install_e107
http://wiki.e107.org/?title=HOWTO:Install_troubleshoot
Enjoying it !
=========================================================

5
www/e107/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
e107 is a content management system written in PHP and using the
popular open source MySQL database system for content storage.
It's completely free, totally customisable and in constant development.
WWW: http://www.e107.org/