2005-10-28 11:36:43 +02:00
|
|
|
# Ports collection makefile for: bazaar-ng
|
|
|
|
# Date created: 10 October 2005
|
|
|
|
# Whom: Ulf Lilleengen
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bazaar-ng
|
2008-05-18 01:39:02 +02:00
|
|
|
PORTVERSION= 1.5
|
2005-10-28 11:36:43 +02:00
|
|
|
CATEGORIES= devel
|
2008-02-15 23:06:33 +01:00
|
|
|
MASTER_SITES= http://bazaar-vcs.org/releases/src/ \
|
2008-05-18 01:39:02 +02:00
|
|
|
https://launchpad.net/bzr/1.5/${PORTVERSION}/+download/
|
2005-10-28 11:36:43 +02:00
|
|
|
DISTNAME= bzr-${PORTVERSION}
|
|
|
|
|
2007-07-23 12:39:02 +02:00
|
|
|
MAINTAINER= fullermd@over-yonder.net
|
2006-08-21 11:10:50 +02:00
|
|
|
COMMENT= Distributed version control system by Canonical
|
2005-10-28 11:36:43 +02:00
|
|
|
|
2007-08-29 09:52:52 +02:00
|
|
|
OPTIONS= SFTP "Enable Paramiko for SFTP support" on
|
|
|
|
|
2005-10-28 11:36:43 +02:00
|
|
|
USE_PYTHON= 2.4+
|
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= bzr
|
2005-10-28 11:36:43 +02:00
|
|
|
|
|
|
|
MAN1= bzr.1
|
|
|
|
|
2007-08-29 09:52:52 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-10-24 19:56:56 +02:00
|
|
|
# Included in 2.5
|
|
|
|
.if (${PYTHON_VERSION} == python2.4)
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree
|
|
|
|
.endif
|
|
|
|
|
2007-08-29 09:52:52 +02:00
|
|
|
.if defined(WITH_SFTP)
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/paramiko/__init__.py:${PORTSDIR}/security/py-paramiko
|
|
|
|
.endif
|
|
|
|
|
2005-10-28 11:36:43 +02:00
|
|
|
post-install:
|
2008-04-16 13:23:01 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/bzr.1 ${MAN1PREFIX}/man/man1/
|
2005-10-28 11:36:43 +02:00
|
|
|
|
2005-11-27 23:25:38 +01:00
|
|
|
test: build
|
|
|
|
cd ${WRKSRC} && ./bzr selftest
|
|
|
|
|
2007-08-29 09:52:52 +02:00
|
|
|
.include <bsd.port.post.mk>
|