46 lines
1 KiB
Makefile
46 lines
1 KiB
Makefile
# Ports collection makefile for: bzr
|
|
# Date created: 10 October 2005
|
|
# Whom: Ulf Lilleengen
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bzr
|
|
PORTVERSION= 2.5.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://launchpadlibrarian.net/106470036/
|
|
DISTNAME= bzr-${PORTVERSION}
|
|
|
|
MAINTAINER= fullermd@over-yonder.net
|
|
COMMENT= Distributed version control system by Canonical
|
|
|
|
# Often not needed, but it's cheap insurance
|
|
BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython
|
|
|
|
OPTIONS= SFTP "Enable Paramiko for SFTP support" on \
|
|
CA_BUNDLE "Include CA bundle for SSL cert validation" on
|
|
|
|
USE_PYTHON= 2.6+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= bzr
|
|
USE_GETTEXT= yes
|
|
|
|
MAN1= bzr.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_SFTP)
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/paramiko/__init__.py:${PORTSDIR}/security/py-paramiko
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_CA_BUNDLE)
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/bzr.1 ${MAN1PREFIX}/man/man1/
|
|
|
|
test: build
|
|
cd ${WRKSRC} && ./bzr selftest
|
|
|
|
.include <bsd.port.post.mk>
|