[101545] trunk/dports/devel/thieriot/Portfile

cal at macports.org cal at macports.org
Sun Jan 13 09:38:33 PST 2013


Revision: 101545
          https://trac.macports.org/changeset/101545
Author:   cal at macports.org
Date:     2013-01-13 09:38:33 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
thieriot: udpate to 0.2.0, maintainer, closes #37622

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

Modified: trunk/dports/devel/thieriot/Portfile
===================================================================
--- trunk/dports/devel/thieriot/Portfile	2013-01-13 13:07:14 UTC (rev 101544)
+++ trunk/dports/devel/thieriot/Portfile	2013-01-13 17:38:33 UTC (rev 101545)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        rodnaph thieriot 0.1.0 v
+github.setup        rodnaph thieriot 0.2.0 v
 categories          devel shells
 platforms           darwin
 maintainers         pu-gh.com:rod
@@ -19,14 +19,23 @@
                     port:p5.12-json \
                     port:p5.12-libwww-perl
 
-checksums           rmd160  1a2b691fd6d8d212180dc690694f21871f04f4c4 \
-                    sha256  935486d52e68bd3f2ae9ff683af4f034616cfc4a892ea5a65617bef799931dd8
+checksums           rmd160  c1270036eee9eec687035c180c4a5024793116b4 \
+                    sha256  eb04451c94e270693fe5690c38cc4fbfaff01b4a2f7e8a191f9dff9b18868aa1
 
 use_configure       no
 supported_archs     noarch
 
+post-patch {
+    reinplace       "s&#!/usr/bin/env perl&#!${prefix}/bin/perl5.12&" ${worksrcpath}/trt
+}
+
 build               {}
 
-destroot            { xinstall -m 755 ${worksrcpath}/trt \
-                                      ${destroot}${prefix}/bin/trt }
+destroot            {
+    xinstall -m 0755 ${worksrcpath}/trt \
+        ${destroot}${prefix}/bin/trt
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 0644 ${worksrcpath}/LICENSE \
+        ${destroot}${prefix}/share/doc/${name}
+}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/5a33a475/attachment-0001.html>


More information about the macports-changes mailing list