summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2004-06-15 17:35:29 +0000
committerCarsten Lohrke <carlo@gentoo.org>2004-06-15 17:35:29 +0000
commitd9739788b788e003e07bc1d1fb6ade5809392557 (patch)
treee1840a055e1e3404b8a97eeb94cd82c7c279a158 /app-editors/cute
parentVersion bump. (diff)
downloadhistorical-d9739788b788e003e07bc1d1fb6ade5809392557.tar.gz
historical-d9739788b788e003e07bc1d1fb6ade5809392557.tar.bz2
historical-d9739788b788e003e07bc1d1fb6ade5809392557.zip
initial ebuild
Diffstat (limited to 'app-editors/cute')
-rw-r--r--app-editors/cute/ChangeLog10
-rw-r--r--app-editors/cute/Manifest4
-rw-r--r--app-editors/cute/cute-0.2.8.ebuild53
-rw-r--r--app-editors/cute/files/digest-cute-0.2.81
-rw-r--r--app-editors/cute/metadata.xml5
5 files changed, 73 insertions, 0 deletions
diff --git a/app-editors/cute/ChangeLog b/app-editors/cute/ChangeLog
new file mode 100644
index 000000000000..00d18f849d81
--- /dev/null
+++ b/app-editors/cute/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-editors/cute
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/cute/ChangeLog,v 1.1 2004/06/15 17:35:29 carlo Exp $
+
+*cute-0.2.8 (15 Jun 2004)
+
+ 15 Jun 2004; Carsten Lohrke <carlo@gentoo.org> cute-0.2.8.ebuild,
+ metadata.xml:
+ Initial ebuild. Thanks to David Rowntree.
+
diff --git a/app-editors/cute/Manifest b/app-editors/cute/Manifest
new file mode 100644
index 000000000000..f3f8995ee50d
--- /dev/null
+++ b/app-editors/cute/Manifest
@@ -0,0 +1,4 @@
+MD5 953e5d388c6a78502ae55173b19c9a84 cute-0.2.8.ebuild 1507
+MD5 2e16a650f4445059fe0630224b2656b3 ChangeLog 368
+MD5 70f06600556327dcfbc31fa03f610042 metadata.xml 155
+MD5 ef50d0c86bf0b3220772e647250bbcbe files/digest-cute-0.2.8 63
diff --git a/app-editors/cute/cute-0.2.8.ebuild b/app-editors/cute/cute-0.2.8.ebuild
new file mode 100644
index 000000000000..227ad18deb5c
--- /dev/null
+++ b/app-editors/cute/cute-0.2.8.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/cute/cute-0.2.8.ebuild,v 1.1 2004/06/15 17:35:29 carlo Exp $
+
+inherit distutils
+
+MY_P=${PN}-${PV/*.*.*.*/${PV%.*}-${PV##*.}}
+
+DESCRIPTION="CUTE is a Qt and Scintilla based text editor which can be easily extended using Python"
+HOMEPAGE="http://cute.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cute/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND="sys-apps/sed
+ virtual/python
+ >=x11-libs/qt-3.1
+ =dev-python/qscintilla-1.60"
+
+src_unpack() {
+ unpack ${A}
+ distutils_python_version
+ cd ${S}/cute
+ sed -i -e "s:../qscintilla/:${QTDIR}:" -e "s:python2.2:python${PYVER}:g" cute.pro
+}
+
+src_compile() {
+ cd ${S}/cute
+ [ -d "$QTDIR/etc/settings" ] && addwrite "$QTDIR/etc/settings"
+ addpredict "$QTDIR/etc/settings"
+ qmake -o Makefile cute.pro
+ sed -i -e "s:CFLAGS = -pipe -O2:CFLAGS = ${CFLAGS}:" \
+ -e "s:CXXFLAGS = -pipe -O2:CXXFLAGS = ${CXXFLAGS}:" Makefile
+ emake || die
+}
+
+src_install() {
+ dobin ${S}/bin/cute
+ use doc && ( dohtml -r ${S}/cute/doc/doc/*
+ dosym index.html /usr/share/doc/${PF}/html/book1.html
+ insinto /usr/share/doc/${PF}/api
+ doins ${S}/cute/cute-api/html/* )
+ insinto /usr/share/cute/langs
+ doins ${S}/cute/langs/*
+ insinto /usr/share/cute/lib/scripts/
+ doins ${S}/cute/scripts/*
+ insinto /usr/share/icons
+ doins ${S}/cute/icons/cute.xpm
+ dodoc changelog.txt LICENSE INSTALL README
+} \ No newline at end of file
diff --git a/app-editors/cute/files/digest-cute-0.2.8 b/app-editors/cute/files/digest-cute-0.2.8
new file mode 100644
index 000000000000..ad845ce571ed
--- /dev/null
+++ b/app-editors/cute/files/digest-cute-0.2.8
@@ -0,0 +1 @@
+MD5 e8880c2ac9d60000497cbab241d22d69 cute-0.2.8.tar.gz 1180825
diff --git a/app-editors/cute/metadata.xml b/app-editors/cute/metadata.xml
new file mode 100644
index 000000000000..dc439f7e84f5
--- /dev/null
+++ b/app-editors/cute/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+</pkgmetadata>