summaryrefslogtreecommitdiff
path: root/java/eclipse-sqlexplorer/Makefile
blob: 683963977d60e3e73943fe55e1df0092064eab9b (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
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:	eclipse-sqlexplorer
# Date created:				August 14, 2004
# Whom:					sugimura@jp.FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	sqlexplorer
PORTVERSION=	2.2.2
PORTREVISION=	2
CATEGORIES=	java
MASTER_SITES=	#
PKGNAMEPREFIX=	eclipse-
DISTNAME=	net.java.${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX=	.zip
DIST_SUBDIR=	eclipse

MAINTAINER=	sugimura@jp.FreeBSD.ORG
COMMENT=	A visual database query tool for Eclipse

RUN_DEPENDS=	${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
USE_ZIP=	yes
DOWNLOAD_URL=	https://sqlexplorer.dev.java.net/servlets/ProjectDocumentList

do-install:
		@${MKDIR} ${PREFIX}/eclipse
		@${CP} -r ${WRKSRC}/plugins ${PREFIX}/eclipse
		@${CP} -r ${WRKSRC}/features ${PREFIX}/eclipse

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
ECHO_MSG=	${PRINTF}
IGNORE=	:\n\
Because of a specific structure of dev.java.net, you must fetch the\n\
distribution manually. Please acccess\n\
\n\
  ${DOWNLOAD_URL}\n\
\n\
with a web browser and click its filename.\n\
Please place the downloaded ${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}/${DIST_SUBDIR}.\n
.endif

.include <bsd.port.post.mk>