# $NetBSD: Makefile,v 1.17 2007/10/27 11:46:42 wiz Exp $ # DISTNAME= bzr-0.91 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 PY_PATCHPLIST= yes PYDISTUTILSPKG= yes TEST_TARGET= check PYTHON_VERSIONS_ACCEPTED= 24 PYTHON_PATCH_SCRIPTS= bzr .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"