aboutsummaryrefslogtreecommitdiffstats
path: root/devel/git-bzr-ng/Makefile
blob: 4fa69b52027c59a3e198a7ef987aeeeef6a47d04 (plain) (blame)
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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   git-bzr-ng
PORTVERSION=    git20140423
CATEGORIES= devel

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Bi-directional git to bzr bridge

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    git:devel/git \
        bzr:devel/bzr \
        ${PYTHON_SITELIBDIR}/bzrlib/plugins/fastimport/__init__.py:devel/bzr-fastimport

USE_GITHUB= yes
GH_ACCOUNT= termie
GH_TAGNAME= 9878a30

USES=       python:2,run
NO_BUILD=   yes
NO_ARCH=    yes
PLIST_FILES=    libexec/git-core/git-bzr
PORTDOCS=   *

OPTIONS_DEFINE= DOCS

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/git-core
    ${INSTALL_SCRIPT} ${WRKSRC}/git-bzr ${STAGEDIR}${PREFIX}/libexec/git-core/
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>