diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2009-08-11 23:10:28 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2009-08-11 23:10:28 +0000 |
commit | fa8eabb5abc20c008abf7f865c049f3b5379aee4 (patch) | |
tree | 8f89873ca69a73bbdc7b162d7343e9f9cf9d2936 /dev-tcltk/ck | |
parent | added setqtenv in src_install (diff) | |
download | gentoo-2-fa8eabb5abc20c008abf7f865c049f3b5379aee4.tar.gz gentoo-2-fa8eabb5abc20c008abf7f865c049f3b5379aee4.tar.bz2 gentoo-2-fa8eabb5abc20c008abf7f865c049f3b5379aee4.zip |
fix collision with tcl-8.5
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/ck')
-rw-r--r-- | dev-tcltk/ck/ChangeLog | 9 | ||||
-rw-r--r-- | dev-tcltk/ck/ck-8.0-r2.ebuild | 42 |
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-tcltk/ck/ChangeLog b/dev-tcltk/ck/ChangeLog index 1704011c867d..264b322b71dd 100644 --- a/dev-tcltk/ck/ChangeLog +++ b/dev-tcltk/ck/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tcltk/ck -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ChangeLog,v 1.6 2009/05/03 19:24:53 mescalinum Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ChangeLog,v 1.7 2009/08/11 23:10:28 mescalinum Exp $ + +*ck-8.0-r2 (11 Aug 2009) + + 11 Aug 2009; Federico Ferri <mescalinum@gentoo.org> +ck-8.0-r2.ebuild: + fix collision with tcl-8.5 *ck-8.0-r1 (03 May 2009) diff --git a/dev-tcltk/ck/ck-8.0-r2.ebuild b/dev-tcltk/ck/ck-8.0-r2.ebuild new file mode 100644 index 000000000000..ecc699166073 --- /dev/null +++ b/dev-tcltk/ck/ck-8.0-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/ck/ck-8.0-r2.ebuild,v 1.1 2009/08/11 23:10:28 mescalinum Exp $ + +EAPI=2 + +MY_P=${PN}${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="A curses based toolkit for tcl" +HOMEPAGE="http://www.ch-werner.de/ck/" +SRC_URI="http://www.ch-werner.de/ck/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND=">=dev-lang/tk-8.0" +RDEPEND="${DEPEND}" + +src_prepare() { + # patch Makefile + sed -i \ + -e "s:mkdir:mkdir -p:g" \ + -e "s|install: |install: install-man |" \ + -e 's:^.*\(MAN_INSTALL_DIR\).*=.*$:\1 = $(INSTALL_ROOT)$(prefix)/share/man:g' \ + Makefile.in +} + +src_configure() { + econf --with-tcl=/usr/lib --enable-shared || die "econf failed" +} + +src_compile() { + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + dodoc README + einstall || die "Failed to install." + # fix file collision with tcl-8.5* + rm -f "${D}"/usr/share/man/mann/{exit,after,update,fileevent}.n* +} |