blob: 8a27b51f68450a615d02bdce32e909ee188c31b2 (
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
|
# $NetBSD: Makefile,v 1.3 2008/09/06 20:54:32 wiz Exp $
DISTNAME= bzr-svn-${VER}
PKGREVISION= 1
CATEGORIES= devel scm
MASTER_SITES= http://launchpad.net/bzr-svn/0.4/${VER}/+download/
VER= 0.4.12
MAINTAINER= epg@NetBSD.org
HOMEPAGE= http://bazaar-vcs.org/BzrForeignBranches/Subversion
COMMENT= Foreign Subversion repositoriy support for Bazaar
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${SQLITE_DEP}
# for make test
USE_TOOLS+= gmake
MAKE_ENV+= SVN_PREFIX=${BUILDLINK_PREFIX.subversion-base}
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 "../../devel/subversion-base/buildlink3.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
|