pkgsrc/www/typo3_60/Makefile
taca 0c8cdc79e7 Update typo3_60 package to 6.0.10.
pkgsrc change: change files/README to MESSAGE file.

2013-09-12  c0dfc7d                  [RELEASE] Release of TYPO3 6.0.10 (TYPO3 Release Team)
2013-09-11  8fb6d68  #51923          [TASK] Move StorageRepositoryTest tests to AbstractRepositoryTest (Anja Leichsenring)
2013-09-11  1831c95  #51562          [BUGFIX] Move forgotten getEnvironmentMode() (Anja Leichsenring)
2013-09-11  663ccd5  #51519          [TASK] FAL ResourceStorage must not access sys_file table directly (Steffen Ritter)
2013-09-11  016949f  #50795          [BUGFIX] Follow-Up: Missing signals on adding file (Stefan Neufeind)
2013-09-11  5db38d3  #51562          [TASK] Remove sys_file.deleted flag and it's usage (Ernesto Baschny)
2013-09-11  7a4e75d  #50795          [BUGFIX] Missing signals on adding file (Andreas Wolf)
2013-09-10  194702a  #49386          [BUGFIX] Follow-up: Fix fileinfo property mapping in ResourceStorage (Stefan Neufeind)
2013-09-09  9af1d6b  #50723          [BUGFIX] Extbase scheduler task serialization (arjenhoekema)
2013-09-09  506a920  #49386          [BUGFIX] Fix fileinfo property mapping in ResourceStorage::setFileContents (Thomas Maroschik)
2013-09-09  1ecf5cd  #51018          [BUGFIX] excludeFromUpdates flag ignored (Francois Suter)
2013-09-09  937c3dc  #48467          [BUGFIX] mounts of same storage had same subfolder count in Filelist (Simon Schick)
2013-09-09  4519179  #51743          [TASK] Replace double quotes in exceptions (Wouter Wolters)
2013-09-09  df49c8c  #51744          [TASK] Cleanup (Wouter Wolters)
2013-09-09  3b52e07  #47414          [BUGFIX] Filename not displayed in selector (file_reference) (Martin Borer)
2013-09-09  8bd8e69  #51871          [BUGFIX] Ignore userTSConfig if not set in getModTSconfig() (Helmut Hummel)
2013-09-09  9d9db86  #51682          [BUGFIX] Disable caching for ADMCMD_view parameter (Philipp Kitzberger)
2013-09-09  c4179a1  #51761          [BUGFIX] Do not add trailing slashes to files (Helmut Hummel)
2013-09-09  3d4d785  #51808          [BUGFIX] Enable ProcessedFiles to do file exists (Helmut Hummel)
2013-09-08  9e2bfef  #51758          [BUGFIX] Fix viewObjectNamePattern regression in Extbase (Alexander Schnitzler)
2013-09-08  248d9cf  #45498          [FEATURE] Find best-matching local storage instead of default-storage (Stefan Neufeind)
2013-09-06  adf9802  #51747          [BUGFIX] Recreate processig folder without permission checks (Helmut Hummel)
2013-09-06  990cd92  #51733          [BUGFIX] Do not register storage factory slot during install (Helmut Hummel)
2013-09-06  54034a7  #51305,#51767   [FEATURE] Render icon with button view helper (Francois Suter)
2013-09-04  34d22cc  #51745          [TASK] Remove conflict code (Wouter Wolters)
2013-09-13 11:35:58 +00:00

95 lines
3.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2013/09/13 11:35:58 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, 6.0 based release
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/
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.2.0:../../textproc/php-json
VER= 6.0.10
NO_BUILD= yes
USE_TOOLS+= bash:run pax
TYPO3NAME= typo3_src-${VER}
SITESRC= dummy-${VER}
WRKSRC= ${WRKDIR}/${DISTNAME}
# 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
TYPO3DATADIRS= 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} SITEDIR=${SITEDIR}
MESSAGE_SUBST+= TYPO3DIR=${TYPO3DIR} SITEDIR=${SITEDIR}
PLIST_SUBST+= EGDIR=${EGDIR} SITEDIR=${SITEDIR} \
TYPO3DIR=${TYPO3DIR} TYPO3NAME=${TYPO3NAME:Q}
EGDIR= share/examples/typo3
INSTALLATION_DIRS+= ${EGDIR} ${TYPO3DIR}/${SITEDIR} ${TYPO3DIR}/${TYPO3NAME}
CONF_FILES_PERMS+= ${EGDIR}/LocalConfiguration.php \
${TYPO3DIR}/${SITEDIR}/typo3conf/LocalConfiguration.php \
${REAL_ROOT_USER} ${APACHE_GROUP} 0660
.for d in ${TYPO3DATADIRS}
OWN_DIRS_PERMS+= ${TYPO3DIR}/${SITEDIR}/${d} ${REAL_ROOT_USER} \
${APACHE_GROUP} 0770
CHECK_PERMS_SKIP+= ${TYPO3DIR}/${SITEDIR}/${d}
.endfor
REPLACE_INTERPRETER+= sh
REPLACE.sh.old= /bin/bash
REPLACE.sh.new= ${TOOLS_PATH.bash}
REPLACE_FILES.sh= typo3/contrib/flowplayer/plugins/flowplayer.captions/example/flvtool2-cuepoints.sh
SUBST_CLASSES+= conf
SUBST_FILES.conf+= ${WRKSRC}/t3lib/stddb/DefaultConfiguration.php
SUBST_SED.conf+= -e 's|@PREFIX@|${PREFIX}|g'
SUBST_SED.conf+= -e 's|@TYPO3DIR@|${TYPO3DIR}|g'
SUBST_SED.conf+= -e 's|@SITEDIR@|${SITEDIR}|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
do-install:
cd ${WRKSRC} && ${FIND} . ! -type d -a \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/${TYPO3DIR}/${TYPO3NAME}
cd ${WRKDIR}/${SITESRC} && \
${FIND} . ! -type d -a \! -name '*.orig' -print | \
pax -rw ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}
${RM} -f ${DESTDIR}${PREFIX}/${TYPO3DIR}/${SITEDIR}/typo3conf/LocalConfiguration.php
${INSTALL_DATA} ${WRKDIR}/${SITESRC}/typo3conf/LocalConfiguration.php \
${DESTDIR}${PREFIX}/${EGDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"