diff options
author | mat <mat@FreeBSD.org> | 2013-11-16 01:00:46 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2013-11-16 01:00:46 +0800 |
commit | 7afacc0b9be3564e5fa38a4dbb0b4ec4df9dadbd (patch) | |
tree | 9add1d430cb74705638bdff468888ad923ed6c98 | |
parent | 3bac751b7806422f8b64a48ddf9bcdaf2adc87af (diff) | |
download | freebsd-ports-gnome-7afacc0b9be3564e5fa38a4dbb0b4ec4df9dadbd.tar.gz freebsd-ports-gnome-7afacc0b9be3564e5fa38a4dbb0b4ec4df9dadbd.tar.zst freebsd-ports-gnome-7afacc0b9be3564e5fa38a4dbb0b4ec4df9dadbd.zip |
Add p5-AnyEvent-Memcached 0.05, anyEvent memcached client.
PR: ports/180309
Submitted by: Anes Mukhametov <anes@anes.su>
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-AnyEvent-Memcached/Makefile | 34 | ||||
-rw-r--r-- | databases/p5-AnyEvent-Memcached/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-AnyEvent-Memcached/files/patch-lib__AnyEvent__Memcached.pm | 11 | ||||
-rw-r--r-- | databases/p5-AnyEvent-Memcached/pkg-descr | 3 | ||||
-rw-r--r-- | databases/p5-AnyEvent-Memcached/pkg-plist | 14 |
6 files changed, 65 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 26cbbf1c88c6..5d27f417fc99 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -264,6 +264,7 @@ SUBDIR += p5-AnyEvent-BDB SUBDIR += p5-AnyEvent-CouchDB SUBDIR += p5-AnyEvent-DBD-Pg + SUBDIR += p5-AnyEvent-Memcached SUBDIR += p5-AnyEvent-Redis SUBDIR += p5-AsciiDB-TagFile SUBDIR += p5-BDB diff --git a/databases/p5-AnyEvent-Memcached/Makefile b/databases/p5-AnyEvent-Memcached/Makefile new file mode 100644 index 000000000000..6e0eccabb5e7 --- /dev/null +++ b/databases/p5-AnyEvent-Memcached/Makefile @@ -0,0 +1,34 @@ +# Created by: Anes Mukhametov <anes@anes.su> +# $FreeBSD$ + +PORTNAME= AnyEvent-Memcached +PORTVERSION= 0.05 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= anes@anes.su +COMMENT= AnyEvent memcached client + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-AnyEvent-Connection>=0.05:${PORTSDIR}/devel/p5-AnyEvent-Connection \ + p5-AnyEvent>=5.0:${PORTSDIR}/devel/p5-AnyEvent \ + p5-String-CRC32>=0:${PORTSDIR}/devel/p5-String-CRC32 \ + p5-common-sense>=2:${PORTSDIR}/devel/p5-common-sense \ + p5-Test-NoWarnings>=1.03:${PORTSDIR}/devel/p5-Test-NoWarnings \ + p5-Test-TCP>=0.14:${PORTSDIR}/devel/p5-Test-TCP \ + p5-lib-abs>=0.90:${PORTSDIR}/devel/p5-lib-abs +RUN_DEPENDS= p5-AnyEvent-Connection>=0.05:${PORTSDIR}/devel/p5-AnyEvent-Connection \ + p5-AnyEvent>=5.0:${PORTSDIR}/devel/p5-AnyEvent \ + p5-String-CRC32>=0:${PORTSDIR}/devel/p5-String-CRC32 \ + p5-common-sense>=2:${PORTSDIR}/devel/p5-common-sense \ + p5-Test-NoWarnings>=1.03:${PORTSDIR}/devel/p5-Test-NoWarnings \ + p5-Test-TCP>=0.14:${PORTSDIR}/devel/p5-Test-TCP \ + p5-lib-abs>=0.90:${PORTSDIR}/devel/p5-lib-abs + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> diff --git a/databases/p5-AnyEvent-Memcached/distinfo b/databases/p5-AnyEvent-Memcached/distinfo new file mode 100644 index 000000000000..8098f8e884da --- /dev/null +++ b/databases/p5-AnyEvent-Memcached/distinfo @@ -0,0 +1,2 @@ +SHA256 (AnyEvent-Memcached-0.05.tar.gz) = 78e5a1e3bf935e1720795eb3254ec7768c52f3d6e8a6b4a74d1c3260405b47a7 +SIZE (AnyEvent-Memcached-0.05.tar.gz) = 40120 diff --git a/databases/p5-AnyEvent-Memcached/files/patch-lib__AnyEvent__Memcached.pm b/databases/p5-AnyEvent-Memcached/files/patch-lib__AnyEvent__Memcached.pm new file mode 100644 index 000000000000..95b6b5cc113b --- /dev/null +++ b/databases/p5-AnyEvent-Memcached/files/patch-lib__AnyEvent__Memcached.pm @@ -0,0 +1,11 @@ +--- ./lib/AnyEvent/Memcached.pm.orig 2010-07-11 12:00:08.000000000 +0200 ++++ ./lib/AnyEvent/Memcached.pm 2013-11-15 17:57:36.000000000 +0100 +@@ -822,7 +822,7 @@ + } + else { + #warn "add failed, try again"; +- $self->incr_add($key,$val,%args); ++ $self->incadd($key,$val,%args); + } + }); + } diff --git a/databases/p5-AnyEvent-Memcached/pkg-descr b/databases/p5-AnyEvent-Memcached/pkg-descr new file mode 100644 index 000000000000..f18a5376c8f8 --- /dev/null +++ b/databases/p5-AnyEvent-Memcached/pkg-descr @@ -0,0 +1,3 @@ +Asyncronous memcached/memcachedb client for AnyEvent framework + +WWW: http://search.cpan.org/dist/AnyEvent-Memcached/ diff --git a/databases/p5-AnyEvent-Memcached/pkg-plist b/databases/p5-AnyEvent-Memcached/pkg-plist new file mode 100644 index 000000000000..1c42025ab200 --- /dev/null +++ b/databases/p5-AnyEvent-Memcached/pkg-plist @@ -0,0 +1,14 @@ +%%PERL5_MAN3%%/AnyEvent::Memcached.3.gz +%%PERL5_MAN3%%/AnyEvent::Memcached::Hash::WithNext.3.gz +%%SITE_PERL%%/AnyEvent/Memcached.pm +%%SITE_PERL%%/AnyEvent/Memcached/Hash.pm +%%SITE_PERL%%/AnyEvent/Memcached/Conn.pm +%%SITE_PERL%%/AnyEvent/Memcached/Peer.pm +%%SITE_PERL%%/AnyEvent/Memcached/Buckets.pm +%%SITE_PERL%%/AnyEvent/Memcached/Hash/WithNext.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/Memcached/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent/Memcached +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/AnyEvent +@dirrmtry %%SITE_PERL%%/AnyEvent/Memcached/Hash +@dirrmtry %%SITE_PERL%%/AnyEvent/Memcached +@dirrmtry %%SITE_PERL%%/AnyEvent |