No PLIST change.

Feedback? OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/netbeans/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- Makefile    12 Mar 2021 12:13:48 -0000      1.45
+++ Makefile    10 Apr 2021 01:24:23 -0000
@@ -32,13 +32,13 @@ NB=                 ${PREFIX}/netbeans
 
 do-install:
        ${INSTALL_DATA_DIR} ${NB}
-       cd ${WRKDIST} && pax -rw . ${NB}
-       @rm -rf ${NB}/profiler ${NB}/{ide,cnd,dlight}/bin \
-               ${NB}/platform/modules/lib/{i386,amd64,x86} \
-               ${NB}/java/maven/lib/jansi-native
-       @find ${NB} -type f \( -name "*.dll" -o -name "*.exe" -o -name "*.cmd" \
-               -o -name "*.bat" -o -name ".lastModified" \
-               -o -name "*.orig" \) -delete
+       cd ${WRKDIST} && pax -rw \
+               -s ',\./profiler.*,,' \
+               -s,\\./{ide,cnd,dlight}/bin/.\*,, \
+               -s,\\./platform/modules/lib/{i386,amd64,x86}.\*,, \
+               -s ',./java/maven/lib/jansi-native.*,,' \
+               -s,.\*\\.{dll,exe,cmd,bat,lastModified,orig},, \
+               . ${NB}
        @${SUBST_PROGRAM} ${FILESDIR}/netbeans ${PREFIX}/bin/netbeans
        @${INSTALL_DATA_DIR} ${NB}/cnd/bin
        @${INSTALL_DATA_DIR} ${NB}/ide/bin/nativeexecution

Reply via email to