/[gentoo-x86]/app-editors/zoinks/zoinks-0.4.1.ebuild
Gentoo

Contents of /app-editors/zoinks/zoinks-0.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Jun 28 23:06:36 2014 UTC (5 years, 6 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +9 -1 lines
Add postinst elog message about missing fonts.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/zoinks/zoinks-0.4.1.ebuild,v 1.8 2014/06/28 20:55:00 jer Exp $
4
5 EAPI=5
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="programmer's text editor and development environment"
9 HOMEPAGE="http://zoinks.mikelockwood.com"
10 SRC_URI="http://${PN}.mikelockwood.com/download/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE="nls"
16
17 RDEPEND="x11-libs/libX11
18 x11-libs/libXpm
19 x11-libs/libXext
20 x11-libs/libXt"
21 DEPEND="${RDEPEND}
22 nls? ( sys-devel/gettext )"
23
24 src_prepare() {
25 sed -i -e 's:-g -Werror::g' configure* || die
26 tc-export CXX
27 }
28
29 src_configure() {
30 econf $(use_enable nls) --disable-imlib
31 }
32
33 src_install() {
34 default
35 dodoc AUTHORS ChangeLog NEWS README
36 doicon ide/Pixmaps/${PN}.xpm
37 make_desktop_entry ${PN} "Zoinks!" ${PN} "Utility;TextEditor"
38 }
39
40 pkg_postinst() {
41 if ! [[ ${REPLACING_VERSIONS} ]]; then
42 elog "If you see this message when starting zoinks:"
43 elog "zoinks: TFont.cpp:40: TFont::TFont(const char*): Assertion \`fFontSet' failed."
44 elog "You need to install media-fonts/font-adobe-{75,100dpi}"
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20