From b25820e6621e0d129ddff719d5ef4a6b8466e7c9 Mon Sep 17 00:00:00 2001 From: mharo Date: Fri, 24 Nov 2000 22:23:38 +0000 Subject: Add docs to ftp/proftpd. PR: 22736 Submitted by: Dominic Mitchell --- ftp/proftpd-devel/Makefile | 5 +++++ ftp/proftpd-devel/pkg-plist | 3 +++ ftp/proftpd/Makefile | 5 +++++ ftp/proftpd/pkg-plist | 3 +++ 4 files changed, 16 insertions(+) (limited to 'ftp') diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile index 4defdce..4928b6e 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 37cffaf..1280dc4 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 4defdce..4928b6e 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 37cffaf..1280dc4 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 -- cgit v1.1