1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/bzr/Makefile
Dmitry Marakasov 9d01fa3f50 - Add LICENSE
- Switch to new test framework and add TEST_DEPENDS
- Pet portlint
- Fix shebang, which is required for running tests (this does not affect installed file which has correct shebang anyway)

Approved by:	portmgr blanket
2018-07-23 09:07:49 +00:00

40 lines
1.0 KiB
Makefile

# Created by: Ulf Lilleengen
# $FreeBSD$
PORTNAME= bzr
PORTVERSION= 2.7.0
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
MAINTAINER= fullermd@over-yonder.net
COMMENT= Distributed version control system by Canonical
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${PY_FLAVOR}
OPTIONS_DEFINE= SFTP CA_BUNDLE
SFTP_DESC= Paramiko for SFTP support
CA_BUNDLE_DESC= Include CA bundle for SSL cert validation
OPTIONS_DEFAULT= SFTP CA_BUNDLE
SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USES= gettext python:2.7 shebangfix
SHEBANG_FILES= bzr
USE_PYTHON= distutils cython
PYDISTUTILS_PKGNAME= bzr
MAKE_ENV= BZR_LOG=/dev/null
post-install:
${INSTALL_MAN} ${WRKSRC}/bzr.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bzrlib/*.so
do-test:
cd ${WRKSRC} && ./bzr selftest
.include <bsd.port.mk>