diff options
Diffstat (limited to 'app-editors/xmlcopyeditor/xmlcopyeditor-1.1.0.7.ebuild')
-rw-r--r-- | app-editors/xmlcopyeditor/xmlcopyeditor-1.1.0.7.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-editors/xmlcopyeditor/xmlcopyeditor-1.1.0.7.ebuild b/app-editors/xmlcopyeditor/xmlcopyeditor-1.1.0.7.ebuild new file mode 100644 index 000000000000..3e5ef51d91ea --- /dev/null +++ b/app-editors/xmlcopyeditor/xmlcopyeditor-1.1.0.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/xmlcopyeditor/xmlcopyeditor-1.1.0.7.ebuild,v 1.1 2008/07/03 22:24:36 yoswink Exp $ + +WX_GTK_VER="2.8" + +inherit wxwidgets + +DESCRIPTION="XML Copy Editor is a fast, free, validating XML editor" +HOMEPAGE="http://xml-copy-editor.sourceforge.net/" +SRC_URI="mirror://sourceforge/xml-copy-editor/${P}.tar.gz + guidexml? ( mirror://gentoo/GuideXML-templates.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="guidexml" + +DEPEND="dev-libs/xerces-c \ + dev-libs/boost \ + dev-libs/libpcre \ + app-text/aspell \ + =x11-libs/wxGTK-2.8*" + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + if use guidexml; then + insinto /usr/share/xmlcopyeditor/templates/ + for TEMPLATE in "${WORKDIR}"/GuideXML-templates/*.xml; do + newins "${TEMPLATE}" "${TEMPLATE##*/}" || die "GuideXML templates failed" + done + fi + + dodoc AUTHORS ChangeLog README NEWS +} |