summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-27 22:29:37 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-27 22:29:37 +0000
commit063885be92054f880726b3a9f9e99cb8122254f2 (patch)
tree089a6d03e2eebdf734fa60a2741383d1b590a895 /app-editors/fte
parentremoved older ebuild (diff)
downloadgentoo-2-063885be92054f880726b3a9f9e99cb8122254f2.tar.gz
gentoo-2-063885be92054f880726b3a9f9e99cb8122254f2.tar.bz2
gentoo-2-063885be92054f880726b3a9f9e99cb8122254f2.zip
added USE based x11 dependency
Diffstat (limited to 'app-editors/fte')
-rw-r--r--app-editors/fte/ChangeLog10
-rw-r--r--app-editors/fte/files/digest-fte-20010819-r3 (renamed from app-editors/fte/files/digest-fte-20010819-r1)0
-rw-r--r--app-editors/fte/fte-20010819-r1.ebuild85
-rw-r--r--app-editors/fte/fte-20010819-r3.ebuild86
4 files changed, 95 insertions, 86 deletions
diff --git a/app-editors/fte/ChangeLog b/app-editors/fte/ChangeLog
index 8c5f73be48b2..1d40cb5624d3 100644
--- a/app-editors/fte/ChangeLog
+++ b/app-editors/fte/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-editors/fte
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/ChangeLog,v 1.4 2002/04/24 23:04:10 spider Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/ChangeLog,v 1.5 2002/04/27 22:29:37 seemant Exp $
+
+*fte-20010819-r3 (27 Apr 2002)
+
+ 27 Apr 2002; Seemant Kulleen <seemant@gentoo.org> fte-20010819-r3.ebuild
+ files/diges-fte-20010819-r3 :
+
+ Added USE based dependency on virtual/x11. Thanks to bug #2154 by
+ sascha-gentoo-bugzilla@silbe.org (Sascha Silbe)
*fte-20010819-r2 (24 Apr 2002)
24 Apr 2002; Spider <spider@gentoo.org> ChangeLog fte-20010819-r2.ebuild :
diff --git a/app-editors/fte/files/digest-fte-20010819-r1 b/app-editors/fte/files/digest-fte-20010819-r3
index 3d609e9b99c3..3d609e9b99c3 100644
--- a/app-editors/fte/files/digest-fte-20010819-r1
+++ b/app-editors/fte/files/digest-fte-20010819-r3
diff --git a/app-editors/fte/fte-20010819-r1.ebuild b/app-editors/fte/fte-20010819-r1.ebuild
deleted file mode 100644
index fa02af7f3562..000000000000
--- a/app-editors/fte/fte-20010819-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2001 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/fte-20010819-r1.ebuild,v 1.2 2002/03/30 09:54:39 danarmak Exp $
-
-S=${WORKDIR}/${P}
-
-DESCRIPTION="Lightweight text-mode editor"
-
-SRC_URI="http://prdownloads.sourceforge.net/fte/fte-20010819-src.zip
- http://prdownloads.sourceforge.net/fte/fte-20010819-common.zip"
-
-HOMEPAGE="http://fte.sourceforge.net"
-
-DEPEND="virtual/glibc app-arch/unzip"
-RDEPEND="virtual/glibc"
-
-TARGETS=""
-
-if [ "`use slang`" ] ; then
- TARGETS="$TARGETS sfte"
-fi
-
-if [ "`use X`" ] ; then
- TARGETS="$TARGETS xfte"
-fi
-
-if [ "`use gpm`" ] ; then
- TARGETS="$TARGETS vfte"
-fi
-
-src_unpack() {
-
- cd ${WORKDIR}
- unpack fte-20010819-src.zip
- unpack fte-20010819-common.zip
-
- mv fte fte-20010819
-
- cd ${S}; patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
-
- cp src/fte-unix.mak src/fte-unix.mak.orig
-
- cat src/fte-unix.mak.orig | \
- sed "s/@targets@/${TARGETS}/" | \
- sed "s/@cflags@/${CFLAGS}/" \
- > src/fte-unix.mak
-}
-
-src_compile() {
- emake all || die
-
- cd config
- ../src/cfte main.fte ../src/system.fterc
-}
-
-src_install () {
- local files
- into /usr
-
- files="${TARGETS} cfte compkeys"
-
- for i in ${files} ; do
- dobin src/$i ;
- done
-
- dodoc Artistic CHANGES BUGS COPYING HISTORY README TODO
-
- dodir etc/fte
- cp src/system.fterc ${D}/etc/fte/system.fterc
-
- dodir usr/share/doc/${P}/html
- cp doc/INDEX doc/*.html ${D}/usr/share/doc/${P}/html
-
-# if [ -a ${D}/usr/bin/xfte ] ; then
-# into /usr/X11R6 ;
-# dobin src/xfte ;
-# rm ${D}/usr/bin/xfte ;
-# fi
-
- dodir usr/share/fte
- cp -R config/* ${D}/usr/share/fte
- rm -rf ${D}/usr/share/fte/CVS
-}
-
diff --git a/app-editors/fte/fte-20010819-r3.ebuild b/app-editors/fte/fte-20010819-r3.ebuild
new file mode 100644
index 000000000000..f690ea391953
--- /dev/null
+++ b/app-editors/fte/fte-20010819-r3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-editors/fte/fte-20010819-r3.ebuild,v 1.1 2002/04/27 22:29:37 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Lightweight text-mode editor"
+SRC_URI="http://prdownloads.sourceforge.net/fte/fte-20010819-src.zip
+ http://prdownloads.sourceforge.net/fte/fte-20010819-common.zip"
+HOMEPAGE="http://fte.sourceforge.net"
+
+RDEPEND=">=sys-libs/ncurses-5.2
+ gpm? ( >=sys-libs/gpm-1.20 )"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ X? ( virtual/x11 )"
+
+TARGETS=""
+
+if [ "`use slang`" ] ; then
+ TARGETS="${TARGETS} sfte"
+fi
+
+if [ "`use X`" ] ; then
+ TARGETS="${TARGETS} xfte"
+fi
+
+if [ "`use gpm`" ] ; then
+ TARGETS="${TARGETS} vfte"
+fi
+
+src_unpack() {
+
+ cd ${WORKDIR}
+ unpack fte-20010819-src.zip
+ unpack fte-20010819-common.zip
+
+ mv fte fte-20010819
+
+ cd ${S}; patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+
+ cp src/fte-unix.mak src/fte-unix.mak.orig
+
+ cat src/fte-unix.mak.orig | \
+ sed "s/@targets@/${TARGETS}/" | \
+ sed "s/@cflags@/${CFLAGS}/" \
+ > src/fte-unix.mak
+}
+
+src_compile() {
+ emake all || die
+
+ cd config
+ ../src/cfte main.fte ../src/system.fterc
+}
+
+src_install () {
+ local files
+ into /usr
+
+ files="${TARGETS} cfte compkeys"
+
+ for i in ${files} ; do
+ dobin src/$i ;
+ done
+
+ dodoc Artistic CHANGES BUGS COPYING HISTORY README TODO
+
+ dodir etc/fte
+ cp src/system.fterc ${D}/etc/fte/system.fterc
+
+ dodir usr/share/doc/${P}/html
+ cp doc/INDEX doc/*.html ${D}/usr/share/doc/${P}/html
+
+# if [ -a ${D}/usr/bin/xfte ] ; then
+# into /usr/X11R6 ;
+# dobin src/xfte ;
+# rm ${D}/usr/bin/xfte ;
+# fi
+
+ dodir usr/share/fte
+ cp -R config/* ${D}/usr/share/fte
+ rm -rf ${D}/usr/share/fte/CVS
+}
+