git: 2b74b9e1c634 - main - java/dbvis: Improve do-install
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Jul 2025 01:31:14 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2b74b9e1c6349ac4f528d639c34b038248be9336
commit 2b74b9e1c6349ac4f528d639c34b038248be9336
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-07-09 01:29:46 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-07-09 01:29:46 +0000
java/dbvis: Improve do-install
MFH: 2025Q3
---
java/dbvis/Makefile | 9 ++++++---
1 file 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 \