head	1.38;
access;
symbols
	RELEASE_8_3_0:1.32
	RELEASE_9_0_0:1.31
	old_RELEASE_7_4_0:1.23
	old_RELEASE_8_2_0:1.23
	old_RELEASE_6_EOL:1.23
	old_RELEASE_8_1_0:1.23
	old_RELEASE_7_3_0:1.22
	old_RELEASE_8_0_0:1.20
	old_old_RELEASE_7_2_0:1.14
	old_old_RELEASE_7_1_0:1.12
	old_old_RELEASE_6_4_0:1.12
	old_old_RELEASE_5_EOL:1.11
	old_old_old_RELEASE_7_0_0:1.8
	old_old_old_RELEASE_6_3_0:1.8
	old_old_old_PRE_XORG_7:1.3;
locks; strict;
comment	@# @;


1.38
date	2013.03.22.15.52.26;	author svnexp;	state Exp;
branches;
next	1.37;

1.37
date	2012.11.17.06.02.29;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2012.08.22.19.58.26;	author ohauer;	state Exp;
branches;
next	1.35;

1.35
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.34;

1.34
date	2012.05.02.18.54.32;	author madpilot;	state Exp;
branches;
next	1.33;

1.33
date	2012.04.23.17.46.48;	author madpilot;	state Exp;
branches;
next	1.32;

1.32
date	2012.01.13.14.19.45;	author culot;	state Exp;
branches;
next	1.31;

1.31
date	2011.11.05.18.25.46;	author miwi;	state Exp;
branches;
next	1.30;

1.30
date	2011.09.27.18.37.39;	author glarkin;	state Exp;
branches;
next	1.29;

1.29
date	2011.09.27.14.00.52;	author glarkin;	state Exp;
branches;
next	1.28;

1.28
date	2011.09.19.19.00.25;	author glarkin;	state Exp;
branches;
next	1.27;

1.27
date	2011.09.19.18.29.43;	author glarkin;	state Exp;
branches;
next	1.26;

1.26
date	2011.08.20.17.27.36;	author ohauer;	state Exp;
branches;
next	1.25;

1.25
date	2011.04.21.20.37.14;	author glarkin;	state Exp;
branches;
next	1.24;

1.24
date	2011.03.31.20.21.32;	author pav;	state Exp;
branches;
next	1.23;

1.23
date	2010.05.31.02.01.21;	author ade;	state Exp;
branches;
next	1.22;

1.22
date	2009.12.05.02.40.38;	author glarkin;	state Exp;
branches;
next	1.21;

1.21
date	2009.09.29.20.30.38;	author glarkin;	state Exp;
branches;
next	1.20;

1.20
date	2009.09.23.16.56.57;	author glarkin;	state Exp;
branches;
next	1.19;

1.19
date	2009.09.11.22.49.02;	author glarkin;	state Exp;
branches;
next	1.18;

1.18
date	2009.08.10.18.04.40;	author glarkin;	state Exp;
branches;
next	1.17;

1.17
date	2009.06.25.00.37.11;	author glarkin;	state Exp;
branches;
next	1.16;

1.16
date	2009.04.21.20.36.45;	author glarkin;	state Exp;
branches;
next	1.15;

1.15
date	2009.04.21.20.23.37;	author glarkin;	state Exp;
branches;
next	1.14;

1.14
date	2009.01.26.20.18.58;	author glarkin;	state Exp;
branches;
next	1.13;

1.13
date	2008.10.08.18.27.03;	author glarkin;	state Exp;
branches;
next	1.12;

1.12
date	2008.07.18.21.05.18;	author glarkin;	state Exp;
branches;
next	1.11;

1.11
date	2008.01.09.13.51.22;	author tabthorpe;	state Exp;
branches;
next	1.10;

1.10
date	2008.01.09.13.40.38;	author tabthorpe;	state Exp;
branches;
next	1.9;

1.9
date	2008.01.03.18.57.12;	author tabthorpe;	state Exp;
branches;
next	1.8;

1.8
date	2007.10.29.22.54.21;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2007.09.12.01.04.58;	author tabthorpe;	state Exp;
branches;
next	1.6;

1.6
date	2007.07.19.16.05.25;	author rafan;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.09.18.03.21;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2007.07.06.06.45.16;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2007.04.06.14.30.22;	author rafan;	state Exp;
branches;
next	1.2;

1.2
date	2007.02.21.05.58.05;	author rafan;	state Exp;
branches;
next	1.1;

1.1
date	2007.02.21.05.07.30;	author rafan;	state Exp;
branches;
next	;


desc
@@


1.38
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314915
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Christoph Theis <theis@@gmx.at>
# $FreeBSD: head/www/cakephp13/Makefile 314915 2013-03-22 11:53:34Z bapt $

PORTNAME=	cakephp
PORTVERSION=	1.3.15
CATEGORIES=	www
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/tarball/${PORTVERSION}/ \
		LOCAL/glarkin
DISTNAME=	${PORTNAME}-${PORTNAME}-${PORTVERSION}-${GITVERSION}

MAINTAINER=	theis@@gmx.at
COMMENT=	A framework for developing PHP web applications

LATEST_LINK=	cakephp13

LICENSE=	MIT

GITVERSION=	0-g3ff1ff1
FETCH_ARGS=	-pRr
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-5e063d7

PORTDOCS=	README

SLAVE_PORT_MODULES=	REWRITE

CONFLICTS=	cakephp-1.[12].* cakephp-2.*

NO_BUILD=	yes
USE_GETTEXT=	yes
USE_PHP=	session
WANT_PHP_WEB=	yes
DEFAULT_PHP_VER=5
IGNORE_WITH_PHP=4

CAKE_CONF_FILES=	\
		app/config/acl.ini.php \
		app/config/bootstrap.php \
		app/config/core.php \
		app/config/database.php \
		app/config/routes.php
CAKE_CONSOLE=	cake/console/cake

OPTIONS_DEFINE=	PROD AP MYSQL PGSQL SQLITE APC MEMCACHE DOCS
PROD_DESC=	Install for production server (make confighelp)
APC_DESC=	APC caching engine
MEMCACHE_DESC=	Memcached caching engine client

CONFDIR=	${PREFIX}/${CONFDIR_REL}
CONFDIR_REL=	${APACHEETCDIR}/Includes

.include <bsd.port.pre.mk>

WITH_PHP_CGI?=	/cgi-bin/php

.if ${PHP_SAPI:Mcgi} == "cgi" && ${PHP_SAPI:Mmod} == ""
CGI_EXT=	-cgi
.else
CGI_EXT=
.endif

SUB_LIST+=	PHPCGI=${WITH_PHP_CGI}

.if ${PORT_OPTIONS:MAP}
SUB_FILES=	pkg-message
USE_APACHE_RUN=	22+
PKGMESSAGE=	pkg-message
APDEP=
.else
SUB_FILES=	pkg-message-no-apache
PKGMESSAGE=	pkg-message-no-apache
APDEP=		"@@comment "
.endif

.if ${PORT_OPTIONS:MPROD}
PROD=		production
HTACCESS=	""
.else
PROD=		development
EXTRA_PATCHES=	${FILESDIR}/extra-patch-app__config__core.php
HTACCESS=	"@@comment "
.endif

CONF=		cakephp-${PROD}${CGI_EXT}.conf
SUB_FILES+=	${CONF}

PLIST_SUB+=	CONFDIR=${CONFDIR_REL} ECHO_MSG=${ECHO_MSG} \
		HTACCESS=${HTACCESS} APDEP=${APDEP}

DB_DEFINED=	no

.if ${PORT_OPTIONS:MMYSQL}
DB_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_mysql.so:${PORTSDIR}/databases/php5-pdo_mysql
DB_DEFINED=	yes
.endif

.if ${PORT_OPTIONS:MPGSQL}
DB_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
DB_DEFINED=	yes
.endif

.if ${PORT_OPTIONS:MSQLITE}
DB_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_sqlite.so:${PORTSDIR}/databases/php5-pdo_sqlite
DB_DEFINED=	yes
.endif

.if ${DB_DEFINED} == "yes"
RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/php5-pdo \
		${DB_DEPENDS}
.endif

.if ${PORT_OPTIONS:MAPC}
USE_PHP+=	apc
.endif

.if ${PORT_OPTIONS:MMEMCACHE}
USE_PHP+=	memcache
.endif

confighelp:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "On a production server, the Apache DocumentRoot is"
	@@${ECHO_MSG} "updated to point to the CakePHP webroot directory."
	@@${ECHO_MSG} "In this configuration, the CakePHP application is"
	@@${ECHO_MSG} "accessed at http://www.myservername.com/."
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "A non-production server, CakePHP is installed at"
	@@${ECHO_MSG} "the /cakephp URL, and the CakePHP application is"
	@@${ECHO_MSG} "accessed at http://www.myservername.com/cakephp/."
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "For more information, please see:"
	@@${ECHO_MSG} "http://manual.cakephp.org/chapter/installing"
	@@${ECHO_MSG} ""

post-extract:
	@@${FIND} ${WRKSRC} -name ._\* -delete

post-patch:
	@@${RM} -f ${WRKSRC}/cake/console/cake.orig \
		${WRKSRC}/app/config/core.php.orig

# Rename config files so we don't overwrite those in an existing installation
	@@for i in ${CAKE_CONF_FILES}; do \
		if [ -f ${WRKSRC}/$$i ]; then \
			${MV} ${WRKSRC}/$$i ${WRKSRC}/$$i.default; \
		fi \
	done

do-install:
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} \
		".htaccess app cake index.php vendors" ${WWWDIR}

.if ! ${PORT_OPTIONS:MPROD}
# If installed in development mode, get rid of .htaccess files,
# as noted by:
# http://book.cakephp.org/view/42/The-Configuration-Class#CakePHP-Core-Configuration-Variables-44
	@@${FIND} ${WWWDIR} -type f -name .htaccess -exec ${RM} {} \;
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR:S|^${PREFIX}/|%D/|} -type f -name .htaccess -exec ${RM} {} \;' >> ${TMPPLIST}
.endif

# Get rid of the empty placeholder files
	@@${FIND} ${WWWDIR} -type f -name empty -size 0 -exec ${RM} {} \;
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR:S|^${PREFIX}/|%D/|} -type f -name empty -size 0 -exec ${RM} {} \;' >> ${TMPPLIST}

	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
		${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
	@@${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR} -type f -print0 | \
		${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
	@@${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR} -type d -print0 | \
		${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}

# Fix the permissions of the Cake console script
	@@${CHMOD} 755 ${WWWDIR}/${CAKE_CONSOLE}
	@@${ECHO_CMD} '@@exec ${CHMOD} 755 ${WWWDIR}/${CAKE_CONSOLE}' >> ${TMPPLIST}

post-install:
	@@for i in ${CAKE_CONF_FILES}; do \
		if [ ! -f ${WWWDIR}/$$i -a -f ${WRKSRC}/$$i.default ]; then \
			${INSTALL_DATA} ${WRKSRC}/$$i.default ${WWWDIR}/$$i; \
		fi \
	done
.if ${PORT_OPTIONS:MAP}
	@@if [ -d "${CONFDIR}" ]; then \
	  ${CP} ${WRKDIR}/${CONF} ${CONFDIR}/cakephp.conf; \
	else \
	  ${ECHO_MSG} "" ; \
	  ${ECHO_MSG} "Please check your Apache 2.x installation -" ; \
	  ${ECHO_MSG} "${CONFDIR} doesn't exist," ; \
	  ${ECHO_MSG} "so I cannot install cakephp.conf there!" ; \
	  ${ECHO_MSG} "" ; \
	  ${FALSE} ; \
	fi
.endif
.if ${PORT_OPTIONS:MDOCS}
	@@${INSTALL} -d ${DOCSDIR}
	@@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}
.if ${CGI_EXT} == "-cgi"
	@@${ECHO_MSG}	""
	@@${ECHO_MSG}	"Your CakePHP installation was configured to use the PHP CGI binary."
	@@${ECHO_MSG}	"The PHP CGI binary is expected to be referenced by the URL:"
	@@${ECHO_MSG}	""
	@@${ECHO_MSG}	"	${WITH_PHP_CGI}"
	@@${ECHO_MSG}	""
	@@${ECHO_MSG}	"If this is incorrect, reinstall the port with the WITH_PHP_CGI knob"
	@@${ECHO_MSG}	"set to the correct URL."
.endif
	@@${ECHO_MSG}	"*********************************************************************"

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


1.37
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	cakephp13
# Date created:        			19 September 2011
# Whom:                			Christoph Theis <theis@@gmx.at>
#
# $FreeBSD: head/www/cakephp13/Makefile 302962 2012-08-22 19:58:26Z ohauer $
#
d43 4
a46 7
OPTIONS=	PROD "Install for production server (make confighelp)" Off \
		AP "Add Apache 2.2+ dependency" Off \
		MYSQL "Check for/install MySQL support in PHP" Off \
		PGSQL "Check for/install PostgreSQL support in PHP" Off \
		SQLITE "Check for/install SQLite support in PHP" Off \
		APC "Enable APC caching engine" Off \
		MEMCACHE "Enable Memcached caching engine client" Off
d63 1
a63 1
.if defined(WITH_AP)
d74 1
a74 1
.if defined(WITH_PROD)
d91 1
a91 1
.if defined(WITH_MYSQL)
d96 1
a96 1
.if defined(WITH_PGSQL)
d101 1
a101 1
.if defined(WITH_SQLITE)
d111 1
a111 1
.if defined(WITH_APC)
d115 1
a115 1
.if defined(WITH_MEMCACHE)
d152 1
a152 1
.if !defined(WITH_PROD)
d184 1
a184 1
.if defined(WITH_AP)
d196 1
a196 1
.if !defined(NOPORTDOCS)
@


1.36
log
@SVN rev 302962 on 2012-08-22 19:58:26Z by ohauer

- use UPPERCASE for SLAVE_PORT_MODULES (www/cakephp*)

  Note: SLAVE_PORT_MODULES is target to remove, since
        with new options framework it can lead to
	a defect pkg-plist (leftovers).

- update supported USE_APACHE version
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.35
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d28 1
a28 1
SLAVE_PORT_MODULES=	rewrite
@


1.34
log
@Set LATEST_LINK.

PR:		ports/167290
Submitted by:	Christoph Theis <theis@@gmx.at> (maintainer)
Approved by:	crees (mentor)
@
text
@d72 1
a72 1
USE_APACHE=	22+
@


1.33
log
@- Update to version 1.3.15
- Add conflict with new www/cakephp2 port

PR:		ports/167098
Submitted by:	Christoph Theis <theis@@gmx.at> (maintainer)
Approved by:	crees (mentor)
@
text
@d18 2
@


1.32
log
@- Update to 1.3.14

Changes:	http://cakephp.org/changelogs/1.3.14
PR:		ports/164083
Submitted by:	Christoph Theis <theis@@gmx.at> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	1.3.14
PORTREVISION=
d20 1
a20 1
GITVERSION=	0-g5ac77c2
d22 1
a22 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-822a1e0
d28 1
a28 1
CONFLICTS=	cakephp-1.[12].*
@


1.31
log
@- Update to 1.3.13

PR:		162289
Submitted by:	Christoph Theis <theis@@gmx.at> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.13
d21 1
a21 1
GITVERSION=	0-g924fb6f
d23 1
a23 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-60df687
@


1.30
log
@- Remove a couple of patched files unconditionally from WRKDIR before
  installation.  Depending on the installation type, one of them may not
  be present.
- Bumped PORTREVISION

Noticed by:	Christoph Theis <theis@@gmx.at> (maintainer)
Pointyhat to:	glarkin
@
text
@d9 2
a10 2
PORTVERSION=	1.3.12
PORTREVISION=	1
d19 3
a21 1
GITVERSION=	0-g96a8d97
d23 1
a23 3
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-8236c7e

LICENSE=	MIT
a42 1
		app/config/inflections.php \
d147 7
a169 7
	@@for i in ${CAKE_CONF_FILES}; do \
		if [ -f ${WRKSRC}/$$i.default -a ! -f ${WRKSRC}/$$i ]; then \
			${INSTALL_DATA} ${WRKSRC}/$$i.default ${WWWDIR}/$$i; \
		elif [ -f ${WRKSRC}/$$i -a ! -f ${WRKSRC}/$$i.default ]; then \
			${INSTALL_DATA} ${WRKSRC}/$$i ${WWWDIR}/$$i.default; \
		fi \
	done
d185 5
@


1.29
log
@- Updated to 1.3.12 [1]
  ChangeLog: http://cakephp.org/changelogs/1.3.12
- Simultaneouly fixed missing distfile problem in version 1.3.11 [2]

PR:		ports/161030
Submitted by:	Christoph Theis <theis@@gmx.at> (maintainer) [1]
Reported by:	pointyhat (via pav) [2]
@
text
@d10 1
d145 1
a145 1
	@@${RM} ${WRKSRC}/cake/console/cake.orig \
@


1.28
log
@- Updated to 1.3.11 after repocopy
- Connected www/cakephp13 to build

PR:		ports/160772
Submitted by:	Christoph Theis <theis@@gmx.at>
@
text
@d9 1
a9 1
PORTVERSION=	1.3.11
d18 1
a18 1
GITVERSION=	4-g762fcf2
d20 1
a20 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-3b830a4
d144 2
a145 1
	@@${RM} ${WRKSRC}/cake/console/cake.orig
@


1.27
log
@- Forced commit to note completion of repocopy from www/cakephp12 to
  www/cakephp13

PR:		ports/160772
Submitted by:	glarkin
Approved by:	portmgr (marcus)
@
text
@d1 3
a3 3
# New ports collection makefile for:	cakephp-devel
# Date created:        20 December 2007
# Whom:                Greg Larkin <glarkin@@FreeBSD.org>
d9 1
a9 1
PORTVERSION=	1.2.10
d15 1
a15 1
MAINTAINER=	glarkin@@FreeBSD.org
d18 1
a18 1
GITVERSION=	0-ge6e50e8
d20 3
a22 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTNAME}-da67eb8
d28 1
a28 1
CONFLICTS=	cakephp-1.[13].*
@


1.26
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@@


1.25
log
@- Updated to 1.2.10
- Changed Apache dependency to optional
- Removed some useless Apache config directives from sample .conf files

PR:		ports/155588
Submitted by:	Thomas Steen Rasmussen <thomas@@gibfest.dk>
@
text
@d69 1
a69 1
USE_APACHE=	2.2+
@


1.24
log
@- Mark BROKEN: unfetchable

Reported by:	pointyhat
@
text
@d9 1
a9 2
PORTVERSION=	1.2.5
PORTREVISION=	2
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/733/ \
d13 1
a13 1
DISTNAME=	cake_${PORTVERSION}
d18 3
a20 8
BROKEN=		unfetchable

USE_BZIP2=	yes
DISTFILE_SUFFIX=/donation=complete
FETCH_BEFORE_ARGS=	-o -
TARGET_DISTFILE=${DISTNAME}${EXTRACT_SUFX}

WRKSRC=		${WRKDIR}/cake_${PORTVERSION}
a23 1
USE_APACHE=	2.0+
a43 2
SUB_FILES=	pkg-message

d45 1
d67 11
d91 1
a91 1
		HTACCESS=${HTACCESS}
a122 12
do-fetch:
	@@${INSTALL} -d ${DISTDIR}
.if !exists(${DISTDIR}/${TARGET_DISTFILE})
# Ok, this is a bit strange.  Since the cakeforge.org download URL has a
# PATH_INFO element at the end of it, the -o argument to fetch(1) is
# treated as a directory instead of a filename.  Instead of using
# "-o ${DISTDIR}/${TARGET_DISTFILE}", I have to use "-o -" and redirect
# stdout to the actual filename.
	@@${FETCH_CMD} ${FETCH_BEFORE_ARGS} -1 ${MASTER_SITES:S|$|${TARGET_DISTFILE}${DISTFILE_SUFFIX}|g} | ${CAT} > ${DISTDIR}/${TARGET_DISTFILE}
	@@${ECHO_MSG} ${TARGET_DISTFILE} has been downloaded.
.endif

d182 1
d193 1
@


1.23
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d19 2
@


1.22
log
@- Moved various PHP-related directives ahead of bsd.port.pre.mk
- Bumped PORTREVISION on affected ports

PR:		ports/135674
Submitted by:	yzlin
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.21
log
@- Updated to 1.2.5
- Fixed CONFLICTS after repomove

Feature safe:	yes
@
text
@d10 1
d37 2
a70 3
DEFAULT_PHP_VER=5
IGNORE_WITH_PHP=4

@


1.20
log
@- Repocopy from www/cakephp-devel to www/cakephp12 has been completed

PR:		ports/138900
Approved by:	marcus (portmgr hat)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.2.4.8284
d11 2
a12 2
MASTER_SITES=	LOCAL/glarkin
PKGNAMESUFFIX=	-devel
d19 1
d30 1
a30 1
CONFLICTS=	cakephp-[0-9]*
d145 3
d149 1
a149 1
	@@${RM} ${WRKSRC}/cake/console/cake.orig	
@


1.19
log
@- Temporary MASTER_SITES tweak to get 1.2.4 download working while
  1.2.5 port update is pending.
@
text
@@


1.18
log
@- Updated to 1.2.4.8284
@
text
@d11 1
a11 2
MASTER_SITES=	http://cakeforge.org/frs/download.php/724/ \
		LOCAL/glarkin
a18 1
DISTFILE_SUFFIX=/donation=complete
@


1.17
log
@- Updated to 1.2.3.8166
@
text
@d9 1
a9 1
PORTVERSION=	1.2.3.8166
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/716/ \
@


1.16
log
@- Fix mtree error

Reported by:	QAT
@
text
@d9 1
a9 1
PORTVERSION=	1.2.2.8120
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/712/ \
@


1.15
log
@- Update to 1.2.2.8120
- Remove bash dependency [1]

Submitted by:	scf [1]
@
text
@d146 3
@


1.14
log
@- Update to 1.2.1.8004
- Clean empty files from installation directory
- Add customization support for all config files in app/config directory
- Unbreak Cake console wrapper script
@
text
@d9 1
a9 1
PORTVERSION=	1.2.1.8004
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/697/ \
a118 3
# Include bash for Cake console script
RUN_DEPENDS+=	bash>=0:${PORTSDIR}/shells/bash

d179 1
a179 3
# Fix the bash shell path and the permissions of the Cake console script
	@@${REINPLACE_CMD} -e "s|^#!/bin/bash|#!${LOCALBASE}/bin/bash|" ${WWWDIR}/${CAKE_CONSOLE}
	@@${ECHO_CMD} '@@exec ${REINPLACE_CMD} -e "s|^#!/bin/bash|#!${LOCALBASE}/bin/bash|" ${WWWDIR}/${CAKE_CONSOLE}' >> ${TMPPLIST}
@


1.13
log
@- Update to 1.2.0.7692 RC3
- Fixed various portlint warnings
- Removed redundant macro definitions
- Added more MASTER_SITEs and fixed download filename problem
- Fixed do-fetch target to correct tindy errors
- Added knobs for some supported caching engines
- Cleaned up installation target and fixed for package building

Approved by:	beech (mentor, implicit)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.0.7692
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/672/ \
d14 1
a14 1
DISTNAME=	cake_${PORTVERSION}-rc3
d24 4
d35 1
a35 1
USE_PHP=	pcre session
d38 8
a45 1
CAKE_CONF_FILES=app/config/database.php
d119 3
d152 1
d157 2
a158 2
	@@${FIND} ${WWWDIR} -name .htaccess -exec ${RM} {} \;
	@@${ECHO_CMD} '@@exec ${FIND} ${WWWDIR:S|^${PREFIX}/|%D/|} -name .htaccess -exec ${RM} {} \;' >> ${TMPPLIST}
d160 5
d166 5
a170 1
		${INSTALL_DATA} ${WRKSRC}/$$i.default ${WWWDIR}/$$i; \
d182 6
d200 2
a201 2
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR}
@


1.12
log
@Changed my MAINTAINER address to
glarkin@@FreeBSD.org.

Approved by:	beech (mentor)
@
text
@d8 2
a9 4
# http://cakeforge.org/frs/download.php/554/cake_1.2.0.5875-pre-beta.tar.gz

PORTNAME=	cakephp-devel
PORTVERSION=	1.2.0.6311
d11 4
a14 2
MASTER_SITES=	http://cakeforge.org/frs/download.php/595/
DISTNAME=	cake_${PORTVERSION}-beta
d21 1
a21 1
FETCH_BEFORE_ARGS=	-o ${DISTDIR}/${TARGET_DISTFILE}
a23 3
WWWDIR=		${PREFIX}/www/cakephp
DOCSDIR=	${PREFIX}/share/doc/cakephp

d30 1
d34 1
a34 3
SUB_FILES=	pkg-message pkg-install
SUB_LIST+=	FIND=${FIND} CHOWN=${CHOWN} CHMOD=${CHMOD} XARGS=${XARGS} \
		WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
d36 1
a36 1
WRKSRC=		${WRKDIR}/${DISTNAME}
d38 1
a38 1
OPTIONS=	PROD "Install for production server (see: make confighelp)" Off \
d41 3
a43 3
		SQLITE "Check for/install SQLite support in PHP" Off

PLIST_SUB+=	CONFDIR=${CONFDIR_REL}
d65 1
d68 2
a69 1
EXTRA_PATCHES=	${FILESDIR}/development-app-config-core.php.patch
d75 3
d100 8
d109 1
d111 7
a117 1
	${FETCH_CMD} ${FETCH_BEFORE_ARGS} -1 ${MASTER_SITES:S|$|${TARGET_DISTFILE}${DISTFILE_SUFFIX}|g}
d136 21
a156 9
	@@${MKDIR} ${WWWDIR}
	${CP} -R ${WRKSRC}/.htaccess \
			${WRKSRC}/app \
			${WRKSRC}/cake \
			${WRKSRC}/index.php \
			${WRKSRC}/vendors ${WWWDIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
	${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
@


1.11
log
@- Add new port www/cakephp-devel

PR:		ports/119323
Submitted by:	Greg Larkin <glarkin@@sourcehosting.net>
@
text
@d3 1
a3 1
# Whom:                Greg Larkin <glarkin@@sourcehosting.net>
d16 1
a16 1
MAINTAINER=	glarkin@@sourcehosting.net
@


1.10
log
@- Force commit, repocopy www/cakephp to www/cakephp-devel

Repocopy by:	marcus
@
text
@d1 2
a2 2
# New ports collection makefile for:	cakephp
# Date created:        19 January 2007
d8 4
a11 2
PORTNAME=	cakephp
PORTVERSION=	1.1.19.6305
d13 2
a14 2
MASTER_SITES=	http://cakeforge.org/frs/download.php/591/
DISTNAME=	cake_${PORTVERSION}
d24 3
d30 2
d36 3
a38 1
SUB_FILES=	pkg-message
d40 1
a40 1
WRKSRC=		${WRKDIR}/cake_${DISTVERSION}
@


1.9
log
@- Update to 1.1.19.6305

PR:		ports/119278
Submitted by:	Greg Larkin <glarkin sourcehosting.net> (maintainer)
@
text
@@


1.8
log
@- Update to 1.1.18.5850

PR:		117636
Submitted by:	Greg Larkin <glarkin@@sourcehosting.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.18.5850
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/549/
@


1.7
log
@- Update to 1.1.17.5612

PR:		ports/116285
Submitted by:	Greg Larkin <glarkin_AT_sourcehosting.net> (maintainer)
Approved by:	clsung (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.17.5612
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/503/
@


1.6
log
@- Update to 1.1.16.5421

PR:		ports/114707
Submitted by:	Greg Larkin <glarkin at sourcehosting.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.16.5421
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/485/
@


1.5
log
@The use of "find ... -print0/xargs -0 ..." is faster than
"find ... -print/xargs -n1 ...", so use that here to fix file
and directory permissions after installation.

PR:		114445
Submitted by:	Greg Larkin <glarkin@@sourcehosting.net> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	1.1.15.5144
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/410/
@


1.4
log
@- Update to 1.1.15.5144
- Use WWWDIR

PR:		114138
Submitted by:	Greg Larkin <glarkin@@sourcehosting.net> (maintainer)
@
text
@d10 1
d119 2
a120 2
	${FIND} ${WWWDIR} -type f -print | ${XARGS} -n1 ${CHMOD} 644
	${FIND} ${WWWDIR} -type d -print | ${XARGS} -n1 ${CHMOD} 755
@


1.3
log
@- Add support for PHP running in CGI mode
  The location of PHP CGI can be set via WITH_PHP_CGI, e.g. /cgi-bin/php

PR:		ports/111295 (based on)
Submitted by:	Greg Larkin <glarkin at sourcehosting.net> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	1.1.13.4450
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://cakeforge.org/frs/download.php/326/
d65 1
a65 1
CONF=		cakephp-${PROD}${CGI_EXT}.conf 
d111 1
a111 1
	@@${MKDIR} ${DATADIR}
d116 4
a119 4
			${WRKSRC}/vendors ${DATADIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${DATADIR}
	${FIND} ${DATADIR} -type f -print | ${XARGS} -n1 ${CHMOD} 644
	${FIND} ${DATADIR} -type d -print | ${XARGS} -n1 ${CHMOD} 755
@


1.2
log
@- Add missing TARGET_DISTFILE definition.
@
text
@d10 1
d28 1
a28 1
WANT_PHP_MOD=	yes
a30 1
SUB_LIST=	DATADIR=${DATADIR}
d39 4
a42 3
.if !defined(NOPORTDOCS)
INSTALL_TARGET=	install install-docs
.endif
d46 8
d55 3
a57 1
IGNORE_WITH_PHP=4.0 4.1 4.2 4.3.1
d60 1
a60 1
SUB_FILES+=	cakephp-production.conf
d62 1
a62 1
SUB_FILES+=	cakephp-development.conf
d66 3
d123 10
a132 13
.if exists(${PREFIX}/etc/apache2/Includes)
.if defined(WITH_PROD)
	@@${CP} ${WRKDIR}/cakephp-production.conf ${PREFIX}/etc/apache2/Includes/cakephp.conf
.else
	@@${CP} ${WRKDIR}/cakephp-development.conf ${PREFIX}/etc/apache2/Includes/cakephp.conf
.endif
.else
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Please check your Apache 2.x installation -"
	@@${ECHO_MSG} "${PREFIX}/etc/apache2/Includes doesn't exist,"
	@@${ECHO_MSG} "so I cannot install cakephp.conf there!"
	@@${ECHO_MSG} ""
.endif
d138 11
@


1.1
log
@Add cakephp 1.1.13.4450, a framework for developing PHP web
applications.

PR:		ports/109331
Submitted by:	Greg Larkin <glarkin at sourcehosting.net>
@
text
@d20 1
@

