openbsd-ports/devel/bzr/Makefile
2010-10-18 17:47:50 +00:00

40 lines
848 B
Makefile

# $OpenBSD: Makefile,v 1.13 2010/10/18 17:47:51 espie Exp $
SHARED_ONLY = Yes
COMMENT = distributed version control system by Canonical
MODPY_EGG_VERSION = 2.0.3
DISTNAME = bzr-${MODPY_EGG_VERSION}
REVISION = 1
CATEGORIES = devel
HOMEPAGE = http://bazaar-vcs.org/
# GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = z
MASTER_SITES = http://launchpad.net/bzr/${MODPY_EGG_VERSION:C/..$//}/${MODPY_EGG_VERSION}/+download/
MODULES = lang/python
USE_GROFF = Yes
RUN_DEPENDS += ::net/py-curl \
::security/py-paramiko \
::textproc/gdiff
REGRESS_DEPENDS = ${RUN_DEPENDS}
pre-configure:
${SUBST_CMD} ${WRKSRC}/bzr ${WRKSRC}/bzrlib/tests/test_diff.py
# need at least ulimit -n 512
do-regress:
@cd ${WRKBUILD} && ${MODPY_BIN} ./bzr selftest -v
.include <bsd.port.mk>