From 427bcbbb95117553859e720da2e8798c1779e734 Mon Sep 17 00:00:00 2001 From: Veniamin Gvozdikov Date: Mon, 13 May 2013 16:14:28 +0400 Subject: [PATCH 1/2] [FreeBSD]: added include with types --- src/tarantool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tarantool.c b/src/tarantool.c index b428f2a..71b008c 100644 --- a/src/tarantool.c +++ b/src/tarantool.c @@ -23,6 +23,9 @@ #include #include #include +#if (__FreeBSD__version < 901000) +#include +#endif #include #include #include From 980586bd3b48ca15baa561e8baaa56495cb9c0bd Mon Sep 17 00:00:00 2001 From: Veniamin Gvozdikov Date: Mon, 13 May 2013 17:06:07 +0400 Subject: [PATCH 2/2] [FreeBSD]: added freebsd port files --- FreeBSD/databases/php5-tarantool/Makefile | 28 ++++++++++++++++++++++ FreeBSD/databases/php5-tarantool/distinfo | 2 ++ FreeBSD/databases/php5-tarantool/pkg-descr | 3 +++ FreeBSD/databases/php5-tarantool/pkg-plist | 4 ++++ 4 files changed, 37 insertions(+) create mode 100644 FreeBSD/databases/php5-tarantool/Makefile create mode 100644 FreeBSD/databases/php5-tarantool/distinfo create mode 100644 FreeBSD/databases/php5-tarantool/pkg-descr create mode 100644 FreeBSD/databases/php5-tarantool/pkg-plist diff --git a/FreeBSD/databases/php5-tarantool/Makefile b/FreeBSD/databases/php5-tarantool/Makefile new file mode 100644 index 0000000..ba59882 --- /dev/null +++ b/FreeBSD/databases/php5-tarantool/Makefile @@ -0,0 +1,28 @@ +# Created by: Gvozdikov Veniamin +# $FreeBSD$ + +PORTNAME= tarantool +PORTVERSION= ${TR_VER} +CATEGORIES= databases +MASTER_SITES= GH GHC +PKGNAMEPREFIX= php5- + +MAINTAINER= g.veniamin@googlemail.com +COMMENT= PECL PHP driver for Tarantool/Box + +USE_PHP= yes +USE_GITHUB= yes +USE_PHPEXT= yes +USE_PHPIZE= yes +DEFAULT_PHP_VER=5 + +PHP_MODNAME= ${PORTNAME} +GH_PROJECT= ${PORTNAME}-php +GH_ACCOUNT= zloidemon +GH_COMMIT= 427bcbb +GH_TAGNAME= master +TR_VER= 20130513 + +CONFIGURE_ARGS+= --with-tarantool + +.include diff --git a/FreeBSD/databases/php5-tarantool/distinfo b/FreeBSD/databases/php5-tarantool/distinfo new file mode 100644 index 0000000..9dd6387 --- /dev/null +++ b/FreeBSD/databases/php5-tarantool/distinfo @@ -0,0 +1,2 @@ +SHA256 (tarantool-20130513.tar.gz) = abb128d47512348aa7b7840986a65f776230d77f00f78fee06b7d25041c727e6 +SIZE (tarantool-20130513.tar.gz) = 20854 diff --git a/FreeBSD/databases/php5-tarantool/pkg-descr b/FreeBSD/databases/php5-tarantool/pkg-descr new file mode 100644 index 0000000..3fbc7df --- /dev/null +++ b/FreeBSD/databases/php5-tarantool/pkg-descr @@ -0,0 +1,3 @@ +PECL PHP driver for Tarantool/Box + +WWW: https://github.com/mailru/tarantool-php diff --git a/FreeBSD/databases/php5-tarantool/pkg-plist b/FreeBSD/databases/php5-tarantool/pkg-plist new file mode 100644 index 0000000..c3ee666 --- /dev/null +++ b/FreeBSD/databases/php5-tarantool/pkg-plist @@ -0,0 +1,4 @@ +include/php/ext/php_config.h +@dirrmtry include/php/ext +@dirrmtry include/php +@dirrmtry lib/php