summaryrefslogtreecommitdiff
path: root/app-text/htmlc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/htmlc
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/htmlc')
-rw-r--r--app-text/htmlc/Manifest8
-rw-r--r--app-text/htmlc/files/werror.patch18
-rw-r--r--app-text/htmlc/htmlc-2.40.0.ebuild47
-rw-r--r--app-text/htmlc/htmlc-2.60.0.ebuild53
-rw-r--r--app-text/htmlc/metadata.xml8
5 files changed, 134 insertions, 0 deletions
diff --git a/app-text/htmlc/Manifest b/app-text/htmlc/Manifest
new file mode 100644
index 000000000000..280daaac3e0b
--- /dev/null
+++ b/app-text/htmlc/Manifest
@@ -0,0 +1,8 @@
+AUX werror.patch 791 SHA256 cf403d48245137bd903a34248808d1272733d16b00694b3f680fd97cfcc8f839 SHA512 fe62de854558ad673e8d88b42d6c71543e32f846afaca1e5062d365b18b4613216e0021ffb4b59e923c4aaba1db6c621c65744de2ac3c864e17e61384022b4bd WHIRLPOOL 9981135e72a00fae4b2f545c5601195b639fbcfc67b345726349943e026581fb3f6247bf804c6df38f3ce42690a8bb2aeeae1b5387ec49631b2503e7568181a6
+DIST htmlc-2.4.0.tgz 132584 SHA256 d4cf430f18ed543c448ac8765d1e4e363e72bdb2f6a639467eab62b886769594 SHA512 8de81041cea0c6d07188cb0d8cd553c1d20ea37d01a8d7425d23a10c7fd3d93dc1f7c1e3de473cb624720dc7588a3d891432d5945a23d1f253d2109cdafc15dc WHIRLPOOL c10d87c014d636d492d7dc422846078b6e03dae3831a743d5bdb4fd50f4462f5562563c1bcd9b96acce807199343accee1fb69e378679c6cd3cb8af55ce9ec77
+DIST htmlc-2.6.tgz 286727 SHA256 dbd3400f436bc5ee90161a796950583584bffd0a586ad320f56494546854b835 SHA512 fa268cf547d60babcbf1aee73f75d3516b08e83158dc0bee36f724abfe2f46ad4b571c09d9d14f97315c70f88d3ea29000fe2d838042242325adce201d60a8f4 WHIRLPOOL 57ee35b14e82a861cb184fd71105484874b7ff71e145d2ac55b1a0a958293c65a811549704938185547a34f7fed154a6d722b4130be3576366da8c92961c3b1d
+EBUILD htmlc-2.40.0.ebuild 877 SHA256 86fad25c1ec57380e677adaed5e6eadbdf16d042e8a96f16c2a7455427de4d7d SHA512 f97c54930c582ef4a1f9d969ac3d8bf2a5f1af368af8f90a2b4214468cfb51e3841c19eacd47b1e0fec1f666d7c21fb5c699261950715d26feeaac9bbc67c9f2 WHIRLPOOL 98c9f42655c17a827e5f7d6945a307516ee088e49f557b6b092c5d9ace8bf8bc8ffeaa38f68b4fc47be76aca30f15ccfec7adc0f1da208401bb9bf34ca7fd362
+EBUILD htmlc-2.60.0.ebuild 951 SHA256 dd0ab62e3d8204def115157594bd15a6929c5cdb74034414023447f82fd770b4 SHA512 180a18c3586dc3d7a0fa9ede3c1083c3d70c54454faeb24d8ad1f64746d3586cbbbb0cfbe4a7627f474edeeace6998c11cc0ae79fe15b50a2c31916969fe3a7b WHIRLPOOL b03185b416e33c63ab1e5f4e7809cdbb05dd55324d43e60548b56af3c5181a5e67e82e5ed38f926cda2ca4bfb3e3d65797c977e7ad795e8ec99f65044f45b3c6
+MISC ChangeLog 2494 SHA256 24cce862059f62e8ef9d7b47b447d499fc14ef013af431f199637143e2bdfebb SHA512 51e7f1da63e9287ae11e84f19329f694c426cbd5be7eb891c5c0f697f1ecbdbf4055e1fad4f7ca056eac572eb9982903868e16f1d7d56ddfe0d50c1ed82afdb8 WHIRLPOOL 060e698cba30c4c4efd55f419443e7091f6e917ebf5da00d9ac73ce77046dbb4a4bfabe5886a1dff966b6445ad7aba7908642f79925b87df068c3fef0e274160
+MISC ChangeLog-2015 1746 SHA256 2383c96b9718460a8532f472f4ab33250142176cd54309bad2f6241a378ac8ab SHA512 29aea00d108a7c433e28c5b3003612df7fc20274a61b384c012043e54ca839dfaf3f2e5228880f63ed29db351d9077e28c5c115ce2740a154dc3079b322ac5da WHIRLPOOL af9b3a1580e317ad78490c5c28456722e22be47a01b1a3574f6127199307b21c24950f8ac661b327c66ddc7a94597c8892d9d00137c09885ef7c7acaa8be2ac0
+MISC metadata.xml 247 SHA256 1e5906c3f850b776eb8532a92da9c868e9ed204a1fb40289cb778d9ee9eb972d SHA512 0f7ebd1264695f56fe6ab78e4e82c07866376f03ebfa12b22b60d0b2df819aa818832cb0d9eb2d77ab642a786b44cd127f579c348f0b2f57bc22e26b3b51c42b WHIRLPOOL 5a7860c9397b969860f00ae555207d30e89f0c9d87c1f191b443635088d0700bd3c78b163a6c862a521ab275ad735b4a2fa8e4f7553020a2ad993f6640259011
diff --git a/app-text/htmlc/files/werror.patch b/app-text/htmlc/files/werror.patch
new file mode 100644
index 000000000000..4576b47b80a4
--- /dev/null
+++ b/app-text/htmlc/files/werror.patch
@@ -0,0 +1,18 @@
+Dont build with -Werror like switches.
+Need to patch Makefile and *NOT* Makefile.in since otherwise this triggers a
+rebuild of the Makefile which needs htmlc to be installed first.
+https://bugs.gentoo.org/show_bug.cgi?id=553172
+
+Index: htmlc-2.6.0/config/Makefile
+===================================================================
+--- htmlc-2.6.0.orig/config/Makefile
++++ htmlc-2.6.0/config/Makefile
+@@ -40,7 +40,7 @@ MANDIR = $(PREFIXINSTALLDIR)/man/man$(MA
+
+ # The Caml compilers (those defaults should be OK)
+ CAMLDEP = $(OCAML_COMMAND_SEARCH_PATH)ocamldep
+-CAML_FLAGS = -w A -warn-error A #-safe-string
++CAML_FLAGS = -w A #-safe-string
+ CAMLBYT_FLAGS = $(CAML_FLAGS) -g -annot
+ CAMLBYT = $(OCAML_COMMAND_SEARCH_PATH)ocamlc $(CAMLBYT_FLAGS)
+ CAMLBIN_FLAGS = $(CAML_FLAGS) -inline 10000
diff --git a/app-text/htmlc/htmlc-2.40.0.ebuild b/app-text/htmlc/htmlc-2.40.0.ebuild
new file mode 100644
index 000000000000..8f9c4893199b
--- /dev/null
+++ b/app-text/htmlc/htmlc-2.40.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# Override version: 2.4.0 > 2.21.0 so we name it 2.40.0
+MY_P="${P/0[.]/.}"
+
+DESCRIPTION="HTML template files expander"
+HOMEPAGE="http://htmlc.inria.fr/"
+SRC_URI="http://htmlc.inria.fr/${MY_P}.tgz"
+
+LICENSE="htmlc"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE="+ocamlopt"
+# Files for the tests are missing...
+#RESTRICT="test"
+
+DEPEND=">=dev-lang/ocaml-3.11.2:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ ./configure \
+ --install-root-dir "${ED}usr" \
+ || die
+}
+
+src_compile() {
+ if use ocamlopt ; then
+ emake bin
+ else
+ emake byt
+ fi
+}
+
+src_install() {
+ if use ocamlopt ; then
+ emake installbin
+ else
+ emake installbyt
+ fi
+ emake MANDIR='$(PREFIXINSTALLDIR)/share/man/man$(MANEXT)' installman
+ dodoc README Announce* CHANGES
+}
diff --git a/app-text/htmlc/htmlc-2.60.0.ebuild b/app-text/htmlc/htmlc-2.60.0.ebuild
new file mode 100644
index 000000000000..b10f6905b522
--- /dev/null
+++ b/app-text/htmlc/htmlc-2.60.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+# Override version: 2.4.0 > 2.21.0 so we name it 2.40.0
+MY_P="${P/0[.]/.}"
+
+DESCRIPTION="HTML template files expander"
+HOMEPAGE="http://htmlc.inria.fr/"
+SRC_URI="http://htmlc.inria.fr/${MY_P%.0}.tgz"
+
+LICENSE="htmlc"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+ocamlopt"
+# Files for the tests are missing...
+#RESTRICT="test"
+
+DEPEND=">=dev-lang/ocaml-3.11.2:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/werror.patch"
+}
+
+src_configure() {
+ ./configure \
+ --install-root-dir "${ED}usr" \
+ || die
+}
+
+src_compile() {
+ if use ocamlopt ; then
+ emake bin
+ else
+ emake byt
+ fi
+}
+
+src_install() {
+ if use ocamlopt ; then
+ emake installbin
+ else
+ emake installbyt
+ fi
+ emake MANDIR='$(PREFIXINSTALLDIR)/share/man/man$(MANEXT)' installman
+ dodoc README Announce* CHANGES
+}
diff --git a/app-text/htmlc/metadata.xml b/app-text/htmlc/metadata.xml
new file mode 100644
index 000000000000..75c9ea74812d
--- /dev/null
+++ b/app-text/htmlc/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 type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+</pkgmetadata>