head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	2013.03.08.19.11.42;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2013.03.06.16.01.46;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2013.02.15.03.04.48;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.12.02.12.27.15;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.12.01.12.10.26;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313627
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Gerrit Beine <tux@@pinguru.net>
# $FreeBSD: head/www/typo347/Makefile 313627 2013-03-08 08:41:18Z culot $

PORTNAME=	typo3
PORTVERSION=	4.7.10
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}/TYPO3%20Source%20and%20Dummy/TYPO3%20${PORTVERSION}

MAINTAINER=	freebsd-ports@@charlieroot.de
COMMENT=	The typo3 content management system

LICENSE=	GPLv2

LATEST_LINK=	${PKGBASE}${TYPO3RELEASE}
NO_BUILD=	yes
USE_PHP=	ctype filter json mysql pcre session xml
WANT_PHP_WEB=	yes
IGNORE_WITH_PHP=4

TYPO3WWW=	www
TYPO3RELEASE=	47
TYPO3SITE=	${TYPO3WWW}/${PORTNAME}
TYPO3PKG=	${PORTNAME}-${PORTVERSION}
TYPO3SRC=	${PORTNAME}_src-${PORTVERSION}
TYPO3DUMMY=	dummy-${PORTVERSION}

PLIST_SUB+=	PORTVERSION="${PORTVERSION}"

DISTFILES+=	${TYPO3SRC}${EXTRACT_SUFX} ${TYPO3DUMMY}${EXTRACT_SUFX}

OPTIONS_DEFINE=	CURL GD IMAGICK MBSTRING ZLIB
IMAGICK_DESC=	${IMAGEMAGICK_DESC}
MBSTRING_DESC=	${MULTIBYTE_DESC}
GD_DESC=	GDlib/freetype support

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MCURL}
USE_PHP+=	curl
.endif

.if ${PORT_OPTIONS:MGD}
USE_PHP+=	gd
.endif

.if ${PORT_OPTIONS:MIMAGICK}
.if ${PORT_OPTIONS:MX11}
RUN_DEPENDS+=	${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
.else
RUN_DEPENDS+=	${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick-nox11
.endif
.endif

.if ${PORT_OPTIONS:MMBSTRING}
USE_PHP+=	mbstring
.endif

.if ${PORT_OPTIONS:MZLIB}
USE_PHP+=	zlib
.endif

pre-install:
	${MV} ${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php ${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php.dist

do-install:
	${CP} -R ${WRKDIR}/${TYPO3DUMMY}/ ${PREFIX}/${TYPO3SITE}
	${CP} -R ${WRKDIR}/${TYPO3SRC} ${PREFIX}/${TYPO3WWW}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3SITE}
	${RM} ${PREFIX}/${TYPO3SITE}/typo3_src && \
		cd ${PREFIX}/${TYPO3SITE} && \
		${LN} -s ../${TYPO3SRC} typo3_src
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3WWW}/${TYPO3SRC}

.include <bsd.port.post.mk>
@


1.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313522
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/typo347/Makefile 313522 2013-03-06 15:16:09Z culot $
d5 1
a5 1
PORTVERSION=	4.7.9
@


1.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312255
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/typo347/Makefile 312255 2013-02-15 01:57:42Z miwi $
d5 1
a5 1
PORTVERSION=	4.7.8
@


1.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308101
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308101 | crees | 2012-12-02 12:19:12 +0000 (Sun, 02 Dec 2012) | 6 lines
## SVN ##
## SVN ## Set LATEST_LINK
## SVN ##
## SVN ## PR:		ports/173769
## SVN ## Submitted by:	Helmut Ritter <freebsd-ports@@charlieroot.de>
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/typo347/Makefile 308101 2012-12-02 12:19:12Z crees $
d5 1
a5 1
PORTVERSION=	4.7.7
@


1.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308072
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308072 | crees | 2012-12-01 12:04:41 +0000 (Sat, 01 Dec 2012) | 8 lines
## SVN ##
## SVN ## Update typo3 to 6.0.0
## SVN ##
## SVN ## Preserve 4.7 as typo347
## SVN ##
## SVN ## PR:		ports/173976
## SVN ## Submitted by:	Helmut Ritter <freebsd-ports@@charlieroot.de> (maintainer)
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/typo347/Makefile 307428 2012-11-14 21:25:26Z rene $
d14 1
d21 1
a21 1
TYPO3RELEASE=
@

