aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-05-20 11:52:46 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-05-20 11:52:46 +0800
commit4ae9187561bd92e5e4af4173bec360ba0c39a265 (patch)
treeeb0876c8e0e2369b2552d637af7ea9b90bf6753d /sysutils
parent57a4ed850c311d37f7a30fba94010d7606c9c34a (diff)
downloadfreebsd-ports-gnome-4ae9187561bd92e5e4af4173bec360ba0c39a265.tar.gz
freebsd-ports-gnome-4ae9187561bd92e5e4af4173bec360ba0c39a265.tar.zst
freebsd-ports-gnome-4ae9187561bd92e5e4af4173bec360ba0c39a265.zip
- Update to 2.61
Changes: http://search.cpan.org/dist/MogileFS-Server/CHANGES
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/p5-MogileFS-Server/Makefile15
-rw-r--r--sysutils/p5-MogileFS-Server/distinfo4
-rw-r--r--sysutils/p5-MogileFS-Server/pkg-plist1
3 files changed, 15 insertions, 5 deletions
diff --git a/sysutils/p5-MogileFS-Server/Makefile b/sysutils/p5-MogileFS-Server/Makefile
index 7331e86b86c7..43f62277a760 100644
--- a/sysutils/p5-MogileFS-Server/Makefile
+++ b/sysutils/p5-MogileFS-Server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= MogileFS-Server
-PORTVERSION= 2.60
+PORTVERSION= 2.61
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DORMANDO
@@ -27,6 +27,7 @@ BUILD_DEPENDS= p5-Danga-Socket>=1.56:${PORTSDIR}/devel/p5-Danga-Socket \
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+REINPLACE_ARGS= -i ''
USE_RC_SUBR= mogilefsd mogstored
MAN1= mogautomount.1 \
@@ -53,10 +54,20 @@ MAN3= MogileFS::Checksum.3 \
MogileFS::Worker::Query.3 \
MogileFS::Worker::Replicate.3
+# https://github.com/mogilefs/MogileFS-Server/commit/28fad964f2eee3f4b13614cce97e5423ebd54875
+post-patch:
+ @${REINPLACE_CMD} -e '/MogileFS::Sys/d' ${WRKSRC}/lib/MogileFS/Server.pm
+
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/p5-MogileFS-Server/distinfo b/sysutils/p5-MogileFS-Server/distinfo
index 089fa9e6905b..470ba45e7f51 100644
--- a/sysutils/p5-MogileFS-Server/distinfo
+++ b/sysutils/p5-MogileFS-Server/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MogileFS-Server-2.60.tar.gz) = 430b47ff0152f225c3af867910afa60516472d740f9b44f6e0c36a8a919238e2
-SIZE (MogileFS-Server-2.60.tar.gz) = 166840
+SHA256 (MogileFS-Server-2.61.tar.gz) = c3a92c7b1006ce5e0b41875b716ea0049585360195abc61125d2756ddfaaf8e6
+SIZE (MogileFS-Server-2.61.tar.gz) = 173555
diff --git a/sysutils/p5-MogileFS-Server/pkg-plist b/sysutils/p5-MogileFS-Server/pkg-plist
index 5f788ca04bf3..dcc614cdce2e 100644
--- a/sysutils/p5-MogileFS-Server/pkg-plist
+++ b/sysutils/p5-MogileFS-Server/pkg-plist
@@ -34,7 +34,6 @@ bin/mogstored
%%SITE_PERL%%/MogileFS/Store/MySQL.pm
%%SITE_PERL%%/MogileFS/Store/Postgres.pm
%%SITE_PERL%%/MogileFS/Store/SQLite.pm
-%%SITE_PERL%%/MogileFS/Sys.pm
%%SITE_PERL%%/MogileFS/Test.pm
%%SITE_PERL%%/MogileFS/Util.pm
%%SITE_PERL%%/MogileFS/Worker.pm