aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/p5-MogileFS-Utils/Makefile8
-rw-r--r--sysutils/p5-MogileFS-Utils/distinfo4
-rw-r--r--sysutils/p5-MogileFS-Utils/pkg-plist12
3 files changed, 16 insertions, 8 deletions
diff --git a/sysutils/p5-MogileFS-Utils/Makefile b/sysutils/p5-MogileFS-Utils/Makefile
index ee15a0543f30..48b3b1fe58b4 100644
--- a/sysutils/p5-MogileFS-Utils/Makefile
+++ b/sysutils/p5-MogileFS-Utils/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= MogileFS-Utils
-PORTVERSION= 2.21
+PORTVERSION= 2.22
CATEGORIES= sysutils net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DORMANDO
@@ -15,6 +15,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= MogileFS tools
+BUILD_DEPENDS= p5-MogileFS-Client>=1.14:${PORTSDIR}/sysutils/p5-MogileFS-Client \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= p5-MogileFS-Client>=1.14:${PORTSDIR}/sysutils/p5-MogileFS-Client \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
@@ -27,6 +29,7 @@ MAN1= mogadm.1 \
mogfileinfo.1 \
moglistfids.1 \
moglistkeys.1 \
+ mogrename.1 \
mogstats.1 \
mogtool.1 \
mogupload.1
@@ -38,4 +41,7 @@ MAN3= MogileFS::Utils.3
RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/NAME/ s|MogileFS-Utils|MogileFS::Utils|' ${WRKSRC}/Makefile.PL
+
.include <bsd.port.post.mk>
diff --git a/sysutils/p5-MogileFS-Utils/distinfo b/sysutils/p5-MogileFS-Utils/distinfo
index 254b3da4af64..5259b4ede859 100644
--- a/sysutils/p5-MogileFS-Utils/distinfo
+++ b/sysutils/p5-MogileFS-Utils/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MogileFS-Utils-2.21.tar.gz) = 346c37ce6525596c1c48a220c26b4bf855dedb4498c344db99e1476f7a4489e3
-SIZE (MogileFS-Utils-2.21.tar.gz) = 38662
+SHA256 (MogileFS-Utils-2.22.tar.gz) = c1fc4cc8d2d689fbcf6ae323c42cfe1d6785f374a586a9a6a01f1db78f02b90e
+SIZE (MogileFS-Utils-2.22.tar.gz) = 39361
diff --git a/sysutils/p5-MogileFS-Utils/pkg-plist b/sysutils/p5-MogileFS-Utils/pkg-plist
index fc9fc4c541a0..d3bd03475664 100644
--- a/sysutils/p5-MogileFS-Utils/pkg-plist
+++ b/sysutils/p5-MogileFS-Utils/pkg-plist
@@ -1,14 +1,16 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS-Utils/.packlist
-%%SITE_PERL%%/MogileFS/Utils.pm
+bin/mogadm
bin/mogdelete
bin/mogfetch
bin/mogfiledebug
bin/mogfileinfo
bin/moglistfids
bin/moglistkeys
-bin/mogupload
-bin/mogadm
+bin/mogrename
bin/mogstats
bin/mogtool
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS-Utils
+bin/mogupload
+%%SITE_PERL%%/MogileFS/Utils.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Utils/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Utils
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS
@dirrmtry %%SITE_PERL%%/MogileFS