summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2007-09-26 20:39:59 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2007-09-26 20:39:59 +0000
commit096d2a29e0e7c567057e397f385a6ef9e9c20de9 (patch)
tree98ea07c285968588572ed2d0d7b8573d0a05adde /devel
parentFedora is no more Core. (diff)
Add p5-Thrift 0.1, perl interface to Thrift.
Notes
Notes: svn path=/head/; revision=200144
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Thrift/Makefile27
-rw-r--r--devel/p5-Thrift/pkg-descr3
-rw-r--r--devel/p5-Thrift/pkg-plist11
4 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f5b4294e7d9a..c062c7e84ff6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1621,6 +1621,7 @@
SUBDIR += p5-Thread-Apartment
SUBDIR += p5-Thread-Pool-Simple
SUBDIR += p5-Thread-Queue-Duplex
+ SUBDIR += p5-Thrift
SUBDIR += p5-Tie-Array-Pack
SUBDIR += p5-Tie-Array-Sorted
SUBDIR += p5-Tie-CPHash
diff --git a/devel/p5-Thrift/Makefile b/devel/p5-Thrift/Makefile
new file mode 100644
index 000000000000..a749568761ce
--- /dev/null
+++ b/devel/p5-Thrift/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: Thrift
+# Date created: 27 September 2007
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Thrift
+PORTVERSION= 0.1
+CATEGORIES= devel
+PKGNAMEPREFIX= p5-
+DISTFILES=
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Perl interface to Thrift
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Bit/Vector.pm:${PORTSDIR}/math/p5-Bit-Vector
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract \
+ ${RUN_DEPENDS}
+
+PERL_CONFIGURE= 5.6.0+
+
+post-extract:
+ @${LN} -sfh \
+ `cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/perl ${WRKSRC}
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Thrift/pkg-descr b/devel/p5-Thrift/pkg-descr
new file mode 100644
index 000000000000..77ad701da251
--- /dev/null
+++ b/devel/p5-Thrift/pkg-descr
@@ -0,0 +1,3 @@
+Perl interface to Thrift.
+
+WWW: http://developers.facebook.com/thrift/
diff --git a/devel/p5-Thrift/pkg-plist b/devel/p5-Thrift/pkg-plist
new file mode 100644
index 000000000000..db7965cfdf01
--- /dev/null
+++ b/devel/p5-Thrift/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thrift/.packlist
+%%SITE_PERL%%/Thrift.pm
+%%SITE_PERL%%/Thrift/BinaryProtocol.pm
+%%SITE_PERL%%/Thrift/BufferedTransport.pm
+%%SITE_PERL%%/Thrift/FramedTransport.pm
+%%SITE_PERL%%/Thrift/MemoryBuffer.pm
+%%SITE_PERL%%/Thrift/Protocol.pm
+%%SITE_PERL%%/Thrift/Socket.pm
+%%SITE_PERL%%/Thrift/Transport.pm
+@dirrm %%SITE_PERL%%/Thrift
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thrift