Ticket #44514: HexFiend-2.3.0.diff
File HexFiend-2.3.0.diff, 2.5 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Portfile
5 5 PortGroup xcode 1.0 6 6 PortGroup github 1.0 7 7 8 github.setup ridiculousfish HexFiend 2. 1.2v9 checksums rmd160 c36371fb1a54312952601ddf2a35f021af4da6ef\10 sha256 ba78d047b7bb5394ec444cd3b86565b7d4754869544a656f7b6b2fc79eb7f37c8 github.setup ridiculousfish HexFiend 2.3.0 v 9 checksums rmd160 4084dd22c4c6151e01f790fd71c7cde52640a842 \ 10 sha256 41f73da50490b417b19176068b4a3e7224fa3c06b73d0c4788bf6ed21dceb439 11 11 12 12 epoch 1 13 # MEMO: increasing version and setting dist_subdir due to stealth_update, remove them on next version upgrade14 revision 115 dist_subdir ${name}/${version}_116 13 categories editors aqua 17 14 maintainers dweber cal openmaintainer 18 15 license BSD 19 16 20 # required to build on < Lion21 patchfiles framework-sources-HFByteArrayEditScript.m.patch22 platform darwin 11 {23 patchfiles-delete \24 framework-sources-HFByteArrayEditScript.m.patch25 }26 27 17 long_description \n\ 28 18 * Insert, delete, rearrange. Hex Fiend is not limited to in-place changes like some hex editors.\n\ 29 19 * 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 \ … … 39 29 if {${subport} eq ${name}} { 40 30 description HexFiend is a fast and clever hex editor 41 31 42 post-patch {43 # this is required for builds on 32 bit systems, because NSTag is44 # a signed integer and these values (NSUTF16BigEndianStringEncoding and45 # NSUTF16LittleEndianStringEncoding) both have the MSB set making them46 # not representable in signed 32 bit integers.47 # Applying these on 64 bit systems is safe, too, because the leading48 # 4 bytes will be cut off by a cast.49 reinplace "s/2415919360/-1879047936/g" ${worksrcpath}/English.lproj/MainMenu.xib50 reinplace "s/2483028224/-1811939072/g" ${worksrcpath}/English.lproj/MainMenu.xib51 }52 53 32 xcode.target HexFiend_2 54 33 xcode.configuration Release 55 34 … … 72 51 system "install_name_tool -id ${framework_lib} ${destroot}${framework_lib}" 73 52 } 74 53 } 54 55 if {${os.platform} ne "darwin" || ${os.major} < 11} { 56 depends_fetch 57 depends_build 58 depends_lib 59 pre-fetch { 60 ui_error "${subport} @${version} only works with OS X 10.7 Lion or later." 61 return -code error "incompatible OS X version" 62 } 63 }