2013-05-24 afc5256 [RELEASE] Release of TYPO3 4.5.27 (TYPO3 Release Team) 2013-05-23 951cc4a Revert "[BUGFIX] Extension Security Report goes green if TER was never fetched" (Markus Klein) 2013-05-19 156acf2 #16531 [BUGFIX] Fix last line in table wizard (Philipp Gampe) 2013-05-18 426abe9 #16762 [BUGFIX] be_users.userMods is too small to hold all modules (Philipp Gampe) 2013-05-12 4efda7e #34148 [BUGFIX] Multi-table relationship not recognized in t3lib_loadDBGroup (Markus Opahle) 2013-05-12 3cf208f #34446 [BUGFIX] undefined variable imgExt (Simon Schaufelberger) 2013-05-12 1da2b57 #47688 [BUGFIX] Sorting not respected for backend layout dropdowns (Anja Leichsenring) 2013-05-11 913c01a #48052 [BUGFIX] Wrong class in t3lib_TCEforms_Suggest (Nicole Cordes) 2013-05-08 6f88470 [TASK] Activate syntax check for PHP 5.4 (Helmut Hummel) 2013-05-08 2fe9c38 [TASK] Activate travis to check for syntax errors (Helmut Hummel) 2013-05-07 53b49a1 #40816 [BUGFIX] Fix SQL error in Livesearch with empty TCA sortby setting (Laurent Cherpit) 2013-05-06 e060386 #47969 [BUGFIX] Call to undefined function mime_content_type() (Christian Kuhn) 2013-05-06 fbea075 [TASK] Raise submodule pointer (Christian Kuhn) 2013-05-05 bc76a94 #21588 [BUGFIX] Resolve asterisk in allowed tables for suggest wizard (Nicole Cordes) 2013-05-05 d4439a1 #39043 [BUGFIX] Extension Security Report goes green if TER was never fetched (Mario Rimann)
97 lines
2.9 KiB
Makefile
97 lines
2.9 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2013/06/05 15:19:21 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 LTS 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= 4.5.27
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= pax
|
|
|
|
TYPO3NAME= typo3_src-${VER}
|
|
SITESRC= dummy-${VER}
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
PHP_VERSIONS_ACCEPTED= 53
|
|
|
|
# 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}
|
|
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}/localconf.php \
|
|
${TYPO3DIR}/${SITEDIR}/typo3conf/localconf.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
|
|
|
|
SUBST_CLASSES+= conf
|
|
SUBST_FILES.conf+= ${WRKDIR}/README
|
|
SUBST_FILES.conf+= ${WRKSRC}/t3lib/config_default.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
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/README ${WRKDIR}
|
|
|
|
pre-install:
|
|
${FIND} ${WRKSRC} -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"
|