public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Peter Alfredsen (loki_val)" <loki_val@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-dotnet/ndoc: ChangeLog ndoc-1.3.1-r3.ebuild
Date: Sun, 03 May 2009 16:45:24 +0000	[thread overview]
Message-ID: <E1M0eoe-0005dn-9J@stork.gentoo.org> (raw)

loki_val    09/05/03 16:45:24

  Modified:             ChangeLog
  Added:                ndoc-1.3.1-r3.ebuild
  Log:
  Revision bump. Install into GAC, install pkgconfig file, keyword ~amd64.
  (Portage version: 2.2_rc28/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  dev-dotnet/ndoc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/ndoc/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/ndoc/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/ndoc/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-dotnet/ndoc/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	21 Feb 2007 23:10:44 -0000	1.8
+++ ChangeLog	3 May 2009 16:45:24 -0000	1.9
@@ -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.



1.1                  dev-dotnet/ndoc/ndoc-1.3.1-r3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/ndoc/ndoc-1.3.1-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/ndoc/ndoc-1.3.1-r3.ebuild?rev=1.1&content-type=text/plain

Index: ndoc-1.3.1-r3.ebuild
===================================================================
# 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 $?
}







             reply	other threads:[~2009-05-03 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-03 16:45 Peter Alfredsen (loki_val) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-20 19:53 [gentoo-commits] gentoo-x86 commit in dev-dotnet/ndoc: ChangeLog ndoc-1.3.1-r3.ebuild Brent Baude (ranger)
2009-09-20 22:09 Markus Meier (maekke)
2009-09-27 17:07 Gysbert Wassenaar (nixnut)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1M0eoe-0005dn-9J@stork.gentoo.org \
    --to=loki_val@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox