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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat May 11 16:47:28 2013 UTC (7 years, 6 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump.

(Portage version: 2.2.0_alpha174/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.11.ebuild,v 1.2 2012/07/29 17:18:10 armin76 Exp $
4
5 MY_P=${P/_beta/-BETA-}
6 S=${WORKDIR}/${MY_P}
7
8 DESCRIPTION="Ridiculously functional reminder program"
9 HOMEPAGE="http://www.roaringpenguin.com/products/remind"
10 SRC_URI="http://www.roaringpenguin.com/files/download/${MY_P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
15 IUSE="tk"
16
17 RDEPEND="tk? ( dev-lang/tk dev-tcltk/tcllib )"
18
19 src_unpack() {
20 unpack ${A}
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 make test || die
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install || die "make install failed"
34 dobin www/rem2html || die "dobin failed"
35
36 dodoc docs/WHATSNEW examples/defs.rem www/README.* || die "dodoc failed"
37
38 if ! use tk ; then
39 rm "${D}"/usr/bin/tkremind "${D}"/usr/share/man/man1/tkremind* \
40 "${D}"/usr/bin/cm2rem* "${D}"/usr/share/man/man1/cm2rem*
41 fi
42
43 rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
44 insinto /usr/share/${PN}
45 doins -r contrib/
46 }

  ViewVC Help
Powered by ViewVC 1.1.20