Skip to content

Instantly share code, notes, and snippets.

@casouri
Created December 3, 2019 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save casouri/fc30927c02efee024817ae0193c6f473 to your computer and use it in GitHub Desktop.
Save casouri/fc30927c02efee024817ae0193c6f473 to your computer and use it in GitHub Desktop.
Portfile for v2ray
# -*- 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
name v2ray
version 4.21.3
categories net security
platforms darwin
license MIT
maintainers {@casouri gmail.com:casouri}
description A platform for building proxies to bypass network restrictions
long_description Project V is a set of network tools that help you to build your own computer network. \
It secures your network connections and thus protects your privacy.
homepage https://www.v2ray.com
master_sites https://github.com/v2ray/v2ray-core/releases
checksums rmd160 1350c26f61fe02bcde353196cac5259a4e882cd8 \
sha256 924c4348812b6a270344dabff17eaf10e2062ce5dd9b2eee095fe1f0491a29e0 \
size 12504265
destfiles v2ray-macos.zip
use_configure no
build {}
destroot {
copy v2ray ${destroot}/usr/local/bin
}
startupitem.create yes
startupitem.location LaunchAgents
startupitem.executable ${prefix}/bin/v2ray --config ${prefix}/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment