blob: 8a413f2483009ef22b649abc647024a45aac52cf (
plain) (
blame)
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
|
# Created by: Ulf Lilleengen
# $FreeBSD$
PORTNAME= bzr
PORTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
MAINTAINER= fullermd@over-yonder.net
COMMENT= Distributed version control system by Canonical
# Often not needed, but it's cheap insurance
BUILD_DEPENDS= cython:lang/cython
OPTIONS_DEFINE= SFTP CA_BUNDLE
SFTP_DESC= Paramiko for SFTP support
CA_BUNDLE_DESC= Include CA bundle for SSL cert validation
OPTIONS_DEFAULT= SFTP CA_BUNDLE
SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= bzr
USES= gettext python:2
MAKE_ENV= BZR_LOG=/dev/null
post-install:
${INSTALL_MAN} ${WRKSRC}/bzr.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bzrlib/*.so
test: build
cd ${WRKSRC} && ./bzr selftest
.include <bsd.port.mk>
|