summaryrefslogtreecommitdiff
path: root/dev-tex/latex2html
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 /dev-tex/latex2html
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/latex2html')
-rw-r--r--dev-tex/latex2html/Manifest22
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch12
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-brace.patch36
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch12
-rw-r--r--dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch33
-rw-r--r--dev-tex/latex2html/files/latex2html-convert-length.patch22
-rw-r--r--dev-tex/latex2html/files/latex2html-destdir.patch15
-rw-r--r--dev-tex/latex2html/files/latex2html-extract-major-version-2.patch12
-rw-r--r--dev-tex/latex2html/files/latex2html-extract-major-version.patch12
-rw-r--r--dev-tex/latex2html/files/latex2html-perl_name.patch11
-rw-r--r--dev-tex/latex2html/files/latex2html-tests.patch26
-rw-r--r--dev-tex/latex2html/latex2html-2008-r1.ebuild84
-rw-r--r--dev-tex/latex2html/latex2html-2008.ebuild81
-rw-r--r--dev-tex/latex2html/latex2html-2015.ebuild81
-rw-r--r--dev-tex/latex2html/latex2html-2017.2-r1.ebuild81
-rw-r--r--dev-tex/latex2html/latex2html-2017.2-r2.ebuild82
-rw-r--r--dev-tex/latex2html/metadata.xml8
17 files changed, 630 insertions, 0 deletions
diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest
new file mode 100644
index 000000000000..08b1dbdfa4c3
--- /dev/null
+++ b/dev-tex/latex2html/Manifest
@@ -0,0 +1,22 @@
+AUX latex2html-2017.2-brace-2.patch 561 SHA256 d2018dc1388d7f604e81aee475579e5591348de817f1793aeb4c2454b4b4330b SHA512 002b71718b63d0c87c07c3d88dba9d33d8ecd2e08889f787f5b01fa3976cdbe215802c835013c2d1f686be01f4bedcca020039e7eb025098dc93e8a839a45bcd WHIRLPOOL 735905402b4823704f49848aab3c381862361f92c9e6901790356bf8b2ee95c1faea94175db03cd2c14117e834bc42efb79c4abcb72aa95283b0ab0addc2efd6
+AUX latex2html-2017.2-brace.patch 1402 SHA256 cbd20d7271241d79331ebe49594ad0f9f4ea7afd8584fff99e0bb4ec92400610 SHA512 f138757d62cd047452377f67276bb385c37636352db575ae8da8debd0586d6f9620902505dba2809d77eb28eef670f463b38d7450f63cdc19711090487cbd2f7 WHIRLPOOL cb1c311279e72f8f7f45fa986460a45e538b7e4c5b8548513cdca08e557ae4ec687bfade34d7c106b303b8c01cc6e1679532ce73c5ef022e071210eae9054e8f
+AUX latex2html-2017.2-dotinc-2.patch 499 SHA256 88dfb5365804185ad0281ba7c213b8473defd8d849bf795fc1ce8b79a04fa06c SHA512 370511bbfbb1c62f0b18d73129b51a726c29e79793aea0324f27a1ddd5ced00df0b6e2799a70f7b31b8b7939bf00b81c0f1d57605ecddf4d02f8c186748ac666 WHIRLPOOL 68d303b5c6224428bd3f102e8097cd2cf167b46d5768f5ea5124e1b3ef9da4fbed026668d96ecbadd2bc1fe59f5207cc52da7fe3c427028b395ae0e09fcbef89
+AUX latex2html-2017.2-dotinc.patch 1130 SHA256 01c13168f0bb13cc9593776d5a256eb510f9afae715e0dec9cad33a6fdec244d SHA512 a9dfcbe11501cc6a1d61eb435a690c9c06ab200dcccf55477d35f76614a0a1c7da713664408b9c06a49c44f46a7f80eaad385cb8fb1f4135172157fac9de5ae6 WHIRLPOOL f461885fdb51acd72831371332334443dd73d5c798b2990be8dca26286578eb6deb26b65f5f2677b8fe579529ef0a98bc5f4aaf637abdfbb1db602119c4972e6
+AUX latex2html-convert-length.patch 1148 SHA256 aaf0e7b7ef3e37790da12fac5e92d87323c6f8041d7fd3c205ee3c96df83401e SHA512 f5bb3c29006e783728915d0761cbae4b0fddd65aa323749f9459ccf439d6896fd96c3608c2984868bb82be2ff390a6fe39933f01d3b12c94d50d61824f6368e1 WHIRLPOOL 2439ff81a4cbe30690dfb70f06ea05fb52652b1a93f9b7ae13d01dc9001ac0a9efc2075c7a26c9e591f44f6affada83a9b20a195ea3a4481584d3f9bce1f683c
+AUX latex2html-destdir.patch 703 SHA256 e2dad7784064b12c17ba9530eb54f706d057c5b399538ee1928ca38005f860e1 SHA512 dbc4e9272ed54949fa34da8fd4b0e15db646461ef564e65d7b4a20dd89425227b93987a2a214ec57984b200135085b6456d758efd2faffd89c16d305d315d744 WHIRLPOOL 08d3e7d0083f9b2039dfb6798b73a64045ac7c0ad19b240c1be0f46e39f611380b056fd181ce55814999f36bd2f1ff415ded96a1a98e4659b3ba7fa343edc1a8
+AUX latex2html-extract-major-version-2.patch 640 SHA256 2853223713f4c4f3b3497cbee98904299442947ede5c35d9cdffe43b1fb6e12f SHA512 924fc8212250b20a4dea15e9588376d067740966174268e10922edb59da8be6f5095411570f06610593e5c0ffe54d3340e10a6f8050f4966ba29dbf5c12f3dc9 WHIRLPOOL 314709ea1efd6d3805c64ef6f582a8a6167dd93f8712842694d6ca27c9fe4234a65deaf09a3be1360eea4e1b6f1aac75e856f20ee2aae53cf1cfb0e31ab590c0
+AUX latex2html-extract-major-version.patch 635 SHA256 265327a28fdbec750a32fc32999625ef254ec80736f170e645e1355d51df5c04 SHA512 a8bedf07b233d6ffa7329fc6eb4c051639fc9871d8c6cc33efdfa49fce9c5e57e41e309beeb50546dd63feec2ee6e3b54f2e233956d8ee8f7b97b3fb050217eb WHIRLPOOL 259fb7d481cec36122728ecdc8819cada8e7dd723f9fc7f8ff43bafc593fd042d4178d1e61d40d362ce9384491f0c26d806a279e2bc33a3e98d7390c1bd8b3aa
+AUX latex2html-perl_name.patch 445 SHA256 41dcf9d9b46691c34bddbae39faccbfeadf6beb2e19a4ac18af4a186758289c9 SHA512 2f20147e0c4c5818f1e3843e3f7176ce84d332d2b3f3266cf86e4b4432c72ce626110805613b5f8f9f72b44332a532a203d1e4b091f9b447ec1bfda23585b6db WHIRLPOOL f4b3baa4276b2c0b8d5c854547816c12836d4d93ca9fc09e456fbdb53c58233dbcf83bc85ca1cf550fdf6063e0345c5a20559aef00d6c763b7a53d3bf3709414
+AUX latex2html-tests.patch 1052 SHA256 77e0b69b9b466b38f0e7557ae05762746dbe0e9a004492c1e71b1bc3889e2718 SHA512 b3c17ded5c45526f114c8bfdc9bc348e41d3297da377b99af2d0507f953b828d362ec9bdcf166677646b6350a7900f073ea7896dcdd7d3e6f7b265274ffaaeda WHIRLPOOL 238ac996f7c000b71b4644fc070bc1b1ca20cdfa9dab2013e73cf3b0c670c147db239d344519efe61655c73caf3edf971ee0d2e5ba2e0e49327b9f1398c70733
+DIST latex2html-2008.tar.gz 1133054 SHA256 59456815a3984250c295d3d5c46b85646038db8db2735cdc0d3780cf4da337ad SHA512 e5a9d1700fcc45e6fcb7bae79e25acd52b7a84b70a75b3c7f1e746f65adbd48219a828420f6a7c437613d5c74dfb0405c91df01ac9c1535e9850f3a3e5c47f60 WHIRLPOOL 3d4dba64a2ce1b548749f5a5d489afba8694b2b6214dc5b7030820898d13a33dd708c751d2dc625a3d93930bcc0e483fa3e6736a2812c3baf395f70bb77404dc
+DIST latex2html-2015.tar.gz 1217699 SHA256 248cf84c70dd31221ddc69ef7ce0e720aadd26b572ee412827eae62f0eefb8dd SHA512 dd031944250efd28691edeba5e83b4c5c0deec3a2e7c2ab2a9bd285a911f6ab21a02cd0ef697bebc2c7c7c0ebd285493c1d6b01b0db9355fc7f3316a2af65e2c WHIRLPOOL 27e086e44ace2cae80d0b29390d3ba63f426c3facd8ac5e4573b580260a3e859c29bd0496ed0f864c0e2644ff0105e9b0cfeb45d9812c54b97f6386c5844b0c9
+DIST latex2html-2017.2.tar.gz 1131438 SHA256 4b8c21ef292817c85ba553f560129723bcae4ee9a6ec7a22ce2289329db7c1ef SHA512 0e1ab1b2005dc71988b1500884d7a13bfbdce73a62ef7f6cc6e83e29d776c98eb09cff3f8d0c162493586094c9ca6f07d47e98d2137f223f27044d03e9bb3473 WHIRLPOOL a0d6145cc104e70ec43097e0af527e18df98fe9f7c668f994c219d1548920d74347dc9de59728d702f207bebc42b267f8a18faa6f912363000d3807f23ab1560
+DIST latex2html-match-multiline.patch.bz2 8147 SHA256 fa4c74b1e6ef3fc337485b7940922aaa1aed0c33a533e75f4a97503547f4570e SHA512 01ec0dd1705f030736432a7fa8bf99c83c9e4f01c9755319d36e65e18737361d23073277692a8c44af529a1c37caabcc9e720a4be57e64300f945060e88f6641 WHIRLPOOL d0f69d16060d9829cafdc266acdb50e2071cf742841e7fcce524d69268c51036665670c0e3111e83dea8271cb0032f2362686c976a8b2c9032b50125ab3a9b2c
+EBUILD latex2html-2008-r1.ebuild 2682 SHA256 30583c990848f3b39627e1fc7131bfb4089c8f7618db83726970e4c03182c882 SHA512 10e129ad46a9681d74036dd2d5d6ef51a1b2da4646e82f38d5f205ec5ad0a452233733da18c33db10e568ba7993d19e7a2c4a81f2e782b21ce26d59bc36274f7 WHIRLPOOL d97bec5ed166de185b4409c0caa6742b6151522dff0188ed01ca01ffe69eef2f9e39fe001d2f523434449df8c5e6524a1ac36cd2d1befbe24d0aac3ec642aa86
+EBUILD latex2html-2008.ebuild 2368 SHA256 c6cb3ea985a79b1e018f3d0e499f9878a21028de6fd58f23c43f227295fad67a SHA512 0913c091ade4266f3d7dc96371cadc98579a52df9aeb7dfa16a146e531a41433ec36269176814e33565a57b397360b73781ce93bbd78ae9e290f32d908ff1771 WHIRLPOOL c24db5005a7cd4fa19bf65595143056d8920fabdd3843f8d2f5ce6ddb97a4b5aa2bf2d5ae04d834b762478ba87a1824bf56ab242c21f3b1f9cf24c6c355731db
+EBUILD latex2html-2015.ebuild 2227 SHA256 a387fc40c754c819c4b015cbee209f84098ae2e355a7be552f4e4b7b7cba52e6 SHA512 e8c3469e64f414e88cbc1099220c61e71aac9338db7bcff88ebce319b30a8b5e898ed9d0287c5f5b8b6faefbf3db2f4c7f1d7b1497d54b1bf4cefac7b3c2a7b6 WHIRLPOOL 339c369e4aeb7ec59feb09f4e128fe942c57cbe200f93db9e7943fefd99fe65b071ce349a87d3ec1d1229c417f8bfb9e297fc28bfd2d606fbfc8a05b8ab81853
+EBUILD latex2html-2017.2-r1.ebuild 2138 SHA256 427551d65f109122b198f54ffd8c622432c10a1ea982236053fa7e4b0b9039aa SHA512 0419754406dd4dac3827cfe26deadade7767bb3ad46270e83032b7ad1ce4d73921ba4e7eca3976bd7fd331a56109616b3105a7c1007a775e5a1b0d3ea85cc1e0 WHIRLPOOL eca188882186807d604b1023863f28880cbab49f144665bbbe54b3a989d212c1fcb39e64688371b259ca9efa7ab9360e9a5d01c973a3f76fb5500a0e5326097b
+EBUILD latex2html-2017.2-r2.ebuild 2172 SHA256 d6650481b4c3859f2a14ceee7d89544197d60241eba4ad86dfd5839fa857e99b SHA512 5e611f6eda3d3ef8a80e2a78221693ea012415f6cb9a72d6dedfd5779c17849d706f289d860029c6170f3571030104055ef0abbc781d1d55315d926803850d7e WHIRLPOOL 51dfbab9e89a77bd3e08e48be55f018218277b32c490c4194786f18eb6a2ded2b8e86cea5cf3f9ec8c5cb46ee403e7847b791c2b17ed7cc6964c950afa28300d
+MISC ChangeLog 2915 SHA256 50f3803d8cd17a28b11b79eabebf3a5fabedca91f4e07b56d7f2f383c6ffd282 SHA512 2e0a666ea2ef44a4500f95b183015cc8a1d85a7811c7bb5c462287f830145770aa723b12827a308656484ad1d6845a9f585e397c6b09ea27ca50eb9ea9554270 WHIRLPOOL 625a05cdc9b396f0e7ab8999a0701acc398c9aaa50119e36c6eaa76acf3edb12a2cc43ec0c1bf51559ff686cd3a953d79a992fee86fb769ac95072ecafc27ba0
+MISC ChangeLog-2015 9749 SHA256 4b707e7ecddcfe7f67d492066fe9c74da38eabeb2095e8b6e01014447d81c0e6 SHA512 666cb33f63558211a85ea7adc5f80d24e1795a7911e4dcdaf5d2a0968a45457b4d5aa8bf2f7c8cac192738d49cb37ca8cbde1f823baf1719a6a6bbfefb61a715 WHIRLPOOL d54acfd78fca6478c0d962460a39a271fbb971352534190ea903f303dc54052f95b5ae021fcd189b23696603a2509148a4ab0721842b0b65e45229cbdae119c7
+MISC metadata.xml 245 SHA256 b3de478821488be2cdc91b078e21c911dc384af882c5c44631a47dfa91516dc8 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 WHIRLPOOL 701a78fc2214f5fd4bd781477f85e87e716b8d76ea831a0fa4afc8871c4286cc363679f1ff4f844555ad4f77cc7265208b83e805f56c22fc4baeed1062280c08
diff --git a/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch b/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch
new file mode 100644
index 000000000000..533cbc0c75cf
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-2017.2-brace-2.patch
@@ -0,0 +1,12 @@
+diff -ruN latex2html-2017.2.orig/styles/frames.perl latex2html-2017.2/styles/frames.perl
+--- latex2html-2017.2.orig/styles/frames.perl 2017-01-23 18:14:25.000000000 +0100
++++ latex2html-2017.2/styles/frames.perl 2017-09-23 15:49:27.184088195 +0200
+@@ -706,7 +706,7 @@
+ $_[0] =~ s/<(META NAME|LINK)[^>]*>\s*//g;
+ $_[0] =~ s/$more_links_mark/$NO_ROBOTS\n$LATEX2HTML_META/g;
+ local($savedRS)=$/; $/ = '';
+- $_[0] =~ s/\n{2;}/\n/sg;
++ $_[0] =~ s/\n\{2;}/\n/sg;
+ $_[0] =~ s/\s$//s;
+ $_[0] =~ s!\s*(\n</HEAD>\n)\s*!$1!s;
+ $/ = $savedRS;
diff --git a/dev-tex/latex2html/files/latex2html-2017.2-brace.patch b/dev-tex/latex2html/files/latex2html-2017.2-brace.patch
new file mode 100644
index 000000000000..4782fb313e79
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-2017.2-brace.patch
@@ -0,0 +1,36 @@
+diff -ruN latex2html-2017.2.orig/versions/html3_2.pl latex2html-2017.2/versions/html3_2.pl
+--- latex2html-2017.2.orig/versions/html3_2.pl 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/versions/html3_2.pl 2017-08-04 09:38:17.219909442 -0000
+@@ -607,7 +607,7 @@
+
+ if ($color_env) {
+ local($color_test) = join(',',@$open_tags_R);
+- if ($color_test =~ /(color{[^}]*})/g ) {
++ if ($color_test =~ /(color\{[^}]*})/g ) {
+ $color_env = $1;
+ }
+ }
+diff -ruN latex2html-2017.2.orig/versions/html4_01.pl latex2html-2017.2/versions/html4_01.pl
+--- latex2html-2017.2.orig/versions/html4_01.pl 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/versions/html4_01.pl 2017-08-04 09:39:32.529023088 -0000
+@@ -976,7 +976,7 @@
+
+ if ($color_env) {
+ local($color_test) = join(',',@$open_tags_R);
+- if ($color_test =~ /(color{[^}]*})/g ) {
++ if ($color_test =~ /(color\{[^}]*})/g ) {
+ $color_env = $1;
+ }
+ }
+diff -ruN latex2html-2017.2.orig/versions/html4_1.pl latex2html-2017.2/versions/html4_1.pl
+--- latex2html-2017.2.orig/versions/html4_1.pl 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/versions/html4_1.pl 2017-08-04 09:37:48.507866114 -0000
+@@ -976,7 +976,7 @@
+
+ if ($color_env) {
+ local($color_test) = join(',',@$open_tags_R);
+- if ($color_test =~ /(color{[^}]*})/g ) {
++ if ($color_test =~ /(color\{[^}]*})/g ) {
+ $color_env = $1;
+ }
+ }
diff --git a/dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch b/dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch
new file mode 100644
index 000000000000..2e58c0070d7d
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-2017.2-dotinc-2.patch
@@ -0,0 +1,12 @@
+diff -ruN latex2html-2017.2.orig/configure latex2html-2017.2/configure
+--- latex2html-2017.2.orig/configure 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/configure 2017-08-04 09:21:02.929355288 -0000
+@@ -1225,7 +1225,7 @@
+ fi
+
+ # this is used to get the values from the config file
+-eval `perl -w -e 'use cfgcache; foreach(keys %cfg) { print qq($_='"'"'$cfg{$_}'"'"'\n);}'`
++eval `perl -w -e 'use lib q[.]; use cfgcache; foreach(keys %cfg) { print qq($_='"'"'$cfg{$_}'"'"'\n);}'`
+
+
+
diff --git a/dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch b/dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch
new file mode 100644
index 000000000000..e7f29ad5779c
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-2017.2-dotinc.patch
@@ -0,0 +1,33 @@
+diff -ruN latex2html-2017.2.orig/config/build.pl latex2html-2017.2/config/build.pl
+--- latex2html-2017.2.orig/config/build.pl 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/config/build.pl 2017-08-04 09:13:26.040867263 -0000
+@@ -145,6 +145,7 @@
+ # Read in the system's configuration
+ use FindBin;
+ use lib "$FindBin::Bin/..";
++use lib "$FindBin::Bin";
+ use cfgcache;
+
+ my $dd = $cfg{'dd'};
+diff -ruN latex2html-2017.2.orig/config/config.pl latex2html-2017.2/config/config.pl
+--- latex2html-2017.2.orig/config/config.pl 2017-01-23 17:14:25.000000000 -0000
++++ latex2html-2017.2/config/config.pl 2017-08-04 09:13:45.500980317 -0000
+@@ -435,6 +435,7 @@
+
+ use FindBin;
+ use lib "$FindBin::Bin/..";
++use lib "$FindBin::Bin";
+ use L2hos;
+
+ #use diagnostics;
+diff -ruN latex2html-2017.2.orig/config/install.pl latex2html-2017.2/config/install.pl
+--- latex2html-2017.2.orig/config/install.pl 2017-08-04 09:08:53.608284554 -0000
++++ latex2html-2017.2/config/install.pl 2017-08-04 09:13:57.116047796 -0000
+@@ -183,6 +183,7 @@
+
+ use FindBin;
+ use lib "$FindBin::Bin/..";
++use lib "$FindBin::Bin";
+ use cfgcache;
+ use L2hos;
+
diff --git a/dev-tex/latex2html/files/latex2html-convert-length.patch b/dev-tex/latex2html/files/latex2html-convert-length.patch
new file mode 100644
index 000000000000..4171fd7c05e9
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-convert-length.patch
@@ -0,0 +1,22 @@
+--- latex2html-2002-2-1/versions/html2_2.pl.old 2006-02-21 20:37:50.000000000 +0100
++++ latex2html-2002-2-1/versions/html2_2.pl 2006-02-21 20:38:03.000000000 +0100
+@@ -91,7 +91,7 @@
+ ($pxs,$len);
+ }
+ # should no longer be needed, as this is defined in latex2html.pin
+-if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} }
++if (!defined (&convert_length)) { sub convert_length {&convert_length_table(@_)} }
+
+ # Translates LaTeX column specifications to HTML. Again, Netscape
+ # needs some extra work with its width attributes in the <td> tags.
+--- latex2html-2002-2-1/versions/table.pl.old 2006-02-21 20:37:54.000000000 +0100
++++ latex2html-2002-2-1/versions/table.pl 2006-02-21 20:38:11.000000000 +0100
+@@ -91,7 +91,7 @@
+ ($pxs,$len);
+ }
+ # should no longer be needed, as this is defined in latex2html.pin
+-if (undefined &convert_length) { sub convert_length {&convert_length_table(@_)} }
++if (!defined (&convert_length)) { sub convert_length {&convert_length_table(@_)} }
+
+ # Translates LaTeX column specifications to HTML. Again, Netscape
+ # needs some extra work with its width attributes in the <td> tags.
diff --git a/dev-tex/latex2html/files/latex2html-destdir.patch b/dev-tex/latex2html/files/latex2html-destdir.patch
new file mode 100644
index 000000000000..2d07beff449b
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-destdir.patch
@@ -0,0 +1,15 @@
+Index: latex2html-2008/config/install.pl
+===================================================================
+--- latex2html-2008.orig/config/install.pl
++++ latex2html-2008/config/install.pl
+@@ -372,7 +372,9 @@ foreach $item (sort keys %Install_items)
+
+ if($cfg{TEXPATH}) {
+ print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n";
+- unless(mkpath($cfg{TEXPATH})) {
++ my $destdir = $cfg{TEXPATH};
++ $destdir = $ENV{'DESTDIR'}.$destdir if($ENV{'DESTDIR'});
++ unless(mkpath($destdir)) {
+ #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html
+ #$testpath =~ s/[$dd$dd][^$dd$dd]*$//;
+ #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) {
diff --git a/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch b/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch
new file mode 100644
index 000000000000..11b6685385ec
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-extract-major-version-2.patch
@@ -0,0 +1,12 @@
+diff -urN latex2html-2002-2-1.orig/config/config.pl latex2html-2002-2-1/config/config.pl
+--- latex2html-2002-2-1.orig/config/config.pl 2006-06-02 20:41:18.000000000 +0200
++++ latex2html-2002-2-1/config/config.pl 2006-06-02 20:42:07.000000000 +0200
+@@ -1275,7 +1275,7 @@
+ ($stat,$msg,$err) = &get_out_err("$pnmcrop -version");
+ my $vers = '';
+ $msg = $msg || $err;
+- if ($msg =~ /(^|\s*)Version.*\s([\d\.]+)\s*([\n\r]|$)/is) { $vers = $2; }
++ if ($msg =~ /(^|\s*)Version: Netpbm (\d+)\..*\s*([\n\r]|$)/is) { $vers = $2; }
+ if ($vers =~ /^199/) {
+ # try left crop
+ &checking('if pnmcrop can crop from one direction');
diff --git a/dev-tex/latex2html/files/latex2html-extract-major-version.patch b/dev-tex/latex2html/files/latex2html-extract-major-version.patch
new file mode 100644
index 000000000000..7340754e5b41
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-extract-major-version.patch
@@ -0,0 +1,12 @@
+diff -urN latex2html-2002-2-1.orig/config/config.pl latex2html-2002-2-1/config/config.pl
+--- latex2html-2002-2-1.orig/config/config.pl 2006-06-02 20:41:18.000000000 +0200
++++ latex2html-2002-2-1/config/config.pl 2006-06-02 20:42:07.000000000 +0200
+@@ -1275,7 +1275,7 @@
+ ($stat,$msg,$err) = &get_out_err("$pnmcrop -version");
+ my $vers = '';
+ $msg = $msg || $err;
+- if ($msg =~ /(^|\s*)Version.*\s([\d\.]+)\s*([\n\r]|$)/is) { $vers = $2; }
++ if ($msg =~ /(^|\s*)Version.*\s(\d+)\..*\s*([\n\r]|$)/is) { $vers = $2; }
+ if ($vers =~ /^199/) {
+ # try left crop
+ &checking('if pnmcrop can crop from one direction');
diff --git a/dev-tex/latex2html/files/latex2html-perl_name.patch b/dev-tex/latex2html/files/latex2html-perl_name.patch
new file mode 100644
index 000000000000..cc56f91437fa
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-perl_name.patch
@@ -0,0 +1,11 @@
+--- latex2html-2002-2-1/config/config.pl 2002-11-29 12:49:01.000000000 +0100
++++ latex2html-2002-2-1/config/config.pl.new 2006-05-23 11:29:10.000000000 +0200
+@@ -617,7 +617,7 @@
+
+ # only perl gets an absolute pathname
+ my $abs_path_names = 1;
+-$newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name
++$newcfg{'PERL'} = &find_prog("perl"); # take the perl internal executable name
+ &checking('perl version');
+ &result($]);
+
diff --git a/dev-tex/latex2html/files/latex2html-tests.patch b/dev-tex/latex2html/files/latex2html-tests.patch
new file mode 100644
index 000000000000..1ada1a32bf00
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-tests.patch
@@ -0,0 +1,26 @@
+Index: latex2html-2017.2/styles/frames.perl
+===================================================================
+--- latex2html-2017.2.orig/styles/frames.perl
++++ latex2html-2017.2/styles/frames.perl
+@@ -295,7 +295,7 @@ sub check_frame_colorset {
+ elsif ($reverse == 1) {$colorset="${which}_colorset_star"}
+ elsif ($reverse == 2) {$colorset="${which}_colorset_star_star"}
+ else {$colorset="${which}_colorset"}
+- if (!(defined @$colorset))
++ if (!(@$colorset))
+ { print STDERR "\nframes for $which are not supported\n"; return($rest);}
+ local($frame_tmp)=$frame_data;
+ local($key, @values);
+Index: latex2html-2017.2/styles/natbib.perl
+===================================================================
+--- latex2html-2017.2.orig/styles/natbib.perl
++++ latex2html-2017.2/styles/natbib.perl
+@@ -1451,7 +1451,7 @@ sub do_cmd_citestyle {
+ local($_) = @_;
+ s/$next_pair_pr_rx//o;
+ local($style)="citestyle_$2";
+- if (defined @$style) {
++ if (@$style) {
+ ($CITE_OPEN_DELIM,
+ $CITE_CLOSE_DELIM,
+ $CITE_ENUM,
diff --git a/dev-tex/latex2html/latex2html-2008-r1.ebuild b/dev-tex/latex2html/latex2html-2008-r1.ebuild
new file mode 100644
index 000000000000..c8f39eed7f52
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2008-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit base eutils multilib
+
+DESCRIPTION="convertor written in Perl that converts LATEX documents to HTML"
+SRC_URI="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/${P}.tar.gz
+ https://dev.gentoo.org/~dilfridge/distfiles/${PN}-match-multiline.patch.bz2"
+HOMEPAGE="http://www.latex2html.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="gif png"
+
+DEPEND="app-text/ghostscript-gpl
+ virtual/latex-base
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng )"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}"-{convert-length,perl_name,extract-major-version-2,destdir}.patch
+ "${DISTDIR}/${PN}"-match-multiline.patch.bz2 )
+
+src_prepare() {
+ base_src_prepare
+
+ # Dont install old url.sty and other files
+ # Bug #240980
+ rm -f texinputs/url.sty texinputs/latin9.def || die "failed to remove duplicate latex files"
+
+ sed -ie 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
+}
+
+src_configure() {
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
+ --without-mktexlsr \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf} || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ dodoc BUGS Changes FAQ LICENSE.orig MANIFEST README* TODO
+
+ # make /usr/share/latex2html sticky
+ keepdir /usr/share/latex2html
+
+ # clean the perl scripts up to remove references to the sandbox
+ einfo "fixing sandbox references"
+ # pstoimg isn't built unless gif or png useflags are enabled
+ { use png || use gif ; } && sed -i -e "s:${T}:/tmp:g" "${ED}/usr/$(get_libdir)/latex2html/pstoimg.pl"
+ sed -i -e "s:${S}::g" "${ED}/usr/$(get_libdir)/latex2html/latex2html.pl" || die
+ sed -i -e "s:${T}:/tmp:g" "${ED}/usr/$(get_libdir)/latex2html/cfgcache.pm" || die
+ sed -i -e "s:${T}:/tmp:g" "${ED}/usr/$(get_libdir)/latex2html/l2hconf.pm" || die
+}
+
+pkg_postinst() {
+ einfo "Running ${EROOT}usr/bin/mktexlsr to rebuild ls-R database...."
+ "${EROOT}"usr/bin/mktexlsr
+}
+
+pkg_postrm() {
+ einfo "Running ${EROOT}usr/bin/mktexlsr to rebuild ls-R database...."
+ "${EROOT}"usr/bin/mktexlsr
+}
diff --git a/dev-tex/latex2html/latex2html-2008.ebuild b/dev-tex/latex2html/latex2html-2008.ebuild
new file mode 100644
index 000000000000..7b6bb2e232c4
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2008.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib
+
+DESCRIPTION="convertor written in Perl that converts LATEX documents to HTML"
+SRC_URI="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/${P}.tar.gz"
+HOMEPAGE="http://www.latex2html.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="gif png"
+
+DEPEND="app-text/ghostscript-gpl
+ virtual/latex-base
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng )"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-convert-length.patch"
+ epatch "${FILESDIR}/${PN}-perl_name.patch"
+ epatch "${FILESDIR}/${PN}-extract-major-version.patch"
+ epatch "${FILESDIR}/${PN}-destdir.patch"
+ # Dont install old url.sty and other files
+ # Bug #240980
+ rm -f texinputs/url.sty texinputs/latin9.def || die "failed to remove duplicate latex files"
+}
+
+src_compile() {
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf --libdir=/usr/$(get_libdir)/latex2html \
+ --shlibdir=/usr/$(get_libdir)/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ --with-texpath=/usr/share/texmf-site/tex/latex/html \
+ --without-mktexlsr \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf} || die "econf failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ dodoc BUGS Changes FAQ LICENSE.orig MANIFEST README* TODO
+
+ # make /usr/share/latex2html sticky
+ keepdir /usr/share/latex2html
+
+ # clean the perl scripts up to remove references to the sandbox
+ einfo "fixing sandbox references"
+ # pstoimg isn't built unless gif or png useflags are enabled
+ { use png || use gif ; } && dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/pstoimg.pl
+ dosed "s:${S}::g" /usr/$(get_libdir)/latex2html/latex2html.pl
+ dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/cfgcache.pm
+ dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/l2hconf.pm
+}
+
+pkg_postinst() {
+ einfo "Running ${ROOT}usr/bin/mktexlsr to rebuild ls-R database...."
+ "${ROOT}"usr/bin/mktexlsr
+}
+
+pkg_postrm() {
+ einfo "Running ${ROOT}usr/bin/mktexlsr to rebuild ls-R database...."
+ "${ROOT}"usr/bin/mktexlsr
+}
diff --git a/dev-tex/latex2html/latex2html-2015.ebuild b/dev-tex/latex2html/latex2html-2015.ebuild
new file mode 100644
index 000000000000..3afdc49f077c
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2015.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Convertor written in Perl that converts LATEX documents to HTML"
+HOMEPAGE="http://www.latex2html.org/"
+SRC_URI="http://mirrors.ctan.org/support/latex2html/latex2html-2015.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="gif png"
+
+DEPEND="app-text/ghostscript-gpl
+ virtual/latex-base
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng:0 )"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}"-{convert-length,perl_name,extract-major-version-2,destdir}.patch )
+
+src_prepare() {
+ default
+
+ # Dont install old url.sty and other files
+ # Bug #240980
+ rm texinputs/url.sty texinputs/latin9.def \
+ || die "failed to remove duplicate latex files"
+
+ sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
+}
+
+src_configure() {
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
+ --without-mktexlsr \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make /usr/share/latex2html sticky
+ keepdir /usr/share/latex2html
+
+ # clean the perl scripts up to remove references to the sandbox
+ local dir="${ED}/usr/$(get_libdir)/latex2html"
+ if use png || use gif; then
+ # pstoimg isn't built unless gif or png useflags are enabled
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die
+ fi
+ sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die
+
+ dodoc BUGS Changes FAQ MANIFEST README TODO
+}
+
+pkg_postinst() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
+
+pkg_postrm() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
diff --git a/dev-tex/latex2html/latex2html-2017.2-r1.ebuild b/dev-tex/latex2html/latex2html-2017.2-r1.ebuild
new file mode 100644
index 000000000000..ff150f6a652d
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2017.2-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Convertor written in Perl that converts LATEX documents to HTML"
+HOMEPAGE="http://www.latex2html.org/"
+SRC_URI="http://mirrors.ctan.org/support/latex2html/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="gif png"
+
+DEPEND="app-text/ghostscript-gpl
+ virtual/latex-base
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng:0 )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}"-{destdir,tests}.patch
+ "${FILESDIR}/${P}"-dotinc.patch
+ "${FILESDIR}/${P}"-dotinc-2.patch
+ "${FILESDIR}/${P}"-brace.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
+}
+
+src_configure() {
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
+ --without-mktexlsr \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make /usr/share/latex2html sticky
+ keepdir /usr/share/latex2html
+
+ # clean the perl scripts up to remove references to the sandbox
+ local dir="${ED}/usr/$(get_libdir)/latex2html"
+ if use png || use gif; then
+ # pstoimg isn't built unless gif or png useflags are enabled
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die
+ fi
+ sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die
+
+ dodoc BUGS Changes FAQ MANIFEST README.md TODO
+}
+
+pkg_postinst() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
+
+pkg_postrm() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
diff --git a/dev-tex/latex2html/latex2html-2017.2-r2.ebuild b/dev-tex/latex2html/latex2html-2017.2-r2.ebuild
new file mode 100644
index 000000000000..68f635740cb5
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2017.2-r2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Convertor written in Perl that converts LATEX documents to HTML"
+HOMEPAGE="http://www.latex2html.org/"
+SRC_URI="http://mirrors.ctan.org/support/latex2html/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="gif png"
+
+DEPEND="app-text/ghostscript-gpl
+ virtual/latex-base
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng:0 )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}"-{destdir,tests}.patch
+ "${FILESDIR}/${P}"-dotinc.patch
+ "${FILESDIR}/${P}"-dotinc-2.patch
+ "${FILESDIR}/${P}"-brace.patch
+ "${FILESDIR}/${P}"-brace-2.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
+}
+
+src_configure() {
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
+ --without-mktexlsr \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # make /usr/share/latex2html sticky
+ keepdir /usr/share/latex2html
+
+ # clean the perl scripts up to remove references to the sandbox
+ local dir="${ED}/usr/$(get_libdir)/latex2html"
+ if use png || use gif; then
+ # pstoimg isn't built unless gif or png useflags are enabled
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die
+ fi
+ sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die
+ sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die
+
+ dodoc BUGS Changes FAQ MANIFEST README.md TODO
+}
+
+pkg_postinst() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
+
+pkg_postrm() {
+ "${EROOT}"/usr/bin/mktexlsr
+}
diff --git a/dev-tex/latex2html/metadata.xml b/dev-tex/latex2html/metadata.xml
new file mode 100644
index 000000000000..13170c3184d8
--- /dev/null
+++ b/dev-tex/latex2html/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>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+</maintainer>
+</pkgmetadata>