summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-01-12 21:38:02 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-01-12 21:38:02 +0000
commit6d0410d2e29c0094cb5ed1df1fa8f3184c40e756 (patch)
treedf081a6d1f56278db74c93f59307dd078eb1ae72 /dev-tex/sketch
parentMarking taglib-extras-1.0.1 ~ppc64 for bug 280552 (diff)
downloadgentoo-2-6d0410d2e29c0094cb5ed1df1fa8f3184c40e756.tar.gz
gentoo-2-6d0410d2e29c0094cb5ed1df1fa8f3184c40e756.tar.bz2
gentoo-2-6d0410d2e29c0094cb5ed1df1fa8f3184c40e756.zip
version bump
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/sketch')
-rw-r--r--dev-tex/sketch/ChangeLog9
-rw-r--r--dev-tex/sketch/sketch-0.2.161.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-tex/sketch/ChangeLog b/dev-tex/sketch/ChangeLog
index 6cbcd856b51e..3fc9f741d102 100644
--- a/dev-tex/sketch/ChangeLog
+++ b/dev-tex/sketch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/sketch
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/ChangeLog,v 1.7 2009/08/07 09:41:36 aballier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/ChangeLog,v 1.8 2010/01/12 21:38:02 aballier Exp $
+
+*sketch-0.2.161 (12 Jan 2010)
+
+ 12 Jan 2010; Alexis Ballier <aballier@gentoo.org> +sketch-0.2.161.ebuild:
+ version bump
07 Aug 2009; Alexis Ballier <aballier@gentoo.org> -sketch-0.2.141.ebuild:
remove old
diff --git a/dev-tex/sketch/sketch-0.2.161.ebuild b/dev-tex/sketch/sketch-0.2.161.ebuild
new file mode 100644
index 000000000000..174c2c7eec9b
--- /dev/null
+++ b/dev-tex/sketch/sketch-0.2.161.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/sketch-0.2.161.ebuild,v 1.1 2010/01/12 21:38:02 aballier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX"
+HOMEPAGE="http://www.frontiernet.net/~eugene.ressler/"
+SRC_URI="http://www.frontiernet.net/~eugene.ressler/${P}.tgz"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="doc examples"
+
+DEPEND="dev-lang/perl"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ sed -i -e "s:\$(CC):\$(CC) \$(LDFLAGS):" makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin sketch || die
+ edos2unix Doc/sketch.info
+ doinfo Doc/sketch.info || die
+ dohtml updates.htm || die
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins Doc/sketch.pdf || die
+ dohtml Doc/sketch/* || die
+ fi
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins Data/* || die "Failed to install examples"
+ fi
+}