1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/py-llvmcpy/Makefile
Yuri Victorovich ff3c90b5d7 devel/py-llvmcpy: Update 0.1.2 -> 0.1.4
Reported by:	portscout
2019-07-20 19:31:12 +00:00

32 lines
971 B
Makefile

# $FreeBSD$
PORTNAME= llvmcpy
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.4
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python bindings for LLVM auto-generated from the LLVM-C API
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \
${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycparser>0:devel/py-pycparser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}shutilwhich>0:sysutils/py-shutilwhich@${PY_FLAVOR}
USES= python:-3.3 # sysutils/py-shutilwhich has this
USE_GITHUB= yes
GH_ACCOUNT= revng
USE_PYTHON= distutils autoplist
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|"llvm-config"|"llvm-config${LLVM_DEFAULT}"|' ${WRKSRC}/llvmcpy/llvm.py
.include <bsd.port.mk>