pkgsrc/www/typolight27/Makefile
taca 5ffd55d80a Update www/typolight27 to ifficial release 2.7.0.
==========================
TYPOlight webCMS CHANGELOG
==========================

Version 2.7.0 (2009-05-01)
--------------------------
- Updated SyntaxHighlighter to version 2.0.296
- Moved the DOMPDF plugin to the extension repository
- Moved the developers module to the extension repository
- Removed the outdated PunBB bridge extension
- Added a glossary extension to the core
- Added a rewrite rule to dispatch gzipped .js and .css files
- Added basic drag'n'drop support in the back end (parent view)
- Added better confirmation messages to comment elements (#677)
- Fixes issue with insert tag "date" returning the wrong date(#639)
- Fixed issue with date validation if the date contains slashes (#668)
- Fixed issue with RSS reader not showing feed header data (#635)
- Fixed issue with tablesort.js not working in IE (#652)
- Fixes issue with limit filter not considering root IDs (#670)
- Fixes issue with article IDs being generated from the title (#675)
- Fixed a few minor issues

Version 2.7.RC2 (2009-04-01)
----------------------------
- IE8 compatible back end
- Replaced UFO with SWFObject (#218)
- Updated mootools to version 1.2.1 (#1)
- Updated dfGallery to version 2.005 (#463)
- Updated simplepie to version 1.1.3 (#238)
- Updated TCPDF to version 4.5.032 (#80)
- Updated TinyMCE to version 3.2.2.1 (#622)
- Updated all HTTP headers to HTTP/1.1 (#583)
- Merged the calendar and mini-calendar modules
- Added module "book navigation"
- Added mootools color picker (mooRainbow)
- Added an improved date validation routine (#314)
- Added automatic field resizing to the table wizard (#553)
- Added option to define the meta robots tag in the site structure (#586)
- Added a file picker widget to choose images in the style sheet editor (#60)
- Added option to choose whether to export teasers or full articles in RSS feeds (#591)
- Added a WHERE condition for the details page of the listing module (#618)
- Added option to hide the channel selection menu in newsletter modules (#464)
- Added insert tag "iflng" to insert language specific content (#367)
- Added an option to disable the session ip check (#18)
- Added conditional comments support to the style sheet editor (#379)
- Added option to purge data in the personal settings module (#585)
- Added a custom error page for missing referer host addresses (#592)
- Added support for featured news to the news extension (#191)
- Improved cross-browser stability of the new form layout
- Improved handling of the search and filter functions in the back end (#526)
- Fixed issue with emtpy requests being cached (#579)
- Fixed issue with cache header sending a wrong max-age (#600)
- Fixed news comments permissions in the back end (#603)
- Fixed some minor issues

Version 2.7.RC1 (2009-03-15)
----------------------------
- Overworked all language files
- Declared the Template class abstract (#309)
- Modified main navigation template "nav_default" (#559)
- Added "importUser" hook (#187)
- Added class "error" to form fields (#200)
- Added new collapsible two-column back end form layout
- Added FIND_IN_SET() support to sortable back end fields (#299)
- Added salted passwords to prevent against rainbow table attacks (#142)
- Added a method to parse textual date representations (#304)
- Added routine to check for duplicate newsletter recipients (#575)
- Improved sorting of FAQ categories in the front end
- Improved undo function so regular users can only see their own undo steps (#434)
- Fixed issue with indexer failing to read large pages (#516)
- Fixed issue with thumbnail generator and transparent GIFs and PNGs (#572)
- Fixed issue with style sheet importer not handling margin:auto correctly (#492)
- Fixed issue with e-mail addresses not being encoded in news and events (#528)
- Fixed some minor issues
2009-05-01 03:04:48 +00:00

126 lines
4.5 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2009/05/01 03:04:48 taca Exp $
#
DISTNAME= typolight-${TL_VERSION}
PKGNAME= typolight${TL_VER}-${TL_PKGVER}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.typolight.org/
COMMENT= Powerful web content management system (CMS)
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.1.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.1.0:../../misc/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.1.0:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=5.1.0:../../security/php-mcrypt
DEPENDS+= ${PHP_PKG_PREFIX}-soap>=5.1.0:../../net/php5-soap
PKG_DESTDIR_SUPPORT= destdir
PHP_VERSIONS_ACCEPTED= 5
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/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/tiny_templates/index.html \
tl_files/xBrowser_style_sheets/xBasic.css \
tl_files/xBrowser_style_sheets/xElements.css \
tl_files/xBrowser_style_sheets/xForm.css \
tl_files/xBrowser_style_sheets/xNavigation.css
WWW_EG_FILES= basic.css print.css robots.txt
CONF_FILES_PERMS+= ${TL_EGDIR}/system/config/localconfig.php \
${TL_WEBDIR}/system/config/localconfig.php \
${APACHE_USER} ${APACHE_GROUP} 0600
CONF_FILES+= ${TL_EGDIR}/typolight.conf \
${PKG_SYSCONFDIR}/typolight.conf \
${TL_EGDIR}/templates-htaccess \
${TL_WEBDIR}/templates/.htaccess
.for f in ${EG_FILES}
CONF_FILES+= ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f}
.endfor
.for f in ${TMPL_FILES}
REQD_FILES+= ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f}
.endfor
.for f in ${WWW_EG_FILES}
CONF_FILES_PERMS+= ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f} \
${APACHE_USER} ${APACHE_GROUP} 0644
.endfor
SUBST_CLASSES+= conf
SUBST_FILES.conf+= ${WRKDIR}/typolight.conf
SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX:Q}|g'
SUBST_SED.conf+= -e 's|@TL_WEBDIR@|${TL_WEBDIR:Q}|g'
SUBST_STAGE.conf= post-configure
WWW_FILES= ._htaccess CHANGELOG.txt INSTALL.txt LICENSE.txt \
cron.php flash.php index.php \
plugins templates typolight
WWW_SYSFILES= config/.htaccess constants.php drivers functions.php \
html iefixes.css initialize.php interface.php libraries \
logs/.htaccess mbstring.php modules themes tmp/.htaccess \
typolight.css
INSTALLATION_DIRS+= ${TL_DOCDIR} ${TL_EGDIR} ${TL_WEBDIR}/system/config
OWN_DIRS_PERMS+= \
${TL_WEBDIR} ${BINOWN} ${APACHE_GROUP} 0775 \
${TL_WEBDIR}/plugins ${BINOWN} ${APACHE_GROUP} 0775 \
${TL_WEBDIR}/system ${BINOWN} ${APACHE_GROUP} 0775 \
${TL_WEBDIR}/system/drivers ${BINOWN} ${APACHE_GROUP} 0775 \
${TL_WEBDIR}/system/html ${BINOWN} ${APACHE_GROUP} 0770 \
${TL_WEBDIR}/system/libraries ${BINOWN} ${APACHE_GROUP} 0775 \
${TL_WEBDIR}/system/logs ${BINOWN} ${APACHE_GROUP} 0770 \
${TL_WEBDIR}/system/modules ${BINOWN} ${APACHE_GROUP} 0775 \
${TL_WEBDIR}/system/themes ${BINOWN} ${APACHE_GROUP} 0775 \
${TL_WEBDIR}/system/tmp ${BINOWN} ${APACHE_GROUP} 0770 \
${TL_WEBDIR}/templates ${BINOWN} ${APACHE_GROUP} 0770 \
${TL_WEBDIR}/tl_files ${BINOWN} ${APACHE_GROUP} 0770 \
${TL_WEBDIR}/tl_files/tiny_templates \
${BINOWN} ${APACHE_GROUP} 0770 \
${TL_WEBDIR}/tl_files/xBrowser_style_sheets \
${BINOWN} ${APACHE_GROUP} 0770
PKG_GROUPS_VARS+= APACHE_GROUP
PKG_USERS_VARS+= APACHE_USER
.include "../../www/typolight/options.mk"
pre-configure:
${MV} ${WRKSRC}/templates/.htaccess ${WRKDIR}/templates-htaccess
${CP} ${FILESDIR}/typolight.conf ${WRKDIR}
cd ${WRKSRC}; ${RM} -rf music_academy.css \
templates/example_website.sql tl_files/music_academy
pre-install:
${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} \;
do-install:
cd ${WRKSRC}; pax -rw -pm ${WWW_FILES} ${DESTDIR}${PREFIX}/${TL_WEBDIR}
cd ${WRKSRC}/system; \
pax -rw -pm ${WWW_SYSFILES} \
${DESTDIR}${PREFIX}/${TL_WEBDIR}/system; \
${INSTALL_DATA} config/.htaccess \
${DESTDIR}${PREFIX}/${TL_WEBDIR}/system/config
cd ${WRKSRC}; pax -rw -pm ${EG_DATA} ${DESTDIR}${PREFIX}/${TL_EGDIR}
rm -f ${DESTDIR}${PREFIX}/${TL_EGDIR}/system/config/.htaccess
${INSTALL_DATA} ${WRKDIR}/typolight.conf ${DESTDIR}${PREFIX}/${TL_EGDIR}
${INSTALL_DATA} ${WRKDIR}/templates-htaccess \
${DESTDIR}${PREFIX}/${TL_EGDIR}
${INSTALL_DATA} ${FILESDIR}/README \
${DESTDIR}${PREFIX}/${TL_DOCDIR}
.include "Makefile.version"
.include "../../www/typolight/Makefile.common"
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"