aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-11-25 06:23:38 +0800
committermharo <mharo@FreeBSD.org>2000-11-25 06:23:38 +0800
commitb25820e6621e0d129ddff719d5ef4a6b8466e7c9 (patch)
treeb35c3bdb1ad300ff9bb04010a815c1e49efd6f80 /ftp
parentceab8628f19f458a02511426115485d730f7334f (diff)
downloadfreebsd-ports-gnome-b25820e6621e0d129ddff719d5ef4a6b8466e7c9.tar.gz
freebsd-ports-gnome-b25820e6621e0d129ddff719d5ef4a6b8466e7c9.tar.zst
freebsd-ports-gnome-b25820e6621e0d129ddff719d5ef4a6b8466e7c9.zip
Add docs to ftp/proftpd.
PR: 22736 Submitted by: Dominic Mitchell <hdm@mistral.co.uk>
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile5
-rw-r--r--ftp/proftpd-devel/pkg-plist3
-rw-r--r--ftp/proftpd/Makefile5
-rw-r--r--ftp/proftpd/pkg-plist3
4 files changed, 16 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 4defdceb6846..4928b6e15f35 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -69,6 +69,11 @@ do-install:
${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
fi
@${SED} -e 's,/usr/local,${PREFIX},g' ${FILESDIR}/proftpd.sh.sample > ${PREFIX}/etc/rc.d/proftpd.sh.sample
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/proftpd
+ @${INSTALL_DATA} ${WRKSRC}/doc/Configuration.html ${PREFIX}/share/doc/proftpd
+ @${INSTALL_DATA} ${WRKSRC}/doc/FAQ-config.html ${PREFIX}/share/doc/proftpd
+.endif
@${CAT} ${PKGMESSAGE}
diff --git a/ftp/proftpd-devel/pkg-plist b/ftp/proftpd-devel/pkg-plist
index 37cffafd954a..1280dc46e039 100644
--- a/ftp/proftpd-devel/pkg-plist
+++ b/ftp/proftpd-devel/pkg-plist
@@ -5,3 +5,6 @@ etc/rc.d/proftpd.sh.sample
@exec if [ ! -f %D/etc/proftpd.conf ] ; then cp -p %D/%F %B/proftpd.conf; fi
libexec/proftpd
sbin/ftpshut
+share/doc/proftpd/Configuration.html
+share/doc/proftpd/FAQ-config.html
+@dirrm share/doc/proftpd
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 4defdceb6846..4928b6e15f35 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -69,6 +69,11 @@ do-install:
${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
fi
@${SED} -e 's,/usr/local,${PREFIX},g' ${FILESDIR}/proftpd.sh.sample > ${PREFIX}/etc/rc.d/proftpd.sh.sample
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/proftpd
+ @${INSTALL_DATA} ${WRKSRC}/doc/Configuration.html ${PREFIX}/share/doc/proftpd
+ @${INSTALL_DATA} ${WRKSRC}/doc/FAQ-config.html ${PREFIX}/share/doc/proftpd
+.endif
@${CAT} ${PKGMESSAGE}
diff --git a/ftp/proftpd/pkg-plist b/ftp/proftpd/pkg-plist
index 37cffafd954a..1280dc46e039 100644
--- a/ftp/proftpd/pkg-plist
+++ b/ftp/proftpd/pkg-plist
@@ -5,3 +5,6 @@ etc/rc.d/proftpd.sh.sample
@exec if [ ! -f %D/etc/proftpd.conf ] ; then cp -p %D/%F %B/proftpd.conf; fi
libexec/proftpd
sbin/ftpshut
+share/doc/proftpd/Configuration.html
+share/doc/proftpd/FAQ-config.html
+@dirrm share/doc/proftpd