public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ole Markus With (olemarkus)" <olemarkus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-doc/php-docs: ChangeLog php-docs-20101029-r1.ebuild
Date: Fri,  9 Sep 2011 12:00:50 +0000 (UTC)	[thread overview]
Message-ID: <20110909120051.0064E2004C@flycatcher.gentoo.org> (raw)

olemarkus    11/09/09 12:00:50

  Modified:             ChangeLog
  Added:                php-docs-20101029-r1.ebuild
  Log:
  Revbump which force users to add a supported language to LINGUAS
  
  (Portage version: 2.1.10.3/cvs/Linux x86_64)

Revision  Changes    Path
1.50                 app-doc/php-docs/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/php-docs/ChangeLog?rev=1.50&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/php-docs/ChangeLog?rev=1.50&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/php-docs/ChangeLog?r1=1.49&r2=1.50

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog	30 Oct 2010 10:14:24 -0000	1.49
+++ ChangeLog	9 Sep 2011 12:00:50 -0000	1.50
@@ -1,6 +1,12 @@
 # ChangeLog for app-doc/php-docs
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.49 2010/10/30 10:14:24 olemarkus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/ChangeLog,v 1.50 2011/09/09 12:00:50 olemarkus Exp $
+
+*php-docs-20101029-r1 (09 Sep 2011)
+
+  09 Sep 2011; Ole Markus With <olemarkus@gentoo.org>
+  +php-docs-20101029-r1.ebuild:
+  Revbump which force users to add a supported language to LINGUAS
 
   30 Oct 2010; <olemarkus@gentoo.org> -php-docs-20101022.ebuild,
   +php-docs-20101029.ebuild:



1.1                  app-doc/php-docs/php-docs-20101029-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/php-docs/php-docs-20101029-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/php-docs/php-docs-20101029-r1.ebuild?rev=1.1&content-type=text/plain

Index: php-docs-20101029-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/php-docs/php-docs-20101029-r1.ebuild,v 1.1 2011/09/09 12:00:50 olemarkus Exp $

EAPI="4"

DESCRIPTION="HTML documentation for PHP"
HOMEPAGE="http://www.php.net/download-docs.php"

MY_PN="php_manual"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""

RESTRICT="strip binchecks"

LANGS="en de es fa fr ja pl pt_BR ro tr"
for lang in ${LANGS} ; do
	IUSE="${IUSE} linguas_${lang}"
	SRC_URI="${SRC_URI}
		linguas_${lang}? ( http://olemarkus.org/~olemarkus/gentoo/${MY_PN}_${lang}-${PV}.tar.gz )"
done

REQUIRED_USE="|| ( ${IUSE} )"

# Set English to default
IUSE="${IUSE/linguas_en/+linguas_en}"

S=${WORKDIR}

src_unpack() {
	for lang in ${LANGS} ; do
		if use linguas_${lang} ; then
			mkdir ${lang}
			pushd ${lang} >/dev/null
			unpack ${MY_PN}_${lang}-${PV}.tar.gz || die "unpack failed on ${lang}"
			popd >/dev/null
		fi
	done
}

pkg_preinst() {
	# remove broken/stale symlink created by previous ebuilds
	[[ -L ${EROOT}/usr/share/php-docs ]] && rm -f "${EROOT}"/usr/share/php-docs
}

src_install() {
	dodir /usr/share/doc/${PF}

	for lang in ${LANGS} ; do
		if use linguas_${lang} ; then
			ebegin "Installing ${lang} manual, will take a while"
			cp -R "${WORKDIR}"/${lang} "${ED}"/usr/share/doc/${PF} || die "cp failed on ${lang}"
			eend $?
		fi
	done

	einfo "Creating symlink to PHP manual at /usr/share/php-docs"
	dosym /usr/share/doc/${PF} /usr/share/php-docs
}






             reply	other threads:[~2011-09-09 12:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-09 12:00 Ole Markus With (olemarkus) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-02-21 14:50 [gentoo-commits] gentoo-x86 commit in app-doc/php-docs: ChangeLog php-docs-20101029-r1.ebuild Agostino Sarubbo (ago)
2012-02-21 23:20 Jeroen Roovers (jer)
2012-02-29 20:42 Markus Meier (maekke)
2012-03-01 20:00 Brent Baude (ranger)
2012-03-02 21:56 Brent Baude (ranger)
2012-03-08  8:58 PaweA Hajdan (phajdan.jr)
2012-03-19 19:08 Raul Porcel (armin76)
2012-05-29 16:55 Alexis Ballier (aballier)

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=20110909120051.0064E2004C@flycatcher.gentoo.org \
    --to=olemarkus@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