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 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