# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_PV="m8v2" NB_PV="4.1" DESCRIPTION="NetBeans Profiler" HOMEPAGE="http://profiler.netbeans.org/" SRC_URI="http://www.netbeans.org/download/profiler/profiler-${MY_PV}-linux.bin" LICENSE="SPL" SLOT="4.1" KEYWORDS="~x86" IUSE="" RDEPEND="" DEPEND=">=dev-util/netbeans-${NB_PV}" src_unpack() { # Walk-around: copy installer to working-directory cp ${DISTDIR}/profiler-${MY_PV}-linux.bin ${WORKDIR}/ chmod u+x ${WORKDIR}/profiler-${MY_PV}-linux.bin if [[ -e /root/vpd.properties ]]; then einfo "The /root/vpd.properties file exists, this can" einfo "cause big problems." einfo "If so, please move this for the time of installation!" fi # allow the installer to write stupid file (illusion) addpredict /root/vpd.properties # execute installer ${WORKDIR}/profiler-${MY_PV}-linux.bin -silent # Walk-around: remove installer again rm ${WORKDIR}/profiler-${MY_PV}-linux.bin # remove unnecessary uninstall informations rm -R _uninst } src_install() { # install everything into netbeans subfolders insinto /usr/share/netbeans-${NB_PV}/profiler1 cp -R ${WORKDIR}/* ${D}/${INSDESTTREE} }