Date: Mon, 12 Jan 2026 09:25:02 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 292351] java/netbeans - Port updating to latest version Netbeans 28 Message-ID: <bug-292351-7788-SMcpkbNx9N@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-292351-7788@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292351 --- Comment #7 from Vladimir Druzenko <vvd@FreeBSD.org> --- 1. USES= cpe java shebangfix zip SHEBANG_FILES= extide/ant/bin/antRun.pl \ extide/ant/bin/complete-ant-cmd.pl \ extide/ant/bin/runant.pl \ extide/ant/bin/runant.py perl_OLD_CMD= /usr/bin/perl perl_CMD= ${LOCALBASE}/bin/perl python_OLD_CMD= /usr/bin/python python_CMD= ${LOCALBASE}/bin/python${PYTHON_DEFAULT} 1.1. Why not: USES+=perl:run python:run? 1.2. Without lines perl_OLD_CMD, perl_CMD and python_OLD_CMD result is the same. 2. Why installs files *.cmd, *.bat, *.exe, *.dll, netbeans-28/profiler/lib/deployed/*? jdk15: hpux-pa_risc2.0 hpux-pa_risc2.0w linux linux-amd64 mac solaris-amd64 solaris-i386 solaris-sparc solaris-sparcv9 windows windows-amd64 jdk16: hpux-pa_risc2.0 hpux-pa_risc2.0w linux linux-amd64 mac solaris-amd64 solaris-i386 solaris-sparc solaris-sparcv9 windows windows-amd64 We can use NO_ARCH=yes without these files. BTW, jdk15 and jdk16 removed from ports many years ago. 3. @${FIND} ${WRKSRC} -name "*.orig" -delete Does nothing - no files "*.orig". 4. Use RLN instead of LN: - cd ${STAGEDIR}${PREFIX} && ${LN} -sf ../${PORTNAME}-${DISTVERSION}/bin/netbeans bin/${PORTNAME} - cd ${STAGEDIR}${PREFIX} && ${LN} -sf ../${PORTNAME}-${DISTVERSION}/bin/netbeans bin/${PORTNAME}-${DISTVERSION} + ${RLN} ${STAGEDIR}${PREFIX}/${PORTNAME}-${DISTVERSION}/bin/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + ${RLN} ${STAGEDIR}${PREFIX}/${PORTNAME}-${DISTVERSION}/bin/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${DISTVERSION} 5. Fix warnings from portclippy: # USES block USES CPE_VENDOR JAVA_VERSION -NO_BUILD # USES=shebangfix related variables SHEBANG_FILES perl_OLD_CMD perl_CMD python_OLD_CMD python_CMD -WRKSRC # Standard bsd.port.mk variables DATADIR +DESKTOP_ENTRIES +NO_BUILD # WRKSRC block +WRKSRC # Packaging list block PLIST_SUB -DESKTOP_ENTRIES 6. The port has no maintainer - who wants to become the maintainer of this port? -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292351-7788-SMcpkbNx9N>
