[71775] trunk/dports/print/latex2html/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 22 18:16:11 PDT 2010


Revision: 71775
          http://trac.macports.org/changeset/71775
Author:   ryandesign at macports.org
Date:     2010-09-22 18:16:09 -0700 (Wed, 22 Sep 2010)
Log Message:
-----------
latex2html: noarch; add license info; install doc files

Modified Paths:
--------------
    trunk/dports/print/latex2html/Portfile

Modified: trunk/dports/print/latex2html/Portfile
===================================================================
--- trunk/dports/print/latex2html/Portfile	2010-09-23 00:22:05 UTC (rev 71774)
+++ trunk/dports/print/latex2html/Portfile	2010-09-23 01:16:09 UTC (rev 71775)
@@ -5,10 +5,12 @@
 
 name                    latex2html
 version                 2008
-revision                2
+revision                3
 categories              print
 platforms               darwin
 maintainers             nomaintainer
+license                 GPL-2
+supported_archs         noarch
 
 description             Convert LaTeX into HTML.
 
@@ -36,6 +38,19 @@
 configure.args          --without-mktexlsr \
                         --with-texpath=${prefix}/share/texmf/tex/latex/html
 
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        BUGS \
+        Changes \
+        FAQ \
+        LICENSE \
+        README \
+        TODO \
+        ${docdir}
+}
+
 post-activate {
     system "mktexlsr"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100922/fc3c8ba8/attachment.html>


More information about the macports-changes mailing list