From cafae6dad875df72f9d26628d502ef80192506bb Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 16 Jul 2011 14:04:46 +0000 Subject: Migrate the live ebuild to git-2.eclass, add a fallback EGIT_REPO_URI, bump EAPI. (Portage version: 2.2.0_alpha45_p2/cvs/Linux x86_64) --- app-doc/pms/ChangeLog | 6 +++++- app-doc/pms/pms-9999.ebuild | 22 ++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) (limited to 'app-doc/pms') diff --git a/app-doc/pms/ChangeLog b/app-doc/pms/ChangeLog index 4b91151c1b1e..ed4922261a47 100644 --- a/app-doc/pms/ChangeLog +++ b/app-doc/pms/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-doc/pms # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/ChangeLog,v 1.29 2011/03/18 19:38:42 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/ChangeLog,v 1.30 2011/07/16 14:04:46 mgorny Exp $ + + 16 Jul 2011; Michał Górny pms-9999.ebuild: + Migrate the live ebuild to git-2.eclass, add a fallback EGIT_REPO_URI, bump + EAPI. 18 Mar 2011; Ulrich Mueller pms-4_p20110118.ebuild: Mark as stable, bug 359359. diff --git a/app-doc/pms/pms-9999.ebuild b/app-doc/pms/pms-9999.ebuild index 463aa5d34fba..47104405dd30 100644 --- a/app-doc/pms/pms-9999.ebuild +++ b/app-doc/pms/pms-9999.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-9999.ebuild,v 1.1 2010/06/11 13:48:10 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-9999.ebuild,v 1.2 2011/07/16 14:04:46 mgorny Exp $ -inherit git +EAPI=4 +inherit git-2 -EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/pms.git" +EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git + http://git.overlays.gentoo.org/gitroot/proj/${PN}.git" DESCRIPTION="Gentoo Package Manager Specification (draft)" HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms.xml" @@ -25,15 +27,11 @@ DEPEND="html? ( >=dev-tex/tex4ht-20090115_p0029 ) RDEPEND="" src_compile() { - emake || die - if use html; then - emake html || die - fi + emake + use html && emake html } src_install() { - dodoc pms.pdf || die - if use html; then - dohtml *.html pms.css $(shopt -s nullglob; echo *.png) || die - fi + dodoc pms.pdf + use html && dohtml *.html pms.css $(shopt -s nullglob; echo *.png) } -- cgit v1.2.3-65-gdbad