aboutsummaryrefslogtreecommitdiff
path: root/www/cakephp12/Makefile
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2009-04-21 20:23:37 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2009-04-21 20:23:37 +0000
commit1568e43108a81534fa02c2a3c85e385e116e8f77 (patch)
tree8fff063dc39fa1da3ec52b76aa79b19599550d0e /www/cakephp12/Makefile
parenta268039a758f148650c0cab55c616d6dada8a8a0 (diff)
downloadports-1568e43108a81534fa02c2a3c85e385e116e8f77.tar.gz
ports-1568e43108a81534fa02c2a3c85e385e116e8f77.zip
Notes
Diffstat (limited to 'www/cakephp12/Makefile')
-rw-r--r--www/cakephp12/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/www/cakephp12/Makefile b/www/cakephp12/Makefile
index 294f790424ec..ea185d032311 100644
--- a/www/cakephp12/Makefile
+++ b/www/cakephp12/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= cakephp
-PORTVERSION= 1.2.1.8004
+PORTVERSION= 1.2.2.8120
CATEGORIES= www
-MASTER_SITES= http://cakeforge.org/frs/download.php/697/ \
+MASTER_SITES= http://cakeforge.org/frs/download.php/712/ \
LOCAL/glarkin
PKGNAMESUFFIX= -devel
DISTNAME= cake_${PORTVERSION}
@@ -116,9 +116,6 @@ USE_PHP+= apc
USE_PHP+= memcache
.endif
-# Include bash for Cake console script
-RUN_DEPENDS+= bash>=0:${PORTSDIR}/shells/bash
-
do-fetch:
@${INSTALL} -d ${DISTDIR}
.if !exists(${DISTDIR}/${TARGET_DISTFILE})
@@ -179,9 +176,7 @@ do-install:
@${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \
${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
-# 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}
+# Fix the permissions of the Cake console script
@${CHMOD} 755 ${WWWDIR}/${CAKE_CONSOLE}
@${ECHO_CMD} '@exec ${CHMOD} 755 ${WWWDIR}/${CAKE_CONSOLE}' >> ${TMPPLIST}