diff options
Diffstat (limited to 'net-mail/serialmail/serialmail-0.75-r2.ebuild')
-rw-r--r-- | net-mail/serialmail/serialmail-0.75-r2.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-mail/serialmail/serialmail-0.75-r2.ebuild b/net-mail/serialmail/serialmail-0.75-r2.ebuild new file mode 100644 index 000000000000..60dea32234bb --- /dev/null +++ b/net-mail/serialmail/serialmail-0.75-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/serialmail-0.75-r2.ebuild,v 1.1 2004/07/29 03:33:43 langthang Exp $ + +inherit eutils + +DESCRIPTION="A serialmail is a collection of tools for passing mail across serial links." +HOMEPAGE="http://cr.yp.to/serialmail.html" +SRC_URI="http://cr.yp.to/software/${P}.tar.gz" + +DEPEND="virtual/glibc + sys-apps/groff + >=sys-apps/ucspi-tcp-0.88" + +RDEPEND="virtual/glibc + sys-apps/groff + >=sys-apps/ucspi-tcp-0.88 + >=sys-apps/daemontools-0.76-r1" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="static" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch + epatch ${FILESDIR}/${P}-smtpauth.patch + epatch ${FILESDIR}/${P}-smtpauth_comp.patch + sed -i "s:@CFLAGS@:${CFLAGS}:" conf-cc + use static && LDFLAGS="${LDFLAGS} -static" + sed -i "s:@LDFLAGS@:${LDFLAGS}:" conf-ld +} + +src_compile() { + grep -v man hier.c | grep -v doc > hier.c + emake it man || die +} + +src_install() { + + dobin setlock serialsmtp serialqmtp maildirsmtp maildirserial maildirqmtp + + dodoc AUTOTURN CHANGES FROMISP SYSDEPS THANKS TOISP \ + BLURB FILES INSTALL README TARGETS TODO VERSION + + doman maildirqmtp.1 maildirserial.1 maildirsmtp.1 \ + serialqmtp.1 serialsmtp.1 setlock.1 +} |