blob: 4a6ee3cc3adacca5563d7cbba27eede2c5510e90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Anton Yudin (<contact@toha.org.ua>)
# $FreeBSD$
PORTNAME= dbvis
PORTVERSION= 9.1.6
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/
LICENSE_PERMS= auto-accept
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_VENDOR= openjdk
NO_BUILD= yes
RESTRICTED= Redistribution is not permitted
PLIST_FILES= bin/dbvis
WRKSRC= ${WRKDIR}/DbVisualizer
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../share/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>
|