/
Portfile
55 lines (45 loc) · 2.23 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
44
45
46
47
48
49
50
51
52
53
54
55
# -*- 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 xcode 1.0
PortGroup xcodeversion 1.0
PortGroup github 1.0
github.setup ridiculousfish HexFiend 2.13.1 v
checksums rmd160 7677158ec5d61351eae8086f0c37c04b9766c8c7 \
sha256 54a9eee7d2f3f25e8a7217fe89cdd6ee796a53e495e75e0e7dfdb5764d5ca34f \
size 3488533
epoch 1
categories editors aqua
maintainers {cal @neverpanic} openmaintainer
license BSD
long_description \n\
* Insert, delete, rearrange. Hex Fiend is not limited to in-place changes like some hex editors.\n\
* Work with huge files. Hex Fiend can handle as big a file as you're able to create. It's been tested on files as \
large as 118 GB.\n\
* Small footprint. Hex Fiend does not need to keep your files in memory. You won't dread launching or working with \
Hex Fiend even on low-RAM machines.\n\
* Fast. Open a huge file, scroll around, copy and paste, all instantly. Find what you're looking for with fast \
searching.\n\
* Smart saving. Hex Fiend knows not to waste time overwriting the parts of your files that haven't changed.\n\
* Data inspector. Interpret data as integer or floating point, signed or unsigned, big or little endian...\n\
* Smooth scrolling. No separate pages - scroll like any text document.
supported_archs x86_64
patch.pre_args -p1
patchfiles 0001-xcode-Disable-Sparkle.patch
description HexFiend is a fast and clever hex editor
xcode.scheme Release+MAS
xcode.configuration Release+MAS
xcode.build.settings \
CODE_SIGN_IDENTITY=- \
CODE_SIGN_STYLE=Manual
build.pre_args -derivedDataPath ${worksrcpath}
destroot {
copy "${worksrcpath}/build/Release+MAS/Hex Fiend.app" ${destroot}${applications_dir}
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 ${worksrcpath}/License.txt ${destroot}${prefix}/share/doc/${name}
}
if {${os.platform} ne "darwin" || ${os.major} < 18} {
pre-fetch {
ui_error "${subport} @${version} only works with macOS 10.14 Mojave or later."
return -code error "incompatible macOS version"
}
}