[114638] trunk/dports/textproc/texinfo/Portfile

larryv at macports.org larryv at macports.org
Thu Dec 12 18:24:48 PST 2013


Revision: 114638
          https://trac.macports.org/changeset/114638
Author:   larryv at macports.org
Date:     2013-12-12 18:24:48 -0800 (Thu, 12 Dec 2013)
Log Message:
-----------
texinfo: Add modeline, reformat, remove unnecessary quoting.

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

Modified: trunk/dports/textproc/texinfo/Portfile
===================================================================
--- trunk/dports/textproc/texinfo/Portfile	2013-12-12 16:56:27 UTC (rev 114637)
+++ trunk/dports/textproc/texinfo/Portfile	2013-12-13 02:24:48 UTC (rev 114638)
@@ -1,44 +1,48 @@
+# -*- 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            texinfo
-version         4.13
-revision        2
-categories      textproc
-license         GPL-3+
-installs_libs   no
-platforms       darwin
-maintainers     nomaintainer
-description     Texinfo is the official documentation format of the GNU project
-long_description        Texinfo is the official documentation format of the \
-                GNU project. It uses a single source file to produce output \
-                in a number of formats, both online and printed (dvi, info, \
-                html, xml, etc.). This means that instead of writing \
-                different documents for online information and another for \
-                a printed manual, you need write only one document. Some \
-                features need texlive (unnecessary if only the info command \
-                is used).
-homepage        http://www.gnu.org/software/texinfo/
-master_sites    gnu
-use_xz          yes
-extract.suffix  .tar.lzma
+name                texinfo
+version             4.13
+revision            2
+categories          textproc
+platforms           darwin
+license             GPL-3+
+maintainers         nomaintainer
 
-checksums       md5 20b37e49464bd72df4c6cfba33340f87 \
-                sha1 676ec9aa25a97c05dff66fba5225f9e101160063 \
-                rmd160 31d68ab41fead86d473ecc1de183fd1629e01560
+installs_libs       no
 
-depends_lib     port:gettext \
-                port:libiconv \
-                port:ncurses
+description         The official documentation format of the GNU project
+long_description    Texinfo is the official documentation format of \
+                    the GNU project. It uses a single source file to \
+                    produce output in a number of formats, both \
+                    online and printed (dvi, info, html, xml, etc.). \
+                    This means that instead of writing different \
+                    documents for online information and another for \
+                    a printed manual, you need write only one \
+                    document. Some features need texlive (unnecessary \
+                    if only the info command is used).
+homepage            http://www.gnu.org/software/texinfo/
 
+depends_lib         port:gettext \
+                    port:libiconv \
+                    port:ncurses
+
+master_sites        gnu
+use_xz              yes
+extract.suffix      .tar.lzma
+checksums           md5     20b37e49464bd72df4c6cfba33340f87 \
+                    sha1    676ec9aa25a97c05dff66fba5225f9e101160063 \
+                    rmd160  31d68ab41fead86d473ecc1de183fd1629e01560
+
 destroot.target-append  install-tex
 destroot.destdir-append TEXMF=${prefix}/share/texmf
 
 pre-destroot {
-    xinstall -d "${destroot}${prefix}/share/doc/${name}"
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \
-      doc/refcard/txirefcard.pdf "${destroot}${prefix}/share/doc/${name}"
+      doc/refcard/txirefcard.pdf ${destroot}${prefix}/share/doc/${name}
 }
 
 post-destroot {
@@ -53,14 +57,14 @@
 post-activate {
     if { [file exists ${prefix}/bin/mktexlsr] } {
         ui_msg "Running ${prefix}/bin/mktexlsr"
-        system "${prefix}/bin/mktexlsr"
+        system ${prefix}/bin/mktexlsr
     }
 }
 
 post-deactivate {
     if { [file exists ${prefix}/bin/mktexlsr] } {
         ui_msg "Running ${prefix}/bin/mktexlsr"
-        system "${prefix}/bin/mktexlsr"
+        system ${prefix}/bin/mktexlsr
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131212/2b7dcda0/attachment.html>


More information about the macports-changes mailing list