summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2009-07-22 14:16:47 +0000
committerTiziano Müller <dev-zero@gentoo.org>2009-07-22 14:16:47 +0000
commit9d1ab8416e988d814d21ce739d90775ef7590a18 (patch)
tree6bbb44af805b7dd4bdb1b4ffb0a14ca7732d1d69 /dev-cpp
parentarm/ia64/s390/sh/sparc stable wrt #275588 (diff)
downloadhistorical-9d1ab8416e988d814d21ce739d90775ef7590a18.tar.gz
historical-9d1ab8416e988d814d21ce739d90775ef7590a18.tar.bz2
historical-9d1ab8416e988d814d21ce739d90775ef7590a18.zip
Version bump (bug #264848, thanks to Tim Harder & Huber Kowalski).
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/ctemplate/ChangeLog9
-rw-r--r--dev-cpp/ctemplate/Manifest14
-rw-r--r--dev-cpp/ctemplate/ctemplate-0.95.ebuild60
3 files changed, 70 insertions, 13 deletions
diff --git a/dev-cpp/ctemplate/ChangeLog b/dev-cpp/ctemplate/ChangeLog
index 88a3261d83e9..f7482d93bd25 100644
--- a/dev-cpp/ctemplate/ChangeLog
+++ b/dev-cpp/ctemplate/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-cpp/ctemplate
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.3 2008/09/17 11:59:42 ulm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.4 2009/07/22 14:16:47 dev-zero Exp $
+
+*ctemplate-0.95 (22 Jul 2009)
+
+ 22 Jul 2009; Tiziano Müller <dev-zero@gentoo.org> +ctemplate-0.95.ebuild:
+ Version bump (bug #264848, thanks to Tim Harder & Huber Kowalski).
17 Sep 2008; Ulrich Mueller <ulm@gentoo.org> ctemplate-0.90.ebuild:
Use elisp-compile instead of elisp-comp, bug 235525.
diff --git a/dev-cpp/ctemplate/Manifest b/dev-cpp/ctemplate/Manifest
index 00205e44baea..dc32b34b404b 100644
--- a/dev-cpp/ctemplate/Manifest
+++ b/dev-cpp/ctemplate/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 0.90-missing_includes.patch 589 RMD160 3ab5f246fb2095bb171236f12b73c6e01148f863 SHA1 5fcdf49022b3ff7a315afb9282f8b14d9bb87db3 SHA256 fc0c6997ec2658801a961e46f68b3ab1609b5b8a7ee642ff138803ed1b2b1300
AUX 70ctemplate-gentoo.el 282 RMD160 3719bdae10ccdaaadf403b21031930f8f107d8fc SHA1 638e8e8d1614873fe6a85ab23d94875ac1b8019b SHA256 5b0f78a1bfc6171856ba0822612cff0a0451ee9c7969ab4ae935f15eed715de7
DIST ctemplate-0.90.tar.gz 606477 RMD160 a9dab446b3dd1c4b8917107856dc98f022e4b7ba SHA1 8c524c512812531965332a2dcf223618e67248fa SHA256 c97b3e63de89f19d391feb9a37ddd51d0cf299aabe523489d3b6a7b2d66bb713
+DIST ctemplate-0.95.tar.gz 755764 RMD160 4011c03ec8a484e94ea90935ad84f5b97ff39ee3 SHA1 e8267067747d6cd38e6314d68192a942909d5cee SHA256 4d14169438705c30d7c67a98810e61fdf521b61e894c41200fb8f30c170dc768
EBUILD ctemplate-0.90.ebuild 1513 RMD160 fdc70ae64064960ad54d35d168629faa0fe505ca SHA1 dd8bf83839dcc72373a11a12974685a2980aed75 SHA256 6f94e0645952ae1c57feb5f945d2c8b1152690369505cce9d2a721aee827d3ba
-MISC ChangeLog 757 RMD160 cdb4693c1e3dfa466be0dfbc9b6fb6ed18637f9e SHA1 5122d7022d04e3718a2cb0b4ca9042ecb38e9faa SHA256 bbc335e9ae703c6f291683cbfdf765a5076b98d5c5542ef626ddef4bdfa5af32
+EBUILD ctemplate-0.95.ebuild 1399 RMD160 2ff56a62dd82e753772e35a76dbaf7e9fd1b0915 SHA1 3e97bcbf33bfcea9d709b0eecb28928463c9126c SHA256 f255632582981371329cf0d8c50bfe7dc6dd9f1e459ec10640b7f58a1c97b8f1
+MISC ChangeLog 940 RMD160 caed893c53c6f4c80d558826ccb49386b17c5ea5 SHA1 1510af7b603e21704b60af73e9eff9cea05822a2 SHA256 ab03f27db90a1e46308394f1ee6d611fb6dea76d8c9cf6c16d884add9c1f4bff
MISC metadata.xml 156 RMD160 537178ef5a820896e97475fb9aded47d50474bef SHA1 2a4ef4879b918a28132d21cd6d1bbaa2a30dccde SHA256 0e8490f9c62cb74e5894b52f643a02de0024d97dbfebad43082dce6bcb39555f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
-
-iEYEARECAAYFAkjQ8TMACgkQOeoy/oIi7uxjRACbB4F191oO7oSdw9mHSXYH5XWK
-ZOgAoL/GAn6r+tfActx8bDp/u+ByEjuM
-=JILy
------END PGP SIGNATURE-----
diff --git a/dev-cpp/ctemplate/ctemplate-0.95.ebuild b/dev-cpp/ctemplate/ctemplate-0.95.ebuild
new file mode 100644
index 000000000000..a65533940da0
--- /dev/null
+++ b/dev-cpp/ctemplate/ctemplate-0.95.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-0.95.ebuild,v 1.1 2009/07/22 14:16:47 dev-zero Exp $
+
+EAPI="2"
+
+inherit elisp-common
+
+DESCRIPTION="A simple but powerful template language for C++"
+HOMEPAGE="http://code.google.com/p/google-ctemplate/"
+SRC_URI="http://google-ctemplate.googlecode.com/files/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs vim-syntax"
+
+DEPEND=""
+RDEPEND="vim-syntax? ( >=app-editors/vim-core-7 )
+ emacs? ( virtual/emacs )"
+
+SITEFILE="70ctemplate-gentoo.el"
+
+src_compile() {
+ emake || die "emake failed"
+
+ if use emacs ; then
+ elisp-compile contrib/tpl-mode.el || die "elisp-compile failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # Installs just every piece
+ rm -rf "${D}/usr/share/doc"
+
+ dodoc AUTHORS ChangeLog NEWS README
+ dohtml doc/*
+
+ if use vim-syntax ; then
+ cd "${S}/contrib"
+ sh highlighting.vim || die "unpacking vim scripts failed"
+ insinto /usr/share/vim/vimfiles
+ doins -r .vim/*
+ fi
+
+ if use emacs ; then
+ cd "${S}/contrib"
+ elisp-install ${PN} tpl-mode.el tpl-mode.elc || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}