blob: 37b4a91b3122eddabb054f6b15150be84556a439 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# $NetBSD: Makefile,v 1.90 2020/04/20 12:50:02 christos Exp $
#PKGREVISION= 2
.include "../../net/proftpd/Makefile.common"
COMMENT= Highly configurable FTP server software
MODULES+= \
mod_ban \
mod_copy \
mod_ctrls_admin \
mod_deflate \
mod_dnsbl \
mod_dynmasq \
mod_exec \
mod_ifsession \
mod_ifversion \
mod_load \
mod_qos \
mod_quotatab \
mod_quotatab_file \
mod_quotatab_radius \
mod_quotatab_sql \
mod_radius \
mod_ratio \
mod_readme \
mod_rewrite \
mod_sftp \
mod_sftp_sql \
mod_shaper \
mod_site_misc \
mod_sql \
mod_sql_passwd \
mod_tls \
mod_tls_shmcache \
mod_unique_id \
mod_wrap2 \
mod_wrap2_file \
mod_wrap2_sql
CONFIGURE_ARGS+= --with-shared=${MODULES:ts:}
RCD_SCRIPTS= proftpd
REPLACE_PERL+= contrib/ftpasswd
REPLACE_PERL+= contrib/ftpmail
REPLACE_PERL+= contrib/ftpquota
REPLACE_PERL+= src/prxs.in
CONF_FILES= ${PREFIX}/share/examples/proftpd/basic.conf \
${PKG_SYSCONFDIR}/proftpd.conf
INSTALLATION_DIRS+= lib/proftpd
INSTALLATION_DIRS+= share/doc/proftpd
INSTALLATION_DIRS+= share/examples/proftpd
post-install:
.for i in NEWS README.md README.IPv6 README.LDAP README.PAM README.capabilities \
README.classes README.controls README.facl README.modules
${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/doc/proftpd
.endfor
.for i in Configuration.html faq.html license.txt
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DESTDIR}${PREFIX}/share/doc/proftpd
.endfor
${INSTALL_DATA} ${WRKSRC}/sample-configurations/*.conf \
${DESTDIR}${PREFIX}/share/examples/proftpd
${INSTALL_SCRIPT} ${WRKSRC}/contrib/ftpasswd \
${DESTDIR}${PREFIX}/share/examples/proftpd
.include "../../mk/bsd.pkg.mk"
|