You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
9 years ago
|
|
||
|
MY_PV="${PV/_rc/-RC}"
|
||
|
MY_P="${PN}-${MY_PV}"
|
||
|
DESCRIPTION="Mailing list managing made joyful"
|
||
|
HOMEPAGE="http://mlmmj.org/"
|
||
|
SRC_URI="http://mlmmj.org/releases/${MY_P}.tar.bz2"
|
||
4 years ago
|
S="${WORKDIR}/${MY_P}"
|
||
|
|
||
9 years ago
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
4 years ago
|
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||
4 years ago
|
|
||
9 years ago
|
DEPEND="virtual/mta"
|
||
|
|
||
4 years ago
|
DOCS=( AUTHORS ChangeLog FAQ TODO TUNABLES UPGRADE )
|
||
|
|
||
6 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/mlmmj-1.2.19.0-listcontrol-customheaders.patch
|
||
5 years ago
|
"${FILESDIR}"/mlmmj-1.3.0-gcc-10.patch
|
||
6 years ago
|
)
|
||
9 years ago
|
|
||
4 years ago
|
src_prepare() {
|
||
|
default
|
||
|
|
||
|
# bug #259962
|
||
|
for file in $(find . -iname "*.cgi") ; do
|
||
|
sed -i -e "s:/usr/local/bin/:${EPREFIX}/usr/bin/:" "${file}" || die
|
||
|
done
|
||
|
}
|
||
|
|
||
9 years ago
|
src_configure() {
|
||
|
econf --enable-receive-strip
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
|
||
|
insinto /usr/share/mlmmj/texts
|
||
|
doins listtexts/*
|
||
|
|
||
|
insinto /usr/share/mlmmj
|
||
|
doins -r contrib/web/*
|
||
4 years ago
|
|
||
|
dodoc README.*
|
||
9 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
elog "mlmmj comes with serveral webinterfaces:"
|
||
|
elog "- One for user subscribing/unsubscribing"
|
||
|
elog "- One for admin tasks"
|
||
|
elog "both available in a php and perl module."
|
||
4 years ago
|
elog "For more info have a look in ${EROOT}/usr/share/mlmmj"
|
||
9 years ago
|
}
|