aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse-jad/Makefile
blob: 73b6798712c6dede87e2cc50582b9378e65ed4c6 (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
# New ports collection makefile for:	eclipse support for Jad
# Date created:				Tue Aug 15 21:22:20 UTC 2006
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	jad
PORTVERSION=	3.3.0
PORTREVISION=	4
CATEGORIES=	java devel
MASTER_SITES=	SF/${PORTNAME}clipse/${PORTNAME}clipse3.3/${PORTVERSION}%20%28for%20Eclipse%20_%3D3.3M6%29
PKGNAMEPREFIX=	eclipse-
DISTNAME=	net.sf.jadclipse_${PORTVERSION}
EXTRACT_SUFX=	.jar
DIST_SUBDIR=	eclipse
EXTRACT_ONLY=

MAINTAINER=	ale@FreeBSD.org
COMMENT=	Jad Java decompiler plugin for the Eclipse IDE

RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse \
		jad:${PORTSDIR}/java/jad

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.5+

PLIST_FILES=	share/eclipse/dropins/${DISTNAME}${EXTRACT_SUFX}

post-extract:
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}

do-install:
	@${MKDIR} ${PREFIX}/lib/eclipse/plugins
	@${INSTALL_DATA} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/share/eclipse/dropins

.include <bsd.port.mk>