aboutsummaryrefslogtreecommitdiff
path: root/ftp/proftpd-devel
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-01-11 11:54:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-01-11 11:54:29 +0000
commit2e497a651dc96f0d94ef67ffae040f962de04339 (patch)
treec4c428c769de77729d385f1c95fd1a36dadd202f /ftp/proftpd-devel
parentd57c59a2000e910a3f284f0175de6fbebb9e78ff (diff)
downloadports-2e497a651dc96f0d94ef67ffae040f962de04339.tar.gz
ports-2e497a651dc96f0d94ef67ffae040f962de04339.zip
Notes
Diffstat (limited to 'ftp/proftpd-devel')
-rw-r--r--ftp/proftpd-devel/Makefile15
-rw-r--r--ftp/proftpd-devel/pkg-plist3
2 files changed, 13 insertions, 5 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