aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bzr/Makefile
blob: 6d15cf472cdcfe9b176c78b240db0767cfcc6aee (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
# Ports collection makefile for:    bazaar-ng
# Date created:     10 October 2005
# Whom:         Ulf Lilleengen
#
# $FreeBSD$
#

PORTNAME=   bazaar-ng
PORTVERSION=    0.7
CATEGORIES= devel
MASTER_SITES=   http://voodoo.bawue.com/download/ \
        http://www.bazaar-ng.org/pkg/
MASTER_SITE_SUBDIR= gnu-arch
DISTNAME=   bzr-${PORTVERSION}

MAINTAINER= lulf@stud.ntnu.no
COMMENT=    A Python implementation of the GNU arch RCS protocol by Canonical

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree

USE_PYTHON= 2.4+
USE_PYDISTUTILS=    yes

MAN1=       bzr.1

post-build:
    cd ${WRKSRC} && ${PYTHON_CMD} bzr_man.py

post-install:
    ${INSTALL_MAN} ${WRKSRC}/bzr.1 ${MAN1PREFIX}/man/man1

test:   build
    cd ${WRKSRC} && ./bzr selftest

.include <bsd.port.mk>