summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-05-03 16:45:24 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-05-03 16:45:24 +0000
commit724caf514ef0b43589dda19b95c7a5513eb0f4c7 (patch)
tree4fa8df68886b113cbf38411a4d1d51a71f9dc2e3 /dev-dotnet
parentVersion bump (diff)
downloadhistorical-724caf514ef0b43589dda19b95c7a5513eb0f4c7.tar.gz
historical-724caf514ef0b43589dda19b95c7a5513eb0f4c7.tar.bz2
historical-724caf514ef0b43589dda19b95c7a5513eb0f4c7.zip
Revision bump. Install into GAC, install pkgconfig file, keyword ~amd64.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/ndoc/ChangeLog9
-rw-r--r--dev-dotnet/ndoc/Manifest3
-rw-r--r--dev-dotnet/ndoc/ndoc-1.3.1-r3.ebuild83
3 files changed, 92 insertions, 3 deletions
diff --git a/dev-dotnet/ndoc/ChangeLog b/dev-dotnet/ndoc/ChangeLog
index 200a6908831d..9f8da459a00a 100644
--- a/dev-dotnet/ndoc/ChangeLog
+++ b/dev-dotnet/ndoc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-dotnet/ndoc
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ndoc/ChangeLog,v 1.8 2007/02/21 23:10:44 peper Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ndoc/ChangeLog,v 1.9 2009/05/03 16:45:24 loki_val Exp $
+
+*ndoc-1.3.1-r3 (03 May 2009)
+
+ 03 May 2009; Peter Alfredsen <loki_val@gentoo.org> +ndoc-1.3.1-r3.ebuild:
+ Revision bump. Install into GAC, install pkgconfig file, keyword ~amd64.
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-dotnet/ndoc/Manifest b/dev-dotnet/ndoc/Manifest
index fbb63cf6f215..9ff5f84c56d2 100644
--- a/dev-dotnet/ndoc/Manifest
+++ b/dev-dotnet/ndoc/Manifest
@@ -1,5 +1,6 @@
DIST ndoc-devel-v1.3.1.zip 3896669 RMD160 d7fd029f16060641e4002ebad91cf65146d33591 SHA1 5e39a93306d8d9e13afd510517a536a741ce3008 SHA256 f587a11ff2b726347028faee8e1db654d1544cbdc8d37be593f0560ec8b60256
EBUILD ndoc-1.3.1-r1.ebuild 1305 RMD160 4ab86ce4483b89269c354d75d5f059aba9416252 SHA1 0639a60c4beb6b3d412dc9943917af31cc537949 SHA256 900e95026d6f1a813c7f0f669547c54becb584d1a021499db2d6907e50b038dc
EBUILD ndoc-1.3.1-r2.ebuild 1469 RMD160 92e9a49ef66e7488446c65d4fa1bd52b24310528 SHA1 084f892cbbf47e366fe9a971af19341e0c883d60 SHA256 ed3b0b1184553f5967587c9ecd33f2b265716ce7c9aebadf5e085f9ae7420ef8
-MISC ChangeLog 1140 RMD160 3ccc34c3f70e41d0fa91e70f21629e60c4722758 SHA1 d52b2a635ebcf53d11c34a8a404ee597e3797f8c SHA256 0ba52049ab545019d3268b41b43b02300fcd9712e4c350760652a11dd882e5d8
+EBUILD ndoc-1.3.1-r3.ebuild 2319 RMD160 22c99809a20be7cd7295ba1bdfad1ce63635b954 SHA1 d4bfe707aebfbe945d48e562752e1bd98da056bd SHA256 9da80164d7e610e3b5521d0d6733814e43e9e0a5f6ff28bf7e83bf5603020d59
+MISC ChangeLog 1325 RMD160 cf689a728c164bcef5bf1c2ca9afd24c237ad5a9 SHA1 128cec47250f56b78cb8114fc04e1f3f75513913 SHA256 5a93e91a5e334ba962eaadb61dd3d3f615ea0aed3116ce50edf75d03f934e65e
MISC metadata.xml 161 RMD160 7d20790c0e955dea4b53f1aef5078003e1dc3c22 SHA1 28cb0a5b42b6dd0ee38f87e15c2967138448852e SHA256 fcb8ced2da8d069ed47cc44ce865610755373a37d5c430fc3fddf2ecd1ea461d
diff --git a/dev-dotnet/ndoc/ndoc-1.3.1-r3.ebuild b/dev-dotnet/ndoc/ndoc-1.3.1-r3.ebuild
new file mode 100644
index 000000000000..07883560e9ab
--- /dev/null
+++ b/dev-dotnet/ndoc/ndoc-1.3.1-r3.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2009 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-r3.ebuild,v 1.1 2009/05/03 16:45:24 loki_val Exp $
+
+EAPI=2
+
+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 ~amd64"
+IUSE="doc"
+RDEPEND=">=dev-lang/mono-1.0"
+DEPEND="${RDEPEND}
+ >=dev-dotnet/nant-0.85_rc2
+ app-arch/unzip
+ dev-util/pkgconfig"
+
+S=${WORKDIR}
+
+src_prepare() {
+ sed -r -i -e 's: doc="[^"]+\"::' $(find . -name '*.build')
+}
+
+src_compile() {
+ # Workaround some unused private warnings which the buildfiles are treating as errors
+ find "${S}" -name '*.build' -exec sed -e 's@warnaserror="true"@@g' -i {} \;
+
+ 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
+
+ for dll in *.dll *.exe; do
+ egacinstall $dll || die "Failed to install $dll."
+ done
+
+ cat > ndoc <<- EOF
+ #!/bin/bash
+ mono \$MONO_OPTIONS /usr/$(get_libdir)/ndoc/NDocConsole.exe "\$@"
+ EOF
+
+ dobin ndoc
+
+ use doc && dohtml -a gif,html,css,js -r "${S}"/doc/sdk/
+ generate_pkgconfig "${PN}" "NDoc" || die
+}
+
+generate_pkgconfig() {
+ ebegin "Generating .pc file"
+ local dll \
+ LSTRING='Libs:' \
+ pkgconfig_filename="${1:-${PN}}" \
+ pkgconfig_pkgname="${2:-${pkgconfig_filename}}" \
+ pkgconfig_description="${3:-${DESCRIPTION}}"
+
+ dodir "/usr/$(get_libdir)/pkgconfig"
+ cat <<- EOF -> "${D}/usr/$(get_libdir)/pkgconfig/${pkgconfig_filename}.pc"
+ prefix=/usr
+ exec_prefix=\${prefix}
+ libdir=\${prefix}/$(get_libdir)
+ Name: ${pkgconfig_pkgname}
+ Description: ${pkgconfig_description}
+ Version: ${PV}
+ EOF
+ for dll in "${D}"/usr/$(get_libdir)/mono/${pkgconfig_filename}/*.dll
+ do
+ LSTRING="${LSTRING} -r:"'${libdir}'"/mono/${pkgconfig_filename}/${dll##*/}"
+ done
+ printf "${LSTRING}" >> "${D}/usr/$(get_libdir)/pkgconfig/${pkgconfig_filename}.pc"
+ PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --silence-errors --libs ${pkgconfig_filename} &> /dev/null
+ eend $?
+}
+