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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Apr 30 16:12:21 2015 UTC (5 years, 7 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2015 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.4 2013/06/25 12:49:12 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 else
28 emake test
29 fi
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