source: trunk/dports/sysutils/openbrowser/Portfile

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

openbrowser: 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 154091 2016-10-20 02:52:56Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               perl5 1.0
6
7name                    openbrowser
8version                 1.0.1
9revision                6
10categories              sysutils
11platforms               macosx
12maintainers             ryandesign openmaintainer
13license                 MIT
14supported_archs         noarch
15
16description             opens files and URLs into the default web browser
17
18long_description        openbrowser opens files and URLs into your default \
19                        web browser. Unlike open”, openbrowser will still \
20                        open local .html files into your web browser even \
21                        if you have configured LaunchServices to open .html \
22                        files into e.g. a text editor.
23
24homepage                http://www.macports.org/
25
26distfiles
27
28perl5.require_variant   yes
29perl5.conflict_variants yes
30perl5.branches          5.24
31perl5.create_variants   ${perl5.branches}
32
33depends_lib
34depends_run-append      port:perl${perl5.major} \
35                        port:p${perl5.major}-mac-propertylist
36
37extract.mkdir           yes
38
39configure {
40    copy ${filespath}/${name} ${worksrcpath}
41}
42
43build {
44    reinplace "s|/usr/bin/env perl|${prefix}/bin/perl${perl5.major}|g" ${worksrcpath}/${name}
45}
46
47destroot {
48    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
49}
50
51livecheck.type          none
Note: See TracBrowser for help on using the repository browser.