summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-02-15 09:05:41 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-02-15 09:05:41 +0000
commit87be009461d9f0f17982be8008b7a2ed94794a39 (patch)
tree7407206b2ca9e29c67264b59f5f22d46f42414e9 /www-apps/drupal
parentFix URI, bug#210171, thanks to Thomas Wouters, cleanups (diff)
downloadgentoo-2-87be009461d9f0f17982be8008b7a2ed94794a39.tar.gz
gentoo-2-87be009461d9f0f17982be8008b7a2ed94794a39.tar.bz2
gentoo-2-87be009461d9f0f17982be8008b7a2ed94794a39.zip
Added drupal-6.0 to the tree (#208227).
(Portage version: 2.1.4_rc7)
Diffstat (limited to 'www-apps/drupal')
-rw-r--r--www-apps/drupal/ChangeLog7
-rw-r--r--www-apps/drupal/drupal-6.0.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/www-apps/drupal/ChangeLog b/www-apps/drupal/ChangeLog
index 9f9565ab2fa7..acbb6f1357e4 100644
--- a/www-apps/drupal/ChangeLog
+++ b/www-apps/drupal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/drupal
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.40 2008/01/17 09:21:10 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.41 2008/02/15 09:05:41 wrobel Exp $
+
+*drupal-6.0 (15 Feb 2008)
+
+ 15 Feb 2008; Gunnar Wrobel <wrobel@gentoo.org> +drupal-6.0.ebuild:
+ Added drupal-6.0 to the tree (#208227).
*drupal-5.6 (17 Jan 2008)
diff --git a/www-apps/drupal/drupal-6.0.ebuild b/www-apps/drupal/drupal-6.0.ebuild
new file mode 100644
index 000000000000..c5b67ec7b2bf
--- /dev/null
+++ b/www-apps/drupal/drupal-6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-6.0.ebuild,v 1.1 2008/02/15 09:05:41 wrobel Exp $
+
+inherit webapp eutils
+
+MY_PV=${PV:0:3}.0
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="http://drupal.org/"
+SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="virtual/httpd-php
+ virtual/httpd-cgi"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt"
+ dodoc ${docs}
+ rm -f ${docs} INSTALL
+
+ einfo "Copying main files"
+ cp -r . "${D}/${MY_HTDOCSDIR}"
+
+ # we install the .htaccess file to enable support for clean URLs
+ cp .htaccess "${D}/${MY_HTDOCSDIR}"
+
+ # create the files upload directory
+ mkdir "${D}/${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/default.settings.php
+
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/default.settings.php
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}