aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2000-11-24 22:23:38 +0000
committerMichael Haro <mharo@FreeBSD.org>2000-11-24 22:23:38 +0000
commit035952c8504f83ffcc176fc4c16c910c7e3b2b70 (patch)
tree696c1c38f727ceff303d2cdf422334f3fa152a6a /ftp
parent5c6c4bd604296ae3fe654392f860f1256624011a (diff)
downloadports-035952c8504f83ffcc176fc4c16c910c7e3b2b70.tar.gz
ports-035952c8504f83ffcc176fc4c16c910c7e3b2b70.zip
Notes
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