# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
conflicts texlive-bin-extra
description Translator program intended to translate a LaTeX \
long_description Latex2man is a tool to translate UNIX manual \
pages written with LaTeX into a format understood \
by the UNIX man(1)-command. Alternatively HTML, \
TexInfo, or LaTeX code can be produced too.
homepage http://www.informatik-vollmer.de/software/latex2man.php
master_sites http://www.informatik-vollmer.de/software
checksums md5 3507109dcaabaabe81dc427811a29eb9 \
sha1 e9b10025255510e4e8af066777c959b599131098 \
rmd160 75090f62f12a0a14166514c4854a21567320ae50
depends_lib bin:tex:texlive \
patchfiles patch-Makefile.diff
reinplace -locale en_US.ISO8859-1 \
"s|\$(HOME)/man|${destroot}${prefix}/share/man|g" \
reinplace -locale en_US.ISO8859-1 \
"s|\$(HOME)/info|${destroot}${prefix}/share/info|g" \
reinplace -locale en_US.ISO8859-1 \
"s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" \
reinplace -locale en_US.ISO8859-1 \
"s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" \
reinplace -locale en_US.ISO8859-1 \
"s|\$(HOME)|${destroot}${prefix}|g" \
reinplace -locale en_US.ISO8859-1 \
"s|/usr/bin/env perl|${prefix}/bin/perl|" \
# 'make install' first cleans, so no point in doing any build
file mkdir ${destroot}${prefix}/share/doc/latex2man
file mkdir ${destroot}${prefix}/share/texmf-local/tex/latex/latex2man