summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-11-08 16:36:33 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-11-08 16:36:33 +0000
commit914f1e9d90234b8444b68bb4662588710ee8762e (patch)
tree27fb67067c9ddf57ac8559b25c367f60c7164385 /app-editors/scite
parentversion bump (diff)
downloadgentoo-2-914f1e9d90234b8444b68bb4662588710ee8762e.tar.gz
gentoo-2-914f1e9d90234b8444b68bb4662588710ee8762e.tar.bz2
gentoo-2-914f1e9d90234b8444b68bb4662588710ee8762e.zip
version bump
Diffstat (limited to 'app-editors/scite')
-rw-r--r--app-editors/scite/ChangeLog7
-rw-r--r--app-editors/scite/Manifest4
-rw-r--r--app-editors/scite/files/digest-scite-1.5.61
-rw-r--r--app-editors/scite/scite-1.5.6.ebuild68
4 files changed, 77 insertions, 3 deletions
diff --git a/app-editors/scite/ChangeLog b/app-editors/scite/ChangeLog
index 9c0d37cf0470..a76a91375ea7 100644
--- a/app-editors/scite/ChangeLog
+++ b/app-editors/scite/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/scite
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.13 2003/10/13 20:27:29 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.14 2003/11/08 16:36:24 liquidx Exp $
+
+*scite-1.5.6 (08 Nov 2003)
+
+ 08 Nov 2003; Alastair Tse <liquidx@gentoo.org> scite-1.5.6.ebuild:
+ version bump (#32984)
13 Oct 2003; Alastair Tse <liquidx@gentoo.org> scite-1.5.4.ebuild:
make it foolproof to CXX not being set
diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest
index 2c4d7eccbfff..bb2cfe6ce018 100644
--- a/app-editors/scite/Manifest
+++ b/app-editors/scite/Manifest
@@ -1,9 +1,9 @@
-MD5 226e913d074f499fbc1532a56dcb5d2b ChangeLog 2294
+MD5 da02db46a9d5bc1c53f158a2e27932c4 ChangeLog 2416
MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219
MD5 9b99c735833410c4d863b47c0ee61d60 scite-1.4.9.ebuild 1329
MD5 7954463b548282c780a5674346e39c54 scite-1.5.1.ebuild 1330
MD5 eb336b16dcbf235faeb51eabf76314a1 scite-1.5.4.ebuild 1680
-MD5 46e12427272da5c369562d5f63098075 scite-1.5.6.ebuild 1681
+MD5 337f3df268594b57158f494e3e8a3c6b scite-1.5.6.ebuild 1681
MD5 e21b1647de51e2cea2682beaf5522ea7 files/digest-scite-1.4.9 57
MD5 9ee947d9de84f03b11e6b1f7f195d87a files/digest-scite-1.5.1 57
MD5 8f703db06b0c2938ae6349c2970ead59 files/digest-scite-1.5.4 57
diff --git a/app-editors/scite/files/digest-scite-1.5.6 b/app-editors/scite/files/digest-scite-1.5.6
new file mode 100644
index 000000000000..d4232f6af8a0
--- /dev/null
+++ b/app-editors/scite/files/digest-scite-1.5.6
@@ -0,0 +1 @@
+MD5 83a4d56bc06f168107127d3717399295 scite156.tgz 891609
diff --git a/app-editors/scite/scite-1.5.6.ebuild b/app-editors/scite/scite-1.5.6.ebuild
new file mode 100644
index 000000000000..8bd7e0c28ded
--- /dev/null
+++ b/app-editors/scite/scite-1.5.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-1.5.6.ebuild,v 1.1 2003/11/08 16:36:24 liquidx Exp $
+
+
+MY_PV=$(echo ${PV} | sed 's:\.::g')
+
+DESCRIPTION="A very powerful editor for programmers"
+SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
+HOMEPAGE="http://www.scintilla.org"
+
+DEPEND="gtk2? ( >=x11-libs/gtk+-2 ) : ( =x11-libs/gtk+-1.2* )
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/${PN}/gtk
+
+SLOT="0"
+LICENSE="PYTHON"
+KEYWORDS="~x86 ~ppc ~sparc"
+IUSE="gtk2 gnome"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i makefile \
+ -e 's#usr/local#usr#g' \
+ -e 's#$(datadir)#${D}$(datadir)#g' \
+ -e 's#/gnome/apps/Applications#/applications#' \
+ -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
+ -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
+ -e "s#^CC =\(.*\)#CC = ${CXX:-g++}#" \
+ || die "error patching makefile"
+
+}
+
+src_compile() {
+ local makeopts
+ use gtk2 && makeopts="GTK2=1"
+ #use debug && makeopts="${makeopts} DEBUG=1"
+
+ make -C ../../scintilla/gtk ${makeopts} || die "prep make failed"
+ emake ${makeopts} || die "make failed"
+}
+
+src_install () {
+ dodir /usr
+ dodir /usr/bin
+ dodir /usr/share
+ dodir /usr/share/pixmaps
+ dodir /usr/share/applications
+
+ make prefix=${D}/usr install || die
+
+ # we have to keep this because otherwise it'll break upgrading
+ mv ${D}/usr/bin/SciTE ${D}/usr/bin/scite
+ dosym /usr/bin/scite /usr/bin/SciTE
+
+ # replace .desktop file with our own working version
+ insinto /usr/share/applications
+ rm -f ${D}/usr/share/applications/SciTE.desktop
+ doins ${FILESDIR}/scite.desktop
+
+ doman ../doc/scite.1
+ dodoc ../License.txt ../README
+
+}
+