source: trunk/dports/net/proftpd/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            proftpd
5version         1.3.2
6categories      net
7maintainers     jinhyung.org:jenix
8description     Highly configurable ftp-server.
9long_description        ProFTPD is a highly configurable ftp daemon for unix \
10                        and unix-like operating systems. ProFTPD is designed \
11                        to be somewhat of a "drop-in" replacement for wu-ftpd \
12                        with a configuration format like Apache.       
13homepage        http://proftpd.linux.co.uk/     
14platforms       darwin freebsd
15master_sites    ftp://ftp.proftpd.org/distrib/source/
16checksums       md5     89f5e31fc3d3e02b66424dfc6cc5892d \
17                sha1    b48bfb0acde11bd2a2f7a7c74a1d72d497cca46a \
18                rmd160  cefc52ad19bd633a24b28438a2cde12fd99c2a56
19use_bzip2       yes
20
21configure.args  --sysconfdir=${prefix}/etc --localstatedir=${prefix}/var/run \
22                --mandir=${prefix}/share/man install_user=`id -u` install_group=`id -g`
23
24pre-destroot {
25        reinplace "s|nogroup|nobody|g" ${worksrcpath}/sample-configurations/basic.conf
26        xinstall -m 755 -d ${destroot}${prefix}/var/run/proftpd
27        system "touch ${destroot}${prefix}/var/run/proftpd/proftpd.scoreboard"
28}
29
30variant mysql4 {       
31        depends_lib-append      port:mysql4
32        configure.args-append   --with-modules=mod_sql:mod_sql_mysql \
33                                --with-includes=${prefix}/include/mysql \
34                                --with-libraries=${prefix}/lib/mysql
35}
36
37variant mysql5 {
38    depends_lib-append   port:mysql5
39        configure.args-append   --with-modules=mod_sql:mod_sql_mysql \
40                                --with-includes=${prefix}/include/mysql5/mysql \
41                                --with-libraries=${prefix}/lib/mysql5/mysql
42}
43
44startupitem.create      yes
45startupitem.start       "${prefix}/sbin/proftpd"
46startupitem.restart     "/bin/kill -HUP \$(/bin/cat ${prefix}/var/run/proftpd.pid)"
47startupitem.stop        "/bin/kill -15 \$(/bin/cat ${prefix}/var/run/proftpd.pid)"
Note: See TracBrowser for help on using the repository browser.