source: trunk/dports/sysutils/agrep/Portfile

Last change on this file was 140686, checked in by ryandesign@…, 22 months ago

agrep conflicts with glimpse

  • 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 140686 2015-09-30 06:15:04Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                agrep
7version             2.04
8revision            1
9conflicts           glimpse tre
10
11description         agrep is similar to egrep.
12long_description    agrep is similar to egrep \(or grep or fgrep\), \
13                    but it is much more general \(and usually faster\).
14
15maintainers         nomaintainer
16categories          sysutils
17license             Noncommercial
18platforms           darwin
19homepage            http://netbsd.org
20master_sites        ftp://ftp.cs.arizona.edu/agrep/
21
22checksums           rmd160  818f69f751943ddd8d6b2410b95bac1667985d0a \
23                    sha256  31275a2fee28fb8966e1978d26fe8113b61ce49b39e68ddf4cad3964db72d5f8
24
25extract.suffix      .tar.Z
26
27patchfiles          return_types.patch warnings.patch
28
29use_configure       no
30build.type          bsd
31build.target        ""
32build.args          CC="${configure.cc}" \
33                    CFLAGS="${configure.cflags} ${configure.cc_archflags} -std=gnu89"
34
35destroot {
36    xinstall ${worksrcpath}/agrep ${destroot}${prefix}/bin/
37    xinstall -m 644 ${worksrcpath}/agrep.1 ${destroot}${prefix}/share/man/man1/
38    xinstall -d ${destroot}${prefix}/share/doc/${name}
39    xinstall -m 644 -W ${worksrcpath} COPYRIGHT README agrep.algorithms \
40        agrep.chronicle contribution.list \
41        ${destroot}${prefix}/share/doc/${name}
42}
43
44livecheck.type      regex
45livecheck.url       [lindex ${master_sites} 0]
46livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.