diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-12-22 12:31:21 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-12-22 12:31:21 +0000 |
commit | 23f1f48f105bd09e5803db3c124c3f39ace6757d (patch) | |
tree | 4523ce72e58918ae0ed3988437fbd9589ffb801f /dev-util/poseidonCE/poseidonCE-3.0.1.ebuild | |
parent | added ~ppc64 (Manifest recommit) (diff) | |
download | gentoo-2-23f1f48f105bd09e5803db3c124c3f39ace6757d.tar.gz gentoo-2-23f1f48f105bd09e5803db3c124c3f39ace6757d.tar.bz2 gentoo-2-23f1f48f105bd09e5803db3c124c3f39ace6757d.zip |
use make_desktop_entry 74999
Diffstat (limited to 'dev-util/poseidonCE/poseidonCE-3.0.1.ebuild')
-rw-r--r-- | dev-util/poseidonCE/poseidonCE-3.0.1.ebuild | 38 |
1 files changed, 7 insertions, 31 deletions
diff --git a/dev-util/poseidonCE/poseidonCE-3.0.1.ebuild b/dev-util/poseidonCE/poseidonCE-3.0.1.ebuild index 3f1d0f1e1730..e1438ca7a623 100644 --- a/dev-util/poseidonCE/poseidonCE-3.0.1.ebuild +++ b/dev-util/poseidonCE/poseidonCE-3.0.1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/poseidonCE-3.0.1.ebuild,v 1.1 2004/12/19 17:47:49 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/poseidonCE-3.0.1.ebuild,v 1.2 2004/12/22 12:31:21 axxo Exp $ + +inherit eutils -IUSE="doc gnome kde" DESCRIPTION="A UML CASE-Tool powered by Java" SRC_URI="ftp://download.gentleware.biz/${P}.zip" HOMEPAGE="http://www.gentleware.com/" @@ -12,6 +13,7 @@ KEYWORDS="~x86 ~amd64" RDEPEND=">=virtual/jdk-1.4.1" DEPEND="app-arch/unzip" RESTRICT="nomirror" +IUSE="doc" pkg_nofetch() { einfo "Please visit ${HOMEPAGE} and download Poseidon Community Edition:" @@ -40,36 +42,10 @@ src_install() { doins docs/PoseidonUsersGuide.pdf fi - if use gnome || use kde; then - einfo "Adding icons..." - insinto /opt/${PN}/lib - doins bin/poseidon.ico - fi - - if use gnome ; then - - einfo "Adding GNOME support..." - echo "[Desktop Entry]" > ${PN}.desktop - echo "Name=${PN}" >> ${PN}.desktop - echo "Comment=${DESCRIPTION}" >> ${PN}.desktop - echo "Icon=/opt/${PN}/lib/poseidon.ico" >> ${PN}.desktop - echo "Exec=/opt/bin/${PN}" >> ${PN}.desktop - echo "Type=Application" >> ${PN}.desktop - echo "Categories=GNOME;Application;Development" >> ${PN}.desktop - - insinto /usr/share/gnome/apps/Development - doins ${PN}.desktop - fi + insinto /opt/${PN}/lib + doins bin/poseidon.ico - if use kde ; then - einfo "Adding KDE support..." - echo "Name=PoseidonCE" > ${PN}-kde.desktop - echo "Exec=/opt/bin/${PN}" >> ${PN}-kde.desktop - echo "Icon=/opt/${PN}/lib/poseidon.ico" >> ${PN}-kde.desktop - echo "Type=Application" >> ${PN}-kde.desktop - insinto ${KDEDIR}/share/applnk/Development - doins ${PN}-kde.desktop - fi + make_desktop_entry ${PN} ${PN} /opt/${PN}/lib/poseidon.ico Development dodoc LICENSE.txt |