diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-11 11:54:29 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-11 11:54:29 +0000 |
commit | 2e497a651dc96f0d94ef67ffae040f962de04339 (patch) | |
tree | c4c428c769de77729d385f1c95fd1a36dadd202f /ftp | |
parent | Add jai-imageio 1.0, which is JAI Image I/O Tools provides reader, (diff) |
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
Notes
Notes:
svn path=/head/; revision=97921
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/proftpd-devel/Makefile | 15 | ||||
-rw-r--r-- | ftp/proftpd-devel/pkg-plist | 3 | ||||
-rw-r--r-- | ftp/proftpd/Makefile | 15 | ||||
-rw-r--r-- | ftp/proftpd/pkg-plist | 3 |
4 files changed, 26 insertions, 10 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile index 16a4bc2f5457..4569b54c7ad4 100644 --- a/ftp/proftpd-devel/Makefile +++ b/ftp/proftpd-devel/Makefile @@ -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) diff --git a/ftp/proftpd-devel/pkg-plist b/ftp/proftpd-devel/pkg-plist index 242c00f554f9..2418335488d6 100644 --- a/ftp/proftpd-devel/pkg-plist +++ b/ftp/proftpd-devel/pkg-plist @@ -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 diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index 16a4bc2f5457..4569b54c7ad4 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -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) diff --git a/ftp/proftpd/pkg-plist b/ftp/proftpd/pkg-plist index 242c00f554f9..2418335488d6 100644 --- a/ftp/proftpd/pkg-plist +++ b/ftp/proftpd/pkg-plist @@ -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 |