diff options
-rw-r--r-- | app-editors/xxe/ChangeLog | 10 | ||||
-rw-r--r-- | app-editors/xxe/xxe-4.3.0.ebuild | 6 | ||||
-rw-r--r-- | app-editors/xxe/xxe-4.5.0.ebuild | 74 |
3 files changed, 85 insertions, 5 deletions
diff --git a/app-editors/xxe/ChangeLog b/app-editors/xxe/ChangeLog index 0f8361df1214..3a7abed37bf3 100644 --- a/app-editors/xxe/ChangeLog +++ b/app-editors/xxe/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/xxe -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/xxe/ChangeLog,v 1.38 2009/04/24 19:58:36 patrick Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/xxe/ChangeLog,v 1.39 2009/11/21 12:36:16 patrick Exp $ + +*xxe-4.5.0 (21 Nov 2009) + + 21 Nov 2009; Patrick Lauer <patrick@gentoo.org> xxe-4.3.0.ebuild, + +xxe-4.5.0.ebuild: + Fixing 4.3 src_uri, bumping to 4.5.0 24 Apr 2009; Patrick Lauer <patrick@gentoo.org> Manifest: Upstream likes changing tarballs, eh? diff --git a/app-editors/xxe/xxe-4.3.0.ebuild b/app-editors/xxe/xxe-4.3.0.ebuild index 9c6824e07bb8..53b6fcbb034c 100644 --- a/app-editors/xxe/xxe-4.3.0.ebuild +++ b/app-editors/xxe/xxe-4.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/xxe/xxe-4.3.0.ebuild,v 1.1 2009/04/23 17:44:45 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/xxe/xxe-4.3.0.ebuild,v 1.2 2009/11/21 12:36:16 patrick Exp $ MY_PV="${PV//./_}" MY_PV="${MY_PV/_p/p}" @@ -17,8 +17,8 @@ do SRC_URI_ADDON="${SRC_URI_ADDON} http://www.xmlmind.com/xmleditor/_download/${i}-${MY_PV}.zip" done -SRC_URI="http://www.xmlmind.com/xmleditor/_download/${PN}-perso-${MY_PV}.tar.gz - doc? ( http://www.xmlmind.com/xmleditor/_download/${PN}-devdocs-${MY_PV}.tar.gz ) +SRC_URI="http://www.xmlmind.com/archive/xmleditor/4.3.0_01/${PN}-perso-${MY_PV}.tar.gz + doc? ( http://www.xmlmind.com/archive/xmleditor/4.3.0_01/${PN}-devdocs-${MY_PV}.tar.gz ) !minimal? ( ${SRC_URI_ADDON} )" HOMEPAGE="http://www.xmlmind.com/xmleditor/index.html" diff --git a/app-editors/xxe/xxe-4.5.0.ebuild b/app-editors/xxe/xxe-4.5.0.ebuild new file mode 100644 index 000000000000..c912fdbbb51b --- /dev/null +++ b/app-editors/xxe/xxe-4.5.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/xxe/xxe-4.5.0.ebuild,v 1.1 2009/11/21 12:36:16 patrick Exp $ + +MY_PV="${PV//./_}" +MY_PV="${MY_PV/_p/p}" +S="${WORKDIR}/${PN}-perso-${MY_PV}" + +ADDON_LIST="batik_imagetoolkit jimi_imagetoolkit dav_vdrive ftp_vdrive jeuclid_imagetoolkit mathml_config" +ADDON_LIST="${ADDON_LIST} sample_customize_xxe sdocbook_config slides_config wxs_config" +ADDON_LIST="${ADDON_LIST} xep_foprocessor fop1_foprocessor xfc_foprocessor xxe-devdocs xxe-docsrc xxe_config_pack" + +DESCRIPTION="The XMLmind XML Editor" + +for i in ${ADDON_LIST} +do + SRC_URI_ADDON="${SRC_URI_ADDON} http://www.xmlmind.com/xmleditor/_download/${i}-${MY_PV}.zip" +done + +SRC_URI="http://www.xmlmind.com/xmleditor/_download/${PN}-perso-${MY_PV}.tar.gz + doc? ( http://www.xmlmind.com/xmleditor/_download/${PN}-devdocs-${MY_PV}.tar.gz ) + !minimal? ( ${SRC_URI_ADDON} )" + +HOMEPAGE="http://www.xmlmind.com/xmleditor/index.html" +IUSE="doc minimal" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="~x86 ~ppc ~amd64" + +RESTRICT="strip mirror" +RDEPEND=">=virtual/jre-1.4.1" +DEPEND="" +INSTALLDIR=/opt/${PN} + +src_install() { + dodir ${INSTALLDIR} + cp -pPR "${S}"/* "${D}"/${INSTALLDIR} + + dodir /etc/env.d + echo -e "PATH=${INSTALLDIR}/bin\nROOTPATH=${INSTALLDIR}" > "${D}"/etc/env.d/10xxe + + insinto /usr/share/applications + doins "${FILESDIR}"/xxe.desktop + + if ( use doc ) + then + dodir /usr/share/doc/${PF} + cp -R "${WORKDIR}"/doc/* "${D}"/usr/share/doc/${PF} + mv "${D}"/${INSTALLDIR}/doc/* "${D}"/usr/share/doc/${PF} + fi + rm -rf "${D}"/${INSTALLDIR}/doc + + if ( ! use minimal ) + then + for i in ${ADDON_LIST} + do + cp -R "${WORKDIR}"/$i "${D}"/opt/xxe/addon + done + fi +# apt_format +} + +pkg_postinst() { + einfo + einfo "XXE has been installed in /opt/xxe, to include this" + einfo "in your path, run the following:" + eerror " /usr/sbin/env-update && source /etc/profile" + einfo + ewarn "If you need special/accented characters, you'll need to export LANG" + ewarn "to your locale. Example: export LANG=es_ES.ISO8859-1" + ewarn "See http://www.xmlmind.com/xmleditor/user_faq.html#linuxlocale" + einfo +} |