mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
ProFTPd port does not install docs for optional modules
The ftp/proftpd port creates /usr/local/share/doc/proftpd and installs the two HTML files from ProFTPd's docs directory into it. But it doesn't copy the html files from the contrib directory which describe the optional modules (mod_tls, mod_radius, etc.) and their configuration options. Also moved the portdocs to the PORTDOCS environment variable. PR: ports/56511 Submitted by: Pat Lashley <patl+freebsd@volant.org> Reviewed by: maintainer timeout
This commit is contained in:
parent
d57c59a200
commit
2e497a651d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97921
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= proftpd
|
||||
PORTVERSION= 1.2.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ftp
|
||||
MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \
|
||||
ftp://ftp.stikman.com/pub/proftpd/ \
|
||||
@ -31,6 +32,11 @@ MAN1= ftpcount.1 ftpwho.1 ftptop.1
|
||||
MAN5= xferlog.5
|
||||
MAN8= proftpd.8 ftpshut.8
|
||||
|
||||
PORTDOCSdoc= Configuration.html faq.html
|
||||
PORTDOCScontrib=mod_ifsession.html mod_radius.html mod_rewrite.html \
|
||||
mod_tls.html mod_wrap.html ftpasswd.html
|
||||
PORTDOCS= ${PORTDOCSdoc} ${PORTDOCScontrib}
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
@ -154,10 +160,15 @@ do-install:
|
||||
${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/proftpd.sh ${PREFIX}/etc/rc.d/proftpd${RC_SUFX}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/proftpd
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/Configuration.html ${PREFIX}/share/doc/proftpd
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${PREFIX}/share/doc/proftpd
|
||||
.for f in ${PORTDOCSdoc}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/proftpd
|
||||
.endfor
|
||||
.for f in ${PORTDOCScontrib}
|
||||
@${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${PREFIX}/share/doc/proftpd
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_PAM)
|
||||
|
@ -7,6 +7,3 @@ etc/rc.d/proftpd%%RC_SUFX%%
|
||||
@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.html
|
||||
@dirrm share/doc/proftpd
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= proftpd
|
||||
PORTVERSION= 1.2.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ftp
|
||||
MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \
|
||||
ftp://ftp.stikman.com/pub/proftpd/ \
|
||||
@ -31,6 +32,11 @@ MAN1= ftpcount.1 ftpwho.1 ftptop.1
|
||||
MAN5= xferlog.5
|
||||
MAN8= proftpd.8 ftpshut.8
|
||||
|
||||
PORTDOCSdoc= Configuration.html faq.html
|
||||
PORTDOCScontrib=mod_ifsession.html mod_radius.html mod_rewrite.html \
|
||||
mod_tls.html mod_wrap.html ftpasswd.html
|
||||
PORTDOCS= ${PORTDOCSdoc} ${PORTDOCScontrib}
|
||||
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
@ -154,10 +160,15 @@ do-install:
|
||||
${WRKSRC}/sample-configurations/basic.conf ${PREFIX}/etc/proftpd.conf; \
|
||||
fi
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/proftpd.sh ${PREFIX}/etc/rc.d/proftpd${RC_SUFX}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/proftpd
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/Configuration.html ${PREFIX}/share/doc/proftpd
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/faq.html ${PREFIX}/share/doc/proftpd
|
||||
.for f in ${PORTDOCSdoc}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/proftpd
|
||||
.endfor
|
||||
.for f in ${PORTDOCScontrib}
|
||||
@${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${PREFIX}/share/doc/proftpd
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_PAM)
|
||||
|
@ -7,6 +7,3 @@ etc/rc.d/proftpd%%RC_SUFX%%
|
||||
@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.html
|
||||
@dirrm share/doc/proftpd
|
||||
|
Loading…
Reference in New Issue
Block a user