summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpuid <cpuid@localhost>2009-01-05 12:47:58 +0000
committercpuid <cpuid@localhost>2009-01-05 12:47:58 +0000
commitb4057cd500e4217c71fb908c86841d268536864a (patch)
tree741c8714bd43d3e3cf39e5e9f013e5b024ce1cee /www-apps
parentVersion bump... (diff)
downloadwebapps-experimental-b4057cd500e4217c71fb908c86841d268536864a.tar.gz
webapps-experimental-b4057cd500e4217c71fb908c86841d268536864a.tar.bz2
webapps-experimental-b4057cd500e4217c71fb908c86841d268536864a.zip
Adding new 1.2 Final ebuilds
svn path=/experimental/; revision=852
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/cake/Manifest2
-rw-r--r--www-apps/cake/cake-1.2.0.7962.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/www-apps/cake/Manifest b/www-apps/cake/Manifest
index 96d5650..24ff0f4 100644
--- a/www-apps/cake/Manifest
+++ b/www-apps/cake/Manifest
@@ -2,8 +2,10 @@ AUX postinstall-en.txt 1087 RMD160 27a49e407a0971627b18a9894beae430da1a95d8 SHA1
DIST cake_1.1.18.5850.tar.bz2 162144 RMD160 bfe266b539307325d2ca66f57596e2152923e578 SHA1 6672338d2b7c6a9778428077286c6b97bfbf615f SHA256 1e6b91b22ed094e6e67546ff4eb58d911e490853da0d98f27dc491ad1204ea95
DIST cake_1.2.0.6311.tar.bz2 432880 RMD160 df8bd0b2b64581824bcda3b3364d5cc4e317679d SHA1 17f57fcbd13aad6a81d26546d1c28f1c4bd02a2b SHA256 94860e87c9bdce6fa1023bfc32bf90f360941f5bf5af516f69291ed791ef4792
DIST cake_1.2.0.7296.tar.bz2 563514 RMD160 b836a9fb5a151b62ee1fed0999c77961a25fe18a SHA1 8e15073b240f80e21f61b823ca8570cedb06ff3c SHA256 3bd15e609f5225a99f5e55ead382693e9837624d4fabacea515475db0590a5df
+DIST cake_1.2.0.7962.tar.bz2 327953 RMD160 9626c25b9113c458dccc2ac4f0e598160323183e SHA1 b67d5b8f661b1325a4d947330626699d48056915 SHA256 8d50716fa25d79f26759be9062f3d71b9a39ac55395a3c487d4c8f72e50e15fe
EBUILD cake-1.1.18.5850.ebuild 1753 RMD160 158ea91487db8f961fa7cf13b88489239d48bd4f SHA1 50c8fdb220ec17ed122d44e589b50d5fdbc5403d SHA256 413d517c69fd55bd0889a356683767c1224008326d7af13b2eb3385348612ae5
EBUILD cake-1.2.0.6311.ebuild 1760 RMD160 3c84ec835943493f6737d6d0064dabd715ed90ea SHA1 ca8017d241c1f8da56ae90f74854070cbe1dea28 SHA256 24ba2ee20b54c9178531927129254753cdb94f3d81fa56482137667e65cca203
EBUILD cake-1.2.0.7296.ebuild 1759 RMD160 4e8d69b07a2a3217088b7b788154b5bc34bee119 SHA1 dc23e1a00c6674e8c88ef62e06ce18cd5149901e SHA256 9c630aad15091718a60eab0e3db761002f5606cc0eeef955cf1f016f8eb81af0
+EBUILD cake-1.2.0.7962.ebuild 1841 RMD160 2646205cd9cf5752c9d823b7ac5f215f094eb2ce SHA1 4c47fc330f85fb40a01c761768b39a20f33adc5d SHA256 46e247c97d49bbf54547765923e684af753e1f4cd4ff853c0297e4ce2d1210f9
MISC ChangeLog 891 RMD160 843ed361a76ba193e0065ef9dc2aad11e65b5500 SHA1 3e466c62c27eb2677a40ec67ae8db3b3ea3ca995 SHA256 75642efd964ee7e1eac2b4c8b33dd42abe67efa55e0d3554a2d035b850844218
MISC metadata.xml 185 RMD160 30ae785ddd1a348aadf63a6e048aa58d606f7643 SHA1 515cf211239faff08ee0db8d0c5e31e63f130dac SHA256 50ea7b31f12cdf7d828e64c52756c0afdaa3982061a0ffcd25961c1c13e9e136
diff --git a/www-apps/cake/cake-1.2.0.7962.ebuild b/www-apps/cake/cake-1.2.0.7962.ebuild
new file mode 100644
index 0000000..c41d6ec
--- /dev/null
+++ b/www-apps/cake/cake-1.2.0.7962.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit webapp depend.php
+
+DESCRIPTION="A rapid development framework for PHP"
+HOMEPAGE="http://cakephp.org/"
+
+# Ugly hack until the source is provided w/o going through the donation
+# interstitial and to handle the underscore...
+MY_P="${PN}_${PV}"
+DLID="694"
+# Leaving last parameter as MY_P so its easier to find the sources in distfiles
+# hehe :)
+SRC_URI="http://cakeforge.org/frs/download.php/${DLID}/${PV}.tar.bz2/donation=complete/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+IUSE="adodb"
+
+RDEPEND="virtual/httpd-cgi
+ adodb? ( dev-php/adodb )"
+
+need_php_httpd
+
+S="${WORKDIR}/${PV}"
+
+pkg_setup () {
+ webapp_pkg_setup
+
+ local flags="xml session"
+ local dbflags="mysql postgres sqlite"
+ if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \
+ ( ! use adodb && ! PHPCHECKNODIE="yes" require_php_with_any_use ${dbflags} ) ; then
+ die "Re-install ${PHP_PKG} with ${flags} and at least one of ${dbflags} USE flags enabled."
+ elif
+ use adodb && ! PHPCHECKNODIE="yes" require_php_with_any_use ${dbflags} ; then
+ ewarn
+ ewarn "Assuming you are going to use ADOdb wrapper for database backend."
+ ewarn "You are on you own with this. Unless you know what you are doing,"
+ ewarn "you should re-emerge ${PHP_PKG} with at least one of"
+ ewarn "${dbflags} USE flags enabled."
+ else
+ einfo "All PHP checks passed, continue..."
+ fi
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc docs/*
+ rm -rf docs/
+
+ cp app/config/database.php.default app/config/database.php
+ cp -r . "${D}"/${MY_HTDOCSDIR}
+
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/app/tmp
+ for i in app/config/*.php ; do
+ webapp_configfile ${MY_HTDOCSDIR}/${i}
+ done
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}