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 $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | PortGroup php 1.1 |
---|
7 | |
---|
8 | name arcanist |
---|
9 | subport libphutil {} |
---|
10 | |
---|
11 | # github.set will override name, so do not count on ${name} as a |
---|
12 | # way to determine which subport we're installing, nowhere. |
---|
13 | |
---|
14 | if {${subport} eq "arcanist"} { |
---|
15 | github.setup phacility ${subport} 737f5c0df976fe2b3178aac6ab7feb3d3621d99e |
---|
16 | version 20160409 |
---|
17 | depends_run-append \ |
---|
18 | port:libphutil |
---|
19 | description Phabricator command-line tool |
---|
20 | long_description \ |
---|
21 | Arcanist is the command-line tool for Phabricator (http://phabricator.org). \ |
---|
22 | It allows you to interact with Phabricator installs to send code for review, \ |
---|
23 | download patches, transfer files, view status, make API calls, and various other \ |
---|
24 | things. |
---|
25 | checksums rmd160 e286b57e58aa8724e4102675c817492c2953cfc1 \ |
---|
26 | sha256 e4f0b1db94ae9ac933fc3437a8e5ce5a3f80e818b6fa0c2457dc1789d0dba007 |
---|
27 | } else { |
---|
28 | github.setup phacility ${subport} 7a184448aff55465476da0e13477b7e6f3446a14 |
---|
29 | version 20160414 |
---|
30 | description A collection of utility classes and functions for PHP |
---|
31 | long_description \ |
---|
32 | ${description}. |
---|
33 | checksums rmd160 fe653def81c2b06e72d0043f8c9711981fb44d56 \ |
---|
34 | sha256 d0d4669888f03fe5028ebb1e921651a4d07aa5efa73602d888f515c5529aae65 |
---|
35 | } |
---|
36 | |
---|
37 | categories devel |
---|
38 | license Apache-2 |
---|
39 | maintainers gmail.com:rjvbertin |
---|
40 | supported_archs noarch |
---|
41 | |
---|
42 | platform darwin { |
---|
43 | depends_run-append \ |
---|
44 | port:php[php.suffix_from_branch ${php.latest_stable_branch}] \ |
---|
45 | port:php[php.suffix_from_branch ${php.latest_stable_branch}]-curl |
---|
46 | } |
---|
47 | |
---|
48 | use_configure no |
---|
49 | |
---|
50 | build {} |
---|
51 | |
---|
52 | destroot { |
---|
53 | xinstall -m 755 -d ${destroot}${prefix}/libexec |
---|
54 | system "cp -pR ${worksrcpath} ${destroot}${prefix}/libexec/${subport}" |
---|
55 | if {${subport} eq "arcanist"} { |
---|
56 | ln -s ${prefix}/libexec/${subport}/bin/arc ${destroot}${prefix}/bin/arc |
---|
57 | } |
---|
58 | } |
---|