aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-10 13:14:50 +0000
commite1bfdfbe5665c963621e06f6bbfbbc2c000a804e (patch)
treeeaf052562fa1ad9b232918eb5e617ac1df0dd725 /ftp
parentf57bc4af665126de839ff734a08e57726e84da84 (diff)
downloadports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.tar.gz
ports-e1bfdfbe5665c963621e06f6bbfbbc2c000a804e.zip
Add DOCS options to ports that should have one.
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
Notes
Notes: svn path=/head/; revision=479406
Diffstat (limited to 'ftp')
-rw-r--r--ftp/bftpd/Makefile2
-rw-r--r--ftp/linux-c6-curl/Makefile2
-rw-r--r--ftp/linux-c7-curl/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile
index c6da68054c40..3ae44115a5f5 100644
--- a/ftp/bftpd/Makefile
+++ b/ftp/bftpd/Makefile
@@ -21,6 +21,8 @@ PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \
man/man8/bftpd.8.gz
PORTDOCS= en pl sk
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \
${WRKSRC}/mypaths.h
diff --git a/ftp/linux-c6-curl/Makefile b/ftp/linux-c6-curl/Makefile
index 276db55eb1c5..1843a06adb00 100644
--- a/ftp/linux-c6-curl/Makefile
+++ b/ftp/linux-c6-curl/Makefile
@@ -17,4 +17,6 @@ USE_LDCONFIG= yes
USE_LINUX= libssh2 nspr nss openldap
USE_LINUX_RPM= nolib
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/ftp/linux-c7-curl/Makefile b/ftp/linux-c7-curl/Makefile
index 4766e90fc595..94559a90cea6 100644
--- a/ftp/linux-c7-curl/Makefile
+++ b/ftp/linux-c7-curl/Makefile
@@ -21,4 +21,6 @@ USE_LDCONFIG= yes
USE_LINUX= libssh2 nspr nss openldap
USE_LINUX_RPM= nolib
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>