summaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2006-11-20 03:22:09 +0100
committerBertrand Jacquin <beber@meleeweb.net>2006-11-20 03:22:09 +0100
commitd423bf6645ed53f7337b6cee84bd50928e063f8e (patch)
tree734d5f4a2e33a30a3346b7847fb8bc143d9407c7 /www-apps
parentalphamail deps: add ~amd64 (diff)
downloadportage-d423bf6645ed53f7337b6cee84bd50928e063f8e.tar.xz
Add hypermail ebuild (http://bugs.gentoo.org/show_bug.cgi?id=88428)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/hypermail/Manifest12
-rw-r--r--www-apps/hypermail/files/destdir.patch33
-rw-r--r--www-apps/hypermail/files/digest-hypermail-2.2.03
-rw-r--r--www-apps/hypermail/hypermail-2.2.0.ebuild40
4 files changed, 88 insertions, 0 deletions
diff --git a/www-apps/hypermail/Manifest b/www-apps/hypermail/Manifest
new file mode 100644
index 00000000..5b5246e6
--- /dev/null
+++ b/www-apps/hypermail/Manifest
@@ -0,0 +1,12 @@
+AUX destdir.patch 1434 RMD160 fd9d65bc69245837687449194b37a62996befe58 SHA1 fcf2e81746bd3258388d908722ba933c4aa08bd1 SHA256 fa5c3ce5044d2f2bef1b4f17d530d26c0d179953606b4a451cbff30b8546aa22
+MD5 2ca7723330c771ed61eee41abe567d49 files/destdir.patch 1434
+RMD160 fd9d65bc69245837687449194b37a62996befe58 files/destdir.patch 1434
+SHA256 fa5c3ce5044d2f2bef1b4f17d530d26c0d179953606b4a451cbff30b8546aa22 files/destdir.patch 1434
+DIST hypermail-2.2.0.tar.gz 1256316 RMD160 d2c75e04312b15d4e578663ca9b1fae3f56a4fa6 SHA1 311b38625d8688da5665cc60c5310588bd07dfcf SHA256 6e1fe59b603b6d8faee583dbae52155282084474d2de4ff6e348bd7e86ea8dff
+EBUILD hypermail-2.2.0.ebuild 1022 RMD160 f909713f3b0bd1733ee6262440f004b865541770 SHA1 b050d1371f0ea26288d1b82ad978c315eeed3f6c SHA256 2991ce1be99158c35c6581dc20e0abaecb80c8bb391b164a2b05dfa8f4b9fa5a
+MD5 faac9da13817cbffa7b33dd71b7a3aea hypermail-2.2.0.ebuild 1022
+RMD160 f909713f3b0bd1733ee6262440f004b865541770 hypermail-2.2.0.ebuild 1022
+SHA256 2991ce1be99158c35c6581dc20e0abaecb80c8bb391b164a2b05dfa8f4b9fa5a hypermail-2.2.0.ebuild 1022
+MD5 12398e6152533abe62d278f0d9d05331 files/digest-hypermail-2.2.0 250
+RMD160 748d559bf854a5f324ff540bae236ae9f7aad1d7 files/digest-hypermail-2.2.0 250
+SHA256 0a2d404bb8aa6a0be1459cf1a8fd29639d2620b6d7a94b9aaf8f311cf8612593 files/digest-hypermail-2.2.0 250
diff --git a/www-apps/hypermail/files/destdir.patch b/www-apps/hypermail/files/destdir.patch
new file mode 100644
index 00000000..e13a2404
--- /dev/null
+++ b/www-apps/hypermail/files/destdir.patch
@@ -0,0 +1,33 @@
+hypermail does not seem to get the DESTDIR handling right.
+Plus, for that matter, we fix the MAKEFLAGS passing, even though portage does
+not use it.
+--- Makefile.in 2005-05-21 21:13:55.288915280 +0200
++++ notbroken-Makefile.in 2005-05-21 21:22:44.945395256 +0200
+@@ -44,16 +44,21 @@
+
+ install:
+ @cd src; $(MAKE) install CC="$(CC)" CFLAGS="$(CFLAGS)" \
+- cgidir="$(cgidir)" bindir="$(bindir)" LIBS="$(LIBS)"
++ cgidir="$(DESTDIR)$(cgidir)" bindir="$(DESTDIR)$(bindir)" \
++ LIBS="$(LIBS)" DESTDIR="$(DESTDIR)"
+ @cd docs; $(MAKE) install CC="$(CC)" CFLAGS="$(CFLAGS)" \
+- $(MAKEFLAGS) mandir="$(mandir)" htmldir="$(htmldir)"
++ mandir="$(DESTDIR)$(mandir)" \
++ htmldir="$(DESTDIR)$(htmldir)" DESTDIR="$(DESTDIR)"
+ @cd archive; $(MAKE) install CC="$(CC)" CFLAGS="$(CFLAGS)" \
+- bindir="$(bindir)"
++ bindir="$(DESTDIR)$(bindir)" DESTDIR="$(DESTDIR)"
+
+ uninstall:
+- @cd src; $(MAKE) uninstall cgidir="$(cgidir)" bindir="$(bindir)"
+- @cd docs; $(MAKE) uninstall mandir="$(mandir)" htmldir="$(htmldir)"
+- @cd archive; $(MAKE) uninstall bindir="$(bindir)"
++ @cd src; $(MAKE) uninstall cgidir="$(DESTDIR)$(cgidir)" \
++ bindir="$(DESTDIR)$(bindir)" DESTDIR="$(DESTDIR)"
++ @cd docs; $(MAKE) uninstall mandir="$(DESTDIR)$(mandir)" \
++ htmldir="$(DESTDIR)$(htmldir)" DESTDIR="$(DESTDIR)"
++ @cd archive; $(MAKE) uninstall bindir="$(DESTDIR)$(bindir)" \
++ DESTDIR="$(DESTDIR)"
+
+ lint:
+ @cd src; $(MAKE) lint
diff --git a/www-apps/hypermail/files/digest-hypermail-2.2.0 b/www-apps/hypermail/files/digest-hypermail-2.2.0
new file mode 100644
index 00000000..2ec74cc9
--- /dev/null
+++ b/www-apps/hypermail/files/digest-hypermail-2.2.0
@@ -0,0 +1,3 @@
+MD5 a064e36780ee41409c8c973f9c69927f hypermail-2.2.0.tar.gz 1256316
+RMD160 d2c75e04312b15d4e578663ca9b1fae3f56a4fa6 hypermail-2.2.0.tar.gz 1256316
+SHA256 6e1fe59b603b6d8faee583dbae52155282084474d2de4ff6e348bd7e86ea8dff hypermail-2.2.0.tar.gz 1256316
diff --git a/www-apps/hypermail/hypermail-2.2.0.ebuild b/www-apps/hypermail/hypermail-2.2.0.ebuild
new file mode 100644
index 00000000..ababa817
--- /dev/null
+++ b/www-apps/hypermail/hypermail-2.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Make HTML archives out of mailboxes"
+HOMEPAGE="http://www.hypermail-project.org/"
+SRC_URI="http://www.hypermail-project.org/$P.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gdbm doc"
+
+DEPEND="gdbm? ( sys-libs/gdbm )"
+
+src_unpack() {
+ unpack "$A" || die "unpack failed"
+ cd "$S" || die "Could not cd to $S"
+
+ # This patch makes DESTDIR=xxx work for make install
+ patch -p0 < "$FILESDIR/destdir.patch" || die "patch failed"
+}
+
+src_compile() {
+ if ! use doc
+ then
+ einfo "Not installing html documentation."
+ # We exploit that docs/Makefile does not declare install.html as .PHONY
+ touch docs/install.html
+ fi
+ econf --with-htmldir="/usr/share/doc/$PF/html" "$(use_with gdbm)" ||
+ die "econf failed"
+ einfo "Compiling..."
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="$D" install
+ dodoc COPYING Changelog KNOWN_BUGS README TODO UPGRADE || die 'dodoc failed'
+}