diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-01-09 01:41:11 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-01-09 01:41:11 +0000 |
commit | 27354a24c0198ea45d381d2dbf0688cd6214c2db (patch) | |
tree | 5893037216a625c33b8d12dacfcbdd6fd26f3429 /app-editors/scite | |
parent | oops, forgot this one yesterday - improvements for 2.4.2 (diff) | |
download | gentoo-2-27354a24c0198ea45d381d2dbf0688cd6214c2db.tar.gz gentoo-2-27354a24c0198ea45d381d2dbf0688cd6214c2db.tar.bz2 gentoo-2-27354a24c0198ea45d381d2dbf0688cd6214c2db.zip |
version bump. modified ebuild submitted by Adam Chodorowski <adam@chodorowski.com> (bug #35493)
Diffstat (limited to 'app-editors/scite')
-rw-r--r-- | app-editors/scite/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/scite/Manifest | 2 | ||||
-rw-r--r-- | app-editors/scite/files/digest-scite-1.5.7 | 1 | ||||
-rw-r--r-- | app-editors/scite/scite-1.5.7.ebuild | 74 |
4 files changed, 84 insertions, 1 deletions
diff --git a/app-editors/scite/ChangeLog b/app-editors/scite/ChangeLog index a76a91375ea7..08803e65e705 100644 --- a/app-editors/scite/ChangeLog +++ b/app-editors/scite/ChangeLog @@ -1,6 +1,12 @@ # 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.14 2003/11/08 16:36:24 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.15 2004/01/09 01:41:11 liquidx Exp $ + +*scite-1.5.7 (09 Jan 2004) + + 09 Jan 2004; Alastair Tse <liquidx@gentoo.org> scite-1.5.7.ebuild: + version bump. modified ebuild submitted by Adam Chodorowski + <adam@chodorowski.com> (bug #35493) *scite-1.5.6 (08 Nov 2003) diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest index bb2cfe6ce018..6ab976ca5f43 100644 --- a/app-editors/scite/Manifest +++ b/app-editors/scite/Manifest @@ -4,8 +4,10 @@ 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 337f3df268594b57158f494e3e8a3c6b scite-1.5.6.ebuild 1681 +MD5 337f3df268594b57158f494e3e8a3c6b scite-1.5.7.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 MD5 80608721073d877a62ab114df64994fe files/digest-scite-1.5.6 57 +MD5 db1df48699c3abfa8938d151233eaefc files/digest-scite-1.5.7 57 MD5 2561568c62ec3edc2b46be6638c80427 files/scite.desktop 169 diff --git a/app-editors/scite/files/digest-scite-1.5.7 b/app-editors/scite/files/digest-scite-1.5.7 new file mode 100644 index 000000000000..322b61c4fea5 --- /dev/null +++ b/app-editors/scite/files/digest-scite-1.5.7 @@ -0,0 +1 @@ +MD5 d8d18de553555437791996daed9ff7ec scite157.tgz 904012 diff --git a/app-editors/scite/scite-1.5.7.ebuild b/app-editors/scite/scite-1.5.7.ebuild new file mode 100644 index 000000000000..a410e7214abb --- /dev/null +++ b/app-editors/scite/scite-1.5.7.ebuild @@ -0,0 +1,74 @@ +# 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.7.ebuild,v 1.1 2004/01/09 01:41:11 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 ${WORKDIR}/scintilla/gtk + sed -i makefile \ + -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \ + -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \ + -e "s#^CC =\(.*\)#CC = ${CXX:-g++}#" \ + || die "error patching makefile" + + cd ${S} + sed -i makefile \ + -e 's#usr/local#usr#g' \ + -e 's#/gnome/apps/Applications#/applications#' \ + -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \ + -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \ + -e "s#^CC =\(.*\)#CC = ${CXX:-g++}#" \ + -e 's#${D}##' \ + || 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 + +} + |