diff options
author | 2012-05-10 19:27:50 +0200 | |
---|---|---|
committer | 2012-05-10 19:58:39 +0200 | |
commit | 08c2e45c549c9bbb31bfbb321818b5b27ba7b980 (patch) | |
tree | fb23e9d9c1fd7cd71f04a9c0844277039a64dcae /app-text | |
parent | app-text/daps: 1.0.2 (diff) | |
download | betagarden-08c2e45c549c9bbb31bfbb321818b5b27ba7b980.tar.gz betagarden-08c2e45c549c9bbb31bfbb321818b5b27ba7b980.tar.bz2 betagarden-08c2e45c549c9bbb31bfbb321818b5b27ba7b980.zip |
app-text/docbook-to-man: 0_p19960617, 2.0.0
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/docbook-to-man/Manifest | 6 | ||||
-rw-r--r-- | app-text/docbook-to-man/docbook-to-man-0_p19960617.ebuild | 37 | ||||
-rw-r--r-- | app-text/docbook-to-man/docbook-to-man-2.0.0.ebuild | 37 | ||||
-rw-r--r-- | app-text/docbook-to-man/files/docbook-to-man-0_p19960617-compile.patch | 73 | ||||
-rw-r--r-- | app-text/docbook-to-man/metadata.xml | 8 |
5 files changed, 161 insertions, 0 deletions
diff --git a/app-text/docbook-to-man/Manifest b/app-text/docbook-to-man/Manifest new file mode 100644 index 0000000..81de474 --- /dev/null +++ b/app-text/docbook-to-man/Manifest @@ -0,0 +1,6 @@ +AUX docbook-to-man-0_p19960617-compile.patch 1804 RMD160 948923cb6b2f1d98fc32337864f8492b6c053d2e SHA1 5adccd88525409513933d3e588d8f0464255cfb3 SHA256 b190039f1e330e183835b8198a49b183dc4121ab416f86ac6b5198589dd676aa +DIST docbook-to-man-0_p19960617.tar.gz 126671 RMD160 02b0f51150acd0c83feca9feea72f52bcf8445a4 SHA1 70b53571d3d8f581f6c2ad788f5f6f6df3eda799 SHA256 f436f8a421351181f8588b01f7f1e7652b0865f8e5c4488de025e4ae7bcd773d +DIST docbook-to-man_2.0.0.orig.tar.gz 141086 RMD160 99ea62d887825a03f6603bf344fccd55f2a6165e SHA1 2c38d53e80d3304bea2f51cb7e9ea4102c9a515f SHA256 09b994671abc997c1a9ba4f162bc40795a7052276f559cc46e4ed2d864c27568 +EBUILD docbook-to-man-0_p19960617.ebuild 785 RMD160 6f9bfb0761b4fc6dfe6931ec2cd4417ab87884df SHA1 e096fe0f4a717c1d37d325f0beae72f7e61d8a50 SHA256 0b0b5fe20bf57327873b0eb70c9e1633910837c7cbdae6611c09ab69c5625aa6 +EBUILD docbook-to-man-2.0.0.ebuild 814 RMD160 6148c25455982a66ed7ac1d076056c804f179785 SHA1 10c3833096e352a7da7cee442054ae528551f1e3 SHA256 940abe28ccb07b958753efa900e3c919394e77c38ee6db48cef4fd5ae7030748 +MISC metadata.xml 235 RMD160 e964157be48c204555d79827e1bf79c9d9fb23a5 SHA1 767b5eb408113ae55d84adcb94d44a692285d175 SHA256 095e4ee6b3ae673e7ddf0d4e166a632d3384d6374c6dd86d8c401a8f5c43f7fe diff --git a/app-text/docbook-to-man/docbook-to-man-0_p19960617.ebuild b/app-text/docbook-to-man/docbook-to-man-0_p19960617.ebuild new file mode 100644 index 0000000..2aed902 --- /dev/null +++ b/app-text/docbook-to-man/docbook-to-man-0_p19960617.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Transform DocBook SGML into nroff/troff man pages" +HOMEPAGE="http://www.oasis-open.org/docbook/tools/dtm/" +SRC_URI="http://www.oasis-open.org/docbook/tools/dtm/${PN}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" # masked for now, does not yet work as expected +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-compile.patch +} + +src_compile() { + emake -C Instant dotptregexp || die + emake all || die +} + +src_install() { + dodir /usr/{bin,lib} || die + emake ROOT="${D}"/usr install || die + emake ROOT="${D}"/usr -C Instant/tptregexp install || die + doman Doc/*.1 || die +} diff --git a/app-text/docbook-to-man/docbook-to-man-2.0.0.ebuild b/app-text/docbook-to-man/docbook-to-man-2.0.0.ebuild new file mode 100644 index 0000000..6c924c4 --- /dev/null +++ b/app-text/docbook-to-man/docbook-to-man-2.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +inherit eutils + +DESCRIPTION="Transform DocBook SGML into nroff/troff man pages" +HOMEPAGE="http://www.oasis-open.org/docbook/tools/dtm/" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" # masked for now, does not yet work as expected +IUSE="" + +DEPEND="" +RDEPEND="" + +S=${WORKDIR}/${PN}-${PV}.orig + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0_p19960617-compile.patch +} + +src_compile() { + emake -C Instant dotptregexp || die + emake all || die +} + +src_install() { + dodir /usr/{bin,lib,share/sgml} || die + emake ROOT="${D}"/usr install || die + emake ROOT="${D}"/usr -C Instant/tptregexp install || die + doman Doc/*.1 || die +} diff --git a/app-text/docbook-to-man/files/docbook-to-man-0_p19960617-compile.patch b/app-text/docbook-to-man/files/docbook-to-man-0_p19960617-compile.patch new file mode 100644 index 0000000..0b029d1 --- /dev/null +++ b/app-text/docbook-to-man/files/docbook-to-man-0_p19960617-compile.patch @@ -0,0 +1,73 @@ +From a166c7b91b852b368d33f956f4174c7b5cf29e3a Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Thu, 10 May 2012 19:14:02 +0200 +Subject: [PATCH] Fix compilation + +--- + Instant/tables.c | 2 +- + Instant/tptregexp/regerror.c | 1 + + Instant/tptregexp/regexp.c | 4 ---- + 3 files changed, 2 insertions(+), 5 deletions(-) + +diff --git a/Instant/tables.c b/Instant/tables.c +index 146e3e5..4f687e9 100644 +--- a/Instant/tables.c ++++ b/Instant/tables.c +@@ -380,7 +380,7 @@ CALStable( + av[1], av[2]); + } + else { +- fprintf(stderr, "Incomplete %s table instruction\n"); ++ fprintf(stderr, "Incomplete table instruction\n"); + } + } + +diff --git a/Instant/tptregexp/regerror.c b/Instant/tptregexp/regerror.c +index 7bd554e..c5b65e0 100644 +--- a/Instant/tptregexp/regerror.c ++++ b/Instant/tptregexp/regerror.c +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <stdlib.h> + + void + tpt_regerror(s) +diff --git a/Instant/tptregexp/regexp.c b/Instant/tptregexp/regexp.c +index 66ddd87..f98fe53 100644 +--- a/Instant/tptregexp/regexp.c ++++ b/Instant/tptregexp/regexp.c +@@ -196,7 +196,6 @@ char *exp; + register char *longest; + register int len; + int flags; +- extern char *malloc(); + + if (exp == NULL) + FAIL("NULL argument"); +@@ -705,7 +704,6 @@ register regexp *prog; + register char *string; + { + register char *s; +- extern char *strchr(); + + /* Be paranoid... */ + if (prog == NULL || string == NULL) { +@@ -804,7 +802,6 @@ char *prog; + { + register char *scan; /* Current node. */ + char *next; /* Next node. */ +- extern char *strchr(); + + scan = prog; + #ifdef DEBUG +@@ -1065,7 +1062,6 @@ regexp *r; + register char *s; + register char op = EXACTLY; /* Arbitrary non-END op. */ + register char *next; +- extern char *strchr(); + + + s = r->program + 1; +-- +1.7.8.5 + diff --git a/app-text/docbook-to-man/metadata.xml b/app-text/docbook-to-man/metadata.xml new file mode 100644 index 0000000..16bcc9f --- /dev/null +++ b/app-text/docbook-to-man/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> +</pkgmetadata> |