aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse-sqlexplorer/Makefile
blob: 4b536c2ebe92fde0fa1fe192c2fb2d39f798fb1a (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
# Created by: sugimura@jp.FreeBSD.org
# $FreeBSD$

PORTNAME=	sqlexplorer
PORTVERSION=	2.2.4
PORTREVISION=	5
CATEGORIES=	java
MASTER_SITES=	SF/eclipsesql/SQL%20Explorer%20Plugin/${PORTVERSION}
PKGNAMEPREFIX=	eclipse-
DISTNAME=	net.sourceforge.${PORTNAME}_${PORTVERSION}
DIST_SUBDIR=	eclipse

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Visual database query tool for Eclipse

RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse \
		${LOCALBASE}/share/eclipse/dropins/gef:${PORTSDIR}/java/eclipse-gef

USES=		zip
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

do-install:
	@${MKDIR} -p ${STAGEDIR}${PREFIX}/lib/eclipse
	@${CP} -r ${WRKSRC}/plugins ${STAGEDIR}${PREFIX}/lib/eclipse
	@(cd ${WRKSRC}; ${FIND} -s plugins -not -type d) \
		| ${SED} -ne 's,^,lib/eclipse/,p' >> ${TMPPLIST}
	@(cd ${WRKSRC}; ${FIND} -s -d plugins -type d) \
		| ${GREP} -vE '^plugins$$' \
		| ${SED} -ne 's,^,@dirrm lib/eclipse/,p' >> ${TMPPLIST}

.include <bsd.port.mk>