aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse-jad/Makefile
blob: 55428e5c813919eef0dc231d31d2711d9c47f616 (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
# 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.1
CATEGORIES= java devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jadclipse
PKGNAMEPREFIX=  eclipse-
DISTNAME=   jadclipse_3.1.0
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 \
        ${LOCALBASE}/bin/jad:${PORTSDIR}/java/jad

NO_WRKSUBDIR=   yes
NO_BUILD=   yes
NO_EXTRACT= yes
USE_JAVA=   yes
JAVA_VERSION=   1.4+

PLIST_FILES=    eclipse/plugins/${DISTNAME}${EXTRACT_SUFX}

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

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

.include <bsd.port.mk>