# -*- 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 PortGroup perl5 1.0 github.setup rodnaph ghsum 0.1.0 v revision 4 perl5.branches 5.24 categories devel shells macports 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 \ path:lib/libssl.dylib:openssl \ port:p${perl5.major}-getopt-long-descriptive checksums rmd160 8135a086a7ba075d5ce3596caaa46cd21705bb64 \ sha256 863ce994a8a9a276f3ea8a6a395b33015540cccf08c8e419223aa8253ed42eb2 use_configure no post-patch { reinplace "s&#!/usr/bin/env perl&#!${perl5.bin}&" ${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} }