blob: dbcb2f379ad0d278621cf76ef2fc2a553f9c7dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Marco Broeder <marco.broeder@gmx.eu>
# $FreeBSD$
PORTNAME= dulwich
PORTVERSION= 0.9.0
CATEGORIES= devel python
MASTER_SITES= http://www.samba.org/~jelmer/${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= marco.broeder@gmx.eu
COMMENT= Pure-Python implementation of the Git file formats and protocols
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
MAKE_JOBS_SAFE= yes
PORTDOCS= AUTHORS HACKING NEWS README introduction.txt \
object-store.txt protocol.txt remote.txt repo.txt tag.txt
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e 's|PYTHON = python|PYTHON = ${PYTHON_CMD}|g' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
${WRKSRC}/setup.py
post-install:
.if ${PORT_OPTIONS:MDOCS}
${CP} ${WRKSRC}/docs/*.txt ${WRKSRC}/docs/tutorial/*.txt ${WRKSRC}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|