/[gentoo-x86]/app-misc/remind/remind-03.01.13.ebuild
Gentoo

Contents of /app-misc/remind/remind-03.01.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jun 25 12:49:12 2013 UTC (7 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for amd64, wrt bug #474146

(Portage version: 2.1.12.9/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/remind/remind-03.01.13.ebuild,v 1.3 2013/06/25 11:37:36 ago Exp $
4
5 EAPI=5
6
7 DESCRIPTION="Ridiculously functional reminder program"
8 HOMEPAGE="http://www.roaringpenguin.com/products/remind"
9 SRC_URI="http://www.roaringpenguin.com/files/download/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
14 IUSE="tk"
15
16 RDEPEND="tk? ( dev-lang/tk dev-tcltk/tcllib )"
17
18 DOCS="docs/WHATSNEW examples/defs.rem www/README.*"
19
20 src_prepare() {
21 sed -i 's:$(MAKE) install:&-nostripped:' "${S}"/Makefile || die
22 }
23
24 src_test() {
25 if [[ ${EUID} -eq 0 ]] ; then
26 ewarn "Testing fails if run as root. Skipping tests."
27 return
28 fi
29 emake test
30 }
31
32 src_install() {
33 default
34 dobin www/rem2html
35
36 if ! use tk ; then
37 rm "${D}"/usr/bin/tkremind "${D}"/usr/share/man/man1/tkremind* \
38 "${D}"/usr/bin/cm2rem* "${D}"/usr/share/man/man1/cm2rem*
39 fi
40
41 rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
42 insinto /usr/share/${PN}
43 doins -r contrib/
44 }

  ViewVC Help
Powered by ViewVC 1.1.20