summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-03-12 16:21:26 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-03-12 16:21:26 +0000
commit8cf810fcb6ce2e98ec066978cf6db490c5e401bc (patch)
treee61cb8332ab2b013bbae5d383e8af3fc07060681 /dev-util/cmt
parentMarking c2hs-0.16.3 ppc64 for bug 399971 (diff)
downloadhistorical-8cf810fcb6ce2e98ec066978cf6db490c5e401bc.tar.gz
historical-8cf810fcb6ce2e98ec066978cf6db490c5e401bc.tar.bz2
historical-8cf810fcb6ce2e98ec066978cf6db490c5e401bc.zip
Version bump
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-util/cmt')
-rw-r--r--dev-util/cmt/ChangeLog9
-rw-r--r--dev-util/cmt/Manifest10
-rw-r--r--dev-util/cmt/cmt-1.24.ebuild97
3 files changed, 110 insertions, 6 deletions
diff --git a/dev-util/cmt/ChangeLog b/dev-util/cmt/ChangeLog
index 721f4fd2f6f0..a32493fc61ef 100644
--- a/dev-util/cmt/ChangeLog
+++ b/dev-util/cmt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cmt
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.10 2011/12/29 09:04:19 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/ChangeLog,v 1.11 2012/03/12 16:21:26 bicatali Exp $
+
+*cmt-1.24 (12 Mar 2012)
+
+ 12 Mar 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +cmt-1.24.ebuild:
+ Version bump
*cmt-1.23 (29 Dec 2011)
diff --git a/dev-util/cmt/Manifest b/dev-util/cmt/Manifest
index 98b1d16178b5..b14fb7a83887 100644
--- a/dev-util/cmt/Manifest
+++ b/dev-util/cmt/Manifest
@@ -5,14 +5,16 @@ AUX 80cmt-mode-gentoo.el 207 RMD160 f2bc0327ce783dbb1c909883b43a9a94566e2f77 SHA
AUX cmt-1.22-limits.patch 268 RMD160 3ef0a88a6472cdea2fef586ece1e75e808ea2fdf SHA1 da10dc26563df8ff57e40613ca7f17c15caf7b30 SHA256 59045566332a4fd98119cffd3b825f3a87e70ad992559508bf5c54114467c711
DIST CMTv1r22.tar.gz 2146071 RMD160 83d14a0c97ca77048b210341feb81e6e4b8585d6 SHA1 bb17466b288534367f466d71be17586cdf720441 SHA256 c12c0096910777b9acfaee8a61b503902161c32a433a3d28904e26674e110475
DIST CMTv1r23.tar.gz 2160817 RMD160 008127cfae201e04e0c738f64aa9866cd34820dd SHA1 44c06fa818994dfd373ef9be2ff6500c922c7484 SHA256 8ba3178fe3b55685779f68b9e425ed12e20cb152198ef25650a1a1c99617b0c7
+DIST CMTv1r24.tar.gz 2183271 RMD160 c905af65b89a8bf9dfd6705ea326ea444ca25ce1 SHA1 1f574b9ad6c1e1a90de2e56168ba3db78c2da919 SHA256 300ad0096f1623f24596d7b1163a6bc547e8943697b85322636e0708350fc549
EBUILD cmt-1.22.ebuild 2170 RMD160 b465dc53c005a9dcbce49a5f31552e75f1abb067 SHA1 7db27ef5a7d8a378f5e1e3020c994acdbfa0c841 SHA256 682feb08a3545389036930d89de269deb01bf2171dc36bdfd907f406221d0d26
EBUILD cmt-1.23.ebuild 2176 RMD160 1937282efdd51e99c26dd46f159e523fa4431c96 SHA1 2910f8d09354b68abbc69f97009f2de0b85ab754 SHA256 e43f29319c1bc65106d30866020f2874db32d169770be9d1e305744f4f3862cf
-MISC ChangeLog 1774 RMD160 265d365ba12a1e23e7216548af3d57cbedd8e175 SHA1 ccc953fba908b494752e81b9e0575417bb884b2f SHA256 71b04610f542ee9630c0dc6c58eb9be650acff8a20d486e2db1b58ea78803cbd
+EBUILD cmt-1.24.ebuild 2176 RMD160 5e20d0dc2e1a7e586b86ac7bb4bd55a6b48572c0 SHA1 08016ef7741ed8c885cc716e675fea7a9f5f6067 SHA256 d3a9a57aebee5a02eb9e1ed4a339940b3a8418c11a1b134e9a3238a8e1415859
+MISC ChangeLog 1888 RMD160 d530dd9ea28ef55d997289d5ee4c4f090b0f3aa0 SHA1 2ecaba08f6cb94692d971b3017f65e3a42b3e7ce SHA256 6fb1f7ec199007925810680d340d501ebb95f4aca567a02d023642d256e67300
MISC metadata.xml 662 RMD160 52b3a769c6d2612e7e3231020564e75c3ea89c19 SHA1 0a15c7691cca2b8555da8cda802a8a6607d3b787 SHA256 4a34d25132d1db15281f2766de3d48870b3f40642e5bda1d92019a226381fd51
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk78LRsACgkQ1ycZbhPLE2DIRQCfe3MRzBW3War6483wvAWkcZNi
-q5EAnR2wHb1w2mTWLiANW8HWOSfX6WkO
-=hCk5
+iEYEARECAAYFAk9eIo8ACgkQ1ycZbhPLE2AligCfbi8UwM9qQDky7TAOmk1mlBzn
+x5YAn35BksiCBhTUv5/4N/AMGym/CqQ4
+=+GWl
-----END PGP SIGNATURE-----
diff --git a/dev-util/cmt/cmt-1.24.ebuild b/dev-util/cmt/cmt-1.24.ebuild
new file mode 100644
index 000000000000..257744eb996f
--- /dev/null
+++ b/dev-util/cmt/cmt-1.24.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmt/cmt-1.24.ebuild,v 1.1 2012/03/12 16:21:26 bicatali Exp $
+
+EAPI=4
+inherit eutils elisp-common toolchain-funcs versionator
+
+CPV=($(get_version_components ${PV}))
+CMT_PV=v${CPV[0]}r${CPV[1]}
+
+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-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs java doc"
+
+DEPEND="emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}
+ java? ( virtual/jdk )"
+
+S="${WORKDIR}/CMT/${CMT_PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.22-limits.patch
+}
+
+src_configure() {
+ cd "${S}"/mgr
+ ./INSTALL
+ source setup.sh
+}
+
+src_compile() {
+ cd "${S}"/mgr
+ emake -j1 \
+ cpp="$(tc-getCXX)" \
+ cppflags="${CXXFLAGS}" \
+ cpplink="$(tc-getCXX) ${LDFLAGS}"
+
+ sed -i -e "s:${WORKDIR}:${EPREFIX}/usr/$(get_libdir):g" setup.*sh || die
+ cd "${S}"
+ mv src/demo .
+ rm -f ${CMTBIN}/*.o
+
+ if use emacs; then
+ elisp-compile doc/cmt-mode.el || die
+ fi
+}
+
+src_install() {
+ CMTDIR="${EPREFIX}"/usr/$(get_libdir)/CMT/${CMT_PV}
+ dodir ${CMTDIR}
+ cp -pPR mgr src ${CMTBIN} "${ED}"/${CMTDIR} || die
+ dodir /usr/bin
+ dosym ${CMTDIR}/${CMTBIN}/cmt.exe /usr/bin/cmt
+
+ cat > 99cmt <<-EOF
+ CMTROOT="${CMTDIR}"
+ CMTBIN="$(uname)-$(uname -m | sed -e 's# ##g')"
+ CMTCONFIG="$(${CMTROOT}/mgr/cmt_system.sh)"
+ EOF
+ if use java; then
+ cp -pPR java "${ED}"/${CMTDIR}
+ echo "#!${EPREFIX}/bin/sh" > jcmt
+ echo "java cmt_parser" >> jcmt
+ exeinto /usr/bin
+ doexe jcmt
+ echo "CLASSPATH=\"${CMTDIR}/java/cmt.jar\"" >> 99cmt
+ fi
+
+ doenvd 99cmt
+ dodoc ChangeLog doc/*.txt
+ dohtml doc/{ChangeLog,ReleaseNotes}.html
+
+ if use doc; then
+ emake -C mgr gendoc
+ insinto /usr/share/doc/${PF}
+ doins -r doc/{CMTDoc,CMTFAQ}.{html,pdf} doc/Images
+ doins -r demo
+ fi
+
+ if use emacs; then
+ elisp-install ${PN} doc/cmt-mode.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}"/80cmt-mode-gentoo.el || die
+ fi
+}
+
+pkg_postinst () {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}