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

PORTNAME=	sqlexplorer
PORTVERSION=	2.2.4
PORTREVISION=	6
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

BROKEN=		plugin is obsolete or malfunctioning with latest eclipse
DEPRECATED=	evaluation recommendation is to remove rather than update
EXPIRATION_DATE=	2015-04-18

RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse \
		eclipse-gef>0:${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 -empty) \
		| ${GREP} -vE '^plugins$$' \
		| ${SED} -ne 's,^,@dir lib/eclipse/,p' >> ${TMPPLIST}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud