/[gentoo-x86]/app-office/plan/plan-1.10.ebuild
Gentoo

Contents of /app-office/plan/plan-1.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jan 25 03:36:00 2014 UTC (4 years, 10 months ago) by creffett
Branch: MAIN
CVS Tags: HEAD
Version bump. Bump EAPI, move patches to a tarball and respin some, redo install section.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 42618354)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/plan/plan-1.9-r1.ebuild,v 1.5 2013/10/12 21:03:58 pacho Exp $
4
5 EAPI=5
6
7 inherit eutils
8
9 DESCRIPTION="Motif based schedule planner"
10 HOMEPAGE="http://www.bitrot.de/plan.html"
11 SRC_URI="ftp://ftp.fu-berlin.de/unix/X11/apps/plan/${P}.tar.gz
12 mirror://gentoo/${P}-gentoo.tar.xz"
13
14 LICENSE="GPL-2+" #448646
15 SLOT="0"
16 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
17 IUSE=""
18
19 DEPEND="
20 x11-libs/libXpm
21 >=x11-libs/motif-2.3:0
22 "
23 RDEPEND="${DEPEND}"
24
25 QA_PRESTRIPPED="
26 /usr/bin/netplan
27 /usr/bin/plan
28 "
29 src_prepare() {
30 epatch "${WORKDIR}"/${P}-patches/*.patch
31 }
32
33 src_compile() {
34 pushd src
35 emake CC=$(tc-getCC) SHARE=/usr/share/plan linux
36 popd
37 }
38
39 src_install() {
40 pushd src
41 emake \
42 DESTDIR="${D}" \
43 SHARE=/usr/share/plan \
44 install
45 keepdir /usr/share/plan/netplan.dir
46 popd
47
48 dodoc HISTORY README
49
50 pushd misc
51 doman netplan.1 plan.1 plan.4
52 insinto /usr/share/${PN}/misc
53 doins netplan.boot BlackWhite Monochrome plan.fti Plan.xpm plan.xpm
54 exeinto /usr/share/${PN}/misc
55 doexe Killpland cvs vsc msschedule2plan plan2vcs
56 popd
57
58 pushd web
59 insinto /usr/share/${PN}/web
60 doins help.html bottom.html cgi-lib.pl common.pl holiday_webplan rtsban.jpg
61 exeinto /usr/share/${PN}/web
62 doexe *.cgi
63 popd
64 }
65
66 pkg_postinst() {
67 elog
68 elog " Check /usr/share/${PN}/holiday for examples to set your"
69 elog " ~/.holiday according to your country."
70 elog
71 elog " WebPlan ${PV} can be found in /usr/share/${PN}/web."
72 elog
73 }

  ViewVC Help
Powered by ViewVC 1.1.20