From 17c36f3adb23a3edcb6d10aff84fd4b62276eb3d Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Mon, 10 Oct 2005 05:28:57 +0000 Subject: Fix WITH_CTRLS option PR: 80832 Submitted by: Matus UHLAR - fantomas --- ftp/proftpd-devel/Makefile | 13 ++++++++++--- ftp/proftpd/Makefile | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile index 249ce787b828..00863adb9752 100644 --- a/ftp/proftpd-devel/Makefile +++ b/ftp/proftpd-devel/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 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 -- cgit v1.2.3