blob: 87fcdd998dbc3a707f622d790b63dfa189e001cf (
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
36
|
PORTNAME= git-cinnabar
DISTVERSION= 0.6.2
PORTREVISION= 1
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>
|