aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-09-21 15:56:43 +0800
committermm <mm@FreeBSD.org>2010-09-21 15:56:43 +0800
commita447d3207d987ddc5b4cb16345ffd07b474aea9c (patch)
tree740d2c4dbf9c6b5d7e0a621cb113b01436081f94 /ftp
parent755a0561c300f159d88d880440dc70a9ae0425e2 (diff)
downloadfreebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.gz
freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.zst
freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.zip
Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress. Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903 Bump PORTREVISION
Diffstat (limited to 'ftp')
-rw-r--r--ftp/p5-Net-FTPServer/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/ftp/p5-Net-FTPServer/Makefile b/ftp/p5-Net-FTPServer/Makefile
index 974320ae15b6..9d564d795bd3 100644
--- a/ftp/p5-Net-FTPServer/Makefile
+++ b/ftp/p5-Net-FTPServer/Makefile
@@ -8,7 +8,7 @@
PORTNAME= Net-FTPServer
PORTVERSION= 1.122
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ftp perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -19,7 +19,6 @@ COMMENT= A full-featured, secure, extensible and configurable Perl FTP server
RUN_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
p5-Authen-PAM>=0:${PORTSDIR}/security/p5-Authen-PAM \
p5-BSD-Resource>=0:${PORTSDIR}/devel/p5-BSD-Resource \
- p5-Compress-Zlib>=1.14:${PORTSDIR}/archivers/p5-Compress-Zlib \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
p5-File-Sync>=0:${PORTSDIR}/devel/p5-File-Sync \
p5-IO-stringy>=1.126:${PORTSDIR}/devel/p5-IO-stringy
@@ -56,6 +55,12 @@ DOCS= FAQ README TODO doc/*
PORTDOCS= *
PORTEXAMPLES= ftpd.conf
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s/root,root/root,wheel/" \
-e "s,/usr/sbin,${PREFIX}/sbin," \
@@ -76,4 +81,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>