summaryrefslogtreecommitdiff
blob: 55c7c06b6dbe9a0e9175b8794f99af19b0b23409 (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
31
32
33
34
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Autoresponder add on package for qmailadmin"
HOMEPAGE="https://www.inter7.com/software/"
SRC_URI="http://qmail.ixip.net/download/${P}.tar.gz"

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

RDEPEND="virtual/qmail"
PATCHES=(
	"${FILESDIR}/${P}-no-include-bounce.patch"
)
DOCS=( README help_message qmail-auto )

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

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

pkg_postinst() {
	ewarn "Please note that original messages are now NOT included with bounces"
	ewarn "by default. Use the flag per the help output if you want them."
}