Commits
Joshua Root authored 30130c579e6
63 63 | system "touch ${destroot}${prefix}/var/run/proftpd/proftpd.scoreboard" |
64 64 | } |
65 65 | |
66 66 | post-destroot { |
67 67 | move ${destroot}${prefix}/etc/proftpd.conf ${destroot}${prefix}/etc/proftpd.conf.dist |
68 68 | move ${destroot}${prefix}/var/run/proftpd/proftpd.scoreboard ${destroot}${prefix}/var/run/proftpd/proftpd.scoreboard.dist |
69 69 | } |
70 70 | |
71 71 | post-activate { |
72 72 | if {![file exists ${prefix}/etc/proftpd.conf]} { |
73 - | copy ${prefix}/etc/proftpd.conf.sample ${prefix}/etc/proftpd.conf |
73 + | copy ${prefix}/etc/proftpd.conf.dist ${prefix}/etc/proftpd.conf |
74 74 | } |
75 75 | } |
76 76 | |
77 77 | variant mysql57 conflicts postgresql11 sqlite3 description {Build with mysql 5.7 support} { |
78 78 | depends_lib-append port:mysql57 |
79 79 | lappend modules mod_sql mod_sql_mysql |
80 80 | lappend includes ${prefix}/include/mysql57/mysql |
81 81 | lappend libs ${prefix}/lib/mysql57/mysql |
82 82 | } |
83 83 | |