/[gentoo-x86]/www-apps/drupal/drupal-7.15.ebuild
Gentoo

Contents of /www-apps/drupal/drupal-7.15.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 11 16:56:11 2012 UTC (6 months, 1 week ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop 7.x before 7.16, bug #442756

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-7.15.ebuild,v 1.1 2012/08/02 03:11:09 radhermit Exp $
4
5 EAPI=4
6
7 inherit webapp
8
9 MY_PV=${PV:0:3}.0
10
11 DESCRIPTION="PHP-based open-source platform and content management system"
12 HOMEPAGE="http://drupal.org/"
13 SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
17 IUSE="+mysql postgres sqlite"
18
19 RDEPEND="virtual/httpd-php
20 dev-lang/php[gd,pdo,postgres?,xml]
21 dev-php/pecl-apc
22 dev-php/pecl-uploadprogress
23 mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
24 sqlite? ( dev-lang/php[sqlite3] )"
25
26 need_httpd_cgi
27
28 REQUIRED_USE="|| ( mysql postgres sqlite )"
29
30 src_install() {
31 webapp_src_preinst
32
33 local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
34 dodoc ${docs}
35 rm -f ${docs} INSTALL COPYRIGHT.txt
36
37 cp sites/default/{default.settings.php,settings.php}
38 insinto "${MY_HTDOCSDIR}"
39 doins -r .
40
41 dodir "${MY_HTDOCSDIR}"/files
42 webapp_serverowned "${MY_HTDOCSDIR}"/files
43 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
44 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
45
46 webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
47 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
48
49 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
50
51 webapp_src_install
52 }
53
54 pkg_postinst() {
55 ewarn
56 ewarn "SECURITY NOTICE"
57 ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
58 ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
59 ewarn
60 }

  ViewVC Help
Powered by ViewVC 1.1.13