diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-cffi/Makefile | 26 | ||||
-rw-r--r-- | devel/py-cffi/distinfo | 2 | ||||
-rw-r--r-- | devel/py-cffi/pkg-descr | 3 |
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2520d9c93e4c..ec28e90a5c90 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3507,6 +3507,7 @@ SUBDIR += py-botocore SUBDIR += py-cclib SUBDIR += py-celery + SUBDIR += py-cffi SUBDIR += py-cfgparse SUBDIR += py-cheetah SUBDIR += py-ciphon diff --git a/devel/py-cffi/Makefile b/devel/py-cffi/Makefile new file mode 100644 index 000000000000..f8d9900173df --- /dev/null +++ b/devel/py-cffi/Makefile @@ -0,0 +1,26 @@ +# Created by: William Grzybowski <wg@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= cffi +PORTVERSION= 0.8.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wg@FreeBSD.org +COMMENT= Foreign Function Interface for Python calling C code + +LICENSE= MIT + +LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=0:${PORTSDIR}/devel/py-pycparser + +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_AUTOPLIST= yes +PYEASYINSTALL_ARCHDEP= yes + +.include <bsd.port.mk> diff --git a/devel/py-cffi/distinfo b/devel/py-cffi/distinfo new file mode 100644 index 000000000000..c58375de5b81 --- /dev/null +++ b/devel/py-cffi/distinfo @@ -0,0 +1,2 @@ +SHA256 (cffi-0.8.1.tar.gz) = 1db1eff2093e31eaaa83b274f8c6d5d2dad2908d43a301185d205e5d256d6818 +SIZE (cffi-0.8.1.tar.gz) = 195206 diff --git a/devel/py-cffi/pkg-descr b/devel/py-cffi/pkg-descr new file mode 100644 index 000000000000..b2d2d12a3026 --- /dev/null +++ b/devel/py-cffi/pkg-descr @@ -0,0 +1,3 @@ +Foreign Function Interface for Python calling C code. + +WWW: http://cffi.readthedocs.org/ |