diff options
author | Michael Tindal <urilith@gentoo.org> | 2005-04-03 07:35:40 +0000 |
---|---|---|
committer | Michael Tindal <urilith@gentoo.org> | 2005-04-03 07:35:40 +0000 |
commit | ac2a6e884a56b96e1641984f83b6f774012cad30 (patch) | |
tree | 34e57b5c61585f96621f7be721375577e1aa20e3 /dev-dotnet/ndoc/ndoc-1.3.1-r1.ebuild | |
parent | Version bumped. Thanks to ash@tsi.lv. This closes bug #84326. (diff) | |
download | gentoo-2-ac2a6e884a56b96e1641984f83b6f774012cad30.tar.gz gentoo-2-ac2a6e884a56b96e1641984f83b6f774012cad30.tar.bz2 gentoo-2-ac2a6e884a56b96e1641984f83b6f774012cad30.zip |
Moving DLL files to /usr/share/ndoc, cleaning up broken ebuild, fixed doc installation.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-dotnet/ndoc/ndoc-1.3.1-r1.ebuild')
-rw-r--r-- | dev-dotnet/ndoc/ndoc-1.3.1-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-dotnet/ndoc/ndoc-1.3.1-r1.ebuild b/dev-dotnet/ndoc/ndoc-1.3.1-r1.ebuild new file mode 100644 index 000000000000..249f3e881501 --- /dev/null +++ b/dev-dotnet/ndoc/ndoc-1.3.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ndoc/ndoc-1.3.1-r1.ebuild,v 1.1 2005/04/03 07:35:39 urilith Exp $ + +inherit mono + +DESCRIPTION=".NET Documentation Tool" +HOMEPAGE="http://ndoc.sourceforge.net/" + +SRC_URI="mirror://sourceforge/${PN}/${PN}-devel-v${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~x86" +IUSE="debug doc" +DEPEND=">=dev-lang/mono-1.0 + >=dev-dotnet/nant-0.85_rc2" +RDEPEND=">=dev-lang/mono-1.0" + +S=${WORKDIR} + +src_compile() { + nant -t:mono-1.0 || die +} + +DLL_FILES="NDoc.Core.dll NDoc.Documenter.JavaDoc.dll NDoc.Documenter.Latex.dll NDoc.Documenter.LinearHtml.dll NDoc.Documenter.Msdn.dll NDoc.Documenter.Msdn2.dll NDoc.Documenter.Xml.dll NDoc.ExtendedUI.dll NDoc.VisualStudio.dll" + +src_install() { + cd ${S}/bin/mono/1.0 + + # This installs all of the dll files with the exe file + # directory. + insinto /usr/share/ndoc + for dll in $DLL_FILES; do + doins $dll || die "Failed to install DLL." + done + + DEBUG_VAR="" + + use debug && DEBUG_VAR="--debug" + + cat > ndoc <<- EOF + #!/bin/bash + + mono $DEBUG_VAR /usr/share/ndoc/NDocConsole.exe "\$@" + EOF + + insinto /usr/share/ndoc/ + doins NDocConsole.exe + dobin ndoc + + use doc && dohtml -a gif,html,css,js -r ${S}/doc/sdk/ +} |