diff options
author | glarkin <glarkin@FreeBSD.org> | 2011-04-23 02:30:34 +0800 |
---|---|---|
committer | glarkin <glarkin@FreeBSD.org> | 2011-04-23 02:30:34 +0800 |
commit | bd4160e3f55f8fc42156712f7a46475314285c77 (patch) | |
tree | fbf45b5ddf24dbaaa3d6f78ca18f1b0b233e96e9 /www/cakephp11 | |
parent | f8a0fa912934461af70e40d9e8b67d13f396dda1 (diff) | |
download | freebsd-ports-gnome-bd4160e3f55f8fc42156712f7a46475314285c77.tar.gz freebsd-ports-gnome-bd4160e3f55f8fc42156712f7a46475314285c77.tar.zst freebsd-ports-gnome-bd4160e3f55f8fc42156712f7a46475314285c77.zip |
- Unbreak - make fetchable
- Quiet the installation commands
- Update recommended Apache version
Reported by: pointyhat (via pav)
Diffstat (limited to 'www/cakephp11')
-rw-r--r-- | www/cakephp11/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/www/cakephp11/Makefile b/www/cakephp11/Makefile index 87603ea10b7c..b33cee5ceb77 100644 --- a/www/cakephp11/Makefile +++ b/www/cakephp11/Makefile @@ -9,22 +9,18 @@ PORTNAME= cakephp PORTVERSION= 1.1.19.6305 PORTREVISION= 4 CATEGORIES= www -MASTER_SITES= http://cakeforge.org/frs/download.php/591/ +MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \ + LOCAL/glarkin DISTNAME= cake_${PORTVERSION} MAINTAINER= glarkin@FreeBSD.org COMMENT= A framework for developing PHP web applications -BROKEN= unfetchable - LATEST_LINK= cakephp11 USE_BZIP2= yes -DISTFILE_SUFFIX=/donation=complete -FETCH_BEFORE_ARGS= -o ${DISTDIR}/${TARGET_DISTFILE} -TARGET_DISTFILE=${DISTNAME}${EXTRACT_SUFX} -USE_APACHE= 2.0+ +USE_APACHE= 2.2+ SLAVE_PORT_MODULES= rewrite CONFLICTS= cakephp-1.[23].* @@ -93,11 +89,6 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/p ${DB_DEPENDS} .endif -do-fetch: -.if !exists(${DISTDIR}/${TARGET_DISTFILE}) - ${FETCH_CMD} ${FETCH_BEFORE_ARGS} -1 ${MASTER_SITES:S|$|${TARGET_DISTFILE}${DISTFILE_SUFFIX}|g} -.endif - confighelp: @${ECHO_MSG} "" @${ECHO_MSG} "On a production server, the Apache DocumentRoot is" @@ -115,14 +106,14 @@ confighelp: do-install: @${MKDIR} ${WWWDIR} - ${CP} -R ${WRKSRC}/.htaccess \ + @${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 + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + @${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 + @${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 post-install: @if [ -d "${CONFDIR}" ]; then \ |