Changeset 18730 for trunk/dports


Ignore:
Timestamp:
Jul 25, 2006, 3:25:42 PM (18 years ago)
Author:
pguyot (Paul Guyot)
Message:

Update to 3.1

Location:
trunk/dports/sysutils/slocate
Files:
6 added
3 deleted
1 edited

Legend:

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

    r13382 r18730  
    1 # $Id: Portfile,v 1.3 2005/08/07 00:21:49 pguyot Exp $
     1# $Id: Portfile,v 1.4 2006/07/25 15:25:41 pguyot Exp $
    22
    33PortSystem                      1.0
    44name                            slocate
    5 version                         2.7
    6 revision                        2
     5version                         3.1
    76categories                      sysutils
    8 homepage                        http://www.geekreview.org/slocate/
     7homepage                        http://slocate.trakker.ca/
    98description                     Secure Locate is a replacement for locate.
    109long_description        Secure locate provides a secure way to index and quickly search \
     
    1918platforms                       darwin
    2019maintainers                     pguyot@kallisys.net
    21 master_sites            ftp://ftp.geekreview.org/slocate/src/
    22 checksums               md5 4872830642ea2ed5f9aff932720583c9
    23 patchfiles                      patch-Makefile.am \
    24                                         patch-main.c \
    25                                         patch-doc-slocate.1.linux
    26 configure.cmd           ./autogen.sh
    27 configure.args          --mandir=${prefix}/share/man/
     20master_sites            http://slocate.trakker.ca/files/
     21checksums               md5 908e6949d959ae7b686c10bb76b35bf3 \
     22                                        sha1 e427552664385b86931b7626c26bd95ae5f9f085 \
     23                                        rmd160 d3b1e818cc35ce8e87ec1b0764f6b2145a319e13
     24patchfiles                      patch-Makefile \
     25                                        patch-src-Makefile \
     26                                        patch-src-conf.c \
     27                                        patch-src-slocate.h \
     28                                        patch-src-utils.c \
     29                                        patch-doc-slocate.1
    2830
    29 pre-patch {
    30         system "gzip -d ${worksrcpath}/doc/slocate.1.linux.gz"
    31 }
     31use_configure           no
    3232
    3333post-patch {
    34         reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/main.c
    35         reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/doc/slocate.1.linux
    36         system "gzip ${worksrcpath}/doc/slocate.1.linux"
     34        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/src/slocate.h
     35        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/doc/slocate.1
     36        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/src/Makefile
     37        reinplace "s|__DESTROOT__|${destroot}|g" ${worksrcpath}/src/Makefile
     38        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
     39        reinplace "s|__DESTROOT__|${destroot}|g" ${worksrcpath}/Makefile
     40        reinplace "s|__USER__|${install.user}|g" ${worksrcpath}/Makefile
     41        reinplace "s|__GROUP__|${install.group}|g" ${worksrcpath}/Makefile
    3742}
    3843
Note: See TracChangeset for help on using the changeset viewer.