aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse-langpack/Makefile
blob: 60921e7d2e2af2092c12118a09e4410984ce981c (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
# Created by: nork@FreeBSD.org
# $FreeBSD$

PORTNAME=	eclipse
PORTVERSION=	3.2.1
PORTREVISION=	6
CATEGORIES=	java devel
MASTER_SITES=	${MASTER_SITE_ECLIPSE}
MASTER_SITE_SUBDIR=	L-${PORTVERSION}_Language_Packs-200609210945
PKGNAMESUFFIX=	-langpack
DISTFILES=	NLpack1-eclipse-SDK-${PORTVERSION}-gtk${EXTRACT_SUFX} \
		NLpack2-eclipse-SDK-${PORTVERSION}-gtk${EXTRACT_SUFX} \
		NLpack2a-eclipse-SDK-${PORTVERSION}-gtk${EXTRACT_SUFX} \
		NLpackBidi-eclipse-SDK-${PORTVERSION}-gtk${EXTRACT_SUFX}
DIST_SUBDIR=    eclipse

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Eclipse Language Pack Feature

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

USES=		zip
NO_WRKSUBDIR=	yes
PLIST=		${WRKDIR}/pkg-plist

do-build:
	@${RM} -f ${PLIST}
	@${TOUCH} ${PLIST}
	(cd ${WRKSRC}; ${FIND} eclipse -type f) | ${SORT} | ${SED} -e 's,^eclipse,lib/eclipse,' > ${PLIST}

do-install:
	${SETENV} ${SH} ${FILESDIR}/install.sh ${WRKSRC} ${STAGEDIR}${PREFIX}

.include <bsd.port.mk>