source: trunk/dports/devel/pearl/Portfile

Last change on this file was 154106, checked in by mojca@…, 13 months ago

pearl: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 154106 2016-10-20 03:27:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           perl5 1.0
7
8github.setup        rodnaph pearl 0.2.0 v
9revision            3
10perl5.branches      5.24
11categories          devel macports
12platforms           darwin
13maintainers         pu-gh.com:rod
14license             MIT
15description         Helper for maintaining Macports Portfiles
16long_description    \
17    Pearl is a super-simple script to make it a little bit easier to update your \
18    Macports Portfile for your project. It just automates the diffing of your \
19    current Portfile with the release version from the Macports SVN repository.
20
21depends_lib         port:p${perl5.major}-ipc-run \
22                    port:p${perl5.major}-getopt-long-descriptive \
23                    port:p${perl5.major}-yaml \
24                    port:p${perl5.major}-lwp-useragent-determined
25
26checksums           rmd160  8fdfc7cf23bf0b8788a919f26b8ffd2dd7e8c17b \
27                    sha256  3f12562e2b37bebf0e5ead2d2d3fdeb4faa3a34055fd3dd08cb7f0114bac0582
28
29use_configure       no
30supported_archs     noarch
31
32post-patch {
33    reinplace       "s&#!/usr/bin/env perl&#!${perl5.bin}&" ${worksrcpath}/pearl
34}
35
36build               {}
37
38destroot            {
39    xinstall -m 0755 ${worksrcpath}/pearl \
40        ${destroot}${prefix}/bin/pearl
41    xinstall -d ${destroot}${prefix}/share/doc/${name}
42    xinstall -m 0644 ${worksrcpath}/LICENSE \
43        ${destroot}${prefix}/share/doc/${name}
44}
45
Note: See TracBrowser for help on using the repository browser.