Index: head/www/cakephp11/Makefile =================================================================== --- head/www/cakephp11/Makefile (revision 395516) +++ head/www/cakephp11/Makefile (revision 395517) @@ -1,130 +1,131 @@ # Created by: Greg Larkin # $FreeBSD$ PORTNAME= cakephp PORTVERSION= 1.1.19.6305 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \ LOCAL/glarkin PKGNAMESUFFIX= 11 DISTNAME= cake_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Framework for developing PHP web applications USES= tar:bzip2 USE_APACHE_RUN= 22+ CONFLICTS= cakephp-1[23]-* cakephp-2?-.* cakephp-2.3.* NO_BUILD= yes +NO_ARCH= yes USE_PHP= pcre session WANT_PHP_WEB= yes DEFAULT_VERSIONS+= php=5 SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/cake_${DISTVERSION} OPTIONS_DEFINE= PROD MYSQL PGSQL SQLITE DOCS PROD_DESC= Install for production server (see: make confighelp) PLIST_SUB+= CONFDIR=${CONFDIR_REL} CONFDIR= ${PREFIX}/${CONFDIR_REL} CONFDIR_REL= ${APACHEETCDIR}/Includes .include 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:MPROD} PROD= production .else PROD= development EXTRA_PATCHES= ${FILESDIR}/development-app-config-core.php.patch .endif CONF= cakephp-${PROD}${CGI_EXT}.conf SUB_FILES+= ${CONF} DB_DEFINED= no .if ${PORT_OPTIONS:MMYSQL} DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_mysql.so:${PORTSDIR}/databases/php5-pdo_mysql .endif .if ${PORT_OPTIONS:MPGSQL} DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql .endif .if ${PORT_OPTIONS:MSQLITE} DB_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_sqlite.so:${PORTSDIR}/databases/php5-pdo_sqlite .endif .if defined(DB_DEPENDS) && !empty(DB_DEPENDS) RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/php5-pdo \ ${DB_DEPENDS} .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} "" do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} @${CP} -R ${WRKSRC}/.htaccess \ ${WRKSRC}/app \ ${WRKSRC}/cake \ ${WRKSRC}/index.php \ ${WRKSRC}/vendors ${STAGEDIR}${WWWDIR} @${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 @${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 post-install: @${MKDIR} ${STAGEDIR}${CONFDIR} @if [ -d "${STAGEDIR}${CONFDIR}" ]; then \ ${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${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 @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${STAGEDIR}${DOCSDIR} .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 Index: head/www/cakephp11/pkg-plist =================================================================== --- head/www/cakephp11/pkg-plist (revision 395516) +++ head/www/cakephp11/pkg-plist (revision 395517) @@ -1,165 +1,184 @@ %%CONFDIR%%/cakephp.conf %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt %%PORTDOCS%%%%DOCSDIR%%/COPYING.txt %%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt %%PORTDOCS%%%%DOCSDIR%%/README.txt @owner www @group www %%WWWDIR%%/.htaccess %%WWWDIR%%/app/.htaccess %%WWWDIR%%/app/config/acl.ini.php %%WWWDIR%%/app/config/bootstrap.php %%WWWDIR%%/app/config/core.php @rmtry %%WWWDIR%%/app/config/core.php.orig %%WWWDIR%%/app/config/database.php.default %%WWWDIR%%/app/config/inflections.php %%WWWDIR%%/app/config/routes.php %%WWWDIR%%/app/config/sql/db_acl.sql %%WWWDIR%%/app/config/sql/sessions.sql %%WWWDIR%%/app/controllers/components/empty %%WWWDIR%%/app/index.php %%WWWDIR%%/app/models/empty %%WWWDIR%%/app/plugins/empty %%WWWDIR%%/app/tmp/cache/empty %%WWWDIR%%/app/tmp/cache/models/empty %%WWWDIR%%/app/tmp/cache/persistent/empty %%WWWDIR%%/app/tmp/cache/views/empty %%WWWDIR%%/app/tmp/empty %%WWWDIR%%/app/tmp/logs/empty %%WWWDIR%%/app/tmp/sessions/empty %%WWWDIR%%/app/tmp/tests/empty %%WWWDIR%%/app/vendors/empty %%WWWDIR%%/app/views/elements/empty %%WWWDIR%%/app/views/errors/empty %%WWWDIR%%/app/views/helpers/empty %%WWWDIR%%/app/views/layouts/empty %%WWWDIR%%/app/views/pages/empty %%WWWDIR%%/app/webroot/.htaccess %%WWWDIR%%/app/webroot/css.php %%WWWDIR%%/app/webroot/css/cake.generic.css %%WWWDIR%%/app/webroot/favicon.ico %%WWWDIR%%/app/webroot/img/cake.power.png %%WWWDIR%%/app/webroot/img/w3c_css.png %%WWWDIR%%/app/webroot/img/w3c_xhtml10.png %%WWWDIR%%/app/webroot/index.php %%WWWDIR%%/app/webroot/js/vendors.php %%WWWDIR%%/cake/LICENSE.txt %%WWWDIR%%/cake/VERSION.txt %%WWWDIR%%/cake/app_controller.php %%WWWDIR%%/cake/app_model.php %%WWWDIR%%/cake/basics.php %%WWWDIR%%/cake/bootstrap.php %%WWWDIR%%/cake/config/config.php %%WWWDIR%%/cake/config/paths.php %%WWWDIR%%/cake/dispatcher.php %%WWWDIR%%/cake/libs/cache.php %%WWWDIR%%/cake/libs/cake_log.php %%WWWDIR%%/cake/libs/class_registry.php %%WWWDIR%%/cake/libs/configure.php %%WWWDIR%%/cake/libs/controller/component.php %%WWWDIR%%/cake/libs/controller/components/acl.php %%WWWDIR%%/cake/libs/controller/components/acl_base.php %%WWWDIR%%/cake/libs/controller/components/dbacl/db_acl.php %%WWWDIR%%/cake/libs/controller/components/dbacl/models/aclnode.php %%WWWDIR%%/cake/libs/controller/components/dbacl/models/aco.php %%WWWDIR%%/cake/libs/controller/components/dbacl/models/acoaction.php %%WWWDIR%%/cake/libs/controller/components/dbacl/models/aro.php %%WWWDIR%%/cake/libs/controller/components/dbacl/models/aros_aco.php %%WWWDIR%%/cake/libs/controller/components/iniacl/ini_acl.php %%WWWDIR%%/cake/libs/controller/components/request_handler.php %%WWWDIR%%/cake/libs/controller/components/security.php %%WWWDIR%%/cake/libs/controller/components/session.php %%WWWDIR%%/cake/libs/controller/controller.php %%WWWDIR%%/cake/libs/controller/pages_controller.php %%WWWDIR%%/cake/libs/controller/scaffold.php %%WWWDIR%%/cake/libs/error.php %%WWWDIR%%/cake/libs/file.php %%WWWDIR%%/cake/libs/flay.php %%WWWDIR%%/cake/libs/folder.php %%WWWDIR%%/cake/libs/inflector.php %%WWWDIR%%/cake/libs/legacy.php %%WWWDIR%%/cake/libs/model/connection_manager.php %%WWWDIR%%/cake/libs/model/datasources/datasource.php %%WWWDIR%%/cake/libs/model/datasources/dbo_source.php %%WWWDIR%%/cake/libs/model/dbo/dbo_adodb.php %%WWWDIR%%/cake/libs/model/dbo/dbo_mssql.php %%WWWDIR%%/cake/libs/model/dbo/dbo_mysql.php %%WWWDIR%%/cake/libs/model/dbo/dbo_mysqli.php %%WWWDIR%%/cake/libs/model/dbo/dbo_odbc.php %%WWWDIR%%/cake/libs/model/dbo/dbo_pear.php %%WWWDIR%%/cake/libs/model/dbo/dbo_postgres.php %%WWWDIR%%/cake/libs/model/dbo/dbo_sqlite.php %%WWWDIR%%/cake/libs/model/model.php %%WWWDIR%%/cake/libs/model/model_php4.php %%WWWDIR%%/cake/libs/model/model_php5.php %%WWWDIR%%/cake/libs/neat_array.php %%WWWDIR%%/cake/libs/neat_string.php %%WWWDIR%%/cake/libs/object.php %%WWWDIR%%/cake/libs/router.php %%WWWDIR%%/cake/libs/sanitize.php %%WWWDIR%%/cake/libs/security.php %%WWWDIR%%/cake/libs/session.php %%WWWDIR%%/cake/libs/set.php %%WWWDIR%%/cake/libs/validators.php %%WWWDIR%%/cake/libs/view/helper.php %%WWWDIR%%/cake/libs/view/helpers/ajax.php %%WWWDIR%%/cake/libs/view/helpers/cache.php %%WWWDIR%%/cake/libs/view/helpers/form.php %%WWWDIR%%/cake/libs/view/helpers/html.php %%WWWDIR%%/cake/libs/view/helpers/javascript.php %%WWWDIR%%/cake/libs/view/helpers/number.php %%WWWDIR%%/cake/libs/view/helpers/session.php %%WWWDIR%%/cake/libs/view/helpers/text.php %%WWWDIR%%/cake/libs/view/helpers/time.php %%WWWDIR%%/cake/libs/view/templates/elements/dump.thtml %%WWWDIR%%/cake/libs/view/templates/errors/error404.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_action.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_component_class.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_component_file.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_connection.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_controller.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_helper_class.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_helper_file.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_layout.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_model.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_scaffolddb.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_table.thtml %%WWWDIR%%/cake/libs/view/templates/errors/missing_view.thtml %%WWWDIR%%/cake/libs/view/templates/errors/private_action.thtml %%WWWDIR%%/cake/libs/view/templates/errors/scaffold_error.thtml %%WWWDIR%%/cake/libs/view/templates/layouts/ajax.thtml %%WWWDIR%%/cake/libs/view/templates/layouts/default.thtml %%WWWDIR%%/cake/libs/view/templates/layouts/flash.thtml %%WWWDIR%%/cake/libs/view/templates/pages/home.thtml %%WWWDIR%%/cake/libs/view/templates/scaffolds/add.thtml %%WWWDIR%%/cake/libs/view/templates/scaffolds/edit.thtml %%WWWDIR%%/cake/libs/view/templates/scaffolds/index.thtml %%WWWDIR%%/cake/libs/view/templates/scaffolds/view.thtml %%WWWDIR%%/cake/libs/view/view.php %%WWWDIR%%/cake/scripts/acl.php %%WWWDIR%%/cake/scripts/bake.php %%WWWDIR%%/cake/scripts/templates/skel/.htaccess %%WWWDIR%%/cake/scripts/templates/skel/app_controller.php %%WWWDIR%%/cake/scripts/templates/skel/app_model.php %%WWWDIR%%/cake/scripts/templates/skel/config/acl.ini.php %%WWWDIR%%/cake/scripts/templates/skel/config/bootstrap.php %%WWWDIR%%/cake/scripts/templates/skel/config/core.php %%WWWDIR%%/cake/scripts/templates/skel/config/database.php.default %%WWWDIR%%/cake/scripts/templates/skel/config/inflections.php %%WWWDIR%%/cake/scripts/templates/skel/config/routes.php %%WWWDIR%%/cake/scripts/templates/skel/config/sql/db_acl.sql %%WWWDIR%%/cake/scripts/templates/skel/config/sql/sessions.sql %%WWWDIR%%/cake/scripts/templates/skel/controllers/pages_controller.php %%WWWDIR%%/cake/scripts/templates/skel/index.php %%WWWDIR%%/cake/scripts/templates/skel/views/layouts/ajax.thtml %%WWWDIR%%/cake/scripts/templates/skel/views/layouts/default.thtml %%WWWDIR%%/cake/scripts/templates/skel/views/layouts/flash.thtml %%WWWDIR%%/cake/scripts/templates/skel/webroot/.htaccess %%WWWDIR%%/cake/scripts/templates/skel/webroot/css.php %%WWWDIR%%/cake/scripts/templates/skel/webroot/css/cake.generic.css %%WWWDIR%%/cake/scripts/templates/skel/webroot/favicon.ico %%WWWDIR%%/cake/scripts/templates/skel/webroot/img/cake.power.png %%WWWDIR%%/cake/scripts/templates/skel/webroot/index.php %%WWWDIR%%/cake/scripts/templates/skel/webroot/js/vendors.php %%WWWDIR%%/cake/scripts/templates/views/home.thtml %%WWWDIR%%/index.php +@dir %%WWWDIR%%/app/webroot/files +@dir %%WWWDIR%%/cake/scripts/templates/skel/controllers/components +@dir %%WWWDIR%%/cake/scripts/templates/skel/models/behaviors +@dir %%WWWDIR%%/cake/scripts/templates/skel/plugins +@dir %%WWWDIR%%/cake/scripts/templates/skel/tmp/cache/models +@dir %%WWWDIR%%/cake/scripts/templates/skel/tmp/cache/persistent +@dir %%WWWDIR%%/cake/scripts/templates/skel/tmp/cache/views +@dir %%WWWDIR%%/cake/scripts/templates/skel/tmp/logs +@dir %%WWWDIR%%/cake/scripts/templates/skel/tmp/sessions +@dir %%WWWDIR%%/cake/scripts/templates/skel/tmp/tests +@dir %%WWWDIR%%/cake/scripts/templates/skel/vendors +@dir %%WWWDIR%%/cake/scripts/templates/skel/views/elements +@dir %%WWWDIR%%/cake/scripts/templates/skel/views/errors +@dir %%WWWDIR%%/cake/scripts/templates/skel/views/helpers +@dir %%WWWDIR%%/cake/scripts/templates/skel/views/pages +@dir %%WWWDIR%%/cake/scripts/templates/skel/webroot/files +@dir %%WWWDIR%%/vendors +@owner +@group