You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
NetBeans: update to 27
This commit is contained in:
+12
-12
@@ -5,7 +5,7 @@ PortGroup java 1.0
|
||||
|
||||
name NetBeans
|
||||
set name_lower [string tolower ${name}]
|
||||
version 26
|
||||
version 27
|
||||
revision 0
|
||||
categories aqua devel java
|
||||
# This port uses prebuilt binaries; 'NoMirror' makes sure MacPorts doesn't
|
||||
@@ -29,16 +29,16 @@ platforms {darwin any}
|
||||
distname ${name_lower}-${version}-bin
|
||||
master_sites apache:${name_lower}/${name_lower}/${version}
|
||||
|
||||
checksums rmd160 b42112dcdb15f1b87f97dc391bd3770e05a4e9c9 \
|
||||
sha256 555ef79767315ef08ae41ca8ad9acf6f44c80618e11e9bd693827d7cf4cb340c \
|
||||
size 514693537
|
||||
checksums rmd160 10af6dea84be0882a3ac496e685f05c75063666d \
|
||||
sha256 fc1f2a13f0f0bf52fa819f284cfb1fabeccb6f7704c90d980ddc3a5053629bc7 \
|
||||
size 514762127
|
||||
|
||||
worksrcdir ${name_lower}
|
||||
|
||||
use_zip yes
|
||||
use_configure no
|
||||
|
||||
java.version 11+
|
||||
java.version 17+
|
||||
|
||||
build {}
|
||||
|
||||
@@ -65,16 +65,16 @@ destroot {
|
||||
|
||||
reinplace "s|@@VERSION@@|${version}|g" ${app}/Contents/Info.plist
|
||||
|
||||
# rev-upgrade considers these two files to be broken on arm64. They are weirdly constructed; see
|
||||
# There is some arcane magic going into this binary:
|
||||
# https://github.com/apache/netbeans/blob/ba85468772292fd64f188f4022f9d49f77f00b89/profiler/lib.profiler/native/scripts/buildnative-mac.sh#L62-L92
|
||||
#
|
||||
# For some reason removing all architectures but x86_64 fixes the issue.
|
||||
#
|
||||
# TODO: When arm64 support is added to these files, see if this hack is still helpful
|
||||
# On PPC{,64}, and i386, this binary has a reference to
|
||||
# /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM which
|
||||
# doesn't exist on modern systems, and MacPorts' rev-upgrade flags the
|
||||
# binary as broken. We remove these archs to make rev-upgrade pass, but it's
|
||||
# unclear what effect this has on systems of the relevant archs.
|
||||
system -W ${destroot}${prefix}/share/java/netbeans/profiler/lib/deployed/jdk15/mac/ \
|
||||
"lipo -thin x86_64 libprofilerinterface.jnilib -o libprofilerinterface.jnilib"
|
||||
system -W ${destroot}${prefix}/share/java/netbeans/profiler/lib/deployed/jdk16/mac/ \
|
||||
"lipo -thin x86_64 libprofilerinterface.jnilib -o libprofilerinterface.jnilib"
|
||||
"lipo -remove ppc -remove ppc64 -remove i386 libprofilerinterface.jnilib -o libprofilerinterface.jnilib"
|
||||
}
|
||||
|
||||
universal_variant no
|
||||
|
||||
Reference in New Issue
Block a user