You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.5 KiB
74 lines
1.5 KiB
11 years ago
|
# Copyright 1999-2014 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
11 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-office/plan/plan-1.10.ebuild,v 1.1 2014/01/25 03:36:00 creffett Exp $
|
||
13 years ago
|
|
||
11 years ago
|
EAPI=5
|
||
13 years ago
|
|
||
|
inherit eutils
|
||
|
|
||
|
DESCRIPTION="Motif based schedule planner"
|
||
|
HOMEPAGE="http://www.bitrot.de/plan.html"
|
||
|
SRC_URI="ftp://ftp.fu-berlin.de/unix/X11/apps/plan/${P}.tar.gz
|
||
11 years ago
|
mirror://gentoo/${P}-gentoo.tar.xz"
|
||
13 years ago
|
|
||
12 years ago
|
LICENSE="GPL-2+" #448646
|
||
13 years ago
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
|
||
|
IUSE=""
|
||
|
|
||
11 years ago
|
DEPEND="
|
||
|
x11-libs/libXpm
|
||
|
>=x11-libs/motif-2.3:0
|
||
|
"
|
||
13 years ago
|
RDEPEND="${DEPEND}"
|
||
|
|
||
11 years ago
|
QA_PRESTRIPPED="
|
||
|
/usr/bin/netplan
|
||
|
/usr/bin/plan
|
||
|
"
|
||
|
src_prepare() {
|
||
|
epatch "${WORKDIR}"/${P}-patches/*.patch
|
||
13 years ago
|
}
|
||
|
|
||
|
src_compile() {
|
||
11 years ago
|
pushd src
|
||
|
emake CC=$(tc-getCC) SHARE=/usr/share/plan linux
|
||
|
popd
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
11 years ago
|
pushd src
|
||
13 years ago
|
emake \
|
||
|
DESTDIR="${D}" \
|
||
|
SHARE=/usr/share/plan \
|
||
11 years ago
|
install
|
||
13 years ago
|
keepdir /usr/share/plan/netplan.dir
|
||
11 years ago
|
popd
|
||
13 years ago
|
|
||
11 years ago
|
dodoc HISTORY README
|
||
13 years ago
|
|
||
11 years ago
|
pushd misc
|
||
|
doman netplan.1 plan.1 plan.4
|
||
13 years ago
|
insinto /usr/share/${PN}/misc
|
||
11 years ago
|
doins netplan.boot BlackWhite Monochrome plan.fti Plan.xpm plan.xpm
|
||
13 years ago
|
exeinto /usr/share/${PN}/misc
|
||
11 years ago
|
doexe Killpland cvs vsc msschedule2plan plan2vcs
|
||
|
popd
|
||
13 years ago
|
|
||
11 years ago
|
pushd web
|
||
13 years ago
|
insinto /usr/share/${PN}/web
|
||
11 years ago
|
doins help.html bottom.html cgi-lib.pl common.pl holiday_webplan rtsban.jpg
|
||
13 years ago
|
exeinto /usr/share/${PN}/web
|
||
11 years ago
|
doexe *.cgi
|
||
|
popd
|
||
13 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
elog
|
||
|
elog " Check /usr/share/${PN}/holiday for examples to set your"
|
||
|
elog " ~/.holiday according to your country."
|
||
|
elog
|
||
|
elog " WebPlan ${PV} can be found in /usr/share/${PN}/web."
|
||
|
elog
|
||
|
}
|