diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-06-13 01:02:43 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-06-13 01:02:43 +0000 |
commit | a958909eed2cbe8f0aa4a4fc99347d4e59448a84 (patch) | |
tree | 5796e10cc146805be7ff9e1afa14d2308ef7eb18 /app-doc | |
parent | Add local USE flag descriptions for app-doc/pms. (diff) | |
download | gentoo-2-a958909eed2cbe8f0aa4a4fc99347d4e59448a84.tar.gz gentoo-2-a958909eed2cbe8f0aa4a4fc99347d4e59448a84.tar.bz2 gentoo-2-a958909eed2cbe8f0aa4a4fc99347d4e59448a84.zip |
Import app-doc/pms, an ebuild for the latest pms.pdf draft. ebuild by David Leverton.
(Portage version: 2.1.5.4)
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/pms/ChangeLog | 11 | ||||
-rw-r--r-- | app-doc/pms/Manifest | 3 | ||||
-rw-r--r-- | app-doc/pms/metadata.xml | 12 | ||||
-rw-r--r-- | app-doc/pms/pms-99999999.ebuild | 39 |
4 files changed, 65 insertions, 0 deletions
diff --git a/app-doc/pms/ChangeLog b/app-doc/pms/ChangeLog new file mode 100644 index 000000000000..d684c970f7d4 --- /dev/null +++ b/app-doc/pms/ChangeLog @@ -0,0 +1,11 @@ +# 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 $ + +*pms-99999999 (13 Jun 2008) + + 13 Jun 2008; Ingmar Vanhassel <ingmar@gentoo.org> +metadata.xml, + +pms-99999999.ebuild: + Import app-doc/pms, an ebuild for the latest pms.pdf draft. ebuild by + David Leverton. + diff --git a/app-doc/pms/Manifest b/app-doc/pms/Manifest new file mode 100644 index 000000000000..43427b4e3210 --- /dev/null +++ b/app-doc/pms/Manifest @@ -0,0 +1,3 @@ +EBUILD pms-99999999.ebuild 955 RMD160 c10046a1f8ff8353964f9bbc387607f102afc89e SHA1 412f5963507dbd3dedaa1a89362549459d55217c SHA256 8c9bbb7bafc209ac72db7abb04a02966753b31d9a75150c9388a90de9da355f2 +MISC ChangeLog 323 RMD160 fa21f97343ef813c8cba162d08dd07f958861463 SHA1 090b1cf71e77376d10ca33c6e621ab61ce095139 SHA256 80c7023863dd277d30c68990a1186c374435c3e3254143402895edd24e24305b +MISC metadata.xml 332 RMD160 d7ecef4132b6e3c7bd75d01c79be45054ef45e69 SHA1 aee3b3a9eec5e2ad8f097ce9378928a20e5195aa SHA256 69fb2dca6ee116354e3bd1e0301962aa4ae661e7d7908f25c8538ae13c9d8da9 diff --git a/app-doc/pms/metadata.xml b/app-doc/pms/metadata.xml new file mode 100644 index 000000000000..7500747dbe08 --- /dev/null +++ b/app-doc/pms/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ingmar@gentoo.org</email> + <name>Ingmar Vanhassel</name> + </maintainer> + <maintainer> + <email>zlin@gentoo.org</email> + <name>Bo Ørsted Andresen</name> + </maintainer> +</pkgmetadata> diff --git a/app-doc/pms/pms-99999999.ebuild b/app-doc/pms/pms-99999999.ebuild new file mode 100644 index 000000000000..ac33a5caff4e --- /dev/null +++ b/app-doc/pms/pms-99999999.ebuild @@ -0,0 +1,39 @@ +# 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 $ + +inherit git + +EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/pms.git" + +DESCRIPTION="Gentoo Package Manager Specification (draft)" +HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms.xml" +SRC_URI="" + +LICENSE="CCPL-Attribution-ShareAlike-3.0" +SLOT="0" +KEYWORDS="" +IUSE="all-options kdebuild" + +DEPEND=" + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + 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.tex || die "sed failed" +} + +src_compile() { + set_conditional all-options + set_conditional kdebuild + emake || die "emake failed" +} + +src_install() { + dodoc pms.pdf || die "dodoc failed" +} |