# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-mail/autorespond/autorespond-2.0.5.ebuild,v 1.2 2009/09/22 18:39:35 mr_bones_ Exp $ EAPI="5" inherit eutils DESCRIPTION="Autoresponder add on package for qmailadmin" HOMEPAGE="http://inter7.com/devel/" SRC_URI="http://inter7.com/devel/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86" IUSE="" DEPEND="" RDEPEND="virtual/qmail" src_prepare() { epatch "${FILESDIR}"/${P}-no-include-bounce.patch sed -i -e 's/$(OPTS) $(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' Makefile || die } src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" } src_install () { into /var/qmail dobin autorespond into /usr dodoc README help_message qmail-auto #ChangeLog doman *.1 } 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." }