aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse-pydev/Makefile
blob: f9c5e5c67201c3ae1be3220656088aae086aa7a4 (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
# New ports collection makefile for:    eclipse-pydev
# Date created:     2007-11-16
# Whom:         Nicola Vitale   <nivit@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pydev
PORTVERSION=    1.3.14
#PORTREVISION=  0
#PORTEPOCH= 0
CATEGORIES= java devel python
MASTER_SITES=   SF
PKGNAMEPREFIX=  eclipse-
DISTFILES=  org.python.pydev.feature-${PORTVERSION:S,.,_,g}.zip

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Eclipse plugin for Python and Jython development

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

JAVA_OS=    native
JAVA_VENDOR=    bsdjava
JAVA_VERSION=   1.5+

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

USE_JAVA=   yes
USE_ZIP=    yes

do-install:
    @cd ${WRKDIR} && ${CP} -R eclipse ${PREFIX}/;

post-install:
    @cd ${WRKDIR}; \
    ${ECHO_CMD} "@comment pkg-plist automatically generated" >> ${TMPPLIST}; \
    ${FIND} -s eclipse -type f -exec ${ECHO_CMD} {} ";" >> ${TMPPLIST}; \
    ${FIND} -s eclipse -type d | ${SORT} -r | ${GREP} -vE '^eclipse$$|^eclipse/plugins$$|^eclipse/features$$' | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST};
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>