Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 595074
Collapse All | Expand All

(-)a/app-editors/joe/joe-4.2.ebuild (-2 / +12 lines)
Lines 8-25 DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" Link Here
8
HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
8
HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
9
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
9
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
10
10
11
LICENSE="GPL-1+ CC-BY-3.0"
11
LICENSE="GPL-1+ go? ( CC-BY-3.0 )"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
13
KEYWORDS="alpha amd64 arm ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
14
IUSE="xterm"
14
IUSE="+go xterm"
15
15
16
DEPEND=">=sys-libs/ncurses-5.2-r2"
16
DEPEND=">=sys-libs/ncurses-5.2-r2"
17
RDEPEND="xterm? ( >=x11-terms/xterm-239 )"
17
RDEPEND="xterm? ( >=x11-terms/xterm-239 )"
18
18
19
DOCS=( README.md NEWS.md docs/hacking.md docs/man.md )
19
DOCS=( README.md NEWS.md docs/hacking.md docs/man.md )
20
20
21
inherit autotools
22
21
src_prepare() {
23
src_prepare() {
22
	default
24
	default
25
26
	# The Go syntax definition is licensed under more restrictive terms, so allow the user to disable it
27
	if ! use go; then
28
		sed -i 's~\b\(syntax\/\)\?go\.jsf\b~~g' configure.ac syntax/Makefile.am
29
		rm syntax/go.jsf{,.in} || die 'rm go.jsf failed'
30
		eautoreconf
31
	fi
32
23
	# Enable xterm mouse support in the rc files
33
	# Enable xterm mouse support in the rc files
24
	if use xterm; then
34
	if use xterm; then
25
		cd "${S}"/rc
35
		cd "${S}"/rc
(-)a/app-editors/joe/joe-4.3-r1.ebuild (-2 / +11 lines)
Lines 10-19 DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" Link Here
10
HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
10
HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
11
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
11
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
12
12
13
LICENSE="GPL-1+ CC-BY-3.0"
13
LICENSE="GPL-1+ go? ( CC-BY-3.0 )"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
15
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
16
IUSE="xterm"
16
IUSE="+go xterm"
17
17
18
DEPEND=">=sys-libs/ncurses-5.2-r2:0="
18
DEPEND=">=sys-libs/ncurses-5.2-r2:0="
19
RDEPEND="${DEPEND}
19
RDEPEND="${DEPEND}
Lines 23-30 DOCS=( README.md NEWS.md docs/hacking.md docs/man.md ) Link Here
23
23
24
PATCHES=( "${FILESDIR}/${PN}-4.3-tinfo.patch" )
24
PATCHES=( "${FILESDIR}/${PN}-4.3-tinfo.patch" )
25
25
26
inherit autotools
27
26
src_prepare() {
28
src_prepare() {
27
	default
29
	default
30
31
	# The Go syntax definition is licensed under more restrictive terms, so allow the user to disable it
32
	if ! use go; then
33
		sed -i 's~\b\(syntax\/\)\?go\.jsf\b~~g' configure.ac syntax/Makefile.am
34
		rm syntax/go.jsf{,.in} || die 'rm go.jsf failed'
35
	fi
36
28
	# Enable xterm mouse support in the rc files
37
	# Enable xterm mouse support in the rc files
29
	if use xterm; then
38
	if use xterm; then
30
		pushd "${S}"/rc &>/dev/null || die
39
		pushd "${S}"/rc &>/dev/null || die
(-)a/app-editors/joe/metadata.xml (-1 / +1 lines)
Lines 17-22 Link Here
17
  of VI.
17
  of VI.
18
</longdescription> 
18
</longdescription> 
19
<use>
19
<use>
20
  <flag name="go">Install syntax for the Go language</flag>
20
  <flag name="xterm">Enable full xterm clipboard support</flag>
21
  <flag name="xterm">Enable full xterm clipboard support</flag>
21
</use>
22
</use>
22
<upstream>
23
<upstream>
23
- 

Return to bug 595074