blob: 7d4f5602451a580d73aa9294e8d190110db73150 (
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
|
PORTNAME= git-cinnabar
DISTVERSION= 0.6.2
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Git remote helper to interact with Mercurial repositories
WWW= https://github.com/glandium/git-cinnabar
LICENSE= GPLv2 MPL20
LICENSE_COMB= multi
LIB_DEPENDS= libzstd.so:archivers/zstd \
libcurl.so:ftp/curl
RUN_DEPENDS= git:devel/git
USES= cargo gmake
USE_GITHUB= yes
GH_ACCOUNT= glandium
GH_TUPLE= git-for-windows:git:v2.41.0.windows.1:git/git-core
DATADIR= ${PREFIX}/libexec/git-core
PORTDATA= *
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DATADIR}
${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${DATADIR}
${RLN} ${STAGEDIR}${DATADIR}/${PORTNAME} \
${STAGEDIR}${DATADIR}/git-remote-hg
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|