summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/qmhandle/qmhandle-1.3.2.ebuild')
-rw-r--r--net-mail/qmhandle/qmhandle-1.3.2.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/net-mail/qmhandle/qmhandle-1.3.2.ebuild b/net-mail/qmhandle/qmhandle-1.3.2.ebuild
index ca310ec47ede..b335ed852a20 100644
--- a/net-mail/qmhandle/qmhandle-1.3.2.ebuild
+++ b/net-mail/qmhandle/qmhandle-1.3.2.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
-
-inherit eutils
+EAPI=7
DESCRIPTION="Qmail message queue tool"
HOMEPAGE="http://qmhandle.sourceforge.net/"
@@ -20,16 +18,15 @@ RDEPEND="virtual/qmail
"
DEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed \
-e 's|/usr/local/bin/svc|/usr/bin/svc|g' \
-e 's|/service/qmail-deliver|/var/qmail/supervise/qmail-send|g' \
- -i qmHandle
+ -i qmHandle || die "Fixing qmHandle failed"
+ eapply_user
}
src_install() {
dodoc README HISTORY
- dobin qmHandle || die "dobin failed"
+ dobin qmHandle
}