DESCRIPTION="MIMEDefang is a program for inspecting and modifying e-mail messages as they pass through your mail relay." HOMEPAGE="http://www.roaringpenguin.com/mimedefang/" LICENSE="GPL-2" DEPEND="sendmail MIME-tools IO-stringy MIME-Base64 MailTools Digest-SHA1 Mail-SpamAssassin? ( Mail-SpamAssassin )" SRC_URI="http://www.roaringpenguin.com/mimedefang/${P}.tar.gz" IUSE="" SLOT="0" KEYWORDS="~x86" S="${WORKDIR}/${P}" # Had to disable SANDBOX because the make install portion needed # to make some adjustments to /var/spool/MIMEDefang. Otherwise # I would have to do the process manually which would be lots of work. SANDBOX_DISABLED="1" src_compile() { cd "${S}" ./configure --prefix=/ --mandir=/usr/share/man --infodir=/usr/share/info emake || die } src_install() { cd "${S}" einstall || die }