1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup rodnaph ghsum 0.0.1 v |
---|
8 | categories devel shells |
---|
9 | platforms darwin |
---|
10 | maintainers pu-gh.com:rod |
---|
11 | license MIT |
---|
12 | description Helper to checksum Github tags |
---|
13 | long_description \ |
---|
14 | ghsum allows you to easily print Macports checksums for tagged \ |
---|
15 | versions of your project on Github (or branches as well). This \ |
---|
16 | can be useful for updating Portfiles |
---|
17 | |
---|
18 | depends_lib port:wget \ |
---|
19 | port:openssl \ |
---|
20 | port:p5.12-getopt-long-descriptive |
---|
21 | |
---|
22 | checksums rmd160 8135a086a7ba075d5ce3596caaa46cd21705bb64 \ |
---|
23 | sha256 863ce994a8a9a276f3ea8a6a395b33015540cccf08c8e419223aa8253ed42eb2 |
---|
24 | |
---|
25 | use_configure no |
---|
26 | supported_archs noarch |
---|
27 | |
---|
28 | post-patch { |
---|
29 | reinplace "s&#!/usr/bin/env perl&#!${prefix}/bin/perl5.12&" ${worksrcpath}/ghsum |
---|
30 | } |
---|
31 | |
---|
32 | build {} |
---|
33 | |
---|
34 | destroot { |
---|
35 | xinstall -m 0755 ${worksrcpath}/ghsum \ |
---|
36 | ${destroot}${prefix}/bin/ghsum |
---|
37 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
38 | xinstall -m 0644 ${worksrcpath}/LICENSE \ |
---|
39 | ${destroot}${prefix}/share/doc/${name} |
---|
40 | } |
---|
41 | |
---|