From 8216d81c8e8c51e6d4c82003e535f618650b9626 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Mon, 21 Mar 2022 20:22:25 +0100 Subject: www-apps/dotproject: Port to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/835355 Signed-off-by: Jakov Smolić --- www-apps/dotproject/dotproject-2.1.7-r1.ebuild | 45 -------------------------- www-apps/dotproject/dotproject-2.1.7-r2.ebuild | 45 ++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 www-apps/dotproject/dotproject-2.1.7-r1.ebuild create mode 100644 www-apps/dotproject/dotproject-2.1.7-r2.ebuild (limited to 'www-apps/dotproject') diff --git a/www-apps/dotproject/dotproject-2.1.7-r1.ebuild b/www-apps/dotproject/dotproject-2.1.7-r1.ebuild deleted file mode 100644 index de3f61dc8fa7..000000000000 --- a/www-apps/dotproject/dotproject-2.1.7-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -inherit epatch webapp - -DESCRIPTION="dotProject is a PHP web-based project management framework" -HOMEPAGE="http://www.dotproject.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -LICENSE="GPL-2" -IUSE="" - -DEPEND="" -RDEPEND="app-text/poppler[utils] - dev-php/PEAR-Date - virtual/httpd-php" - -need_httpd_cgi - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch "${FILESDIR}/${P}-pear-date.patch" -} - -src_install() { - webapp_src_preinst - - dodoc ChangeLog README - rm -rf ChangeLog README lib/PEAR/Date.php lib/PEAR/Date - - mv includes/config{-dist,}.php - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_serverowned "${MY_HTDOCSDIR}"/includes/config.php - webapp_serverowned "${MY_HTDOCSDIR}"/files{,/temp} - webapp_serverowned "${MY_HTDOCSDIR}"/locales/en - - webapp_postinst_txt en "${FILESDIR}"/install-en.txt - webapp_src_install -} diff --git a/www-apps/dotproject/dotproject-2.1.7-r2.ebuild b/www-apps/dotproject/dotproject-2.1.7-r2.ebuild new file mode 100644 index 000000000000..2fcf8e7b3201 --- /dev/null +++ b/www-apps/dotproject/dotproject-2.1.7-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +DESCRIPTION="dotProject is a PHP web-based project management framework" +HOMEPAGE="http://www.dotproject.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + app-text/poppler[utils] + dev-php/PEAR-Date + virtual/httpd-php +" + +need_httpd_cgi + +PATCHES=( + "${FILESDIR}"/${P}-pear-date.patch +) + +src_install() { + webapp_src_preinst + + dodoc ChangeLog README + rm -r ChangeLog README lib/PEAR/Date.php lib/PEAR/Date || die + + mv includes/config{-dist,}.php || die + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_serverowned "${MY_HTDOCSDIR}"/includes/config.php + webapp_serverowned "${MY_HTDOCSDIR}"/files{,/temp} + webapp_serverowned "${MY_HTDOCSDIR}"/locales/en + + webapp_postinst_txt en "${FILESDIR}"/install-en.txt + webapp_src_install +} -- cgit v1.2.3-65-gdbad