aboutsummaryrefslogtreecommitdiff
path: root/ftp/p5-Net-FTPServer
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
commitddcc0de9218039c78eb34c7bc64fadb4dfe7a707 (patch)
treebee4ba075b3a0b4d3276fe1e92c704118abdbfe3 /ftp/p5-Net-FTPServer
parentfc366adb105b7bb2dc40e2a7e3e8c2022e37efe2 (diff)
downloadports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.tar.gz
ports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.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
Notes
Notes: svn path=/head/; revision=261530
Diffstat (limited to 'ftp/p5-Net-FTPServer')
-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>