blob: 5681ec6c852f7da2c4cbe090db7cecef6e96386b (
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
37
38
39
40
|
PORTNAME= mprocs
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.4
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= DtxdF@disroot.org
COMMENT= Run multiple commands in parallel
WWW= https://github.com/pvolok/mprocs/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo gmake
USE_GITHUB= yes
GH_ACCOUNT= pvolok
CARGO_INSTALL_PATH= src
PLIST_FILES= bin/mprocs
.include <bsd.port.pre.mk>
.if ${ARCH:Mpowerpc64*}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_Cargo.toml
LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
.endif
.if ${ARCH} == powerpc
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_Cargo.toml
LIB_DEPENDS= libluajit-5.1.so:lang/luajit
.endif
post-patch:
@${REINPLACE_CMD} -Ee 's/new\("make"\)/new("gmake")/' ${WRKSRC}/cargo-crates/luajit-src-*/src/lib.rs
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mprocs
.include <bsd.port.post.mk>
|