# $NetBSD: Makefile,v 1.20 2008/02/15 16:46:20 gdt Exp $ # DISTNAME= bzr-1.2 CATEGORIES= devel scm MASTER_SITES= http://bazaar-vcs.org/releases/src/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://bazaar-vcs.org/ COMMENT= Bazaar open source distributed version control system DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils USE_TOOLS+= gmake PY_PATCHPLIST= yes PYDISTUTILSPKG= yes TEST_TARGET= check PYTHON_VERSIONS_ACCEPTED= 24 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} generate_docs.py man post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bzr ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/bzr .include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk"