Importing Contao Open Source CMS 2.9.0 as www/contao29.
Its Name has changed from TYPOlight to Contao: http://www.contao.org/news/items/typolight-becomes-contao.html Basically, the name of sofware, domain, backend URL are changed. * Introduce themse support: http://www.contao.org/themes.html * Extension Repositroy 2.0. * Templage group. * Share on Facebook and Twitters. For more information, please refer: http://www.contao.org/news/items/contao-2_9_0.html.
This commit is contained in:
parent
e8d9344db8
commit
afb42a5fcc
8 changed files with 2191 additions and 0 deletions
22
www/contao29/DEINSTALL
Normal file
22
www/contao29/DEINSTALL
Normal file
|
@ -0,0 +1,22 @@
|
|||
# $NetBSD: DEINSTALL,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $
|
||||
|
||||
CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
|
||||
CT_DIRS="system/config system/drivers system/libraries system/logs \
|
||||
system/modules system/themes system/config system templates"
|
||||
|
||||
case ${STAGE} in
|
||||
DEINSTALL)
|
||||
# remove cache files.
|
||||
${FIND} ${CT_WEBDIR}/system/html -type f ! -name index.html \
|
||||
-exec ${RM} -f {} \;
|
||||
${FIND} ${CT_WEBDIR}/plugins/tcpdf/cache -type f ! -name .htaccess \
|
||||
-exec ${RM} -f {} \;
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
(cd ${CT_WEBDIR}
|
||||
for d in ${CT_DIRS}; do
|
||||
${RMDIR} $d >/dev/null 2>&1
|
||||
done)
|
||||
${RMDIR} ${CT_WEBDIR} >/dev/null 2>&1
|
||||
;;
|
||||
esac
|
9
www/contao29/DESCR
Normal file
9
www/contao29/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
Contao is an Open Source Content Management Framework developed by Leo Feyer
|
||||
and distributed under the LGPL license (see GPL.txt and LGPL.txt for more
|
||||
information). It was formerly known as TYPOlight Open Source CMS. Its open
|
||||
architecture allows everybody to extend the system to fit his needs. Contao
|
||||
specializes in accessible websites and is accessbile itself (front end and
|
||||
back end), rendering valid XHTML pages.
|
||||
|
||||
Note: Live update feature would work with contao-liveupdate PKG_OPTION
|
||||
enabled, but it might be conflict with regular pkgsrc maintainous.
|
13
www/contao29/INSTALL
Normal file
13
www/contao29/INSTALL
Normal file
|
@ -0,0 +1,13 @@
|
|||
# $NetBSD: INSTALL,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $
|
||||
|
||||
CT_UPDATE="@CT_UPDATE@"
|
||||
CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
|
||||
CT_OWN="@WWWOWN@"
|
||||
|
||||
case ${STAGE} in
|
||||
POST-INSTALL)
|
||||
case "${CT_UPDATE}" in
|
||||
[Yy][Ee][Ss]) ${CHOWN} -R ${CT_OWN} ${CT_WEBDIR};;
|
||||
esac
|
||||
;;
|
||||
esac
|
8
www/contao29/MESSAGE
Normal file
8
www/contao29/MESSAGE
Normal file
|
@ -0,0 +1,8 @@
|
|||
===========================================================================
|
||||
$NetBSD: MESSAGE,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $
|
||||
|
||||
To complete the setup, please read:
|
||||
|
||||
${PREFIX}/share/doc/contao${CT_VER}/README
|
||||
|
||||
===========================================================================
|
123
www/contao29/Makefile
Normal file
123
www/contao29/Makefile
Normal file
|
@ -0,0 +1,123 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $
|
||||
#
|
||||
|
||||
DISTNAME= contao-${CT_VERSION}
|
||||
PKGNAME= contao${CT_VER}-${CT_PKGVER}
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/}
|
||||
|
||||
MAINTAINER= taca@NetBSD.org
|
||||
HOMEPAGE= http://www.contao.org/
|
||||
COMMENT= Contao Open Source CMS
|
||||
LICENSE= gnu-lgpl-v3
|
||||
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.2.0:../../graphics/php-gd
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.2.0:../../converters/php-mbstring
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=5.2.0:../../security/php-mcrypt
|
||||
DEPENDS+= ${PHP_PKG_PREFIX}-soap>=5.2.0:../../net/php-soap
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_TOOLS= pax
|
||||
NO_BUILD= yes
|
||||
|
||||
EG_DATA= ${WWW_EG_FILES} system/config tl_files
|
||||
EG_FILES= system/config/config.php system/config/countries.php \
|
||||
system/config/dcaconfig.php system/config/editArea.php \
|
||||
system/config/fancyUpload.php system/config/initconfig.php \
|
||||
system/config/langconfig.php system/config/languages.php \
|
||||
system/config/tcpdf.php system/config/timezones.php \
|
||||
system/config/tinyFlash.php system/config/tinyMCE.php \
|
||||
system/config/tinyNews.php
|
||||
TMPL_FILES= tl_files/tinymce.css tl_files/tiny_templates/index.html
|
||||
WWW_EG_FILES= basic.css print.css robots.txt
|
||||
|
||||
CONF_FILES_PERMS+= ${CT_EGDIR}/system/config/localconfig.php \
|
||||
${CT_WEBDIR}/system/config/localconfig.php \
|
||||
${APACHE_USER} ${APACHE_GROUP} 0600
|
||||
|
||||
CONF_FILES+= ${CT_EGDIR}/contao.conf \
|
||||
${PKG_SYSCONFDIR}/contao.conf \
|
||||
${CT_EGDIR}/templates-htaccess \
|
||||
${CT_WEBDIR}/templates/.htaccess
|
||||
|
||||
.for f in ${EG_FILES}
|
||||
CONF_FILES+= ${CT_EGDIR}/${f} ${CT_WEBDIR}/${f}
|
||||
.endfor
|
||||
|
||||
.for f in ${TMPL_FILES}
|
||||
REQD_FILES+= ${CT_EGDIR}/${f} ${CT_WEBDIR}/${f}
|
||||
.endfor
|
||||
|
||||
.for f in ${WWW_EG_FILES}
|
||||
CONF_FILES_PERMS+= ${CT_EGDIR}/${f} ${CT_WEBDIR}/${f} \
|
||||
${APACHE_USER} ${APACHE_GROUP} 0644
|
||||
.endfor
|
||||
|
||||
SUBST_CLASSES+= conf
|
||||
SUBST_FILES.conf+= ${WRKDIR}/contao.conf
|
||||
SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX:Q}|g'
|
||||
SUBST_SED.conf+= -e 's|@CT_WEBDIR@|${CT_WEBDIR:Q}|g'
|
||||
SUBST_STAGE.conf= post-configure
|
||||
|
||||
WWW_FILES= CHANGELOG.txt GPL.txt INSTALL.txt LGPL.txt \
|
||||
contao cron.php index.php plugins share.php templates \
|
||||
typolight
|
||||
WWW_SYSFILES= config/.htaccess constants.php contao.css drivers \
|
||||
functions.php html iefixes.css initialize.php interface.php \
|
||||
libraries logs/.htaccess mbstring.php modules themes \
|
||||
tmp/.htaccess utf8_lookup.php
|
||||
|
||||
INSTALLATION_DIRS+= ${CT_DOCDIR} ${CT_EGDIR} ${CT_WEBDIR}/system/config
|
||||
OWN_DIRS_PERMS+= \
|
||||
${CT_WEBDIR} ${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/plugins ${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/plugins/tcpdf/cache \
|
||||
${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/system ${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/system/drivers ${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/system/html ${REAL_ROOT_USER} ${APACHE_GROUP} 0770 \
|
||||
${CT_WEBDIR}/system/libraries ${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/system/logs ${REAL_ROOT_USER} ${APACHE_GROUP} 0770 \
|
||||
${CT_WEBDIR}/system/modules ${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/system/themes ${REAL_ROOT_USER} ${APACHE_GROUP} 0775 \
|
||||
${CT_WEBDIR}/system/tmp ${REAL_ROOT_USER} ${APACHE_GROUP} 0770 \
|
||||
${CT_WEBDIR}/templates ${REAL_ROOT_USER} ${APACHE_GROUP} 0770 \
|
||||
${CT_WEBDIR}/tl_files ${REAL_ROOT_USER} ${APACHE_GROUP} 0770 \
|
||||
${CT_WEBDIR}/tl_files/tiny_templates \
|
||||
${REAL_ROOT_USER} ${APACHE_GROUP} 0770
|
||||
|
||||
PKG_GROUPS_VARS+= APACHE_GROUP
|
||||
PKG_USERS_VARS+= APACHE_USER
|
||||
|
||||
.include "../../www/contao/options.mk"
|
||||
|
||||
pre-configure:
|
||||
${MV} ${WRKSRC}/templates/.htaccess ${WRKDIR}/templates-htaccess
|
||||
${CP} ${FILESDIR}/contao.conf ${WRKDIR}
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC}; ${RM} -rf music_academy.css \
|
||||
templates/music_academy.sql tl_files/music_academy
|
||||
${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} \;
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}; pax -rw ${WWW_FILES} ${DESTDIR}${PREFIX}/${CT_WEBDIR}
|
||||
cd ${WRKSRC}/system; \
|
||||
pax -rw ${WWW_SYSFILES} \
|
||||
${DESTDIR}${PREFIX}/${CT_WEBDIR}/system; \
|
||||
${INSTALL_DATA} config/.htaccess \
|
||||
${DESTDIR}${PREFIX}/${CT_WEBDIR}/system/config
|
||||
cd ${WRKSRC}; pax -rw ${EG_DATA} ${DESTDIR}${PREFIX}/${CT_EGDIR}
|
||||
rm -f ${DESTDIR}${PREFIX}/${CT_EGDIR}/system/config/.htaccess
|
||||
${INSTALL_DATA} ${WRKDIR}/contao.conf ${DESTDIR}${PREFIX}/${CT_EGDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/templates-htaccess \
|
||||
${DESTDIR}${PREFIX}/${CT_EGDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/README \
|
||||
${DESTDIR}${PREFIX}/${CT_DOCDIR}
|
||||
|
||||
.include "Makefile.version"
|
||||
.include "../../www/contao/Makefile.common"
|
||||
.include "../../lang/php/phpversion.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
8
www/contao29/Makefile.version
Normal file
8
www/contao29/Makefile.version
Normal file
|
@ -0,0 +1,8 @@
|
|||
# $NetBSD: Makefile.version,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $
|
||||
#
|
||||
# used by www/contao29/Makefile
|
||||
# used by www/contao29-example/Makefile
|
||||
# used by www/contao29-translations/Makefile
|
||||
#
|
||||
|
||||
CT_VERSION= 2.9.0
|
2003
www/contao29/PLIST
Normal file
2003
www/contao29/PLIST
Normal file
File diff suppressed because it is too large
Load diff
5
www/contao29/distinfo
Normal file
5
www/contao29/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2010/07/05 14:45:22 taca Exp $
|
||||
|
||||
SHA1 (contao-2.9.0.tar.gz) = 9635d7d9251e4dfe965392ed2b2cc1f2a55f8cf9
|
||||
RMD160 (contao-2.9.0.tar.gz) = cbe78ac77e2222c8d6571d9a67a25c796e60b89e
|
||||
Size (contao-2.9.0.tar.gz) = 4335596 bytes
|
Loading…
Reference in a new issue