diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2010-01-10 15:13:59 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2010-01-10 15:13:59 +0000 |
commit | e1e9bc83f815f76ce7bb6e7ba4f196128491cf91 (patch) | |
tree | 5fb20dba5cdc7dbd75dc468f68ddad62a5bd7445 /app-doc/pms | |
parent | x86 stable, bug 289342 (diff) | |
download | gentoo-2-e1e9bc83f815f76ce7bb6e7ba4f196128491cf91.tar.gz gentoo-2-e1e9bc83f815f76ce7bb6e7ba4f196128491cf91.tar.bz2 gentoo-2-e1e9bc83f815f76ce7bb6e7ba4f196128491cf91.zip |
remove kdebuild and all-options USE flags as trunk has no support for them anymore; remove KEYWORDS for live ebuild and clean up a bit
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-doc/pms')
-rw-r--r-- | app-doc/pms/ChangeLog | 9 | ||||
-rw-r--r-- | app-doc/pms/metadata.xml | 4 | ||||
-rw-r--r-- | app-doc/pms/pms-99999999.ebuild | 25 |
3 files changed, 15 insertions, 23 deletions
diff --git a/app-doc/pms/ChangeLog b/app-doc/pms/ChangeLog index 6dbe90291d1a..b0e116fdc5c0 100644 --- a/app-doc/pms/ChangeLog +++ b/app-doc/pms/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-doc/pms -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/ChangeLog,v 1.18 2009/05/31 19:03:19 gentoofan23 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/ChangeLog,v 1.19 2010/01/10 15:13:59 fauli Exp $ + + 10 Jan 2010; Christian Faulhammer <fauli@gentoo.org> pms-99999999.ebuild, + metadata.xml: + remove kdebuild and all-options USE flags as trunk has no support for them + anymore; remove KEYWORDS for live ebuild and clean up a bit 31 May 2009; Thomas Anderson <gentoofan23@gentoo.org> metadata.xml, pms-99999999.ebuild: diff --git a/app-doc/pms/metadata.xml b/app-doc/pms/metadata.xml index 36e345bf448e..2fb7f59186c0 100644 --- a/app-doc/pms/metadata.xml +++ b/app-doc/pms/metadata.xml @@ -15,10 +15,6 @@ <name>Christian Faulhammer</name> </maintainer> <use> - <flag name="all-options">Include both sides of kdebuild conditionals, - shown in different colours (PDF only)</flag> <flag name="html">Generate PMS as .html as well</flag> - <flag name="kdebuild">Include specification for the kdebuild EAPI, see - http://www.gentoo.org/proj/en/desktop/kde/kdebuild-1.xml</flag> </use> </pkgmetadata> diff --git a/app-doc/pms/pms-99999999.ebuild b/app-doc/pms/pms-99999999.ebuild index 9d209efd556c..eeb2cb49c58d 100644 --- a/app-doc/pms/pms-99999999.ebuild +++ b/app-doc/pms/pms-99999999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-99999999.ebuild,v 1.12 2009/05/31 19:03:19 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-99999999.ebuild,v 1.13 2010/01/10 15:13:59 fauli Exp $ inherit git @@ -12,8 +12,8 @@ SRC_URI="" LICENSE="CCPL-Attribution-ShareAlike-3.0" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="all-options html kdebuild" +KEYWORDS="" +IUSE="html" DEPEND="html? ( >=dev-tex/tex4ht-20090115_p0029 ) dev-tex/leaflet @@ -24,25 +24,16 @@ DEPEND="html? ( >=dev-tex/tex4ht-20090115_p0029 ) dev-texlive/texlive-science" RDEPEND="" -set_conditional() { - local boolname=ENABLE-$(tr '[[:lower:]]' '[[:upper:]]' <<<${1}) - local boolval=$(use ${1} && echo true || echo false) - sed -i -e '/\\setboolean{'${boolname}'}/s/true\|false/'${boolval}'/' pms.cls || die "sed failed" -} - src_compile() { - set_conditional all-options - set_conditional kdebuild - - emake || die "emake failed" + emake || die if use html; then - emake html || die "emake html failed" + emake html || die fi } src_install() { - dodoc pms.pdf || die "dodoc failed" + dodoc pms.pdf || die if use html; then - dohtml *.html pms.css $(shopt -s nullglob; echo *.png) || die "dohtml failed" + dohtml *.html pms.css $(shopt -s nullglob; echo *.png) || die fi } |