1 |
commit: e2c0c97c2aeb6e1309dd49bee18e6a8154e66e45 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 7 12:15:04 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 7 12:15:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c0c97c |
7 |
|
8 |
app-editors/fte: Drop old |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-editors/fte/Manifest | 2 - |
14 |
app-editors/fte/fte-20051115-r3.ebuild | 124 --------------------------------- |
15 |
2 files changed, 126 deletions(-) |
16 |
|
17 |
diff --git a/app-editors/fte/Manifest b/app-editors/fte/Manifest |
18 |
index d15e084028d..ff4fbf95bc6 100644 |
19 |
--- a/app-editors/fte/Manifest |
20 |
+++ b/app-editors/fte/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
-DIST fte-20051115-common.zip 187849 BLAKE2B eb410c64b40650b475fb651a014c4ddf2cece6471f2144928b88644a04f9fe4886caf6f0f4b8d679a8fb506461bf7973f1e2bd3a9d8163f462e8eb03f2d85163 SHA512 18e1657a6fe1b48449dc97a357f00bfeb6626450520b48647e2751cc946d9d1bfc6d77d4b0fbdff0a980121502da870f739846b1db9569ff0b305530ee717323 |
23 |
-DIST fte-20051115-src.zip 549216 BLAKE2B 0ec3eeea813380cb0c2cac55dc42beaeecb10ec3c6bac02668d995b5735443cb92cdc430135973190560a8a4e9096737d9bc6b448258fa9e04c4bb1b18235609 SHA512 320c2c4f27041ff5e7417288e5acc8c776013da4aa7cfc187e6207086851642a7ed961383ca19f6ae6c1717a59453c6a9ca40a1c7eb77dae6e5b9184cd7c346a |
24 |
DIST fte-20110708-common.zip 200007 BLAKE2B ce1ac0f2bd68b2bb7ef1d96a46bd9a481cd46f5cde00607c64f752d5e87f6edefd8a92c8210e1ac7629ef8bc5720a8a2d75bd61f292f344e211b88a2462989fa SHA512 0bb59a5b6b4a5ef6c1234dadd8922cd50a13ad1f0c06d6046b74a95592ad55f720b43bbc78a42cab63dfc68c5e073d44d5179bd6ed72f346563f43f3c5c146f1 |
25 |
DIST fte-20110708-src.zip 504199 BLAKE2B 42bb3cc4ae9be4b64c0b161488d91d4a260a2e6a1574fccb0fc652359e34f7b6b881f170dfd85a8954f2b2fdbe4fecaaf2fc68cd5244f185dde36fe1a694004e SHA512 2d59fadcdd988ee85b87425c343341e1b768a7e9ef838c5f8a1f22c4adc5bf2cc37d547f36354ca1740bce07b33d5ae93d14e24001b9dbd3b1b267986564a089 |
26 |
|
27 |
diff --git a/app-editors/fte/fte-20051115-r3.ebuild b/app-editors/fte/fte-20051115-r3.ebuild |
28 |
deleted file mode 100644 |
29 |
index ea155c1e9f6..00000000000 |
30 |
--- a/app-editors/fte/fte-20051115-r3.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,124 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=4 |
37 |
- |
38 |
-inherit eutils toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="Lightweight text-mode editor" |
41 |
-HOMEPAGE="http://fte.sourceforge.net" |
42 |
-SRC_URI=" |
43 |
- mirror://sourceforge/fte/${P}-src.zip |
44 |
- mirror://sourceforge/fte/${P}-common.zip" |
45 |
- |
46 |
-LICENSE="|| ( GPL-2 Artistic )" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 ppc -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
49 |
-IUSE="gpm slang X" |
50 |
- |
51 |
-S="${WORKDIR}/${PN}" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- >=sys-libs/ncurses-5.2 |
55 |
- X? ( |
56 |
- x11-libs/libXdmcp |
57 |
- x11-libs/libXau |
58 |
- x11-libs/libX11 |
59 |
- x11-libs/libXpm |
60 |
- ) |
61 |
- gpm? ( >=sys-libs/gpm-1.20 )" |
62 |
-DEPEND="${RDEPEND} |
63 |
- slang? ( >=sys-libs/slang-2.1.3 ) |
64 |
- app-arch/unzip" |
65 |
- |
66 |
-set_targets() { |
67 |
- export TARGETS="" |
68 |
- use slang && TARGETS="${TARGETS} sfte" |
69 |
- use X && TARGETS="${TARGETS} xfte" |
70 |
- |
71 |
- [[ ${CHOST} == *-linux-gnu* ]] \ |
72 |
- && TARGETS="${TARGETS} vfte" \ |
73 |
- || TARGETS="${TARGETS} nfte" |
74 |
-} |
75 |
- |
76 |
-src_prepare() { |
77 |
- epatch \ |
78 |
- "${FILESDIR}"/fte-gcc34 \ |
79 |
- "${FILESDIR}"/${PN}-new_keyword.patch \ |
80 |
- "${FILESDIR}"/${PN}-slang.patch \ |
81 |
- "${FILESDIR}"/${PN}-interix.patch \ |
82 |
- "${FILESDIR}"/${PN}-cpp14.patch # bug #595048 |
83 |
- |
84 |
- [[ -e /usr/include/linux/keyboard.h ]] && \ |
85 |
- sed /usr/include/linux/keyboard.h -e '/wait.h/d' > src/hacked_keyboard.h |
86 |
- |
87 |
- sed \ |
88 |
- -e "s:<linux/keyboard.h>:\"hacked_keyboard.h\":" \ |
89 |
- -i src/con_linux.cpp || die "sed keyboard" |
90 |
- sed \ |
91 |
- -e 's:^OPTIMIZE:#&:g' \ |
92 |
- -e '/^LDFLAGS/s:=:+=:g' \ |
93 |
- -e 's:= g++:= $(CXX):g' \ |
94 |
- -i src/fte-unix.mak || die "sed CFLAGS, LDFLAGS, CC" |
95 |
- ecvs_clean |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- set_targets |
100 |
- sed \ |
101 |
- -e "s:@targets@:${TARGETS}:" \ |
102 |
- -e '/^XINCDIR =/c\XINCDIR =' \ |
103 |
- -e '/^XLIBDIR =/c\XLIBDIR = -lstdc++' \ |
104 |
- -e '/^SINCDIR =/c\SINCDIR = -I'"${EPREFIX}"'/usr/include/slang' \ |
105 |
- -i src/fte-unix.mak || die "sed targets" |
106 |
- |
107 |
- if ! use gpm; then |
108 |
- sed \ |
109 |
- -e "s:#define USE_GPM://#define USE_GPM:" \ |
110 |
- -i src/con_linux.cpp || die "sed USE_GPM" |
111 |
- sed \ |
112 |
- -e "s:-lgpm::" \ |
113 |
- -i src/fte-unix.mak || die "sed -lgpm" |
114 |
- fi |
115 |
-} |
116 |
- |
117 |
-src_compile() { |
118 |
- local os="-DLINUX" # by now the default in makefile |
119 |
- [[ ${CHOST} == *-interix* ]] && os= |
120 |
- |
121 |
- DEFFLAGS="PREFIX='${EPREFIX}'/usr CONFIGDIR='${EPREFIX}'/usr/share/fte \ |
122 |
- DEFAULT_FTE_CONFIG=../config/main.fte UOS=${os}" |
123 |
- |
124 |
- set_targets |
125 |
- emake CXX=$(tc-getCXX) OPTIMIZE="${CXXFLAGS}" ${DEFFLAGS} TARGETS="${TARGETS}" all |
126 |
-} |
127 |
- |
128 |
-src_install() { |
129 |
- local files |
130 |
- |
131 |
- keepdir /etc/fte |
132 |
- |
133 |
- into /usr |
134 |
- |
135 |
- set_targets |
136 |
- files="${TARGETS} cfte" |
137 |
- |
138 |
- for i in ${files}; do |
139 |
- dobin src/$i |
140 |
- done |
141 |
- |
142 |
- dobin "${FILESDIR}"/fte |
143 |
- |
144 |
- dodoc CHANGES BUGS HISTORY README TODO |
145 |
- dohtml doc/* |
146 |
- |
147 |
- insinto /usr/share/fte |
148 |
- doins -r config/* |
149 |
-} |
150 |
- |
151 |
-pkg_postinst() { |
152 |
- ebegin "Compiling configuration" |
153 |
- cd "${EPREFIX}"/usr/share/fte || die "missing configuration dir" |
154 |
- "${EPREFIX}"/usr/bin/cfte main.fte "${EPREFIX}"/etc/fte/system.fterc |
155 |
- eend $? |
156 |
-} |