Add curl option for HTTP support. Submitted by: Andrey Cherkashin <andoriyu@gmail.com> Approved by: wg@ Differential Revision: https://reviews.freebsd.org/D3494
30 lines
706 B
Makefile
30 lines
706 B
Makefile
# Created by: William Grzybowski <wg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pygit2
|
|
PORTVERSION= 0.23.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wg@FreeBSD.org
|
|
COMMENT= Python bindings for libgit2
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:${PORTSDIR}/devel/py-cffi
|
|
LIB_DEPENDS= libgit2.so:${PORTSDIR}/devel/libgit2
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
MAKE_ENV= LIBGIT2=${LOCALBASE}
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/*.so
|
|
|
|
.include <bsd.port.mk>
|