diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/remind/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/remind/remind-03.01.12.ebuild | 46 |
2 files changed, 53 insertions, 2 deletions
diff --git a/app-misc/remind/ChangeLog b/app-misc/remind/ChangeLog index 1ec7afa66dbe..1645b819d9b5 100644 --- a/app-misc/remind/ChangeLog +++ b/app-misc/remind/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/remind -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/remind/ChangeLog,v 1.2 2011/12/17 11:30:18 tove Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/remind/ChangeLog,v 1.3 2012/02/01 18:12:20 tove Exp $ + +*remind-03.01.12 (01 Feb 2012) + + 01 Feb 2012; Torsten Veller <tove@gentoo.org> +remind-03.01.12.ebuild: + Version bump *remind-03.01.11 (17 Dec 2011) diff --git a/app-misc/remind/remind-03.01.12.ebuild b/app-misc/remind/remind-03.01.12.ebuild new file mode 100644 index 000000000000..58cf4c76ceee --- /dev/null +++ b/app-misc/remind/remind-03.01.12.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/remind/remind-03.01.12.ebuild,v 1.1 2012/02/01 18:12:20 tove Exp $ + +MY_P=${P/_beta/-BETA-} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Ridiculously functional reminder program" +HOMEPAGE="http://www.roaringpenguin.com/products/remind" +SRC_URI="http://www.roaringpenguin.com/files/download/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="tk" + +RDEPEND="tk? ( dev-lang/tk dev-tcltk/tcllib )" + +src_unpack() { + unpack ${A} + sed -i 's:$(MAKE) install:&-nostripped:' "${S}"/Makefile || die +} + +src_test() { + if [[ ${EUID} -eq 0 ]] ; then + ewarn "Testing fails if run as root. Skipping tests." + return + fi + make test || die +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dobin www/rem2html || die "dobin failed" + + dodoc docs/WHATSNEW examples/defs.rem www/README.* || die "dodoc failed" + + if ! use tk ; then + rm "${D}"/usr/bin/tkremind "${D}"/usr/share/man/man1/tkremind* \ + "${D}"/usr/bin/cm2rem* "${D}"/usr/share/man/man1/cm2rem* + fi + + rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die + insinto /usr/share/${PN} + doins -r contrib/ +} |