source: trunk/dports/sysutils/tag/Portfile @ 112576

Last change on this file since 112576 was 112576, checked in by jberry@…, 6 years ago

tag: add build env definitions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 112576 2013-10-26 22:39:12Z jberry@macports.org $
2
3PortSystem          1.0
4PortGroup           github 1.0
5
6github.setup        jdberry tag 0.5.1 v
7
8categories          sysutils
9platforms           darwin
10license             MIT
11maintainers         jberry openmaintainer
12
13description         A command line tool to manipulate and query tags on files.
14long_description    tag is a tool to manipulate tags on files starting with Mac OS 10.9 \
15                        Mavericks, and to query for files with those tags. tag can use the \
16                        file system's built-in metadata search functionality to rapidly find \
17                        all files that have been tagged with a given set of tags.
18
19github.tarball_from archive
20
21checksums           rmd160  420e454d44452b736f9c3fc4f856aa9f963bb364 \
22                    sha256  a45322cc021b8804cf36f3438f0897acaf4ded2e2e5863c370d8bf42cd1686ac
23
24use_configure       no
25
26variant universal {}
27
28build.env           CC="${configure.cc}" \
29                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
30                    CPPFLAGS="${configure.cppflags}" \
31                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
32
33destroot.args       prefix=${prefix}
34
35pre-fetch {
36    if { ${os.major} < 13 } {
37        ui_error "${name} requires OS X 10.9/Mavericks or newer"
38        return -code error "Unsupported OS X version"
39    }
40}
Note: See TracBrowser for help on using the repository browser.