mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
aba5231f09
PR: 130738 Submitted by: Matthew D. Fuller <fullermd at over-yonder dot net> (maintainer)
43 lines
944 B
Makefile
43 lines
944 B
Makefile
# Ports collection makefile for: bazaar-ng
|
|
# Date created: 10 October 2005
|
|
# Whom: Ulf Lilleengen
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bazaar-ng
|
|
PORTVERSION= 1.11
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://launchpad.net/bzr/1.11/${PORTVERSION}/+download/
|
|
DISTNAME= bzr-${PORTVERSION}
|
|
|
|
MAINTAINER= fullermd@over-yonder.net
|
|
COMMENT= Distributed version control system by Canonical
|
|
|
|
OPTIONS= SFTP "Enable Paramiko for SFTP support" on
|
|
|
|
USE_PYTHON= 2.4+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= bzr
|
|
|
|
MAN1= bzr.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# Included in 2.5
|
|
.if (${PYTHON_VERSION} == python2.4)
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_SFTP)
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/paramiko/__init__.py:${PORTSDIR}/security/py-paramiko
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/bzr.1 ${MAN1PREFIX}/man/man1/
|
|
|
|
test: build
|
|
cd ${WRKSRC} && ./bzr selftest
|
|
|
|
.include <bsd.port.post.mk>
|