summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Druzenko <vvd@FreeBSD.org>2025-07-09 04:29:46 +0300
committerVladimir Druzenko <vvd@FreeBSD.org>2025-07-09 04:29:46 +0300
commit2b74b9e1c6349ac4f528d639c34b038248be9336 (patch)
tree79e6f8fd14c0bc4984768ffa1d7e537fdb82de97
parentshells/sheldon: update to 0.8.4 (diff)
java/dbvis: Improve do-install
MFH: 2025Q3
-rw-r--r--java/dbvis/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/java/dbvis/Makefile b/java/dbvis/Makefile
index ca5d42f6b781..15311fd21881 100644
--- a/java/dbvis/Makefile
+++ b/java/dbvis/Makefile
@@ -25,9 +25,12 @@ WRKSRC= ${WRKDIR}/DbVisualizer
PLIST_FILES= bin/dbvis
do-install:
- cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
- cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../share/dbvis/dbvis dbvis
- ${CHMOD} a+x ${STAGEDIR}${DATADIR}/dbvis ${STAGEDIR}${DATADIR}/dbvis*.sh
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} \
+ "! ( -name dbvis -o -name dbviscmd.sh -o -name dbvisgui.sh )")
+ ${INSTALL_SCRIPT} ${WRKSRC}/dbvis ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/dbviscmd.sh ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/dbvisgui.sh ${STAGEDIR}${DATADIR}
+ ${RLN} ${STAGEDIR}${DATADIR}/dbvis ${STAGEDIR}${PREFIX}/bin/dbvis
post-install:
${FIND} ${STAGEDIR}${DATADIR} -not -type d \