1 |
commit: 95446c5561fd05bfed6f9e270e0587acf9cc45bb |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 1 09:09:12 2012 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 1 09:09:12 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=95446c55 |
7 |
|
8 |
sci-chemistry/nmrview: Move to EAPI=4, specify QA_PREBUILT |
9 |
|
10 |
(Portage version: 2.2.0_alpha108/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
sci-chemistry/nmrview/ChangeLog | 6 +++- |
14 |
sci-chemistry/nmrview/metadata.xml | 1 - |
15 |
sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild | 37 ++++++++++++++----------- |
16 |
3 files changed, 26 insertions(+), 18 deletions(-) |
17 |
|
18 |
diff --git a/sci-chemistry/nmrview/ChangeLog b/sci-chemistry/nmrview/ChangeLog |
19 |
index 5cdf469..c84d1a8 100644 |
20 |
--- a/sci-chemistry/nmrview/ChangeLog |
21 |
+++ b/sci-chemistry/nmrview/ChangeLog |
22 |
@@ -1,7 +1,11 @@ |
23 |
# ChangeLog for sci-chemistry/nmrview |
24 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
25 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
26 |
# $Header: $ |
27 |
|
28 |
+ 01 Jun 2012; Justin Lecher <jlec@g.o> nmrview-5.2.2-r3.ebuild, |
29 |
+ metadata.xml: |
30 |
+ Move to EAPI=4, specify QA_PREBUILT |
31 |
+ |
32 |
*nmrview-5.2.2-r3 (14 Aug 2009) |
33 |
|
34 |
14 Aug 2009; Justin Lecher (jlec) <jlec@×××××××××.net> |
35 |
|
36 |
diff --git a/sci-chemistry/nmrview/metadata.xml b/sci-chemistry/nmrview/metadata.xml |
37 |
index 9897693..95180e1 100644 |
38 |
--- a/sci-chemistry/nmrview/metadata.xml |
39 |
+++ b/sci-chemistry/nmrview/metadata.xml |
40 |
@@ -7,4 +7,3 @@ |
41 |
<name>Justin Lecher</name> |
42 |
</maintainer> |
43 |
</pkgmetadata> |
44 |
- |
45 |
|
46 |
diff --git a/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild b/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild |
47 |
index 2d59b1e..e302f97 100644 |
48 |
--- a/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild |
49 |
+++ b/sci-chemistry/nmrview/nmrview-5.2.2-r3.ebuild |
50 |
@@ -1,31 +1,38 @@ |
51 |
-# Copyright 1999-2010 Gentoo Foundation |
52 |
+# Copyright 1999-2012 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: $ |
55 |
|
56 |
+EAPI=4 |
57 |
+ |
58 |
DESCRIPTION="Visualisation and analysis of processed NMR data" |
59 |
-LICENSE="as-is" |
60 |
HOMEPAGE="http://www.onemoonscientific.com/nmrview/" |
61 |
-SRC_URI="${PN}${PV}.lib.tar.gz |
62 |
+SRC_URI=" |
63 |
+ ${PN}${PV}.lib.tar.gz |
64 |
${PN}${PV//./_}_01_linux.gz" |
65 |
-RESTRICT="fetch" |
66 |
|
67 |
SLOT="0" |
68 |
+LICENSE="as-is" |
69 |
IUSE="" |
70 |
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" |
71 |
|
72 |
RDEPEND="x11-libs/libX11" |
73 |
+DEPEND="" |
74 |
+ |
75 |
+RESTRICT="fetch" |
76 |
|
77 |
S="${WORKDIR}" |
78 |
|
79 |
INSTDIR="/opt/nmrview" |
80 |
|
81 |
+QA_PREBUILT="/opt/nmrview/nmrview5_2_2_01_linux" |
82 |
+ |
83 |
pkg_nofetch() { |
84 |
einfo "Please visit:" |
85 |
einfo "\t${HOMEPAGE}" |
86 |
- einfo |
87 |
+ echo |
88 |
einfo "Complete the registration process, then download the following files:" |
89 |
einfo "\t${A}" |
90 |
- einfo |
91 |
+ echo |
92 |
einfo "Place the downloaded files in your distfiles directory:" |
93 |
einfo "\t${DISTDIR}" |
94 |
echo |
95 |
@@ -44,17 +51,15 @@ src_install() { |
96 |
-e "s:/opt:${EPREFIX}/opt:g" \ |
97 |
"${FILESDIR}"/${PN}.sh-r1 \ |
98 |
> "${T}"/${PN} |
99 |
- dobin "${T}"/${PN} || die "Failed to install wrapper script" |
100 |
+ dobin "${T}"/${PN} |
101 |
exeinto ${INSTDIR} |
102 |
- doexe ${PN}${PV//./_}_01_linux || die "Failed to install binary." |
103 |
+ doexe ${PN}${PV//./_}_01_linux |
104 |
|
105 |
DIRS="help html images nvtcl nvtclC nvtclExt reslib star tcl8.4 tk8.4 tools" |
106 |
- doins -r ${DIRS} || die "Failed to install shared files." |
107 |
- |
108 |
- dodoc "${FILESDIR}"/README.Gentoo || die "Failed to install Gentoo README." |
109 |
- doins README || die "Failed to install README." |
110 |
- dosym ${INSTDIR}/html /usr/share/doc/${PF}/html || die \ |
111 |
- "Failed to link HTML documentation." |
112 |
- dosym ${INSTDIR}/README /usr/share/doc/${PF}/README || die \ |
113 |
- "Failed to link README." |
114 |
+ doins -r ${DIRS} |
115 |
+ |
116 |
+ dodoc "${FILESDIR}"/README.Gentoo |
117 |
+ doins README |
118 |
+ dosym ${INSTDIR}/html /usr/share/doc/${PF}/html |
119 |
+ dosym ${INSTDIR}/README /usr/share/doc/${PF}/README |
120 |
} |