aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-06-16 14:01:03 +0200
committerJustin Lecher <jlec@gentoo.org>2013-06-16 14:01:03 +0200
commit3289b51bc0c47c79c88cf2ab4ef2bbd2f137c412 (patch)
treeed2b4e081b58c3546c960304591e55147c59738c /sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild
parentMerge branch 'fixing' (diff)
downloadsci-3289b51bc0c47c79c88cf2ab4ef2bbd2f137c412.tar.gz
sci-3289b51bc0c47c79c88cf2ab4ef2bbd2f137c412.tar.bz2
sci-3289b51bc0c47c79c88cf2ab4ef2bbd2f137c412.zip
sci-chemistry/nmrview: Bump to EAPI=5 and fix license
Package-Manager: portage-2.2.0_alpha180
Diffstat (limited to 'sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild')
-rw-r--r--sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild b/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild
index e302f9714..ad5da95f1 100644
--- a/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild
+++ b/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
DESCRIPTION="Visualisation and analysis of processed NMR data"
HOMEPAGE="http://www.onemoonscientific.com/nmrview/"
@@ -11,7 +11,7 @@ SRC_URI="
${PN}${PV//./_}_01_linux.gz"
SLOT="0"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
IUSE=""
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
@@ -38,19 +38,14 @@ pkg_nofetch() {
echo
}
-src_compile() {
- echo
- einfo "Nothing to compile."
- echo
-}
-
src_install() {
insinto ${INSTDIR}
sed \
-e "s:/opt:${EPREFIX}/opt:g" \
"${FILESDIR}"/${PN}.sh-r1 \
- > "${T}"/${PN}
+ > "${T}"/${PN} || die
+
dobin "${T}"/${PN}
exeinto ${INSTDIR}
doexe ${PN}${PV//./_}_01_linux