/[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 - (hide annotations) (download)
Sat Jun 28 23:06:36 2014 UTC (5 years, 8 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 jer 1.8 # Copyright 1999-2014 Gentoo Foundation
2 drac 1.1 # Distributed under the terms of the GNU General Public License v2
3 jer 1.9 # $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 drac 1.2
5 jer 1.8 EAPI=5
6     inherit eutils toolchain-funcs
7 drac 1.1
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 cla 1.6 KEYWORDS="amd64 ppc x86"
15 drac 1.1 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 jer 1.8 src_prepare() {
25     sed -i -e 's:-g -Werror::g' configure* || die
26     tc-export CXX
27 drac 1.1 }
28    
29 jer 1.8 src_configure() {
30 drac 1.1 econf $(use_enable nls) --disable-imlib
31     }
32    
33     src_install() {
34 jer 1.8 default
35 drac 1.1 dodoc AUTHORS ChangeLog NEWS README
36 drac 1.3 doicon ide/Pixmaps/${PN}.xpm
37 drac 1.2 make_desktop_entry ${PN} "Zoinks!" ${PN} "Utility;TextEditor"
38 drac 1.1 }
39 jer 1.9
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