# -*- 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 # $Id$ PortSystem 1.0 PortGroup xcode 1.0 PortGroup github 1.0 github.setup ridiculousfish HexFiend 2.3.0 v checksums rmd160 4084dd22c4c6151e01f790fd71c7cde52640a842 \ sha256 41f73da50490b417b19176068b4a3e7224fa3c06b73d0c4788bf6ed21dceb439 epoch 1 subport HexFiend { revision 1 } categories editors aqua maintainers cal 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 disable-sparkle.patch if {${subport} eq ${name}} { description HexFiend is a fast and clever hex editor xcode.target HexFiend_2 xcode.configuration Release destroot { copy "${worksrcpath}/build/Release/Hex Fiend.app" ${destroot}${applications_dir} xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/License.txt ${destroot}${prefix}/share/doc/${name} } } subport HexFiend-framework { description The HexFiend Framework is an embeddable Cocoa hex editor component from the HexFiend editor xcode.target HexFiend_Framework xcode.configuration Release destroot { copy "${worksrcpath}/build/Release/HexFiend.framework" ${destroot}${frameworks_dir} set framework_lib ${frameworks_dir}/HexFiend.framework/Versions/A/HexFiend system "install_name_tool -id ${framework_lib} ${destroot}${framework_lib}" } } if {${os.platform} ne "darwin" || ${os.major} < 11} { depends_fetch depends_build depends_lib pre-fetch { ui_error "${subport} @${version} only works with OS X 10.7 Lion or later." return -code error "incompatible OS X version" } }