mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
f1734e2c21
Approved by: wg@ (maintainer, timeout 1 month)
26 lines
570 B
Makefile
26 lines
570 B
Makefile
# Created by: William Grzybowski <wg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cffi
|
|
PORTVERSION= 0.8.2
|
|
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= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|