[47992] trunk/dports/textproc/latex2man

blb at macports.org blb at macports.org
Wed Mar 11 19:25:27 PDT 2009


Revision: 47992
          http://trac.macports.org/changeset/47992
Author:   blb at macports.org
Date:     2009-03-11 19:25:26 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
textproc/latex2man - version update to 1.23, depend on perl5 since it is a perl script

Modified Paths:
--------------
    trunk/dports/textproc/latex2man/Portfile

Added Paths:
-----------
    trunk/dports/textproc/latex2man/files/
    trunk/dports/textproc/latex2man/files/patch-Makefile.diff

Modified: trunk/dports/textproc/latex2man/Portfile
===================================================================
--- trunk/dports/textproc/latex2man/Portfile	2009-03-12 01:52:18 UTC (rev 47991)
+++ trunk/dports/textproc/latex2man/Portfile	2009-03-12 02:25:26 UTC (rev 47992)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name            latex2man
-version         1.19
-revision        1
+version         1.23
 categories      textproc
 platforms       darwin
 maintainers     nomaintainer
@@ -18,25 +17,31 @@
 
 homepage        http://www.informatik-vollmer.de/software/latex2man.php
 master_sites    http://www.informatik-vollmer.de/software
-checksums       md5 59fb43f8d9e4f56609a81e77b57b312c
+checksums       md5     3507109dcaabaabe81dc427811a29eb9 \
+                sha1    e9b10025255510e4e8af066777c959b599131098 \
+                rmd160  75090f62f12a0a14166514c4854a21567320ae50
 
-depends_run     bin:tex:texlive
+depends_run     bin:tex:texlive path:bin/perl:perl5
 
 worksrcdir      ${name}
 
+patchfiles      patch-Makefile.diff
+
 configure       {
                 reinplace "s|\$(HOME)/man|${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
                 reinplace "s|\$(HOME)/info|${destroot}${prefix}/share/info|g" ${worksrcpath}/Makefile
                 reinplace "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" ${worksrcpath}/Makefile
                 reinplace "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" ${worksrcpath}/Makefile
                 reinplace "s|\$(HOME)|${destroot}${prefix}|g" ${worksrcpath}/Makefile
-                reinplace "s|/usr/local/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
+                reinplace "s|/usr/bin/env perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
 }
 
+# 'make install' first cleans, so no point in doing any build
+build           {}
+
 pre-destroot    {
     file mkdir ${destroot}${prefix}/share/doc/latex2man
     file mkdir ${destroot}${prefix}/share/texmf-local/tex/latex/latex2man
-
 }
 
 post-activate   {

Added: trunk/dports/textproc/latex2man/files/patch-Makefile.diff
===================================================================
--- trunk/dports/textproc/latex2man/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/textproc/latex2man/files/patch-Makefile.diff	2009-03-12 02:25:26 UTC (rev 47992)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2008-11-11 00:17:29.000000000 -0700
++++ Makefile	2009-03-11 20:16:46.000000000 -0600
+@@ -45,7 +45,7 @@
+ 
+ %.pdf: %.tex
+ 	rm -f /tmp/$*.tex /tmp/$*.pdf /tmp/$*.aux  /tmp/$*.toc /tmp/$*.log /tmp/$*.sty
+-	(cp $*.tex $*.sty /tmp  && \
++	(cp $*.tex $*.sty latex2man.cfg /tmp  && \
+ 	 cd /tmp         	&& \
+ 	 pdflatex $*.tex 	&& \
+ 	 pdflatex $*.tex);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090311/0b326641/attachment-0001.html>


More information about the macports-changes mailing list