public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-cpp/ctemplate: ChangeLog ctemplate-0.99.ebuild ctemplate-0.95.ebuild
@ 2011-01-28 11:10 Tim Harder (radhermit)
  0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2011-01-28 11:10 UTC (permalink / raw
  To: gentoo-commits

radhermit    11/01/28 11:10:11

  Modified:             ChangeLog
  Added:                ctemplate-0.99.ebuild
  Removed:              ctemplate-0.95.ebuild
  Log:
  Version bump, add static-libs USE flag, and remove old.
  
  (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  dev-cpp/ctemplate/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	26 Oct 2010 07:41:45 -0000	1.8
+++ ChangeLog	28 Jan 2011 11:10:11 -0000	1.9
@@ -1,6 +1,12 @@
 # ChangeLog for dev-cpp/ctemplate
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.8 2010/10/26 07:41:45 radhermit Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ChangeLog,v 1.9 2011/01/28 11:10:11 radhermit Exp $
+
+*ctemplate-0.99 (28 Jan 2011)
+
+  28 Jan 2011; Tim Harder <radhermit@gentoo.org> -ctemplate-0.95.ebuild,
+  +ctemplate-0.99.ebuild:
+  Version bump, add static-libs USE flag, and remove old.
 
 *ctemplate-0.98 (26 Oct 2010)
 



1.1                  dev-cpp/ctemplate/ctemplate-0.99.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ctemplate-0.99.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/ctemplate/ctemplate-0.99.ebuild?rev=1.1&content-type=text/plain

Index: ctemplate-0.99.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-0.99.ebuild,v 1.1 2011/01/28 11:10:11 radhermit Exp $

EAPI="3"

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 ~amd64-linux ~x86-linux"
IUSE="doc emacs vim-syntax static-libs"

DEPEND=""
RDEPEND="vim-syntax? ( >=app-editors/vim-core-7 )
	emacs? ( virtual/emacs )"

SITEFILE="70ctemplate-gentoo.el"

src_configure() {
	econf \
		--disable-dependency-tracking \
		--enable-shared \
		$(use_enable static-libs static)
}

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 "${ED}/usr/share/doc"

	dodoc AUTHORS ChangeLog NEWS README
	use doc && 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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-28 11:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 11:10 [gentoo-commits] gentoo-x86 commit in dev-cpp/ctemplate: ChangeLog ctemplate-0.99.ebuild ctemplate-0.95.ebuild Tim Harder (radhermit)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox