Ticket #46198: Portfile-restund.patch

File Portfile-restund.patch, 1.8 KB (added by alfredh (Alfred E. Heggestad), 10 years ago)
  • net/restund/Portfile

    diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/restund/Portfile net/restund/Portfile
    old new  
    22# $Id: Portfile 94134 2012-06-09 23:32:56Z ryandesign@macports.org $
    33
    44PortSystem          1.0
    5 #PortGroup           muniversal 1.0
     5PortGroup           muniversal 1.0
    66
    77name                restund
    8 version             0.4.1
     8version             0.4.11
    99categories          net
    1010platforms           darwin
    1111maintainers         db.org:aeh
     
    1818homepage            http://www.creytiv.com/
    1919master_sites        ${homepage}pub/
    2020
    21 checksums           rmd160  0039dd52ad482a77f24a5c9aea6e28e0f6c4007e \
    22                     sha256  dba1ebf20153fd87c6a39ca5a9c50a7c2c7114e941b5a95f89e699771db85996
     21checksums           rmd160  f4168287a76177b99b75cde8625ac7fb9676b604 \
     22                    sha256  d4630dfb8777f12cc48ed118da0ea6445bc60e94ff916ab0ca5d436c74bdc2d7
    2323
    24 depends_lib         port:libre \
    25                     path:bin/mysql_config5:mysql5
     24depends_lib         port:libre
    2625
    2726patchfiles          patch-src-main.c.diff
    2827
     
    3433
    3534build.args          PREFIX=${prefix} \
    3635                    SYSROOT_ALT=${prefix} \
     36                    USE_MYSQL= \
    3737                    LIBRE_MK=${prefix}/share/re/re.mk \
    3838                    LIBRE_INC=${prefix}/include/re \
    3939                    LIBRE_SO=${prefix}/lib
     
    5656post-destroot {
    5757    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/etc/restund.conf
    5858    xinstall -m 644 ${worksrcpath}/etc/restund.conf ${destroot}${prefix}/etc/restund.conf.sample
     59    xinstall -m 644 ${worksrcpath}/etc/restund.auth ${destroot}${prefix}/etc/restund.auth
    5960}