aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gmail.com>2013-06-06 09:56:03 -0600
committerNicolas Bock <nicolasbock@gmail.com>2013-06-06 09:56:03 -0600
commit48cad6597579671210e974e25ee9b1bccb6ace3f (patch)
tree3dfb405c9b345f64b1ec427c9d325ffce146000f /sys-cluster/modules/modules-3.2.10.ebuild
parentAdded USE flag for building the charmdebugger. (diff)
downloadsci-48cad6597579671210e974e25ee9b1bccb6ace3f.tar.gz
sci-48cad6597579671210e974e25ee9b1bccb6ace3f.tar.bz2
sci-48cad6597579671210e974e25ee9b1bccb6ace3f.zip
Version bump to sys-cluster/modules-3.2.10
I removed the errorline patch since modules doesn't build with it applied. Package-Manager: portage-2.2.0_alpha177
Diffstat (limited to 'sys-cluster/modules/modules-3.2.10.ebuild')
-rw-r--r--sys-cluster/modules/modules-3.2.10.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-cluster/modules/modules-3.2.10.ebuild b/sys-cluster/modules/modules-3.2.10.ebuild
new file mode 100644
index 000000000..8c5490302
--- /dev/null
+++ b/sys-cluster/modules/modules-3.2.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="Dynamic modification of a user's environment via modulefiles."
+HOMEPAGE="http://modules.sourceforge.net/"
+SRC_URI="http://sourceforge.net/projects/modules/files/Modules/${P%[a-z]}/${P}.tar.bz2/download -> ${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="X"
+
+DEPEND="
+ dev-lang/tcl
+ dev-tcltk/tclx
+ X? ( x11-libs/libX11 )
+ "
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P%[a-z]}"
+
+DOCS=(ChangeLog README NEWS TODO)
+
+#src_prepare() {
+# epatch "${FILESDIR}/${P}-errorline.patch"
+#}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with X x)
+ --prefix=/opt
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ dosym ${PV%[a-z]} /opt/Modules/default
+}
+
+pkg_postinst() {
+ elog "Add this line at the end of your bashrc:"
+ elog "[ -f /opt/Modules/default/init/bash ] && source /opt/Modules/default/init/bash"
+}