summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/ical/ChangeLog9
-rw-r--r--app-office/ical/files/ical-2.3.3-tcl8.5.patch13
-rw-r--r--app-office/ical/ical-2.3.3.ebuild47
3 files changed, 66 insertions, 3 deletions
diff --git a/app-office/ical/ChangeLog b/app-office/ical/ChangeLog
index 34b1f8df50b6..1e831774f7f5 100644
--- a/app-office/ical/ChangeLog
+++ b/app-office/ical/ChangeLog
@@ -1,11 +1,14 @@
# ChangeLog for app-office/ical
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ical/ChangeLog,v 1.17 2007/05/15 09:45:54 bangert Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ical/ChangeLog,v 1.18 2009/01/17 02:25:28 mescalinum Exp $
+
+ 17 Jan 2009; Federico Ferri <mescalinum@gentoo.org> ChangeLog:
+ closes bug #158621
15 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
- 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
+ 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
08 Apr 2006; Simon Stelling <blubb@gentoo.org> ical-2.2.1.ebuild:
diff --git a/app-office/ical/files/ical-2.3.3-tcl8.5.patch b/app-office/ical/files/ical-2.3.3-tcl8.5.patch
new file mode 100644
index 000000000000..9471d74287b2
--- /dev/null
+++ b/app-office/ical/files/ical-2.3.3-tcl8.5.patch
@@ -0,0 +1,13 @@
+--- configure.in.orig 2009-01-17 03:18:29.000000000 +0100
++++ configure.in 2009-01-17 03:18:56.000000000 +0100
+@@ -68,8 +68,8 @@ fi
+ # Find Tcl/Tk
+
+ AC_CHECKING(Tcl/Tk installation)
+-legal_tk_versions="8.4 8.3 8.2 8.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1"
+-legal_tcl_versions="8.4 8.3 8.2 8.0 7.9 7.8 7.7 7.6 7.5"
++legal_tk_versions="8.6 8.5 8.4 8.3 8.2 8.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1"
++legal_tcl_versions="8.6 8.5 8.4 8.3 8.2 8.0 7.9 7.8 7.7 7.6 7.5"
+
+ #### Find tclsh
+ AC_ARG_WITH(tclsh,[ --with-tclsh=<path> full path name of tclsh],
diff --git a/app-office/ical/ical-2.3.3.ebuild b/app-office/ical/ical-2.3.3.ebuild
new file mode 100644
index 000000000000..ca9531d87ae7
--- /dev/null
+++ b/app-office/ical/ical-2.3.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ical/ical-2.3.3.ebuild,v 1.1 2009/01/17 02:25:28 mescalinum Exp $
+
+WANT_AUTOCONF=latest
+
+inherit autotools eutils multilib
+
+DESCRIPTION="Tk-based Calendar program"
+HOMEPAGE="http://www.fnal.gov/docs/products/tktools/ical.html"
+SRC_URI="http://annexia.org/_file/${P}.tar.gz"
+
+LICENSE="as-is GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RESTRICT="test"
+
+DEPEND="dev-lang/tcl
+ dev-lang/tk"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s:mkdir:mkdir -p:" \
+ -e "/LIBDIR =/s:lib:$(get_libdir):" \
+ -e "/MANDIR =/s:man:share/man:" \
+ Makefile.in || die
+
+ epatch "${FILESDIR}"/${P}-tcl8.5.patch
+ eautoconf
+ cd "${S}/types"; eautoconf
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake OPTF="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake prefix="${D}/usr" install || die "emake install failed"
+
+ dodoc ANNOUNCE README *.txt
+ dohtml CHANGES.html doc/*.html
+}