2013-08-02 20:52:07 +02:00
|
|
|
# Created by: Wen Heping <wen@FreeBSD.org>
|
2009-12-23 04:31:54 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= MongoDB
|
2016-05-15 18:12:54 +02:00
|
|
|
PORTVERSION= 1.4.0
|
2015-05-14 12:15:04 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2009-12-23 04:31:54 +01:00
|
|
|
CATEGORIES= databases perl5
|
|
|
|
MASTER_SITES= CPAN
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2010-05-06 10:49:13 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2009-12-23 04:31:54 +01:00
|
|
|
COMMENT= Mongo Driver for Perl
|
|
|
|
|
2014-04-01 13:56:24 +02:00
|
|
|
LICENSE= APACHE20
|
2011-06-01 22:39:06 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= p5-Authen-SCRAM>=0.003:security/p5-Authen-SCRAM \
|
|
|
|
p5-Class-XSAccessor>0:devel/p5-Class-XSAccessor \
|
|
|
|
p5-DateTime>=0.78:devel/p5-DateTime \
|
|
|
|
p5-Moose>=2:devel/p5-Moose \
|
|
|
|
p5-Safe-Isa>=0:devel/p5-Safe-Isa \
|
|
|
|
p5-Syntax-Keyword-Junction>=0:devel/p5-Syntax-Keyword-Junction \
|
|
|
|
p5-Throwable>=0:devel/p5-Throwable \
|
|
|
|
p5-Tie-IxHash>=0:devel/p5-Tie-IxHash \
|
|
|
|
p5-Try-Tiny>=0:lang/p5-Try-Tiny \
|
|
|
|
p5-boolean>=0:devel/p5-boolean \
|
|
|
|
p5-namespace-clean>=0:devel/p5-namespace-clean
|
2014-04-01 14:02:40 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS+= p5-Config-AutoConf>=0.220:devel/p5-Config-AutoConf \
|
|
|
|
p5-Path-Tiny>=0.052:devel/p5-Path-Tiny
|
|
|
|
TEST_DEPENDS= p5-Data-Dump>=0:devel/p5-Data-Dump \
|
|
|
|
p5-JSON>=2:converters/p5-JSON \
|
|
|
|
p5-Test-Deep>=0.111:devel/p5-Test-Deep \
|
|
|
|
p5-Test-Fatal>=0:devel/p5-Test-Fatal \
|
|
|
|
p5-Test-Warn>=0:devel/p5-Test-Warn
|
2009-12-23 04:31:54 +01:00
|
|
|
|
2015-11-03 19:25:49 +01:00
|
|
|
CFLAGS+= -DBSON_COMPILATION -DMONGO_USE_64_BIT_INT
|
2010-09-17 00:21:56 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2013-08-02 20:52:07 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2009-12-23 04:31:54 +01:00
|
|
|
|
2015-07-17 14:23:50 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/MongoDB/MongoDB.so
|
|
|
|
|
2016-02-01 20:48:56 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 502200
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS+= p5-JSON-PP>=2.27300:converters/p5-JSON-PP
|
|
|
|
RUN_DEPENDS+= p5-JSON-PP>=2.27300:converters/p5-JSON-PP
|
2016-02-01 20:48:56 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|