# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-mail/asmail/asmail-0.56.ebuild,v 1.6 2006/01/28 11:40:51 ticho Exp $ DESCRIPTION="Afterstep mail-checker like xbiff" HOMEPAGE="http://asmail.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~ppc" IUSE="X jpeg" RDEPEND="virtual/libc jpeg? ( media-libs/jpeg ) X? ( || ( x11-libs/libXpm virtual/x11 ) )" DEPEND="${RDEPEND} X? ( || ( x11-proto/xextproto virtual/x11 ) )" src_compile() { econf \ `use_with X` \ `use_enable jpeg` emake } src_install() { dodir /usr/X11R6/bin dodir /usr/share/man/man1 make \ AFTER_BIN_DIR=${D}/usr/X11R6/bin \ install || die make \ AFTER_MAN_DIR=${D}/usr/share/man/man1 \ install.man || die dodoc README README.8bpp INSTALL sample.asmailrc }