source: trunk/dports/devel/thieriot/Portfile

Last change on this file was 154107, checked in by mojca@…, 9 months ago

thieriot: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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: Portfile 154107 2016-10-20 03:28:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           perl5 1.0
7
8github.setup        rodnaph thieriot 1.1.1 v
9revision            2
10perl5.branches      5.24
11categories          devel shells
12platforms           darwin
13maintainers         pu-gh.com:rod
14license             MIT
15description         Shell tool for managing a projects Jenkins builds
16long_description    Thieriot is a simple shell tool for projects that use \
17                    Git and Jenkins, and allows you to easily check which \
18                    of your branches currently have builds.  And then to \
19                    easily create/start/delete builds with a single command.
20
21depends_lib         port:p${perl5.major}-yaml \
22                    port:p${perl5.major}-json \
23                    port:p${perl5.major}-libwww-perl
24
25checksums           rmd160  6447c8b916fd3b8891e50dea8a7a236a6017a538 \
26                    sha256  7dc3fc909ddeb6eb71e21b082a2b8b270fcaa94b80dd35cda9286e81d5a63062
27
28use_configure       no
29supported_archs     noarch
30
31post-patch {
32    reinplace       "s&#!/usr/bin/env perl&#!${perl5.bin}&" ${worksrcpath}/trt
33}
34
35build               {}
36
37destroot            {
38    xinstall -m 0755 ${worksrcpath}/trt \
39        ${destroot}${prefix}/bin/trt
40    xinstall -d ${destroot}${prefix}/share/doc/${name}
41    xinstall -m 0644 ${worksrcpath}/LICENSE \
42        ${destroot}${prefix}/share/doc/${name}
43}
44
Note: See TracBrowser for help on using the repository browser.