1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/java/dbvis/Makefile
Mathieu Arnold adb93122cb
Deorbit RESTRICTED && NO_CDROM, part one.
For ports that already use the licenses framwork, merge the content of
RESTRICTED/NO_CDROM/LEGAL* entries into LICENSEs.

Approved by:	rene
Differential Revision:	https://reviews.freebsd.org/D30010
2021-05-06 13:47:41 +02:00

37 lines
1.0 KiB
Makefile

# Created by: Anton Yudin (<contact@toha.org.ua>)
PORTNAME= dbvis
PORTVERSION= 11.0.3
CATEGORIES= java databases
MASTER_SITES= http://www.dbvis.com/product_download/${PORTNAME}-${PORTVERSION}/media/
DISTNAME= dbvis_unix_${PORTVERSION:S/./_/g}
MAINTAINER= jim@ohlste.in
COMMENT= DbVisualizer database tool
LICENSE= DbVisualizer_EULA
LICENSE_NAME= End-User License Agreement for DbVisualizer
LICENSE_TEXT= Full license can be found at http://www.dbvis.com/eula/
# Redistribution is not permitted
LICENSE_PERMS= auto-accept
USE_JAVA= yes
JAVA_VENDOR= openjdk
NO_BUILD= yes
PLIST_FILES= bin/dbvis
WRKSRC= ${WRKDIR}/DbVisualizer
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../share/dbvis/dbvis dbvis
${CHMOD} a+x ${STAGEDIR}${DATADIR}/dbvis
post-install:
${FIND} ${STAGEDIR}${DATADIR} -not -type d \
| ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST}
${FIND} -d ${STAGEDIR}${DATADIR} -type d -empty \
| ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,@dir ,p' >> ${TMPPLIST}
.include <bsd.port.mk>