-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
43 lines (32 loc) · 1.3 KB
/
Portfile
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
41
42
43
# -*- 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
github.setup syncthing syncthing-macos 1.27.7-2 v
github.tarball_from archive
revision 0
checksums rmd160 5ce0ef63da683cd9df82a04bd602d58849256005 \
sha256 6919e38b2c699054e55ab9cc7e601038f6cc4e0c4788b7356fefd98aea93a9b6 \
size 13223210
categories net aqua
installs_libs no
license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
description Frugal and native macOS Syncthing application bundle
long_description {*}${description}
depends_lib-append port:syncthing
patchfiles-append patch-no-bundled-syncthing.diff \
patch-disable-autoupdatechecks.diff
post-patch {
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/syncthing/STApplication.m
}
use_configure no
use_xcode yes
build {
system -W ${build.dir} "make release"
}
destroot {
copy \
${build.dir}/Build/Products/Release/Syncthing.app \
${destroot}${applications_dir}
}