Well I made this amsn-svn ebuild, it's a bit tricky but i think it works well and can serve as a start point to clean de amsn-0.95 ebuild currently in portage please take a look at it.
Created attachment 87521 [details] amsn-svn-9999.ebuild
Im new to Bugzilla I dont know if the ebuild have been uploaded well so I copy&paste it here: # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.95-r2.ebuild,v 1.1 2006/01/03 02:14:40 tester Exp $ #S="${WORKDIR}/${P/./_}" DESCRIPTION="Alvaro's Messenger client for MSN" SRC_URI="http://amsn.sourceforge.net/amsn_dev.tar.gz" HOMEPAGE="http://amsn.sourceforge.net" #RESTRICT="test" IUSE="" SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" DEPEND=">=dev-lang/tcl-8.4 >=dev-lang/tk-8.4" RDEPEND="${DEPEND} dev-tcltk/tls" src_compile() { cd "${WORKDIR}"/msn mv * ../ cd ../ econf || die make || die } src_install() { dodir /usr/share/amsn dodir /usr/bin #creamos la estructura de instalacion dodir /usr/share/icons dodir /usr/share/applications cd "${WORKDIR}" #entramos para copiar todo en sus directorios #documentacion cp -pPR INSTALL CREDITS FAQ GNUGPL HELP README TODO AGREEMENT remote.help ${D}/usr/share/amsn cp -pR docs ${D}/usr/share/amsn #copiamos directorio por directorio mas archivos icons lang skins utils plugins cp -pR icons ${D}/usr/share/ cp -pR lang ${D}/usr/share/amsn cp -pR skins ${D}/usr/share/amsn cp -pR utils ${D}/usr/share/amsn cp -pR plugins ${D}/usr/share/amsn #files to exclude lang/genpage.c lang/addkey.tcl lang/lang1.tmpl lang/lang2.tmpl lang/lang3.tmpl lang/langchk.sh lang/complete.pl # lang/genlangfiles.c utils/webcamsn/webcamsn.tcl # cd ${D}/usr/share/amsn/lang rm genpage.c addkey.tcl lang1.tmpl lang2.tmpl lang3.tmpl langchk.sh complete.pl genlangfiles.c cd ${D}/usr/share/amsn/utils/webcamsn/ rm webcamsn.tcl #volvemos al directorio de trabajo copiamos los ejecutables principales y otras cosas cd ${WORKDIR} cp *.tcl amsn amsn-remote amsn.desktop amsn-remote-CLI hotmlog.htm langlist sndplay ${D}/usr/share/amsn #queda enlazar los binarios ln -sf /usr/share/amsn/amsn ${D}/usr/bin/amsn ln -sf /usr/share/amsn/amsn-remote-CLI ${D}/usr/bin/amsn-remote-CLI ln -sf /usr/share/amsn/amsn-remote ${D}/usr/bin/amsn-remote #y a
Im new to Bugzilla I dont know if the ebuild have been uploaded well so I copy&paste it here: # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/amsn/amsn-0.95-r2.ebuild,v 1.1 2006/01/03 02:14:40 tester Exp $ #S="${WORKDIR}/${P/./_}" DESCRIPTION="Alvaro's Messenger client for MSN" SRC_URI="http://amsn.sourceforge.net/amsn_dev.tar.gz" HOMEPAGE="http://amsn.sourceforge.net" #RESTRICT="test" IUSE="" SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" DEPEND=">=dev-lang/tcl-8.4 >=dev-lang/tk-8.4" RDEPEND="${DEPEND} dev-tcltk/tls" src_compile() { cd "${WORKDIR}"/msn mv * ../ cd ../ econf || die make || die } src_install() { dodir /usr/share/amsn dodir /usr/bin #creamos la estructura de instalacion dodir /usr/share/icons dodir /usr/share/applications cd "${WORKDIR}" #entramos para copiar todo en sus directorios #documentacion cp -pPR INSTALL CREDITS FAQ GNUGPL HELP README TODO AGREEMENT remote.help ${D}/usr/share/amsn cp -pR docs ${D}/usr/share/amsn #copiamos directorio por directorio mas archivos icons lang skins utils plugins cp -pR icons ${D}/usr/share/ cp -pR lang ${D}/usr/share/amsn cp -pR skins ${D}/usr/share/amsn cp -pR utils ${D}/usr/share/amsn cp -pR plugins ${D}/usr/share/amsn #files to exclude lang/genpage.c lang/addkey.tcl lang/lang1.tmpl lang/lang2.tmpl lang/lang3.tmpl lang/langchk.sh lang/complete.pl # lang/genlangfiles.c utils/webcamsn/webcamsn.tcl # cd ${D}/usr/share/amsn/lang rm genpage.c addkey.tcl lang1.tmpl lang2.tmpl lang3.tmpl langchk.sh complete.pl genlangfiles.c cd ${D}/usr/share/amsn/utils/webcamsn/ rm webcamsn.tcl #volvemos al directorio de trabajo copiamos los ejecutables principales y otras cosas cd ${WORKDIR} cp *.tcl amsn amsn-remote amsn.desktop amsn-remote-CLI hotmlog.htm langlist sndplay ${D}/usr/share/amsn #queda enlazar los binarios ln -sf /usr/share/amsn/amsn ${D}/usr/bin/amsn ln -sf /usr/share/amsn/amsn-remote-CLI ${D}/usr/bin/amsn-remote-CLI ln -sf /usr/share/amsn/amsn-remote ${D}/usr/bin/amsn-remote #y añadir el icono cp amsn.desktop ${D}/usr/share/applications/amsn.desktop #cd ${D}/usr/share/amsn/docs #dodoc `echo "ls *.*"` } pkg_postinst() { ewarn "You might have to remove ~/.amsn prior to running as user if amsn hangs on start-up." }
Created attachment 87627 [details] -r1 of my ebuild Revision one of my ebuild, i have cleaned the ebuild, make doc install and added the icon to menu.
Created attachment 90282 [details] New amsn-svn ebuild updated Better ebuild uses the real Make install from the amsn package using a fakeroot yo skip sandbox warning.
The -r4 is compatible with the 0,97b version, the ebuild is using a fakeroot to skip the sandbox warning and to do a more clean ebuild (no more rm -rf of some dirs), it installs amsn in the WORKDIR with amsn's make install and then we copy all the content, make syms and do and entry in the menu. This can be used to clean de actual amsn-095-r2 ebuild.
Created attachment 90291 [details] amsn-svn-9999-r4.ebuild Remove nosandbox from strict
Created attachment 90459 [details] amsn-svn-9999-r5.ebuild Ebuild updated with latest changes from bug 81893.
Created attachment 102207 [details] amsn-svn-9999-r6.ebuild amsn-svn-9999-r6: Minor changes (Added myconf var). Now it depends on dev-tcltk/snack for voice messages support.
Version 0.96 has been released, so I guess this isn't needed anymore
This ebuild is for installing 0.97b version, wich has voice messages support trough snack, but is a development version so i suppose you must leave it as resolved wontfix.