aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-01-03 18:48:53 +0000
committerrhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9>2009-01-03 18:48:53 +0000
commitf066876d6c65147292874f4947ad26e4ce8d87be (patch)
tree15e5cacf482c2b76af233d1388438112172a96cd /dev
parented25bbaf4f3aa2298f4cb783655e80a8b2c92d15 (diff)
downloadmkbuilds-f066876d6c65147292874f4947ad26e4ce8d87be.tar.gz
mkbuilds-f066876d6c65147292874f4947ad26e4ce8d87be.tar.bz2
latex2html: adding latex2html
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@335 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'dev')
-rw-r--r--dev/tex/latex2html/Manifest4
-rw-r--r--dev/tex/latex2html/latex2html-2008.diff15
-rw-r--r--dev/tex/latex2html/latex2html.mkbuild99
3 files changed, 118 insertions, 0 deletions
diff --git a/dev/tex/latex2html/Manifest b/dev/tex/latex2html/Manifest
new file mode 100644
index 0000000..9443505
--- /dev/null
+++ b/dev/tex/latex2html/Manifest
@@ -0,0 +1,4 @@
+DIST latex2html-2008.tar.gz 1133054 MD5 275ab6cfa8ca9328446b7f40d8dc302e SHA1 5e0aa47572e0c13a4c5da51e963d5496be3f86e7 SHA256 59456815a3984250c295d3d5c46b85646038db8db2735cdc0d3780cf4da337ad SHA512 e5a9d1700fcc45e6fcb7bae79e25acd52b7a84b70a75b3c7f1e746f65adbd48219a828420f6a7c437613d5c74dfb0405c91df01ac9c1535e9850f3a3e5c47f60 RMD160 a95f06253d6fc8808ffedcad7edf8235194d7756
+MKBUILD latex2html.mkbuild 3031 MD5 471fd6727bc8b661f71bfef631740d60 SHA1 6edb09d1f56294afcdc934102af6e32fce284563 SHA256 7f87b227f74f98df26904f77cfc7491f81066096b1e72cada8b311f0a3a8327e SHA512 fdc08b7388998cbfaee03c9ed1816453cd6b20e99d7508bcbef8bbe176a4df583b85bb97cf1c7e022a690f3b943d8bf415b7648ab196de12dba04ef90f37f5ff RMD160 b84e00a5011d67cef6dbd2e24a299a9fb9d00d5c
+PATCH latex2html-2008.diff 703 MD5 6f5e21206ccaa8f5882103998cfeb721 SHA1 eae4695aa812c927060004db9fd958c7a0d0d0b8 SHA256 e2dad7784064b12c17ba9530eb54f706d057c5b399538ee1928ca38005f860e1 SHA512 dbc4e9272ed54949fa34da8fd4b0e15db646461ef564e65d7b4a20dd89425227b93987a2a214ec57984b200135085b6456d758efd2faffd89c16d305d315d744 RMD160 2b08bb440c4aacd3b23a05cb34d56597de8fd2a5
+SLACKBUILD latex2html.SlackBuild 7786 MD5 73e8979ea3287feaca28e748c7ef204a SHA1 833e9e5bd2b1224db9282e59acfbc77d07c632e1 SHA256 57f5eec6985d8cf521be3db4941059fe077fdb1e7e6cec19392079c3d19fc746 SHA512 f34e8769199f506f01b9c1d2849a26cae8beb6c074411761922181ce526f1f5c1537aa06b8d2ba25f1f886ed091836dfc051a38843e6fbda101f276256dce140 RMD160 ade10d72ad86f27f356810d201ef523da33ab786
diff --git a/dev/tex/latex2html/latex2html-2008.diff b/dev/tex/latex2html/latex2html-2008.diff
new file mode 100644
index 0000000..2d07bef
--- /dev/null
+++ b/dev/tex/latex2html/latex2html-2008.diff
@@ -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/latex2html.mkbuild b/dev/tex/latex2html/latex2html.mkbuild
new file mode 100644
index 0000000..aa366e8
--- /dev/null
+++ b/dev/tex/latex2html/latex2html.mkbuild
@@ -0,0 +1,99 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+# Version $Rev: 714 $ - $Author: rhatto $
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address
+[[DOWNLOAD FOLDER URL]]="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-2008.tar.gz"
+
+#
+# Documentation files
+[[DOCUMENTATION FILES]]="BUGS Changes FAQ INSTALL LICENSE MANIFEST README TODO readme.html"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+[[SLACKBUILD PATH]]="dev/tex/latex2html"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: download_patches
+off: svn_source
+off: git_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: manifest_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+off: slack_required
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+latex2html: latex2html
+latex2html:
+latex2html: LATEX2HTML is a convertor written in Perl that converts LATEX
+latex2html: documents to HTML. This way e.g. scientific papers - primarily
+latex2html: typeset for printing - can be put on the Web for online viewing.
+latex2html:
+latex2html: LATEX2HTML does also a good job in rapid web site deployment. These
+latex2html: pages are generated from a single LATEX source.
+latex2html:
+latex2html: It is designed to run on UNIX-like systems as well as Windows.
+#<slackdesc