diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2004-06-16 15:14:49 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2004-06-16 15:14:49 +0000 |
commit | 816ae629d55d1c6c5cf1ad6b229d88fc805b5f51 (patch) | |
tree | 09e285f152af1689a37cec8e38b9fb6cc604baeb /app-editors/scite | |
parent | Add my public_html as an alternate download site for the sake of being able t... (diff) | |
download | gentoo-2-816ae629d55d1c6c5cf1ad6b229d88fc805b5f51.tar.gz gentoo-2-816ae629d55d1c6c5cf1ad6b229d88fc805b5f51.tar.bz2 gentoo-2-816ae629d55d1c6c5cf1ad6b229d88fc805b5f51.zip |
Version bump #50653
Diffstat (limited to 'app-editors/scite')
-rw-r--r-- | app-editors/scite/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/scite/Manifest | 4 | ||||
-rw-r--r-- | app-editors/scite/files/digest-scite-1.6.0 | 1 | ||||
-rw-r--r-- | app-editors/scite/scite-1.6.0.ebuild | 75 |
4 files changed, 85 insertions, 2 deletions
diff --git a/app-editors/scite/ChangeLog b/app-editors/scite/ChangeLog index 7461ded04608..118aadef9999 100644 --- a/app-editors/scite/ChangeLog +++ b/app-editors/scite/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/scite # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.19 2004/06/16 15:11:21 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.20 2004/06/16 15:14:49 pythonhead Exp $ + +*scite-1.6.0 (16 Jun 2004) + + 16 Jun 2004; Rob Cakebread <pythonhead@gentoo.org> +scite-1.6.0.ebuild: + Version bump #50653 *scite-1.5.9 (16 Jun 2004) diff --git a/app-editors/scite/Manifest b/app-editors/scite/Manifest index 9778a7e4c472..4d98a0610d2c 100644 --- a/app-editors/scite/Manifest +++ b/app-editors/scite/Manifest @@ -1,13 +1,15 @@ -MD5 c45baebeeb1203d667bcd274e33bbe94 ChangeLog 3247 +MD5 a0d979ffe30f7f313faa34e12385f064 ChangeLog 3372 MD5 4eb1abff335478b86f5c65997e0148f2 metadata.xml 222 MD5 13151de12e4d63f8cd27953785d080b6 scite-1.4.9.ebuild 1332 MD5 04141ef2c080bab7fb6f2432b41f40ab scite-1.5.6.ebuild 1684 MD5 2b9255d64e1016a0d439d89441bd36e0 scite-1.5.7.ebuild 1868 MD5 1869027fadf2983006d82d2ba49f71e9 scite-1.5.8.ebuild 1866 MD5 c14605481870ce4bbab0b8c36c51486e scite-1.5.9.ebuild 1872 +MD5 292167f897d55d75939c24203750fb48 scite-1.6.0.ebuild 1867 MD5 e21b1647de51e2cea2682beaf5522ea7 files/digest-scite-1.4.9 57 MD5 80608721073d877a62ab114df64994fe files/digest-scite-1.5.6 57 MD5 db1df48699c3abfa8938d151233eaefc files/digest-scite-1.5.7 57 MD5 3c64c2bf7e3e5fc10e24e76b905dfdcb files/digest-scite-1.5.8 57 MD5 2561568c62ec3edc2b46be6638c80427 files/scite.desktop 169 MD5 8bdf42e755829d9b6a28c04b1a69c263 files/digest-scite-1.5.9 57 +MD5 ebe4ebc096f9615bebb39b9cb873694d files/digest-scite-1.6.0 58 diff --git a/app-editors/scite/files/digest-scite-1.6.0 b/app-editors/scite/files/digest-scite-1.6.0 new file mode 100644 index 000000000000..3db93b5240eb --- /dev/null +++ b/app-editors/scite/files/digest-scite-1.6.0 @@ -0,0 +1 @@ +MD5 ec415f92ba5274366391563c8344fd0b scite160.tgz 1104293 diff --git a/app-editors/scite/scite-1.6.0.ebuild b/app-editors/scite/scite-1.6.0.ebuild new file mode 100644 index 000000000000..70e6a0346cb8 --- /dev/null +++ b/app-editors/scite/scite-1.6.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-1.6.0.ebuild,v 1.1 2004/06/16 15:14:49 pythonhead 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 ) + !gtk2? ( =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="GTK1=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 + +} + |