source: trunk/dports/sysutils/fuzzy-find/Portfile @ 140911

Last change on this file since 140911 was 137501, checked in by chunyang@…, 4 years ago

fuzzy-find: compute version & fix build.args

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 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 137501 2015-06-13 06:36:43Z chunyang@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        silentbicycle ff 0.6-flag-features v
8name                fuzzy-find
9version             [lindex [split ${github.version} -] 0]
10categories          sysutils
11platforms           darwin
12license             GPL-3
13maintainers         chunyang openmaintainer
14
15description         command-line program that find files with fuzzy-completion
16
17long_description    ${name} is a small command-line program that searches a \
18                    directory tree with basic fuzzy-completion.
19
20checksums           rmd160  9076e7cda947e99d5b31a04671f243469ffba9a2 \
21                    sha256  29ea46dd5ef23ecf823b406b1a2fe015fd90c20de6d411118cc6e5fa99d47df6
22
23use_configure       no
24
25variant universal {}
26
27build.target        ff
28build.args          CC="${configure.cc} ${configure.optflags} [get_canonical_archflags cc]"
29
30destroot {
31    xinstall -m 0755 ${worksrcpath}/ff ${destroot}${prefix}/bin/
32    xinstall -m 0444 ${worksrcpath}/ff.1 ${destroot}${prefix}/share/man/man1/
33}
Note: See TracBrowser for help on using the repository browser.