[101572] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 18:25:42 PST 2013


Revision: 101572
          https://trac.macports.org/changeset/101572
Author:   ryandesign at macports.org
Date:     2013-01-13 18:25:42 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
ghsum: new port, version 0.1.0 (#37617)

Added Paths:
-----------
    trunk/dports/devel/ghsum/
    trunk/dports/devel/ghsum/Portfile

Added: trunk/dports/devel/ghsum/Portfile
===================================================================
--- trunk/dports/devel/ghsum/Portfile	                        (rev 0)
+++ trunk/dports/devel/ghsum/Portfile	2013-01-14 02:25:42 UTC (rev 101572)
@@ -0,0 +1,41 @@
+# -*- 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
+PortGroup           github 1.0
+
+github.setup        rodnaph ghsum 0.1.0 v
+categories          devel shells
+platforms           darwin
+maintainers         pu-gh.com:rod
+license             MIT
+supported_archs     noarch
+
+description         Helper to checksum GitHub tags
+
+long_description    ghsum allows you to easily print MacPorts checksums for tagged \
+                    versions of your project on GitHub (or branches as well). This \
+                    can be useful for updating Portfiles.
+
+depends_lib         port:wget \
+                    port:openssl \
+                    port:p5.12-getopt-long-descriptive
+
+checksums           rmd160 8135a086a7ba075d5ce3596caaa46cd21705bb64 \
+                    sha256 863ce994a8a9a276f3ea8a6a395b33015540cccf08c8e419223aa8253ed42eb2
+
+use_configure       no
+
+post-patch {
+    reinplace       "s&#!/usr/bin/env perl&#!${prefix}/bin/perl5.12&" ${worksrcpath}/ghsum
+}
+
+build               {}
+
+destroot {
+    xinstall -m 0755 ${worksrcpath}/ghsum \
+        ${destroot}${prefix}/bin/ghsum
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 0644 ${worksrcpath}/README.md \
+        ${destroot}${prefix}/share/doc/${name}
+}


Property changes on: trunk/dports/devel/ghsum/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/df49880f/attachment.html>


More information about the macports-changes mailing list