summaryrefslogtreecommitdiff
blob: 94509c8a81be525e01c0b86aee20ee9f6ff520be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Autoresponder add on package for qmailadmin"
HOMEPAGE="http://inter7.com/software/"
SRC_URI="mirror://sourceforge/qmailadmin/${P}.tar.gz
	mirror://gentoo/${PN}_${PV}-1.diff.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc s390 sh sparc x86"

RDEPEND="virtual/qmail"
PATCHES=(
	"${WORKDIR}/autorespond_2.0.4-1.diff"
)
DOCS=( README help_message qmail-auto ChangeLog )

src_compile() {
	emake CFLAGS="${CFLAGS}" || die
}

src_install () {
	into /var/qmail
	dobin autorespond || die "dobin failed"
	doman *.1
	einstalldocs
}