diff options
author | pav <pav@FreeBSD.org> | 2005-02-08 21:02:48 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-08 21:02:48 +0000 |
commit | e5642c1c2857b1fbf20b7de41341d88f52b9d8cb (patch) | |
tree | 10f41da3557b776548dbe67567f7d07f00b0cac5 /www/typo345 | |
parent | 84936eb6ca7b32c1c3f3ddaebafd518980e344c8 (diff) | |
download | FreeBSD-ports-e5642c1c2857b1fbf20b7de41341d88f52b9d8cb.zip FreeBSD-ports-e5642c1c2857b1fbf20b7de41341d88f52b9d8cb.tar.gz |
TYPO3 is a free Open Source content management system for enterprise purposes
on the web and in intranets. It offers full flexibility and extendability while
featuring an accomplished set of ready-made interfaces, functions and modules.
PR: ports/77180
Submitted by: Gerrit Beine <tux@pinguru.net>
Diffstat (limited to 'www/typo345')
-rw-r--r-- | www/typo345/Makefile | 80 | ||||
-rw-r--r-- | www/typo345/distinfo | 8 | ||||
-rw-r--r-- | www/typo345/pkg-descr | 5 |
3 files changed, 93 insertions, 0 deletions
diff --git a/www/typo345/Makefile b/www/typo345/Makefile new file mode 100644 index 0000000..d79a2c6 --- /dev/null +++ b/www/typo345/Makefile @@ -0,0 +1,80 @@ +# New ports collection makefile for: www/typo3 +# Date created: February 6th 2005 +# Whom: Gerrit Beine <tux@pinguru.net> +# +# $FreeBSD$ +# + +PORTNAME= typo3 +PORTVERSION= 3.7.0 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}_src-${PORTVERSION} + +MAINTAINER= tux@pinguru.net +COMMENT= The typo3 content management system + +NO_BUILD= yes +USE_PHP= mysql +WANT_PHP_WEB= yes + +TYPO3DIR= www/${DISTNAME} +SITEDIR?= www/typo3 +SITESRC= ${WRKDIR}/${EDITION}-${PORTVERSION} + +EDITION= dummy +.if defined(WITH_EDITION) && (${WITH_EDITION} == "quickstart" || ${WITH_EDITION} == "testsite") +EDITION= ${WITH_EDITION} +.endif + +.if make(makesum) +DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} \ + dummy-${PORTVERSION}${EXTRACT_SUFX} \ + quickstart-${PORTVERSION}${EXTRACT_SUFX} \ + testsite-${PORTVERSION}${EXTRACT_SUFX} +.else +DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${EDITION}-${PORTVERSION}${EXTRACT_SUFX} +.endif + +OPTIONS= GD "Configure with GDlib/freetype support" off \ + ZLIB "Configure with zlib support" off \ + IMAGICK "Configure with ImageMagick support" off + +PORT_DBDIR?= /var/db/ports +LATEST_LINK= ${PORTNAME} +OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options + +.if exists(${OPTIONSFILE}) +.include "${OPTIONSFILE}" +.endif + +.if defined(WITH_GD) +USE_PHP+= gd +.endif + +.if defined(WITH_ZLIB) +USE_PHP+= zlib +.endif + +.if defined(WITH_IMAGICK) +LIB_DEPENDS+= Magick.7:${PORTSDIR}/graphics/ImageMagick +.endif + +do-install: + ${CP} -R ${WRKSRC} ${PREFIX}/${TYPO3DIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3DIR} + ${CP} -R ${SITESRC} ${PREFIX}/${SITEDIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${SITEDIR} + +post-install: + @${FIND} ${PREFIX}/${TYPO3DIR} -not -type d \ + | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST} + @${FIND} -d ${PREFIX}/${TYPO3DIR} -type d \ + | ${SED} -ne 's,^${PREFIX}/${TYPO3DIR},@dirrm ${TYPO3DIR},p' >> ${TMPPLIST} + @${FIND} ${PREFIX}/${SITEDIR} -not -type d \ + | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST} + @${FIND} -d ${PREFIX}/${SITEDIR} -type d \ + | ${SED} -ne 's,^${PREFIX}/${SITEDIR},@dirrm ${SITEDIR},p' >> ${TMPPLIST} + +.include <bsd.port.mk> diff --git a/www/typo345/distinfo b/www/typo345/distinfo new file mode 100644 index 0000000..293cdb7 --- /dev/null +++ b/www/typo345/distinfo @@ -0,0 +1,8 @@ +MD5 (typo3_src-3.7.0.tar.gz) = 6bc49909b96cba7abf4f353efde6849b +SIZE (typo3_src-3.7.0.tar.gz) = 10878257 +MD5 (dummy-3.7.0.tar.gz) = efd9749fcc7247db368adccae7087ba1 +SIZE (dummy-3.7.0.tar.gz) = 242283 +MD5 (quickstart-3.7.0.tar.gz) = 7da02a9922a6a3ad9dc0482b6b66acab +SIZE (quickstart-3.7.0.tar.gz) = 793752 +MD5 (testsite-3.7.0.tar.gz) = d4291fda45abab579b24f1498ea18ed3 +SIZE (testsite-3.7.0.tar.gz) = 1721017 diff --git a/www/typo345/pkg-descr b/www/typo345/pkg-descr new file mode 100644 index 0000000..22210a2 --- /dev/null +++ b/www/typo345/pkg-descr @@ -0,0 +1,5 @@ +TYPO3 is a free Open Source content management system for enterprise purposes +on the web and in intranets. It offers full flexibility and extendability while +featuring an accomplished set of ready-made interfaces, functions and modules. + +WWW: http://typo3.com/ |