/[gentoo-x86]/net-mail/mlmmj/mlmmj-1.2.17.1.ebuild
Gentoo

Contents of /net-mail/mlmmj/mlmmj-1.2.17.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sat Sep 11 21:49:40 2010 UTC (3 years, 10 months ago) by josejx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Marked ppc stable for bug #259968.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 robbat2 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 josejx 1.4 # $Header: /var/cvsroot/gentoo-x86/net-mail/mlmmj/mlmmj-1.2.17.1.ebuild,v 1.3 2010/08/25 01:57:29 phajdan.jr Exp $
4 robbat2 1.1
5     inherit eutils
6    
7     MY_PV="${PV/_rc/-RC}"
8     MY_P="${PN}-${MY_PV}"
9     DESCRIPTION="Mailing list managing made joyful"
10     HOMEPAGE="http://mlmmj.org/"
11     SRC_URI="http://mlmmj.org/releases/${MY_P}.tar.bz2"
12     LICENSE="MIT"
13     SLOT="0"
14 josejx 1.4 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
15 robbat2 1.1 IUSE=""
16     DEPEND="virtual/mta"
17     #RDEPEND=""
18     S="${WORKDIR}/${MY_P}"
19     SHAREDIR="/usr/share/mlmmj"
20    
21     src_unpack() {
22     unpack ${A}
23     #epatch "${FILESDIR}"/${PN}-1.2.16-requeue-unlink-fix.patch
24     #epatch "${FILESDIR}"/${PN}-1.2.16-unsub-digest-text.patch
25     cd "${S}"
26     for i in "${S}" "${S}"/contrib/recievestrip ; do
27     pushd "${i}"
28     # Ignore errors
29     emake -j1 distclean 2>/dev/null 1>/dev/null
30     popd
31     done
32     }
33    
34     src_compile() {
35     econf
36     emake || die
37     }
38    
39     src_install() {
40     make DESTDIR="${D}" install || die
41    
42     dodir ${SHAREDIR}
43     dodir ${SHAREDIR}/texts
44     insinto ${SHAREDIR}/texts
45     doins listtexts/*
46    
47     dodoc AUTHORS ChangeLog FAQ README
48     dodoc TODO TUNABLES UPGRADE VERSION README.access
49     dodoc README.sendmail README.exim4 README.security
50    
51     insinto /usr/share/mlmmj
52     cd "${S}"/contrib/web
53     doins -r *
54    
55     dobin "${S}"/contrib/recievestrip
56     }
57    
58     pkg_postinst() {
59     elog "mlmmj comes with serveral webinterfaces:"
60     elog "- One for user subscribing/unsubscribing"
61     elog "- One for admin tasks"
62     elog "both available in a php and perl module."
63     elog "For more info have a look in /usr/share/mlmmj"
64     }

  ViewVC Help
Powered by ViewVC 1.1.20