diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-08-30 20:58:16 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-08-30 20:58:16 +0000 |
commit | 5c18090449ed7271bfd00c5acab3583a8cd1ed2c (patch) | |
tree | 7767db7a596e82c0ce22e7b9b2164cc97010c14c /net-mail/bbmail | |
parent | remove bbweather blockage. works fine (diff) | |
download | historical-5c18090449ed7271bfd00c5acab3583a8cd1ed2c.tar.gz historical-5c18090449ed7271bfd00c5acab3583a8cd1ed2c.tar.bz2 historical-5c18090449ed7271bfd00c5acab3583a8cd1ed2c.zip |
added pkg_postinst()
Diffstat (limited to 'net-mail/bbmail')
-rw-r--r-- | net-mail/bbmail/bbmail-0.6.11.ebuild | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/net-mail/bbmail/bbmail-0.6.11.ebuild b/net-mail/bbmail/bbmail-0.6.11.ebuild index 3b57e31100d4..230255569b05 100644 --- a/net-mail/bbmail/bbmail-0.6.11.ebuild +++ b/net-mail/bbmail/bbmail-0.6.11.ebuild @@ -1,37 +1,33 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Craig Joly <joly@ee.ualberta.ca> -# $Header: /var/cvsroot/gentoo-x86/net-mail/bbmail/bbmail-0.6.11.ebuild,v 1.2 2001/08/30 17:31:35 pm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/bbmail/bbmail-0.6.11.ebuild,v 1.3 2001/08/30 20:58:16 woodchip Exp $ - -A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="blackbox mail notification, patched for maildir" -SRC_URI="http://bbtools.thelinuxcommunity.org/sources/${A}.tar.gz" +SRC_URI="http://bbtools.thelinuxcommunity.org/sources/${P}.tar.gz" HOMEPAGE="http://bbtools.thelinuxcommunity.org/available.phtml" DEPEND=">=x11-wm/blackbox-0.61" src_unpack () { - - unpack ${P}.tar.gz + unpack ${A} cd ${S} # This is a patch for bbmail to support qmail style maildirs - try patch -p1 < ${FILESDIR}/bbmail-qmail.patch + patch -p1 < ${FILESDIR}/bbmail-qmail.patch || die } src_compile() { - - try ./configure --prefix=/usr/X11R6 --host=${CHOST} - try emake - + ./configure --prefix=/usr/X11R6 --host=${CHOST} || die + emake || die } src_install () { + make DESTDIR=${D} install || die + dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO data/README.bbmail +} - try make DESTDIR=${D} install - dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO data/README.bbmail - cd /usr/X11R6/bin/wm - cp blackbox blackbox.bak - sed -e s:.*blackbox:"exec /usr/X11R6/bin/bbmail \&\n&": blackbox.bak > blackbox +pkg_postinst() { + cd ${ROOT}usr/X11R6/bin/wm + sed -e "s/.*blackbox/exec \/usr\/X11R6\/bin\/bbmail \&\n&/" blackbox | cat > blackbox } |