diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-12-29 00:34:29 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-12-29 00:34:29 +0100 |
commit | 3ea9369f56c747b9e42da01694865cd0790b4823 (patch) | |
tree | 66725c3efd5fbf143afe355e15190bd206d68f5c /sci-physics/fullprof-bin | |
parent | move fullprof-bin, gh#153 (diff) | |
download | sci-3ea9369f56c747b9e42da01694865cd0790b4823.tar.gz sci-3ea9369f56c747b9e42da01694865cd0790b4823.tar.bz2 sci-3ea9369f56c747b9e42da01694865cd0790b4823.zip |
Package move
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-physics/fullprof-bin')
-rw-r--r-- | sci-physics/fullprof-bin/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/fullprof-bin/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/fullprof-bin/fullprof-bin-2012.11.ebuild | 66 | ||||
-rw-r--r-- | sci-physics/fullprof-bin/metadata.xml | 16 |
4 files changed, 93 insertions, 0 deletions
diff --git a/sci-physics/fullprof-bin/ChangeLog b/sci-physics/fullprof-bin/ChangeLog new file mode 100644 index 000000000..e8b991614 --- /dev/null +++ b/sci-physics/fullprof-bin/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-geosciences/fullprof-bin +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Feb 2013; Justin Lecher <jlec@gentoo.org> fullprof-bin-2012.11.ebuild, + metadata.xml: + Indent with tabs instead of spaces; use QA_PREBUILT for binary packages; + restrict all arches but x86/amd64; bump EAPI to 5; clean DESCRIPTION; fix + quoting + diff --git a/sci-physics/fullprof-bin/Manifest b/sci-physics/fullprof-bin/Manifest new file mode 100644 index 000000000..d95a30f43 --- /dev/null +++ b/sci-physics/fullprof-bin/Manifest @@ -0,0 +1 @@ +DIST FullProf_Suite_Nov2012_Lin.tgz 67050800 SHA256 619f122ce4e1cf3a27f1d55c83cdf8785a410d8c5899c3cd56194cc2b6d94c30 SHA512 16411427dde46954e9058a5cff8569f8f6e2e689670d8bc4eaa5492e982135b8953b651607ecfdc52bfd6ff1c93328e29d1f25049fbea78b530fb1bc7b9656b5 WHIRLPOOL f029eac6b6c4860c53ff3691e47ac1ea426187d2cb2991b7c925c464ed0e0d893ec4cd2170622d2ea48112edb4078534a66b48f46a7cb8fc497510b1c431460b diff --git a/sci-physics/fullprof-bin/fullprof-bin-2012.11.ebuild b/sci-physics/fullprof-bin/fullprof-bin-2012.11.ebuild new file mode 100644 index 000000000..899353b56 --- /dev/null +++ b/sci-physics/fullprof-bin/fullprof-bin-2012.11.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="Crystallographic tools mainly for Rietveld analysis" +HOMEPAGE="http://www.ill.eu/sites/fullprof/index.html" +SRC_URI="http://www.ill.eu/sites/fullprof/downloads/FullProf_Suite_Nov2012_Lin.tgz" + +LICENSE="freedist HPND" +# There is no clear license specified. But according to Docs/Readme_Fp_Suite.txt +# those two seem to be appropriate. +SLOT="0" +KEYWORDS="~x86 ~amd64 -*" +IUSE="+doc +examples +X" + +RDEPEND="X? ( x11-libs/motif:0 )" +DEPEND="" +S="${WORKDIR}" + +QA_PREBUILT="opt/.*" + +src_install() { + BASEDIR="/opt/fullprof" + echo "FULLPROF=\"${BASEDIR}\"" > "${T}"/99fullprof + doenvd "${T}"/99fullprof + + if ! use examples; then + rm -r Examples || die + fi + + if ! use doc; then + rm -r Docs Html || die + else + # fix (html) documentation to actually work + # as upstream is using inconsistent upper and lower case + mv Docs docs || die + cd docs || die + for i in *.HTM; do + mv "$i" "${i,,}" || die + done + mv "FullProf_Manual.pdf" "Fullprof_Manual.pdf" || die + mv "Manual_FullProf_Studio.pdf" "Manual_Fullprof_Studio.pdf" || die + mv "FullProf_News.htm" "Fullprof_News.htm" || die + for i in FullProf_News_200?.htm; do + mv "$i" "${i/FullProf/Fullprof}" || die + done + cd .. || die + fi + + if ! use X; then + rm -rf \ + tfp tfp.set winplotr-2006 check_group cryscal edpcr fp_studio \ + gbasireps gbond_str gdatared gfourier gfourier.hlp gxlens \ + powderpat resvis symmcal wfp2k winplotr.* \ + Fps_Icons || die + fi + + dodir "${BASEDIR}" || die + # make symlinks + for i in * ; do + [[ -x $i && ! -d $i ]] && dosym "../fullprof/${i}" /opt/bin/"${i##*/}" + done + mv "${S}"/* "${ED}/${BASEDIR}" || die +} diff --git a/sci-physics/fullprof-bin/metadata.xml b/sci-physics/fullprof-bin/metadata.xml new file mode 100644 index 000000000..825c73cd0 --- /dev/null +++ b/sci-physics/fullprof-bin/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-geosciences</herd> + <maintainer> + <email>marten@xtal.rwth-aachen.de</email> + <name>Jan M. Simons</name> + </maintainer> + <longdescription lang="en"> +Fullprof is a programm suite of crystallographic programs (FullProf, WinPLOTR, +EdPCR, GFourier, etc...) mainly developed for Rietveld analysis (structure +profile refinement) of neutron (constant wavelength, time of flight, +nuclear and magnetic scattering) or X-ray powder diffraction data collected at +constant or variable step in scattering angle 2theta. +</longdescription> +</pkgmetadata> |