mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
d3029b6b45
It aims to give an interface to git repos that doesn't call out to git directly but instead uses pure Python. It is based on the Python-Git module released by James Westby. WWW: http://samba.org/~jelmer/dulwich/ PR: ports/140027 Submitted by: Marco Broeder <marco.broeder at gmx.eu>
40 lines
891 B
Makefile
40 lines
891 B
Makefile
# Ports collection makefile for: dulwich
|
|
# Date created: 2009-10-24
|
|
# Whom: Marco Broeder <marco.broeder@gmx.eu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dulwich
|
|
PORTVERSION= 0.4.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://samba.org/~jelmer/${PORTNAME}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= marco.broeder@gmx.eu
|
|
COMMENT= Pure-Python implementation of the Git file formats and protocols
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
PORTDOCS= AUTHORS COPYING HACKING NEWS README
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|PYTHON = python|PYTHON = /usr/bin/env python|g; \
|
|
s|/usr|${PREFIX}|g' ${WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g' \
|
|
${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
.ifndef (NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
for n in ${PORTDOCS}; do \
|
|
${INSTALL_MAN} ${WRKSRC}/$${n} ${DOCSDIR}/; \
|
|
done
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|