freebsd-ports/devel/py-pygit2/Makefile
Koop Mast ba15b039e4 Update libgit2 to 0.23.1.
Add curl option for HTTP support.

Submitted by:	Andrey Cherkashin <andoriyu@gmail.com>
Approved by:	wg@
Differential Revision:	https://reviews.freebsd.org/D3494
2015-09-06 20:48:51 +00:00

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>