Files

49 lines
1.7 KiB
Tcl
Raw Permalink Normal View History

2021-04-30 13:58:47 +08:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
2021-10-10 21:12:08 -04:00
github.setup sttz expresso 1.3.0
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
2021-10-10 21:12:08 -04:00
revision 0
2021-04-30 13:58:47 +08:00
categories sysutils net
maintainers {i0ntempest @i0ntempest} openmaintainer
license MIT
description ${name} is a command line interface to control the ExpressVPN app
long_description {*}${description}. It uses the same native messaging interface as the \
2021-04-30 13:58:47 +08:00
open-source ExpressVPN browser extension.
2021-10-10 21:12:08 -04:00
checksums rmd160 d72ec5e5da46eb3a8535369b099be016f35327e1 \
sha256 5cc00ffb222387c0dc19d3251b338607ccda47869af5659475779c07ad71171e \
size 858176
2021-04-30 13:58:47 +08:00
depends_build port:msbuild
depends_lib port:mono \
port:zlib
2021-05-07 12:27:35 +08:00
use_configure no
2021-04-30 13:58:47 +08:00
build.cmd ${prefix}/bin/msbuild
2021-05-07 12:27:35 +08:00
build.target expresso.csproj
2021-04-30 13:58:47 +08:00
build.args -r \
-p:Configuration=Release \
-p:TargetFrameworks=net472
post-build {
system -W ${worksrcpath} "${prefix}/bin/mkbundle\
-o expresso\
--simple bin/Release/net472/expresso.exe\
--machine-config ${prefix}/etc/mono/4.5/machine.config\
-L bin/Release/net472/\
-L ${prefix}/lib/mono/4.5/Facades/"
}
destroot {
copy ${worksrcpath}/expresso ${destroot}${prefix}/bin/
file mkdir ${destroot}${prefix}/etc/bash_completion.d/
copy ${filespath}/expresso ${destroot}${prefix}/etc/bash_completion.d/
2021-04-30 13:58:47 +08:00
}