summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Schultz <mattsch@gmail.com>2012-11-30 16:16:28 -0600
committerMatthew Schultz <mattsch@gmail.com>2012-11-30 16:16:28 -0600
commit09fa031e79a98115f5f5fbd7305c987f8cbd39ae (patch)
treeb1820be1c5a8c2ffd2d2d183ee0b373168a4c984 /app-text
parentdev-libs/xml-core: Changed ebuild to only install library and catalog files s... (diff)
downloadsunrise-09fa031e79a98115f5f5fbd7305c987f8cbd39ae.tar.gz
sunrise-09fa031e79a98115f5f5fbd7305c987f8cbd39ae.tar.bz2
sunrise-09fa031e79a98115f5f5fbd7305c987f8cbd39ae.zip
app-text/debiandoc-sgml: New Ebuild for bug #445396
Diffstat (limited to 'app-text')
-rw-r--r--app-text/debiandoc-sgml/ChangeLog10
-rw-r--r--app-text/debiandoc-sgml/Manifest4
-rw-r--r--app-text/debiandoc-sgml/debiandoc-sgml-1.2.27.ebuild53
-rw-r--r--app-text/debiandoc-sgml/metadata.xml10
4 files changed, 77 insertions, 0 deletions
diff --git a/app-text/debiandoc-sgml/ChangeLog b/app-text/debiandoc-sgml/ChangeLog
new file mode 100644
index 000000000..1005370fb
--- /dev/null
+++ b/app-text/debiandoc-sgml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-text/debiandoc-sgml
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*debiandoc-sgml-1.2.27 (30 Nov 2012)
+
+ 30 Nov 2012; Matthew Schultz (mschultz) <mattsch@gmail.com>
+ +debiandoc-sgml-1.2.27.ebuild, +metadata.xml:
+ New Ebuild for bug #445396
+
diff --git a/app-text/debiandoc-sgml/Manifest b/app-text/debiandoc-sgml/Manifest
new file mode 100644
index 000000000..31775594e
--- /dev/null
+++ b/app-text/debiandoc-sgml/Manifest
@@ -0,0 +1,4 @@
+DIST debiandoc-sgml_1.2.27.tar.gz 122638 SHA256 d69984f781a2589b43aef74131a6ef43b252074bcd48d654436e57e4f683aa9b SHA512 1c33c0f3584d09026743f35387ef6a2421366226658026972f23e6439e7ae4bfc8d73ca9eb8e254ea2174c3ab2269cc02225d84039c23247b962c89ed3a8db17 WHIRLPOOL 3735f8e2c7f2d8baeb85b9f35bfd4a4ad4e576e9321e08b531079dafb1b62b159458a0b8aa00016bd48a7e5f9a81d9eb96c8cd3a4b50f68a2d5a1184219a1c8c
+EBUILD debiandoc-sgml-1.2.27.ebuild 1324 SHA256 fa1bc6052891b9ef028d2937c1620f65cf2b4a2a13f6e588818e3542504cfed0 SHA512 0fb30258592081a936c057bfb911d1e4b194440bcadefa99804dc3907a464498f6eeede1b18ee29e3e763b1cbf7448cf62392166111d5e8f8cf9d8e8395a2a04 WHIRLPOOL e43e6f04efafb8267afbee06ad0e3d512097f9a6cfcb1c0d23368f4889d66a508689169ed4425bbee5779c89966154debeea6068c7f5203d2afa2e090eca79e6
+MISC ChangeLog 302 SHA256 6c6b2487065932cf34733743956b5550b7327a541502b23b04863f15fe2bb259 SHA512 fb6c2158f3fc78439b205264e5283457c2c42fa246cd578c41d689fd53c49c3be948026369cc7d1bb3b46cdb2e643683cde7b3d198591f1b70a777f9622bb1c0 WHIRLPOOL ac1df82ee1554c648c197c8d2b75e755a2accdd13e57f459c93561c710b684f323a071514d68b1eb16a14ee631794d55721e7711274b5767a67cbe25250e7c84
+MISC metadata.xml 582 SHA256 7a7267e500830483598093f4da5f824914b25d8bc02a36fec6feb070e772e638 SHA512 d43cf7b0474001c549095b40ec0e2198132724c8d7c9174998aea3ea011dfd42dd6256d8c5f71e53883a923f638f775db363705af7ddfeae260d6e2bcb534a93 WHIRLPOOL 13263bae5f1453e5d4f6f141f3e19c93b4e599b55c26c3f97a03f1af6c547ea3918eb2f87fda3c5d1ddad41c310a4fb7aa071ba446829daff8ae13fb0e9432aa
diff --git a/app-text/debiandoc-sgml/debiandoc-sgml-1.2.27.ebuild b/app-text/debiandoc-sgml/debiandoc-sgml-1.2.27.ebuild
new file mode 100644
index 000000000..915707f33
--- /dev/null
+++ b/app-text/debiandoc-sgml/debiandoc-sgml-1.2.27.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit perl-module sgml-catalog
+
+DESCRIPTION="DebianDoc SGML DTD and formatting tools"
+HOMEPAGE="http://packages.qa.debian.org/debiandoc-sgml"
+SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cjk"
+
+RDEPEND="app-text/openjade
+ dev-lang/perl
+ dev-libs/xml-core
+ dev-perl/HTML-Parser
+ dev-perl/Roman
+ dev-perl/SGMLSpm
+ dev-perl/Text-Format
+ dev-perl/URI
+ virtual/perl-i18n-langtags
+ cjk? ( dev-tex/cjk-latex )"
+
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/debiandoc/dtd/sgml/1.0/catalog"
+sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
+ "/usr/share/sgml/debiandoc/entities/catalog"
+
+pkg_pretend() {
+ if [[ "${LINGUAS}" == *"zh_TW"* ]] && ! use cjk; then
+ ewarn "To have proper support for zh_TW in LINGUAS,"
+ ewarn "You should enable the cjk USE flag for this package."
+ fi
+}
+
+src_prepare() {
+ perl-module_src_prep
+ sed -e "s#\$(pkg_format_dir) \$(pkg_bin_dir)#${VENDOR_LIB}/DebianDoc_SGML/Format /usr/share/\$(pkg_name)#" \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake prefix="${D}"/usr perl_dir="${D}${VENDOR_LIB}"
+}
+
+src_install() {
+ emake prefix="${D}"/usr perl_dir="${D}${VENDOR_LIB}" install
+}
diff --git a/app-text/debiandoc-sgml/metadata.xml b/app-text/debiandoc-sgml/metadata.xml
new file mode 100644
index 000000000..555086386
--- /dev/null
+++ b/app-text/debiandoc-sgml/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+ <longdescription>
+ This is an SGML-based documentation formatting package used for the Debian manuals. It reads markup files and
+ produces HTML, LaTeX, DVI (via LaTeX), PostScript (via LaTeX/DVI), PDF (via LaTeX), Texinfo, Info
+ (via Texinfo), DebianDoc SGML, DocBook XML, plain text (with overstrikes a la troff as well as without) files.
+ </longdescription>
+</pkgmetadata>