[115302] trunk/dports/textproc/latex2man/Portfile
larryv at macports.org
larryv at macports.org
Mon Dec 30 14:54:17 PST 2013
Revision: 115302
https://trac.macports.org/changeset/115302
Author: larryv at macports.org
Date: 2013-12-30 14:54:17 -0800 (Mon, 30 Dec 2013)
Log Message:
-----------
latex2man: Add modeline, reformat, and reorganize.
Modified Paths:
--------------
trunk/dports/textproc/latex2man/Portfile
Modified: trunk/dports/textproc/latex2man/Portfile
===================================================================
--- trunk/dports/textproc/latex2man/Portfile 2013-12-30 21:38:04 UTC (rev 115301)
+++ trunk/dports/textproc/latex2man/Portfile 2013-12-30 22:54:17 UTC (rev 115302)
@@ -1,53 +1,68 @@
+# -*- 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
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name latex2man
-version 1.23
-categories textproc
-license LPPL
-platforms darwin
-supported_archs noarch
-maintainers nomaintainer
+name latex2man
+version 1.23
+categories textproc
+platforms darwin
+license LPPL
+maintainers nomaintainer
-description Translator program intended to translate a LaTeX document into man
+supported_archs noarch
-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.
+description Translator program intended to translate a LaTeX \
+ document into man
+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
-homepage http://www.informatik-vollmer.de/software/latex2man.php
-master_sites http://www.informatik-vollmer.de/software
-checksums md5 3507109dcaabaabe81dc427811a29eb9 \
- sha1 e9b10025255510e4e8af066777c959b599131098 \
- rmd160 75090f62f12a0a14166514c4854a21567320ae50
+master_sites http://www.informatik-vollmer.de/software
+checksums md5 3507109dcaabaabe81dc427811a29eb9 \
+ sha1 e9b10025255510e4e8af066777c959b599131098 \
+ rmd160 75090f62f12a0a14166514c4854a21567320ae50
-depends_lib bin:tex:texlive path:bin/perl:perl5
+depends_lib bin:tex:texlive \
+ path:bin/perl:perl5
-worksrcdir ${name}
+worksrcdir ${name}
-patchfiles patch-Makefile.diff
+patchfiles patch-Makefile.diff
-configure {
- reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/man|${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
- reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/info|${destroot}${prefix}/share/info|g" ${worksrcpath}/Makefile
- reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" ${worksrcpath}/Makefile
- reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" ${worksrcpath}/Makefile
- reinplace -locale en_US.ISO8859-1 "s|\$(HOME)|${destroot}${prefix}|g" ${worksrcpath}/Makefile
- reinplace -locale en_US.ISO8859-1 "s|/usr/bin/env perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
+configure {
+ reinplace -locale en_US.ISO8859-1 \
+ "s|\$(HOME)/man|${destroot}${prefix}/share/man|g" \
+ ${worksrcpath}/Makefile
+ reinplace -locale en_US.ISO8859-1 \
+ "s|\$(HOME)/info|${destroot}${prefix}/share/info|g" \
+ ${worksrcpath}/Makefile
+ reinplace -locale en_US.ISO8859-1 \
+ "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" \
+ ${worksrcpath}/Makefile
+ reinplace -locale en_US.ISO8859-1 \
+ "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" \
+ ${worksrcpath}/Makefile
+ reinplace -locale en_US.ISO8859-1 \
+ "s|\$(HOME)|${destroot}${prefix}|g" \
+ ${worksrcpath}/Makefile
+ reinplace -locale en_US.ISO8859-1 \
+ "s|/usr/bin/env perl|${prefix}/bin/perl|" \
+ ${worksrcpath}/latex2man
}
# 'make install' first cleans, so no point in doing any build
-build {}
+build {}
-pre-destroot {
+pre-destroot {
file mkdir ${destroot}${prefix}/share/doc/latex2man
file mkdir ${destroot}${prefix}/share/texmf-local/tex/latex/latex2man
}
destroot.env LANG=C
-post-activate {
+post-activate {
system "\
texhash && \
fmtutil-sys --enablefmt latex2man && \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131230/956febc7/attachment-0001.html>
More information about the macports-changes
mailing list