aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse-jad/Makefile
blob: ae327eec232983192a3963b7252f1f579e0827cf (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.2.4
PORTREVISION=   1
CATEGORIES= java devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jadclipse
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.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>