diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-08 21:02:48 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-02-08 21:02:48 +0000 |
commit | fc72cc4d24361684b0e288b029171f1775a710da (patch) | |
tree | f7614938bf9465c3f0058b0eb9b60a118bf5d0f4 /www/typo344 | |
parent | 3f62971c2d2cea133e7d75d943ba585fd9466aa8 (diff) | |
download | ports-fc72cc4d24361684b0e288b029171f1775a710da.tar.gz ports-fc72cc4d24361684b0e288b029171f1775a710da.zip |
Notes
Diffstat (limited to 'www/typo344')
-rw-r--r-- | www/typo344/Makefile | 80 | ||||
-rw-r--r-- | www/typo344/distinfo | 8 | ||||
-rw-r--r-- | www/typo344/pkg-descr | 5 |
3 files changed, 93 insertions, 0 deletions
diff --git a/www/typo344/Makefile b/www/typo344/Makefile new file mode 100644 index 000000000000..d79a2c6d6e17 --- /dev/null +++ b/www/typo344/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/typo344/distinfo b/www/typo344/distinfo new file mode 100644 index 000000000000..293cdb7a2b37 --- /dev/null +++ b/www/typo344/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/typo344/pkg-descr b/www/typo344/pkg-descr new file mode 100644 index 000000000000..22210a23f997 --- /dev/null +++ b/www/typo344/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/ |