aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cmt/ChangeLog9
-rw-r--r--dev-util/cmt/Manifest5
-rw-r--r--dev-util/cmt/cmt-1.18.20060301.ebuild73
-rw-r--r--dev-util/cmt/files/80cmt-mode-gentoo.el6
-rw-r--r--dev-util/cmt/files/digest-cmt-1.18.200603011
-rw-r--r--dev-util/cmt/metadata.xml17
6 files changed, 111 insertions, 0 deletions
diff --git a/dev-util/cmt/ChangeLog b/dev-util/cmt/ChangeLog
new file mode 100644
index 000000000..288782435
--- /dev/null
+++ b/dev-util/cmt/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-util/cmt
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*cmt-1.18.20060301 (25 Apr 2006)
+
+ 25 Apr 2006; Sebastien Fabbro <seb@ist.utl.pt>
+ +cmt-1.18.20060301.ebuild, +ChangeLog, +metadata.xml
+ Initial import. Close bug #65835.
diff --git a/dev-util/cmt/Manifest b/dev-util/cmt/Manifest
new file mode 100644
index 000000000..4df8f33f4
--- /dev/null
+++ b/dev-util/cmt/Manifest
@@ -0,0 +1,5 @@
+MD5 7c5a35c8be2d3b143210eaf8d64388ff ChangeLog 288
+MD5 d55ec37b624382cab0687b48674ca525 cmt-1.18.20060301.ebuild 1607
+MD5 114d61e10aa17f3b71985c584c8ebcd7 files/80cmt-mode-gentoo.el 205
+MD5 4831b6bacc528a3d94b4abc5099bcab7 files/digest-cmt-1.18.20060301 69
+MD5 2c2d668d98add1b58ce77ea24f619547 metadata.xml 680
diff --git a/dev-util/cmt/cmt-1.18.20060301.ebuild b/dev-util/cmt/cmt-1.18.20060301.ebuild
new file mode 100644
index 000000000..e680379a4
--- /dev/null
+++ b/dev-util/cmt/cmt-1.18.20060301.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit elisp-common toolchain-funcs versionator
+
+CPV=($(get_version_components ${PV}))
+CMT_PV=v${CPV[0]}r${CPV[1]}p${CPV[2]}
+
+DESCRIPTION="Cross platform configuration management environment"
+HOMEPAGE="http://www.cmtsite.org/"
+SRC_URI="http://www.cmtsite.org/${CMT_PV}/CMT${CMT_PV}.tar.gz"
+
+LICENSE="CeCILL-v2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="java doc"
+
+S=${WORKDIR}/CMT/${CMT_PV}
+CMTDIR=/usr/share/${PN}/${CMT_PV}
+
+src_compile() {
+ cd ${S}/mgr
+ ./INSTALL
+ source setup.sh
+ make \
+ cpp="$(tc-getCXX)" \
+ cppflags="${CXXFLAGS}" \
+ || die "make failed"
+}
+
+src_install() {
+ sed -i -e "s:${S}:${CMTDIR}:" mgr/setup.{sh,csh}
+ dodir ${CMTDIR}
+ cp -pPR mgr src "${D}"/${CMTDIR}
+ exeinto /usr/bin
+ newexe ${CMTCONFIG}/cmt.exe cmt
+
+ echo "CMTROOT=${CMTDIR}" > 99cmt
+ echo "CMTBIN=`uname`-`uname -m | sed -e 's# ##g'`" >> 99cmt
+ echo "CMTCONFIG=`${CMTROOT}/mgr/cmt_system.sh`" >> 99cmt
+
+ if use java; then
+ echo "#!/bin/sh" > jcmt
+ echo "java cmt_parser" >> jcmt
+ doexe jcmt
+ echo "CLASSPATH=${CLASSPATH}:${CMTDIR}/java/cmt.jar" >> 99cmt
+ fi
+ doenvd 99cmt
+ dodoc doc/*.txt
+ dohtml doc/{ChangeLog,ReleaseNotes}.html
+
+ if use doc; then
+ cd ${S}/mgr
+ make gendoc
+ cd ${S}/doc
+ dohtml -r CMTDoc.html Images CMTFAQ.html
+ fi
+ if use emacs; then
+ elisp-site-file-install \
+ doc/cmt-mode.el ${FILESDIR}/80cmt-mode-gentoo.el
+ insinto ${CMTDIR}/xemacs
+ doins ${S}/doc/init.el
+ fi
+}
+
+pkg_postinst () {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-util/cmt/files/80cmt-mode-gentoo.el b/dev-util/cmt/files/80cmt-mode-gentoo.el
new file mode 100644
index 000000000..20131f4a8
--- /dev/null
+++ b/dev-util/cmt/files/80cmt-mode-gentoo.el
@@ -0,0 +1,6 @@
+;; Automatically load the CMT mode.
+
+(autoload 'cmt-mode "cmt-mode" "CMT requirements file editing mode." t)
+(setq auto-mode-alist
+ (append (list (cons "requirements$" 'cmt-mode)) auto-mode-alist))
+
diff --git a/dev-util/cmt/files/digest-cmt-1.18.20060301 b/dev-util/cmt/files/digest-cmt-1.18.20060301
new file mode 100644
index 000000000..54ccb91f3
--- /dev/null
+++ b/dev-util/cmt/files/digest-cmt-1.18.20060301
@@ -0,0 +1 @@
+MD5 eef465dc91e1de69d445a5de8b935218 CMTv1r18p20060301.tar.gz 648377
diff --git a/dev-util/cmt/metadata.xml b/dev-util/cmt/metadata.xml
new file mode 100644
index 000000000..e55499b03
--- /dev/null
+++ b/dev-util/cmt/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>seb@ist.utl.pt</email>
+ <name> Sebastien Fabbro</name>
+ </maintainer>
+ <longdescription lang="en">
+ CMT is a configuration management environment, based on some
+ management conventions and comprises several shell-based
+ utilities. It is an attempt to formalize software production and
+ especially configuration management around a package-oriented
+ principle. Used mainly in High Energy Physics large experiments, where
+ a lot of tailored packages are developped.
+ </longdescription>
+</pkgmetadata>