pkgsrc/www/typo3/Makefile
taca 1fd0397ca7 Update typo3 package to 4.4.6, bug fix release. (This is a leaf package.)
For full changes, please refer http://wiki.typo3.org/wiki/TYPO3_4.4.6.

2010-12-28  Benjamin Mack  <benni@typo3.org>

	* Release of TYPO3 4.4.6

2010-12-28  Benjamin Mack  <benni@typo3.org>

	* Revert change #16614 (rev. 9684): common.js resets TYPO3 namespace /
          Fixed regression #16831: 'Ext' is undefinded, Line: 81, js/common.js

2010-12-26  Tobias Liebig  <mail_typo3@etobi.de>

	* Fixed bug #16661: include TSRef changes for t3editor code completion
          (thanks to Christian Kartnig)

2010-12-23  Jigal van Hemert <jigal@xs4all.nl>

	* Fixed bug #16825: Fatal error in lang.php (thanks to Georg Ringer)

2010-12-21  Francois Suter  <francois.suter@typo3.org>

	* Fixed bug #16786: Versioning: Generating preview link not working
          (thanks to Frederic Gaus)

2010-12-21  Stanislas Rolland  <typo3@sjbr.ca>

	* Fixed bug #16760: RTE transformation removes all span tags on save
          after upgrade TYPO3 4.4.5

2010-12-20  Tolleiv Nietsch  <typo3@tolleiv.de>

	* Fixed bug #16134: TYPO3 doesn't always fix permissions for new files

2010-12-19  Steffen Gebert  <steffen@steffen-gebert.de>

	* Fixed bug #16777: Test failure in t3lib_extmgmTest if tests are
          located in typo3_src/tests/ instead of tests/ (Thanks to Oliver
          Klee)
	* Fixed bug #16790: Typo in topbar CSS

2010-12-17  Susanne Moog  <typo3@susanne-moog.de>

	* Fixed bug #5186: fixed rendering of multi-column image rows (thanks
          to Michael B«ärgi)

2010-12-17  Steffen Kamper  <steffen@typo3.org>

	* Fixed bug #14500: Bug: Unit test failures in
          t3lib_matchCondition_backend_testcase (Thanks to Oliver Klee)

2010-12-17  Francois Suter  <francois.suter@typo3.org>

	* Fixed bug #16470: Scheduler fails to calculateNextValue a turn of
          the year (thanks to Tobias H«Óvelborn and Christian Kuhn)

2010-12-17  Ingo Renner  <ingo@typo3.org>

	* Fixed issue #16764: Insufficient information about which class is
          failing to implement interfaces in tslib_cObj->start()
2010-12-28 14:44:11 +00:00

97 lines
2.9 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2010/12/28 14:44:11 taca Exp $
#
DISTNAME= ${TYPO3NAME}
PKGNAME= typo3-${VER}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typo3/}
DISTFILES= ${TYPO3NAME}${EXTRACT_SUFX} ${SITESRC}${EXTRACT_SUFX}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://typo3.com/
COMMENT= The typo3 content management system
LICENSE= gnu-gpl-v2
DEPENDS+= ${PHP_PKG_PREFIX}-{mysql,pgsql}>=5.1.0:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2.0:../../archivers/php-zlib/
PKG_DESTDIR_SUPPORT= user-destdir
VER= 4.4.6
NO_BUILD= yes
USE_TOOLS= pax
TYPO3NAME= typo3_src-${VER}
SITESRC= dummy-${VER}
# maybe resides in lang/php/phpversion.mk
REPLACE_INTERPRETER+= php
REPLACE.php.old= .*php[^ ]*
REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= typo3/cli_dispatch.phpsh \
typo3/mod/user/ws/cli/ws_cli.phpsh \
typo3/sysext/indexed_search/cli/indexer_cli.phpsh
TYPO3DATADIR= fileadmin fileadmin/_temp_ fileadmin/user_upload \
typo3conf typo3conf/ext typo3conf/l10n typo3temp uploads \
uploads/media uploads/pics uploads/tf
BUILD_DEFS+= APACHE_GROUP
FILES_SUBST+= TYPO3DIR=${TYPO3DIR:Q} SITEDIR=${SITEDIR:Q}
PLIST_SUBST+= EGDIR=${EGDIR:Q} SITEDIR=${SITEDIR:Q} \
TYPO3DIR=${TYPO3DIR:Q} TYPO3NAME=${TYPO3NAME:Q}
EGDIR= share/examples/typo3
INSTALLATION_DIRS+= ${EGDIR} ${TYPO3DIR}/${SITEDIR} ${TYPO3DIR}/${TYPO3NAME}
CONF_FILES_PERMS+= ${EGDIR}/localconf.php \
${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.php \
${REAL_ROOT_USER} ${APACHE_GROUP} 0660
.for d in ${TYPO3DATADIR}
OWN_DIRS_PERMS+= ${TYPO3DIR}/${SITEDIR}/${d} ${REAL_ROOT_USER} \
${APACHE_GROUP} 0770
CHECK_PERMS_SKIP+= ${TYPO3DIR}/${SITEDIR}/${d}
.endfor
SUBST_CLASSES+= conf
SUBST_FILES.conf+= ${WRKDIR}/README
SUBST_FILES.conf+= ${WRKSRC}/t3lib/config_default.php
SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX:Q}|g'
SUBST_SED.conf+= -e 's|@TYPO3DIR@|${TYPO3DIR:Q}|g'
SUBST_SED.conf+= -e 's|@SITEDIR@|${SITEDIR:Q}|g'
SUBST_STAGE.conf= post-configure
PRINT_PLIST_AWK+= /^${EGDIR:S|/|\\/|g}/ \
{ gsub(/${EGDIR:S|/|\\/|g}/, "$${EGDIR}") }
PRINT_PLIST_AWK+= /^${TYPO3DIR:S|/|\\/|g}\/${TYPO3NAME}/ \
{ gsub(/${TYPO3DIR:S|/|\\/|g}\/${TYPO3NAME}/, \
"$${TYPO3DIR}/$${TYPO3NAME}") }
PRINT_PLIST_AWK+= /^${TYPO3DIR:S|/|\\/|g}\/${SITEDIR}/ \
{ gsub(/${TYPO3DIR:S|/|\\/|g}\/${SITEDIR}/, \
"$${TYPO3DIR}/$${SITEDIR}") }
.include "../../mk/bsd.prefs.mk"
SITEDIR?= www
TYPO3DIR?= share/typo3
post-extract:
${CP} ${FILESDIR}/README ${WRKDIR}
pre-install:
${FIND} ${WRKSRC:Q} -name "*.orig*" -exec ${RM} -f {} \;
do-install:
cd ${WRKSRC}; \
pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${TYPO3NAME}
cd ${WRKDIR}/${SITESRC}; \
pax -rw . ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}
${RM} -f ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.php
${INSTALL_DATA} ${WRKDIR}/${SITESRC}/typo3conf/localconf.php \
${DESTDIR}${PREFIX}/${EGDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"