Ticket #15046: Portfile.patch

File Portfile.patch, 1.1 KB (added by jenix@…, 15 years ago)

Proftpd 1.3.2 Portfile patch

  • net/proftpd/Portfile

    old new  
    22
    33PortSystem 1.0
    44name            proftpd
    5 version         1.3.0a
     5version         1.3.2
    66categories      net
    77maintainers     jenix@jinhyung.org
    88description     Highly configurable ftp-server.
     
    1313homepage        http://proftpd.linux.co.uk/     
    1414platforms       darwin freebsd
    1515master_sites    ftp://ftp.proftpd.org/distrib/source/
    16 checksums       sha1 03573bfe342e1e9dbfec2983efe2265d3c0c5a12
     16checksums       md5 89f5e31fc3d3e02b66424dfc6cc5892d
    1717use_bzip2       yes
    1818
    1919configure.args  --sysconfdir=${prefix}/etc --localstatedir=${prefix}/var/run \
     
    3232                                --with-libraries=${prefix}/lib/mysql
    3333}
    3434
     35variant mysql5 {
     36    depends_lib-append   port:mysql5
     37        configure.args-append   --with-modules=mod_sql:mod_sql_mysql \
     38                                --with-includes=${prefix}/include/mysql5/mysql \
     39                                --with-libraries=${prefix}/lib/mysql5/mysql
     40}
     41
    3542startupitem.create      yes
    3643startupitem.start       "${prefix}/sbin/proftpd"
    3744startupitem.restart     "/bin/kill -HUP \$(/bin/cat ${prefix}/var/run/proftpd.pid)"