aboutsummaryrefslogtreecommitdiff
path: root/ftp/proftpd
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2005-10-10 05:28:57 +0000
committerMichael Haro <mharo@FreeBSD.org>2005-10-10 05:28:57 +0000
commit17c36f3adb23a3edcb6d10aff84fd4b62276eb3d (patch)
tree558118f23c2039fb6ed10611ed5641b5a65f8289 /ftp/proftpd
parentca07cdfbd8190886d7e209b24df3926db45ec83c (diff)
downloadports-17c36f3adb23a3edcb6d10aff84fd4b62276eb3d.tar.gz
ports-17c36f3adb23a3edcb6d10aff84fd4b62276eb3d.zip
Notes
Diffstat (limited to 'ftp/proftpd')
-rw-r--r--ftp/proftpd/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 249ce787b828..00863adb9752 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proftpd
DISTVERSION= 1.3.0rc2
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -129,8 +129,10 @@ MODULES:=${MODULES}:mod_tls
.if defined(WITH_CTRLS)
CONFIGURE_ARGS+= --enable-ctrls
-MAN8+= ftpdctl.8
-.else
+PLIST_FILES+= sbin/ftpdctl
+.if !defined(WITHOUT_CTRLS_ADMIN)
+MODULES:=${MODULES}:mod_ctrls_admin
+.endif
.endif
.if defined(WITH_QUOTA)
@@ -189,4 +191,9 @@ post-install:
@${CAT} ${PKGMESSAGE}
.endif
+.if defined(WITH_CTRLS)
+ @${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/ftpdctl
+ @${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${PREFIX}/man/man8/ftpdctl.8
+.endif
+
.include <bsd.port.post.mk>