/[gentoo-x86]/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.9.ebuild
Gentoo

Contents of /app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Apr 6 05:54:59 2013 UTC (17 months, 3 weeks ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -2 lines
Restore app-text/aspell dependency, wrt bug #464698

(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.2.0.9.ebuild,v 1.2 2013/04/05 09:27:26 pinkbyte Exp $
4
5 EAPI="4"
6
7 WX_GTK_VER="2.8"
8
9 inherit autotools eutils wxwidgets
10
11 DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor"
12 HOMEPAGE="http://xml-copy-editor.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/xml-copy-editor/${P}.tar.gz
14 guidexml? ( mirror://gentoo/GuideXML-templates.tar.gz )"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
19 IUSE="aqua guidexml"
20
21 RDEPEND="app-text/aspell
22 >=dev-libs/libxml2-2.7.3-r1
23 dev-libs/libxslt
24 dev-libs/xerces-c[icu]
25 dev-libs/libpcre
26 !aqua? ( x11-libs/wxGTK:2.8[X] )
27 aqua? ( x11-libs/wxGTK:2.8[aqua] )"
28 DEPEND="${RDEPEND}
29 dev-libs/boost"
30
31 DOCS=( AUTHORS ChangeLog README NEWS )
32
33 src_prepare() {
34 # fix desktop file
35 sed -i -e '/Categories/s/Application;//' \
36 -e '/Icon/s/.png//' \
37 "src/${PN}.desktop" || die "sed on src/${PN}.desktop failed"
38 # bug #440744
39 sed -i -e 's/ -Wall -g -fexceptions//g' \
40 -e '/CXXFLAGS/s/CPPFLAGS/CXXFLAGS/' \
41 configure.in || die 'sed on configure.in failed'
42 # bug #464280
43 epatch "${FILESDIR}/${PN}-1.2.0.6-gcc-4.8.patch"
44
45 eautoreconf
46 }
47
48 src_install() {
49 emake DESTDIR="${D}" install
50
51 if use guidexml; then
52 insinto /usr/share/xmlcopyeditor/templates/
53 for TEMPLATE in "${WORKDIR}"/GuideXML-templates/*.xml; do
54 newins "${TEMPLATE}" "${TEMPLATE##*/}"
55 done
56 fi
57
58 }

  ViewVC Help
Powered by ViewVC 1.1.20