# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.0.2.ebuild,v 1 2002/07/22 15:54:03 j2ee Exp $ S=${WORKDIR}/${P} DESCRIPTION="A web interface for managing a qmail system with virtual domains." SRC_URI="http://www.inter7.com/qmailadmin/${P}.tar.gz" HOMEPAGE="http://www.inter7.com/qmailadmin" KEYWORDS="x86" LICENSE="GPL-2" SLOT="0" DEPEND="net-mail/vpopmail net-mail/autorespond" RDEPEND="${DEPEND} net-www/apache" src_compile() { econf ${myopts} --enable-qmaildir=/var/qmail \ --enable-vpopmaildir=/var/vpopmail \ --enable-vpopuser=vpopmail \ --enable-vpopgroup=vpopmail \ --enable-htmldir=/home/httpd/htdocs \ --enable-autoresponder-bin=/usr/bin \ --disable-ezmlmdir || die "configure failed" emake || die } src_install () { make DESTDIR=${D} install-strip || die # Install documentation. dodoc AUTHORS ChangeLog FAQ INSTALL NEWS TODO README } pkg_postinst() { einfo "" einfo "To log into the interface you will first need to" einfo "create a domain using the vpopmail vadddomain program." einfo "" einfo " as root:" einfo " vadddomain \"your new domain name\" \"pick a postmaster password\"" einfo "" einfo " Then you can type info your webrowser \"http://yourdomain/cgi-bin/qmailadmin\"" einfo " and log into qmailadmin with \"your new domain name\" and" einfo " the password you set with the vadddomain command." einfo "" }