diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-02-07 15:15:04 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-02-07 15:15:04 +0300 |
commit | e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45 (patch) | |
tree | c94eb0e672fb46512afe197bc69d7438edb998e9 /app-editors | |
parent | app-editors/fte: amd64 stable wrt bug #676394 (diff) | |
download | gentoo-e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45.tar.gz gentoo-e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45.tar.bz2 gentoo-e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45.zip |
app-editors/fte: Drop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/fte/Manifest | 2 | ||||
-rw-r--r-- | app-editors/fte/fte-20051115-r3.ebuild | 124 |
2 files changed, 0 insertions, 126 deletions
diff --git a/app-editors/fte/Manifest b/app-editors/fte/Manifest index d15e084028d1..ff4fbf95bc65 100644 --- a/app-editors/fte/Manifest +++ b/app-editors/fte/Manifest @@ -1,4 +1,2 @@ -DIST fte-20051115-common.zip 187849 BLAKE2B eb410c64b40650b475fb651a014c4ddf2cece6471f2144928b88644a04f9fe4886caf6f0f4b8d679a8fb506461bf7973f1e2bd3a9d8163f462e8eb03f2d85163 SHA512 18e1657a6fe1b48449dc97a357f00bfeb6626450520b48647e2751cc946d9d1bfc6d77d4b0fbdff0a980121502da870f739846b1db9569ff0b305530ee717323 -DIST fte-20051115-src.zip 549216 BLAKE2B 0ec3eeea813380cb0c2cac55dc42beaeecb10ec3c6bac02668d995b5735443cb92cdc430135973190560a8a4e9096737d9bc6b448258fa9e04c4bb1b18235609 SHA512 320c2c4f27041ff5e7417288e5acc8c776013da4aa7cfc187e6207086851642a7ed961383ca19f6ae6c1717a59453c6a9ca40a1c7eb77dae6e5b9184cd7c346a DIST fte-20110708-common.zip 200007 BLAKE2B ce1ac0f2bd68b2bb7ef1d96a46bd9a481cd46f5cde00607c64f752d5e87f6edefd8a92c8210e1ac7629ef8bc5720a8a2d75bd61f292f344e211b88a2462989fa SHA512 0bb59a5b6b4a5ef6c1234dadd8922cd50a13ad1f0c06d6046b74a95592ad55f720b43bbc78a42cab63dfc68c5e073d44d5179bd6ed72f346563f43f3c5c146f1 DIST fte-20110708-src.zip 504199 BLAKE2B 42bb3cc4ae9be4b64c0b161488d91d4a260a2e6a1574fccb0fc652359e34f7b6b881f170dfd85a8954f2b2fdbe4fecaaf2fc68cd5244f185dde36fe1a694004e SHA512 2d59fadcdd988ee85b87425c343341e1b768a7e9ef838c5f8a1f22c4adc5bf2cc37d547f36354ca1740bce07b33d5ae93d14e24001b9dbd3b1b267986564a089 diff --git a/app-editors/fte/fte-20051115-r3.ebuild b/app-editors/fte/fte-20051115-r3.ebuild deleted file mode 100644 index ea155c1e9f64..000000000000 --- a/app-editors/fte/fte-20051115-r3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils toolchain-funcs - -DESCRIPTION="Lightweight text-mode editor" -HOMEPAGE="http://fte.sourceforge.net" -SRC_URI=" - mirror://sourceforge/fte/${P}-src.zip - mirror://sourceforge/fte/${P}-common.zip" - -LICENSE="|| ( GPL-2 Artistic )" -SLOT="0" -KEYWORDS="~alpha amd64 ppc -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="gpm slang X" - -S="${WORKDIR}/${PN}" - -RDEPEND=" - >=sys-libs/ncurses-5.2 - X? ( - x11-libs/libXdmcp - x11-libs/libXau - x11-libs/libX11 - x11-libs/libXpm - ) - gpm? ( >=sys-libs/gpm-1.20 )" -DEPEND="${RDEPEND} - slang? ( >=sys-libs/slang-2.1.3 ) - app-arch/unzip" - -set_targets() { - export TARGETS="" - use slang && TARGETS="${TARGETS} sfte" - use X && TARGETS="${TARGETS} xfte" - - [[ ${CHOST} == *-linux-gnu* ]] \ - && TARGETS="${TARGETS} vfte" \ - || TARGETS="${TARGETS} nfte" -} - -src_prepare() { - epatch \ - "${FILESDIR}"/fte-gcc34 \ - "${FILESDIR}"/${PN}-new_keyword.patch \ - "${FILESDIR}"/${PN}-slang.patch \ - "${FILESDIR}"/${PN}-interix.patch \ - "${FILESDIR}"/${PN}-cpp14.patch # bug #595048 - - [[ -e /usr/include/linux/keyboard.h ]] && \ - sed /usr/include/linux/keyboard.h -e '/wait.h/d' > src/hacked_keyboard.h - - sed \ - -e "s:<linux/keyboard.h>:\"hacked_keyboard.h\":" \ - -i src/con_linux.cpp || die "sed keyboard" - sed \ - -e 's:^OPTIMIZE:#&:g' \ - -e '/^LDFLAGS/s:=:+=:g' \ - -e 's:= g++:= $(CXX):g' \ - -i src/fte-unix.mak || die "sed CFLAGS, LDFLAGS, CC" - ecvs_clean -} - -src_configure() { - set_targets - sed \ - -e "s:@targets@:${TARGETS}:" \ - -e '/^XINCDIR =/c\XINCDIR =' \ - -e '/^XLIBDIR =/c\XLIBDIR = -lstdc++' \ - -e '/^SINCDIR =/c\SINCDIR = -I'"${EPREFIX}"'/usr/include/slang' \ - -i src/fte-unix.mak || die "sed targets" - - if ! use gpm; then - sed \ - -e "s:#define USE_GPM://#define USE_GPM:" \ - -i src/con_linux.cpp || die "sed USE_GPM" - sed \ - -e "s:-lgpm::" \ - -i src/fte-unix.mak || die "sed -lgpm" - fi -} - -src_compile() { - local os="-DLINUX" # by now the default in makefile - [[ ${CHOST} == *-interix* ]] && os= - - DEFFLAGS="PREFIX='${EPREFIX}'/usr CONFIGDIR='${EPREFIX}'/usr/share/fte \ - DEFAULT_FTE_CONFIG=../config/main.fte UOS=${os}" - - set_targets - emake CXX=$(tc-getCXX) OPTIMIZE="${CXXFLAGS}" ${DEFFLAGS} TARGETS="${TARGETS}" all -} - -src_install() { - local files - - keepdir /etc/fte - - into /usr - - set_targets - files="${TARGETS} cfte" - - for i in ${files}; do - dobin src/$i - done - - dobin "${FILESDIR}"/fte - - dodoc CHANGES BUGS HISTORY README TODO - dohtml doc/* - - insinto /usr/share/fte - doins -r config/* -} - -pkg_postinst() { - ebegin "Compiling configuration" - cd "${EPREFIX}"/usr/share/fte || die "missing configuration dir" - "${EPREFIX}"/usr/bin/cfte main.fte "${EPREFIX}"/etc/fte/system.fterc - eend $? -} |