blob: 2d8b707b234ecbe5df841e50b4791881b75a805b (
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
|
# $NetBSD: Makefile,v 1.10 2006/12/07 17:07:40 wiz Exp $
#
DISTNAME= bzr-0.13
CATEGORIES= devel
MASTER_SITES= http://bazaar-vcs.org/releases/src/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bazaar-vcs.org/
COMMENT= 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"
|