summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-03-21 20:22:25 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-03-21 20:25:57 +0100
commit8216d81c8e8c51e6d4c82003e535f618650b9626 (patch)
tree8ef9981374766adf281e4731d0aecc062a59c663 /www-apps/dotproject
parentapp-doc/NaturalDocs: Port to EAPI 8 (diff)
downloadgentoo-8216d81c8e8c51e6d4c82003e535f618650b9626.tar.gz
gentoo-8216d81c8e8c51e6d4c82003e535f618650b9626.tar.bz2
gentoo-8216d81c8e8c51e6d4c82003e535f618650b9626.zip
www-apps/dotproject: Port to EAPI 8
Closes: https://bugs.gentoo.org/835355 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'www-apps/dotproject')
-rw-r--r--www-apps/dotproject/dotproject-2.1.7-r2.ebuild (renamed from www-apps/dotproject/dotproject-2.1.7-r1.ebuild)30
1 files changed, 15 insertions, 15 deletions
diff --git a/www-apps/dotproject/dotproject-2.1.7-r1.ebuild b/www-apps/dotproject/dotproject-2.1.7-r2.ebuild
index de3f61dc8fa7..2fcf8e7b3201 100644
--- a/www-apps/dotproject/dotproject-2.1.7-r1.ebuild
+++ b/www-apps/dotproject/dotproject-2.1.7-r2.ebuild
@@ -1,37 +1,37 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-inherit epatch webapp
+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}"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
LICENSE="GPL-2"
-IUSE=""
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-DEPEND=""
-RDEPEND="app-text/poppler[utils]
+RDEPEND="
+ app-text/poppler[utils]
dev-php/PEAR-Date
- virtual/httpd-php"
+ virtual/httpd-php
+"
need_httpd_cgi
-S=${WORKDIR}/${PN}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-pear-date.patch"
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-pear-date.patch
+)
src_install() {
webapp_src_preinst
dodoc ChangeLog README
- rm -rf ChangeLog README lib/PEAR/Date.php lib/PEAR/Date
+ rm -r ChangeLog README lib/PEAR/Date.php lib/PEAR/Date || die
- mv includes/config{-dist,}.php
+ mv includes/config{-dist,}.php || die
insinto "${MY_HTDOCSDIR}"
doins -r .