Changeset 98019


Ignore:
Timestamp:
Sep 22, 2012, 9:27:56 AM (12 years ago)
Author:
jmr@…
Message:

agrep: fix invalid code (#35333), use correct compiler and archflags, install docs, set license

Location:
trunk/dports/sysutils/agrep
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/agrep/Portfile

    r30254 r98019  
    11# $Id$
     2
    23PortSystem 1.0
     4
    35name            agrep
    46version         2.04
     7revision        1
    58description     agrep is similar to egrep.
    69long_description        agrep is similar to egrep \(or grep or fgrep\), \
     
    811maintainers     nomaintainer
    912categories      sysutils
    10 platforms       darwin
     13license         Noncommercial
     14platforms       darwin
    1115homepage        http://netbsd.org
    1216master_sites    ftp://ftp.cs.arizona.edu/agrep/
    1317checksums       md5 abc645404d3926a57c3f5e86a6e89ee9
    1418extract.suffix  .tar.Z
     19
     20patchfiles      return_types.patch warnings.patch
     21
    1522use_configure   no
    1623build.type      bsd
    1724build.target    ""
     25build.args      CC="${configure.cc}" \
     26                CFLAGS="${configure.cflags} ${configure.cc_archflags} -std=gnu89"
    1827destroot {
    1928        xinstall ${worksrcpath}/agrep ${destroot}${prefix}/bin/
    20         xinstall ${worksrcpath}/agrep.1 ${destroot}${prefix}/share/man/man1/
     29        xinstall -m 644 ${worksrcpath}/agrep.1 ${destroot}${prefix}/share/man/man1/
     30        xinstall -d ${destroot}${prefix}/share/doc/${name}
     31        xinstall -m 644 -W ${worksrcpath} COPYRIGHT README agrep.algorithms \
     32            agrep.chronicle contribution.list \
     33            ${destroot}${prefix}/share/doc/${name}
    2134}
Note: See TracChangeset for help on using the changeset viewer.