summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-06-15 11:00:23 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-06-15 11:00:23 +0000
commit1de94a03941f953b6682f728423e6eb576cf47fb (patch)
treed8627e02058a885798ad4e642fdabca9cd2f0a8a /app-doc
parentDescribe USE=html for app-doc/pms. (diff)
downloadhistorical-1de94a03941f953b6682f728423e6eb576cf47fb.tar.gz
historical-1de94a03941f953b6682f728423e6eb576cf47fb.tar.bz2
historical-1de94a03941f953b6682f728423e6eb576cf47fb.zip
Add a html USE flag, to generate pms as HTML as well. Patch by David Leverton.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/pms/ChangeLog6
-rw-r--r--app-doc/pms/Manifest10
-rw-r--r--app-doc/pms/pms-99999999.ebuild13
3 files changed, 20 insertions, 9 deletions
diff --git a/app-doc/pms/ChangeLog b/app-doc/pms/ChangeLog
index d684c970f7d4..136fde5e1277 100644
--- a/app-doc/pms/ChangeLog
+++ b/app-doc/pms/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-doc/pms
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/ChangeLog,v 1.1 2008/06/13 01:02:43 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/ChangeLog,v 1.2 2008/06/15 11:00:23 ingmar Exp $
+
+ 15 Jun 2008; Ingmar Vanhassel <ingmar@gentoo.org> pms-99999999.ebuild:
+ Add a html USE flag, to generate pms as HTML as well. Patch by David
+ Leverton.
*pms-99999999 (13 Jun 2008)
diff --git a/app-doc/pms/Manifest b/app-doc/pms/Manifest
index e21a7d266096..7d5dbf3be5cb 100644
--- a/app-doc/pms/Manifest
+++ b/app-doc/pms/Manifest
@@ -1,13 +1,13 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-EBUILD pms-99999999.ebuild 1048 RMD160 75ba1bbe1d2d189f4869b37e37eaff4ab33d78fb SHA1 fd9392efbd711e3812e01cf247212b6cd7251c57 SHA256 dea8f093e91eb64a24c44cb87c0810068608dbe320d19be5ced7a37c573b4556
-MISC ChangeLog 406 RMD160 7c6403121aca72de6e25d1eb4b34396e48b2c682 SHA1 fcc5bea91678d3167b4e47d5dc30d700267e751b SHA256 5fba3816f949910dd3714bc3a24352cb6efa8f154d40f16377330948d12db332
+EBUILD pms-99999999.ebuild 1244 RMD160 1bb585787b9d598d3b0a3de0fff34a85eca7e2e2 SHA1 d7f737dfd2f43bc318ba0a539512a3f0647aaa0a SHA256 efb6564432d9c07f31c177bfea5d90758ea998bc7b0ce3953fd8344e53d7ecc6
+MISC ChangeLog 563 RMD160 f0fc93810786eca34fa84541a026f2a8599a5c96 SHA1 fe833cee64e4973244dcb20cfccbde596a096ab0 SHA256 783189ce136afe9537333c552b98c1ed7a26e55f6793dfb699ce122349a77536
MISC metadata.xml 332 RMD160 d7ecef4132b6e3c7bd75d01c79be45054ef45e69 SHA1 aee3b3a9eec5e2ad8f097ce9378928a20e5195aa SHA256 69fb2dca6ee116354e3bd1e0301962aa4ae661e7d7908f25c8538ae13c9d8da9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkhRxvoACgkQB18eXLOpYdmbsACgi25tagZFdvwoJ7hIa3ZrdKBH
-sVkAoI3YwrCF7fcBxceJhplFHqdQTE+i
-=Syas
+iEYEARECAAYFAkhU9gYACgkQB18eXLOpYdm6QACeOGwx+v/6CrfJl7/fiD8hf0Nd
+TTsAn0hhKxnWp1cz5qqa/MybvcahmHCM
+=IvpC
-----END PGP SIGNATURE-----
diff --git a/app-doc/pms/pms-99999999.ebuild b/app-doc/pms/pms-99999999.ebuild
index ac33a5caff4e..ea08ebd0f3d6 100644
--- a/app-doc/pms/pms-99999999.ebuild
+++ b/app-doc/pms/pms-99999999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 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.1 2008/06/13 01:02:43 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/pms/pms-99999999.ebuild,v 1.2 2008/06/15 11:00:23 ingmar Exp $
inherit git
@@ -13,9 +13,9 @@ SRC_URI=""
LICENSE="CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS=""
-IUSE="all-options kdebuild"
+IUSE="all-options html kdebuild"
-DEPEND="
+DEPEND="html? ( dev-tex/tex4ht )
dev-texlive/texlive-latex
dev-texlive/texlive-latexrecommended
dev-texlive/texlive-latexextra
@@ -31,9 +31,16 @@ set_conditional() {
src_compile() {
set_conditional all-options
set_conditional kdebuild
+
emake || die "emake failed"
+ if use html; then
+ emake html || die "emake html failed"
+ fi
}
src_install() {
dodoc pms.pdf || die "dodoc failed"
+ if use html; then
+ dohtml *.html pms.css $(shopt -s nullglob; echo *.png) || die "dohtml failed"
+ fi
}