summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-01 13:37:38 +0000
committerMike Frysinger <vapier@gentoo.org>2010-12-01 13:37:38 +0000
commit0486424391af9ad6460e0e45a2d9cd8ae4d34434 (patch)
tree1e135b416f93774fe13a31758837b4d8ea384f25 /app-office
parentRevision bump (directly stable) to fix nasty issue with pstopdf buildtime req... (diff)
downloadgentoo-2-0486424391af9ad6460e0e45a2d9cd8ae4d34434.tar.gz
gentoo-2-0486424391af9ad6460e0e45a2d9cd8ae4d34434.tar.bz2
gentoo-2-0486424391af9ad6460e0e45a2d9cd8ae4d34434.zip
New package by Christian Affolter & Julien Cynober & Artem Sidorenko #190636 by Robert Buchholz.
(Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openproj-bin/ChangeLog9
-rw-r--r--app-office/openproj-bin/metadata.xml5
-rw-r--r--app-office/openproj-bin/openproj-bin-1.4.ebuild51
3 files changed, 65 insertions, 0 deletions
diff --git a/app-office/openproj-bin/ChangeLog b/app-office/openproj-bin/ChangeLog
new file mode 100644
index 000000000000..9ef0b9681c4c
--- /dev/null
+++ b/app-office/openproj-bin/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-office/openproj-bin
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openproj-bin/ChangeLog,v 1.1 2010/12/01 13:37:38 vapier Exp $
+
+*openproj-bin-1.4 (01 Dec 2010)
+
+ 01 Dec 2010; Mike Frysinger <vapier@gentoo.org> +openproj-bin-1.4.ebuild:
+ New package by Christian Affolter & Julien Cynober & Artem Sidorenko
+ #190636 by Robert Buchholz.
diff --git a/app-office/openproj-bin/metadata.xml b/app-office/openproj-bin/metadata.xml
new file mode 100644
index 000000000000..20ce219711a2
--- /dev/null
+++ b/app-office/openproj-bin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+</pkgmetadata>
diff --git a/app-office/openproj-bin/openproj-bin-1.4.ebuild b/app-office/openproj-bin/openproj-bin-1.4.ebuild
new file mode 100644
index 000000000000..44ccbde775cf
--- /dev/null
+++ b/app-office/openproj-bin/openproj-bin-1.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/openproj-bin/openproj-bin-1.4.ebuild,v 1.1 2010/12/01 13:37:38 vapier Exp $
+
+EAPI="2"
+
+inherit eutils
+
+MY_PN=${PN/-bin}
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="free open source desktop alternative to Microsoft Project"
+HOMEPAGE="http://openproj.org/"
+SRC_URI="mirror://sourceforge/openproj/${MY_P}.tar.gz
+ http://openproj.cvs.sourceforge.net/viewvc/openproj/openproj_build/resources/openproj.desktop?revision=1.2 -> ${MY_PN}-1.2.desktop
+ http://openproj.cvs.sourceforge.net/viewvc/openproj/openproj_build/resources/openproj.png?revision=1.1 -> ${MY_PN}-1.1.png"
+
+LICENSE="CPAL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ cp "${DISTDIR}"/${MY_PN}-*.{desktop,png} ./ || die
+ cd "${S}"
+ rm -rf license openproj.bat readme.html
+}
+
+src_prepare() {
+ sed -i \
+ -e "/^OPENPROJ_HOME0=/s:=.*:=/opt/${MY_PN}:" \
+ openproj.sh || die
+}
+
+src_install() {
+ local d="/opt/${MY_PN}"
+ insinto ${d}
+ doins -r * || die
+ fperms a+rx ${d}/openproj.sh
+
+ dodir /opt/bin
+ dosym ../${MY_PN}/openproj.sh /opt/bin/openproj || die
+
+ newmenu ../${MY_PN}-*.desktop ${MY_PN}.desktop || die
+ newmenu ../${MY_PN}-*.png ${MY_PN}.png || die
+}