pkgsrc/devel/bzr/Makefile
gdt c3eeae863f Change MAINTAINER on bzr packages.
With epg@'s concurrence, reset MAINTAINER on *bzr* to Jan Danielsson.
2010-12-06 13:57:27 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.51 2010/12/06 13:57:28 gdt Exp $
DISTNAME= bzr-${VER}
CATEGORIES= devel scm
MASTER_SITES= http://launchpad.net/bzr/2.1/${VER}/+download/
VER= 2.1.1
MAINTAINER= jan.m.danielsson@gmail.com
HOMEPAGE= http://bazaar-vcs.org/
COMMENT= Bazaar open source distributed version control system
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
PY_PATCHPLIST= yes
PYDISTUTILSPKG= yes
PYTHON_PATCH_SCRIPTS= bzr bzrlib/weave.py
.include "../../mk/bsd.prefs.mk"
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
DEPENDS+= ${PYPKGPREFIX}-medusa>=0:../../net/py-medusa
.endif
SUBST_CLASSES+= python
SUBST_MESSAGE.python= Fix python path for test case.
SUBST_STAGE.python= post-extract
SUBST_FILES.python+= Makefile
SUBST_SED.python+= -e 's,=python,=${PYTHONBIN},'
post-build:
cd ${WRKSRC} && ${PYTHONBIN} tools/generate_docs.py man
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ./bzr selftest -v
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"