diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-02-05 08:47:31 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-02-05 08:47:31 +0000 |
commit | b7199fe7d0de286a7457f3acb7b3bf91c2e60581 (patch) | |
tree | 10c7300f3610d18f3fcf69c4d80ab969413bec47 /sci-chemistry | |
parent | merge from webapps overlay wrt #208584 (diff) | |
download | gentoo-2-b7199fe7d0de286a7457f3acb7b3bf91c2e60581.tar.gz gentoo-2-b7199fe7d0de286a7457f3acb7b3bf91c2e60581.tar.bz2 gentoo-2-b7199fe7d0de286a7457f3acb7b3bf91c2e60581.zip |
merge from webapps overlay wrt #208584
(Portage version: 2.1.4)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/webmo/ChangeLog | 12 | ||||
-rw-r--r-- | sci-chemistry/webmo/webmo-6.1.010.ebuild | 37 | ||||
-rw-r--r-- | sci-chemistry/webmo/webmo-7.0.003.ebuild | 37 |
3 files changed, 48 insertions, 38 deletions
diff --git a/sci-chemistry/webmo/ChangeLog b/sci-chemistry/webmo/ChangeLog index cf28cbe66617..8f5ef0c5f6ca 100644 --- a/sci-chemistry/webmo/ChangeLog +++ b/sci-chemistry/webmo/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-chemistry/webmo -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/ChangeLog,v 1.13 2007/07/29 17:07:47 phreak Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/ChangeLog,v 1.14 2008/02/05 08:47:31 hollow Exp $ + + 05 Feb 2008; Benedikt Böhm <hollow@gentoo.org> webmo-6.1.010.ebuild, + webmo-7.0.003.ebuild: + merge from webapps overlay wrt #208584 + + 03 Feb 2008; Jakub Moc <jakub@gentoo.org> webmo-6.1.010.ebuild, + webmo-7.0.003.ebuild: + Fix apache dependencies wrt Bug 208584; fix quoting, einfo -> elog 29 Jul 2007; Christian Heim <phreak@gentoo.org> webmo-6.1.010.ebuild, webmo-7.0.003.ebuild: diff --git a/sci-chemistry/webmo/webmo-6.1.010.ebuild b/sci-chemistry/webmo/webmo-6.1.010.ebuild index a958da4d2057..2a116d339ec5 100644 --- a/sci-chemistry/webmo/webmo-6.1.010.ebuild +++ b/sci-chemistry/webmo/webmo-6.1.010.ebuild @@ -1,22 +1,23 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/webmo-6.1.010.ebuild,v 1.3 2007/07/29 17:07:47 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/webmo-6.1.010.ebuild,v 1.4 2008/02/05 08:47:31 hollow Exp $ -inherit eutils webapp +inherit eutils webapp depend.apache MY_SRC_PN="WebMO" MY_SRC_P="${MY_SRC_PN}.${PV}" DESCRIPTION="Web-based interface to computational chemistry packages" HOMEPAGE="http://webmo.net/" SRC_URI="${MY_SRC_P}.tar.gz" + LICENSE="WebMO" SLOT="${PVR}" KEYWORDS="~x86" RESTRICT="fetch" IUSE="" -RDEPEND="dev-lang/perl - www-servers/apache" -DEPEND="${RDEPEND}" + +DEPEND="dev-lang/perl" +need_apache2 S="${WORKDIR}/${MY_SRC_PN}.install" @@ -43,15 +44,15 @@ src_unpack() { unpack ${A} # Set up program locations to match where portage installs them - epatch ${FILESDIR}/gentoo-locations.patch + epatch "${FILESDIR}"/gentoo-locations.patch # Add a data directory for gamess, because WebMO expects everything # in one directory instead of FHS # (Depends on gentoo-locations.patch) - epatch ${FILESDIR}/add-gamess-data-directory.patch + epatch "${FILESDIR}"/add-gamess-data-directory.patch # Don't run diagnose.pl or ask about being root user - epatch ${FILESDIR}/dont-be-interactive-or-diagnose.patch + epatch "${FILESDIR}"/dont-be-interactive-or-diagnose.patch # Make setup.conf create_setup_conf @@ -61,14 +62,14 @@ src_install() { webapp_src_preinst # Install everything - perl setup.pl || die "Check ${S}/diagnose.html for errors" + perl setup.pl || die "Check '${S}'/diagnose.html for errors" # Get ${D} out of main config file dosed "${MY_CGIBINDIR}/webmo/interfaces/globals.int" - webapp_hook_script ${FILESDIR}/reconfig + webapp_hook_script "${FILESDIR}"/reconfig - local files=$(find ${D}${MY_HOSTROOTDIR}/webmo ${D}${MY_CGIBINDIR}/webmo/interfaces) + local files=$(find "${D}"${MY_HOSTROOTDIR}/webmo "${D}"${MY_CGIBINDIR}/webmo/interfaces) # Add the directories themselves files="${files} ${MY_HOSTROOTDIR}/webmo ${MY_CGIBINDIR}/webmo/interfaces" files=${files//${D}/} @@ -88,12 +89,12 @@ src_install() { } pkg_postinst() { - einfo - einfo "Be sure that this line is uncommented in httpd.conf:" - einfo "AddHandle cgi-scripts .cgi" - einfo - einfo "The diagnose.pl script can be run if WebMO doesn't work properly." - einfo + elog + elog "Be sure that this line is uncommented in httpd.conf:" + elog "AddHandle cgi-scripts .cgi" + elog + elog "The diagnose.pl script can be run if WebMO doesn't work properly." + elog ewarn "Be careful never to overwrite your user, group or job databases" ewarn "when using etc-update after an upgrade." diff --git a/sci-chemistry/webmo/webmo-7.0.003.ebuild b/sci-chemistry/webmo/webmo-7.0.003.ebuild index f9bcd5a33536..8e0feb130468 100644 --- a/sci-chemistry/webmo/webmo-7.0.003.ebuild +++ b/sci-chemistry/webmo/webmo-7.0.003.ebuild @@ -1,22 +1,23 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/webmo-7.0.003.ebuild,v 1.2 2007/07/29 17:07:47 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/webmo/webmo-7.0.003.ebuild,v 1.3 2008/02/05 08:47:31 hollow Exp $ -inherit eutils webapp +inherit eutils webapp depend.apache MY_SRC_PN="WebMO" MY_SRC_P="${MY_SRC_PN}.${PV}" DESCRIPTION="Web-based interface to computational chemistry packages" HOMEPAGE="http://webmo.net/" SRC_URI="${MY_SRC_P}.tar.gz" + LICENSE="WebMO" SLOT="${PVR}" KEYWORDS="~x86" RESTRICT="fetch" IUSE="" -RDEPEND="dev-lang/perl - www-servers/apache" -DEPEND="${RDEPEND}" + +DEPEND="dev-lang/perl" +need_apache2 S="${WORKDIR}/${MY_SRC_PN}.install" @@ -43,15 +44,15 @@ src_unpack() { unpack ${A} # Set up program locations to match where portage installs them - epatch ${FILESDIR}/${PV}-gentoo-locations.patch + epatch "${FILESDIR}"/${PV}-gentoo-locations.patch # Add a data directory for gamess, because WebMO expects everything # in one directory instead of FHS # (Depends on gentoo-locations.patch) - epatch ${FILESDIR}/add-gamess-data-directory.patch + epatch "${FILESDIR}"/add-gamess-data-directory.patch # Don't run diagnose.pl or ask about being root user - epatch ${FILESDIR}/dont-be-interactive-or-diagnose.patch + epatch "${FILESDIR}"/dont-be-interactive-or-diagnose.patch # Make setup.conf create_setup_conf @@ -61,14 +62,14 @@ src_install() { webapp_src_preinst # Install everything - perl setup.pl || die "Check ${S}/diagnose.html for errors" + perl setup.pl || die "Check '${S}'/diagnose.html for errors" # Get ${D} out of main config file dosed "${MY_CGIBINDIR}/webmo/interfaces/globals.int" - webapp_hook_script ${FILESDIR}/reconfig + webapp_hook_script "${FILESDIR}"/reconfig - local files=$(find ${D}${MY_HOSTROOTDIR}/webmo ${D}${MY_CGIBINDIR}/webmo/interfaces) + local files=$(find "${D}"${MY_HOSTROOTDIR}/webmo "${D}"${MY_CGIBINDIR}/webmo/interfaces) # Add the directories themselves files="${files} ${MY_HOSTROOTDIR}/webmo ${MY_CGIBINDIR}/webmo/interfaces" files=${files//${D}/} @@ -88,12 +89,12 @@ src_install() { } pkg_postinst() { - einfo - einfo "Be sure that this line is uncommented in httpd.conf:" - einfo "AddHandle cgi-scripts .cgi" - einfo - einfo "The diagnose.pl script can be run if WebMO doesn't work properly." - einfo + elog + elog "Be sure that this line is uncommented in httpd.conf:" + elog "AddHandle cgi-scripts .cgi" + elog + elog "The diagnose.pl script can be run if WebMO doesn't work properly." + elog ewarn "Be careful never to overwrite your user, group or job databases" ewarn "when using etc-update after an upgrade." |