From 6903b808c67a859ee3e371847e40d4ff20ecc65c Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 6 Dec 2019 20:43:22 +0100 Subject: www-apps/mod_survey: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/697156 Signed-off-by: Michał Górny --- www-apps/mod_survey/mod_survey-3.2.5.ebuild | 79 ----------------------------- 1 file changed, 79 deletions(-) delete mode 100644 www-apps/mod_survey/mod_survey-3.2.5.ebuild (limited to 'www-apps/mod_survey/mod_survey-3.2.5.ebuild') diff --git a/www-apps/mod_survey/mod_survey-3.2.5.ebuild b/www-apps/mod_survey/mod_survey-3.2.5.ebuild deleted file mode 100644 index 9fe895cc6616..000000000000 --- a/www-apps/mod_survey/mod_survey-3.2.5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit depend.apache webapp - -WEBAPP_MANUAL_SLOT="yes" -SLOT="0" - -MY_PN=${PN/_/} - -DESCRIPTION="XML-defined web questionnaires as a plug-in module using Apache" -HOMEPAGE="http://www.modsurvey.org" -SRC_URI="http://www.modsurvey.org/download/tarballs/${MY_PN}-${PV}.tgz - doc? ( http://www.modsurvey.org/download/tarballs/${MY_PN}-docs-${PV}.tgz )" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc mysql nls postgres" - -DEPEND=">=dev-lang/perl-5.6.1" -RDEPEND="${DEPEND} - >=www-apache/mod_perl-1.99 - postgres? ( >=dev-perl/DBI-1.38 dev-perl/DBD-Pg ) - mysql? ( >=dev-perl/DBI-1.38 dev-perl/DBD-mysql ) - >=dev-perl/CGI-3.0.0" - -S="${WORKDIR}"/${MY_PN}-${PV} - -pkg_setup() { - webapp_pkg_setup - has_apache - - if use nls; then - ewarn "English will be set as the default language." - ewarn "This can be overriden on a per-survey basis, or changed in" - ewarn "${APACHE_MODULES_CONFDIR}/98_${PN}.conf" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i \ - -e "s|/usr/local/mod_survey/|${D}/usr/lib/mod_survey/|g" \ - installer.pl - - rm -f docs/LICENSE.txt - use doc && unpack ${MY_PN}-docs-${PV}.tgz -} - -src_install() { - webapp_src_preinst - - dodir /usr/lib/mod_survey - dodir /var/lib/mod_survey - - dodoc README.txt docs/* - rm -rf README.txt docs/ - - insinto /usr/share/doc/${PF} - doins -r webroot/examples* - rm -rf webroot/examples* - - perl installer.pl < /dev/null > /dev/null 2>&1 - rm -rf "${D}"/usr/lib/mod_survey/{survey.conf,data,docs,webroot} - - insinto "${MY_HTDOCSDIR}" - doins -r webroot/{main.css,system} - - insinto "${APACHE_MODULES_CONFDIR}" - doins "${FILESDIR}"/98_${PN}.conf - - fowners apache:apache /var/lib/mod_survey - - webapp_src_install -} -- cgit v1.2.3-65-gdbad