1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A web based control pannel to manage Virtual Qmail Domains"
9 HOMEPAGE="http://www.inter7.com/index.php?page=vqadmin"
10 SRC_URI="http://www.inter7.com/vqadmin/${P}.tar.gz"
14 WEBAPP_MANUAL_SLOT="yes"
15 KEYWORDS="~amd64 ~sparc ~x86"
18 DEPEND="virtual/libcrypt:=
20 >=net-mail/vpopmail-5.3"
27 # fixes for sane webapp integration
29 -e "s|html/|/usr/share/${PN}/|g" \
30 -e "s|/images/vqadmin/|/vqadmin/|g" \
31 -e "s|/cgi-bin/vqadmin/|/cgi-bin/|g" \
32 -e "s|vqadmin\.cgi|vqadmin|g" \
33 *.h *.c html/*.html || die
38 --enable-qmaildir="${QMAIL_HOME}" \
39 --enable-vpopuser=vpopmail \
40 --enable-vpopgroup=vpopmail \
41 --enable-cgibindir="${MY_CGIBINDIR}"
47 insinto /usr/share/${PN}
50 insinto "${MY_HTDOCSDIR}"
53 insinto "${MY_CGIBINDIR}"
58 dodoc ACL AUTHORS BUGS ChangeLog FAQ INSTALL NEWS TODO README
60 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt