blob: 84b2e2a33d719c041f0ca18c3ed55fd801b39b08 (
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
|
# $NetBSD: Makefile,v 1.15 2009/10/11 18:36:41 epg Exp $
DISTNAME= bzr-svn-${VER}
#PKGREVISION= 1
CATEGORIES= devel scm
MASTER_SITES= http://launchpad.net/bzr-svn/1.0/${VER}/+download/
MASTER_SITES+= http://samba.org/~jelmer/bzr/
VER= 1.0.0
MAINTAINER= epg@NetBSD.org
HOMEPAGE= http://bazaar-vcs.org/BzrForeignBranches/Subversion
COMMENT= Foreign Subversion repository support for Bazaar
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${SQLITE_DEP}
DEPENDS+= bzr>=1.11{,nb[0-9]*}:../../devel/bzr
DEPENDS+= ${PYPKGPREFIX}-subvertpy>=0.6.1:../../devel/py-subvertpy
# for make test
USE_TOOLS+= gmake
PYDISTUTILSPKG= yes
# NOTE: This must run in a UTF-8 locale, e.g. LC_TYPE=en_US.utf8 make test
TEST_TARGET= check-verbose
.include "../../devel/bzr/plugin.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
.if ${PYVERSSUFFIX} == "2.5" || ${PYVERSSUFFIX} == "2.6"
SQLITE_DEP= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
.else
SQLITE_DEP= ${PYPKGPREFIX}-sqlite2>=2.3.5:../../databases/py-sqlite2
.endif
|