blob: 4aa7c1288a01ecb57a0e673f81fe72ea73dd763c (
plain)
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
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.18 2007/11/29 20:03:14 wiz Exp $
#
DISTNAME= bzr-0.92
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"
|