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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Jul 19 14:20:29 2014 UTC (6 years, 4 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Old.

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

1 # Copyright 1999-2012 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.12.ebuild,v 1.6 2012/07/29 17:18:10 armin76 Exp $
4
5 inherit eutils
6
7 MY_P=${P/_beta/-BETA-}
8 S=${WORKDIR}/${MY_P}
9
10 DESCRIPTION="Ridiculously functional reminder program"
11 HOMEPAGE="http://www.roaringpenguin.com/products/remind"
12 SRC_URI="http://www.roaringpenguin.com/files/download/${MY_P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
17 IUSE="tk"
18
19 RDEPEND="tk? ( dev-lang/tk dev-tcltk/tcllib )"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 sed -i 's:$(MAKE) install:&-nostripped:' "${S}"/Makefile || die
25 epatch "${FILESDIR}"/03.01.12-test.patch
26 }
27
28 src_test() {
29 if [[ ${EUID} -eq 0 ]] ; then
30 ewarn "Testing fails if run as root. Skipping tests."
31 return
32 fi
33 make test || die
34 }
35
36 src_install() {
37 emake DESTDIR="${D}" install || die "make install failed"
38 dobin www/rem2html || die "dobin failed"
39
40 dodoc docs/WHATSNEW examples/defs.rem www/README.* || die "dodoc failed"
41
42 if ! use tk ; then
43 rm "${D}"/usr/bin/tkremind "${D}"/usr/share/man/man1/tkremind* \
44 "${D}"/usr/bin/cm2rem* "${D}"/usr/share/man/man1/cm2rem*
45 fi
46
47 rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
48 insinto /usr/share/${PN}
49 doins -r contrib/
50 }

  ViewVC Help
Powered by ViewVC 1.1.20