diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-10-28 22:19:42 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-10-28 22:19:42 +0800 |
commit | fce0f66ff351036f288503c90712d579744e2d88 (patch) | |
tree | 750e132bd63ea35fb2114c4cdc01ee356a4ae9ad | |
parent | 1db2c1330fef35fc129b5c42b1006762baaa1e00 (diff) | |
download | freebsd-ports-gnome-fce0f66ff351036f288503c90712d579744e2d88.tar.gz freebsd-ports-gnome-fce0f66ff351036f288503c90712d579744e2d88.tar.zst freebsd-ports-gnome-fce0f66ff351036f288503c90712d579744e2d88.zip |
- Add p5-Tie-LevelDB 0.06
Tie::LevelDB is the Perl Interface for Google NoSQL database called LevelDB. See
http://code.google.com/p/leveldb/ for more details.
Interface is implemented both as a reflection of an original LevelDB C++ API and
a Perl-ish TIEHASH mechanism.
WWW: http://search.cpan.org/dist/Tie-LevelDB/
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/p5-Tie-LevelDB/Makefile | 31 | ||||
-rw-r--r-- | databases/p5-Tie-LevelDB/distinfo | 2 | ||||
-rw-r--r-- | databases/p5-Tie-LevelDB/pkg-descr | 7 | ||||
-rw-r--r-- | databases/p5-Tie-LevelDB/pkg-plist | 7 |
5 files changed, 48 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index df6ecc6764af..e2182d55ef79 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -475,6 +475,7 @@ SUBDIR += p5-Text-Query-SQL SUBDIR += p5-Text-xSV SUBDIR += p5-Tie-DBI + SUBDIR += p5-Tie-LevelDB SUBDIR += p5-Time-Piece-MySQL SUBDIR += p5-TokyoCabinet SUBDIR += p5-hp200lx-db diff --git a/databases/p5-Tie-LevelDB/Makefile b/databases/p5-Tie-LevelDB/Makefile new file mode 100644 index 000000000000..b5f58e498096 --- /dev/null +++ b/databases/p5-Tie-LevelDB/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-Tie-LevelDB +# Date created: 2011-10-04 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Tie-LevelDB +PORTVERSION= 0.06 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= A Perl Interface to the Google LevelDB NoSQL database + +LIB_DEPENDS= leveldb:${PORTSDIR}/databases/leveldb + +MAKE_ARGS= CC=${CXX} +PERL_CONFIGURE= yes + +MAN3= Tie::LevelDB.3 + +post-patch: + @${REINPLACE_CMD} -e '/build_detect_platform/d' \ + -e 's|build_config.mk|${LOCALBASE}/share/leveldb/&|' \ + -e '/LIBS/ s|\[\(.*\)\]|["-L${LOCALBASE}/lib -lleveldb " . (\1)]|' \ + -e '/OBJECT/ s|".*\(LevelDB\.o\).*"|"\1"|' \ + ${WRKSRC}/Makefile.PL + +.include <bsd.port.mk> diff --git a/databases/p5-Tie-LevelDB/distinfo b/databases/p5-Tie-LevelDB/distinfo new file mode 100644 index 000000000000..9b3f7ac376d4 --- /dev/null +++ b/databases/p5-Tie-LevelDB/distinfo @@ -0,0 +1,2 @@ +SHA256 (Tie-LevelDB-0.06.tar.gz) = d1c9b1065d5c3df8ef375ca47225479ed38df8f9838594436cfb52226aa4164a +SIZE (Tie-LevelDB-0.06.tar.gz) = 192942 diff --git a/databases/p5-Tie-LevelDB/pkg-descr b/databases/p5-Tie-LevelDB/pkg-descr new file mode 100644 index 000000000000..7b56ffae9325 --- /dev/null +++ b/databases/p5-Tie-LevelDB/pkg-descr @@ -0,0 +1,7 @@ +Tie::LevelDB is the Perl Interface for Google NoSQL database called LevelDB. See +http://code.google.com/p/leveldb/ for more details. + +Interface is implemented both as a reflection of an original LevelDB C++ API and +a Perl-ish TIEHASH mechanism. + +WWW: http://search.cpan.org/dist/Tie-LevelDB/ diff --git a/databases/p5-Tie-LevelDB/pkg-plist b/databases/p5-Tie-LevelDB/pkg-plist new file mode 100644 index 000000000000..f3b3892bc453 --- /dev/null +++ b/databases/p5-Tie-LevelDB/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Tie/LevelDB.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/LevelDB/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/LevelDB/LevelDB.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/LevelDB/LevelDB.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/LevelDB +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Tie |