[122849] trunk/dports/editors/hexfiend
cal at macports.org
cal at macports.org
Thu Jul 31 13:31:47 PDT 2014
Revision: 122849
https://trac.macports.org/changeset/122849
Author: cal at macports.org
Date: 2014-07-31 13:31:46 -0700 (Thu, 31 Jul 2014)
Log Message:
-----------
HexFiend: update to 2.3.0, closes #44514
Modified Paths:
--------------
trunk/dports/editors/hexfiend/Portfile
Removed Paths:
-------------
trunk/dports/editors/hexfiend/files/
Modified: trunk/dports/editors/hexfiend/Portfile
===================================================================
--- trunk/dports/editors/hexfiend/Portfile 2014-07-31 19:53:31 UTC (rev 122848)
+++ trunk/dports/editors/hexfiend/Portfile 2014-07-31 20:31:46 UTC (rev 122849)
@@ -5,25 +5,15 @@
PortGroup xcode 1.0
PortGroup github 1.0
-github.setup ridiculousfish HexFiend 2.1.2 v
-checksums rmd160 c36371fb1a54312952601ddf2a35f021af4da6ef \
- sha256 ba78d047b7bb5394ec444cd3b86565b7d4754869544a656f7b6b2fc79eb7f37c
+github.setup ridiculousfish HexFiend 2.3.0 v
+checksums rmd160 4084dd22c4c6151e01f790fd71c7cde52640a842 \
+ sha256 41f73da50490b417b19176068b4a3e7224fa3c06b73d0c4788bf6ed21dceb439
epoch 1
-# MEMO: increasing version and setting dist_subdir due to stealth_update, remove them on next version upgrade
-revision 1
-dist_subdir ${name}/${version}_1
categories editors aqua
maintainers dweber cal openmaintainer
license BSD
-# required to build on < Lion
-patchfiles framework-sources-HFByteArrayEditScript.m.patch
-platform darwin 11 {
- patchfiles-delete \
- framework-sources-HFByteArrayEditScript.m.patch
-}
-
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 \
@@ -39,17 +29,6 @@
if {${subport} eq ${name}} {
description HexFiend is a fast and clever hex editor
- post-patch {
- # this is required for builds on 32 bit systems, because NSTag is
- # a signed integer and these values (NSUTF16BigEndianStringEncoding and
- # NSUTF16LittleEndianStringEncoding) both have the MSB set making them
- # not representable in signed 32 bit integers.
- # Applying these on 64 bit systems is safe, too, because the leading
- # 4 bytes will be cut off by a cast.
- reinplace "s/2415919360/-1879047936/g" ${worksrcpath}/English.lproj/MainMenu.xib
- reinplace "s/2483028224/-1811939072/g" ${worksrcpath}/English.lproj/MainMenu.xib
- }
-
xcode.target HexFiend_2
xcode.configuration Release
@@ -72,3 +51,13 @@
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"
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140731/e0220253/attachment.html>
More information about the macports-changes
mailing list