Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
Find attached an ebuild for NaturalDocs, an extensible, multi-language source code documentation generator. It depends on dev-lang/perl.
Created an attachment (id=28908) [edit] app-doc/NaturalDocs-1.22.ebuild (New Package)
Thanks for the submission! Before including this, it would be great if it installed its files in the standard hierarchy rather than creating /usr/NaturalDocs. If at all possible, add an ebuild that drops files in standard locations. Thanks again!
Sorry for the delay in getting back to you. Here is the issue: NaturalDocs is written to run out of a single directory, with all of its Perl libs. It looks like the only way to install it without modification is to put it all in its own directory. The NaturalDocs Perl script itself can then be symlinked into /usr/bin. Should I maybe put it in /usr/share/NaturalDocs? Please advise me of what you would consider the proper location, and I will be happy to modify the ebuild.
Created an attachment (id=29626) [edit] ebuild now installs into /usr/share/NaturalDocs
(From update of attachment 29626 [edit]) ># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Extensible, multi-language source code documentation generator" >HOMEPAGE="http://www.naturaldocs.org/" >SRC_URI="mirror://sourceforge/naturaldocs/${P}.zip mirror://sourceforge/naturaldocs/${P}-Patch-1.zip" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" > >IUSE="" >RESTRICT="nomirror" > >RDEPEND="dev-lang/perl" >DEPEND="${RDEPEND}" > >src_unpack() { > mkdir ${P} || die "could not create directory ${P}" > cd ${P} > unzip ${DISTDIR}/${P}.zip > > # The "patch" is actually a whole new Perl module. Just unzip it over > # top of the original one. > unzip -o ${DISTDIR}/${P}-Patch-1.zip >} > >src_compile() { > einfo "Nothing to compile" >} > >src_install() { > # Install Perl script, modules, and other supporting stuff > dodir /usr/share/NaturalDocs > cp -a NaturalDocs ${D}/usr/share/NaturalDocs/ > cp -ar Modules Project Styles ${D}/usr/share/NaturalDocs/ > > # Make the Perl script executable > chmod a+x ${D}/usr/share/NaturalDocs/NaturalDocs > > # Symlink the Perl script into /usr/bin > dodir /usr/bin > dosym /usr/share/NaturalDocs/NaturalDocs /usr/bin/NaturalDocs > > # Documentation > dodoc *.txt > dohtml -r Help/* >}
Created an attachment (id=29871) [edit] Changed HOMEPAGE per author's instructions
Sorry, meant to obsolete old attachment, and I forgot what "edit as comment" meant. Ignore the comment, use the only non-obsolete attachment as the latest ebuild.
Created an attachment (id=29912) [edit] app-doc/NaturalDocs-1.22-r1 (Update) Patch-3 is out, superceeding Patch-1 and Patch-2
I am going to snag this bug, now that I have my wings.
gogogo =) And feel free to take any of the sound@ bugs as well... but please leave me the alsa and xmms ones. I'm still going to be relatively unavailible for the next week or so, but feel free to ask for help... I'll be around but busy setting up my network and dealing with amd64 & gcc3.4 issues.
In CVS.