summaryrefslogtreecommitdiff
path: root/app-text/htmlinc
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/htmlinc
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/htmlinc')
-rw-r--r--app-text/htmlinc/Manifest7
-rw-r--r--app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch129
-rw-r--r--app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild37
-rw-r--r--app-text/htmlinc/htmlinc-1.0_beta1.ebuild29
-rw-r--r--app-text/htmlinc/metadata.xml5
5 files changed, 207 insertions, 0 deletions
diff --git a/app-text/htmlinc/Manifest b/app-text/htmlinc/Manifest
new file mode 100644
index 000000000000..d7cd8264834d
--- /dev/null
+++ b/app-text/htmlinc/Manifest
@@ -0,0 +1,7 @@
+AUX htmlinc-gcc3-gentoo.patch 3601 SHA256 38b629b2b064adc39b392fd1bb3bb7b90e3e90cb9f918574b866106c662a0c51 SHA512 f29d5c823fae27ef027002a8e075e105f028c8a4892d142c64d69af7bca52a63de4ca19aa0cf86acc67f772349472d2b04003c71257cf1b7464c9dee56d95afd WHIRLPOOL 21224247c0c97bdd7f359c7320f5d78c9b05ae8a55479e39955785d2e73570dbf3a4e2227b05d5b90644889b79290eb9c186a18b08367ca9f49911ab6d0df246
+DIST htmlinc.tar.gz 17042 SHA256 e3323552591d27ff8160e7c0e440193734637d4acaa53cf756cc9f04b4ae61a7 SHA512 2bdb7a5df4a8152d9a23f7b740995bd565e92998ef199cfb7d08b1f5e8ae4390c5179f78da71dfa4b7ce18a2a0bfe6002d465b0fa8d860a25afdec5eb4f3ee4c WHIRLPOOL 8aa66b48ebc0320cc45b813a4b99240d0aa60e62c43a5cf0fb56135fbcbcd33f3b7c29522face7974bc0ef2622e7d8bb2e0afdf1d7203c77365fcbacb39c777b
+EBUILD htmlinc-1.0_beta1-r2.ebuild 722 SHA256 61d1bd41ea4f08c05a0742974eec593aa782124dfb370ca5e1c5c031503d64a3 SHA512 f2514266fa029136b0ea9561033624aafd61a89ff51e9d512bb2046663495e2ee281d4390826f724184527c48e4a571a3a5c700c103b987f2a6f460edb68f60e WHIRLPOOL f8dbb894868c2f696552e35a638dbbc7b211b9689e3068e11a97ef4402c6c7311ddfdc95860b961132eb8cfcc4563c6655e3e5dfe355f95bdbeb156ca76177bd
+EBUILD htmlinc-1.0_beta1.ebuild 520 SHA256 520563171941dd4895d3b27c1f855e816d86e302c8b22ba91b80325dff413835 SHA512 f81b5c4e02041ee0f0e0ace6f30d8c49baefd95d0ef43c354b19f4182b271d31d94961091c5ccc4ea17abe28f6ed5352463ed0b00185b1f539693204f306fe8f WHIRLPOOL ca6dc15ed93f2f92510e2615d87eb0792e6ee3d993fbdec79b0e9caf35915adf4b9b779759443960b296456ad2227713eaa4aa8012a332ada1b6028e1d090296
+MISC ChangeLog 2632 SHA256 89f57e6ae2d8e97446ba09bdd1506a91116af84fc5f29b54b24ba212389df5cd SHA512 c17b35eacd9953d23237a3ce26a0d7e16ebd78f1cd8865a9884784a6d7b5a508a49f100acf44bfa92d7d446497abf45d6879d44cdfe1992527a9987c0a8f39ed WHIRLPOOL 43efaa4470cc8ac1b3db52d61d5e1c23a8b6975818626b5b7322b4aabf0ae0a7a2da58df938140ed1d380b95dc6c7f97c86e1dbe88313b44f1a8d7b346af99ec
+MISC ChangeLog-2015 2137 SHA256 b3a3d1a97951919c4b4435a6aea69df5bd663f01abefbcaddc203d109bee08bf SHA512 6d145fb64eab59c807f58d66b94112ad091f850b34e33da2f6be7e903be88c6f8c195b65dba47bae16a1fa005d85a68a6747ba56fbc8b7ab2525092bb8f85fbe WHIRLPOOL 658401a4a4974a532a48f2c5c59fa30296f4d6b5d91ca76be1e0af64c03b779c0d1243f168e544aa071c4cf9a5153db59d79637d41a6381a1d2672f0ed7379e8
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch b/app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch
new file mode 100644
index 000000000000..eb92c07ff51b
--- /dev/null
+++ b/app-text/htmlinc/files/htmlinc-gcc3-gentoo.patch
@@ -0,0 +1,129 @@
+diff -u htmlinc/bytevector.cc htmlinc-1/bytevector.cc
+--- htmlinc/bytevector.cc 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/bytevector.cc 2002-09-11 13:55:25.000000000 +0200
+@@ -119,7 +119,7 @@
+ }
+
+ bool Bytevector::freadln(int file,char seperator){
+- vector<Bytevector*> v;
++ std::vector<Bytevector*> v;
+ Bytevector *b;
+ int index=0;
+ int status;
+@@ -152,7 +152,7 @@
+
+
+ void Bytevector::freadeof(int file){
+- vector<Bytevector*> v;
++ std::vector<Bytevector*> v;
+ Bytevector *b;
+ int index=0;
+ int status;
+diff -u htmlinc/bytevector.h htmlinc-1/bytevector.h
+--- htmlinc/bytevector.h 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/bytevector.h 2002-09-11 13:54:50.000000000 +0200
+@@ -54,7 +54,7 @@
+
+
+
+-class VectorIndexList : public vector<int> {
++class VectorIndexList : public std::vector<int> {
+ };
+
+
+diff -u htmlinc/stringlist.cc htmlinc-1/stringlist.cc
+--- htmlinc/stringlist.cc 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/stringlist.cc 2002-09-11 13:57:47.000000000 +0200
+@@ -283,7 +283,7 @@
+ for (Stringlist::iterator i=begin(); i!=end(); i++){
+ delete *i;
+ }
+- vector<Bytevector *>::clear();
++ std::vector<Bytevector *>::clear();
+ }
+
+
+@@ -373,7 +373,7 @@
+
+ void Stringlist::insert(Bytevector *b, int pos){
+ iterator i=begin()+pos;
+- vector<Bytevector *>::insert(i,b);
++ std::vector<Bytevector *>::insert(i,b);
+ }
+
+ void Stringlist::insert(Bytevector &b, int pos){
+@@ -417,7 +417,7 @@
+
+
+ Bytevector& Stringlist::operator[](int i){
+- return *(vector<Bytevector *>::operator[](i));
++ return *(std::vector<Bytevector *>::operator[](i));
+ }
+
+
+diff -u htmlinc/stringlist.h htmlinc-1/stringlist.h
+--- htmlinc/stringlist.h 2000-08-07 10:56:23.000000000 +0200
++++ htmlinc-1/stringlist.h 2002-09-11 13:56:32.000000000 +0200
+@@ -57,12 +57,12 @@
+ }
+ };
+
+-class MatrixIndexList: public vector<MatrixIndex> {
++class MatrixIndexList: public std::vector<MatrixIndex> {
+ };
+
+
+
+-class Stringlist : public vector<Bytevector*> {
++class Stringlist : public std::vector<Bytevector*> {
+ private:
+ Stringlist::iterator getID(Bytevector id);
+
+diff -Naur htmlinc-old/help.h htmlinc/help.h
+--- htmlinc/help.h 2000-08-08 09:04:28.000000000 -0400
++++ htmlinc-1/help.h 2004-03-01 19:43:43.770233421 -0500
+@@ -4,25 +4,25 @@
+
+ char * helpV[]=
+ {
+-{"HTML INCLUDE SYSTEM Version 1.0 beta1 - Compatible to Phase 5"},
+-{"Copyright (C) 2000 , Ulli Meybohm, www.meybohm.de (GNU General Public License)"},
+-{""},
+-{"Start: "},
+-{" htmlinc <include_dir> <htmlfile_1> <htmlfile_2> ... <htmlfile_n>"},
+-{""},
+-{"Options:"},
+-{" <include_dir> = Directory of the Includefiles"},
+-{" <htmlfile_i> = HTML-Files in which the includes should be updated"},
+-{""},
+-{"Examples:"},
+-{" 1: htmlinc ~/www/inc/ *.html"},
+-{""},
+-{" 2: cd ~/www"},
+-{" htmlinc inc/ `find * | grep \"\\\\.\"html` (recursive)"},
+-{" "},
+-{""},
+-{"Report bugs to ulli@meybohm.de."},
+-{""}
++"HTML INCLUDE SYSTEM Version 1.0 beta1 - Compatible to Phase 5",
++"Copyright (C) 2000 , Ulli Meybohm, www.meybohm.de (GNU General Public License)",
++"",
++"Start: ",
++" htmlinc <include_dir> <htmlfile_1> <htmlfile_2> ... <htmlfile_n>",
++"",
++"Options:",
++" <include_dir> = Directory of the Includefiles",
++" <htmlfile_i> = HTML-Files in which the includes should be updated",
++"",
++"Examples:",
++" 1: htmlinc ~/www/inc/ *.html",
++"",
++" 2: cd ~/www",
++" htmlinc inc/ `find * | grep \"\\\\.\"html` (recursive)",
++" ",
++"",
++"Report bugs to ulli@meybohm.de.",
++""
+ };
+
+ int helpC=18;
diff --git a/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild b/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild
new file mode 100644
index 000000000000..3a6d05570bbb
--- /dev/null
+++ b/app-text/htmlinc/htmlinc-1.0_beta1-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="HTML Include System by Ulli Meybohm"
+HOMEPAGE="http://www.meybohm.de/"
+SRC_URI="http://meybohm.de/files/${PN}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+S=${WORKDIR}/htmlinc
+
+src_prepare() {
+ epatch "${FILESDIR}"/htmlinc-gcc3-gentoo.patch
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ # This is C++ not C source
+ emake \
+ CC=$(tc-getCXX) \
+ CFLAGS="${CXXFLAGS} -Wall" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin htmlinc
+ dodoc README
+}
diff --git a/app-text/htmlinc/htmlinc-1.0_beta1.ebuild b/app-text/htmlinc/htmlinc-1.0_beta1.ebuild
new file mode 100644
index 000000000000..62cc5f2aa95d
--- /dev/null
+++ b/app-text/htmlinc/htmlinc-1.0_beta1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DESCRIPTION="HTML Include System by Ulli Meybohm"
+HOMEPAGE="http://www.meybohm.de/"
+SRC_URI="http://meybohm.de/files/${PN}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc sparc x86"
+IUSE=""
+
+DEPEND=""
+S=${WORKDIR}/htmlinc
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/htmlinc-gcc3-gentoo.patch
+}
+
+src_compile() {
+ emake CFLAGS="${CXXFLAGS} -Wall" || die
+}
+
+src_install() {
+ dobin htmlinc
+}
diff --git a/app-text/htmlinc/metadata.xml b/app-text/htmlinc/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-text/htmlinc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>