[123197] trunk/dports/devel/mercurial/Portfile

sean at macports.org sean at macports.org
Wed Aug 6 13:58:26 PDT 2014


Revision: 123197
          https://trac.macports.org/changeset/123197
Author:   sean at macports.org
Date:     2014-08-06 13:58:26 -0700 (Wed, 06 Aug 2014)
Log Message:
-----------
mercurial: install readable man pages

Modified Paths:
--------------
    trunk/dports/devel/mercurial/Portfile

Modified: trunk/dports/devel/mercurial/Portfile
===================================================================
--- trunk/dports/devel/mercurial/Portfile	2014-08-06 20:58:22 UTC (rev 123196)
+++ trunk/dports/devel/mercurial/Portfile	2014-08-06 20:58:26 UTC (rev 123197)
@@ -6,6 +6,7 @@
 PortGroup           bitbucket 1.0
 
 bitbucket.setup     seanfarley mercurial 3.1
+revision            1
 categories          devel python
 license             GPL-2+
 maintainers         deric sean openmaintainer
@@ -63,9 +64,15 @@
         ${destroot}${prefix}/etc/mercurial/hgrc.default
 
     # install html docs
-    xinstall -m 644 -W ${worksrcpath}/doc hg.1.txt hgrc.5.txt hgignore.5.txt \
+    xinstall -m 644 -W ${worksrcpath}/doc hg.1.html hgrc.5.html hgignore.5.html \
             ${destroot}${prefix}/share/doc/mercurial
 
+    # install man pages
+    xinstall -m 644 -W ${worksrcpath}/doc hg.1 \
+            ${destroot}${prefix}/share/man/man1
+    xinstall -m 644 -W ${worksrcpath}/doc hgrc.5 hgignore.5 \
+            ${destroot}${prefix}/share/man/man5
+
     # install contrib
     xinstall -d -m 755 ${destroot}${prefix}/share/mercurial
     file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/mercurial/contrib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140806/c4b33d5d/attachment.html>


More information about the macports-changes mailing list