blob: c2dcc9ab79a83dd5050580e67e8648c004c96dea (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: EPIC
# Date created: 28 Nov 2004
# Whom: tux@pinguru.net
#
# $FreeBSD$
#
PORTNAME= EPIC
PORTVERSION= 0.5.33
CATEGORIES= java editors devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= e-p-i-c
PKGNAMEPREFIX= eclipse-
DISTNAME= ${EPIC}_${PORTVERSION}_20070406
MAINTAINER= gerrit.beine@gmx.de
COMMENT= EPIC adds Perl support to the Eclipse IDE Framework
#RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
NO_BUILD= yes
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${EPIC}
EPIC= org.epic.updatesite
ECLIPSE= ${PREFIX}/eclipse
EPICFILES= features/org.epic.feature.main_0.5.33 \
plugins/org.epic.debug_0.5.24 \
plugins/org.epic.doc_0.5.6 \
plugins/org.epic.lib_0.5.1 \
plugins/org.epic.perleditor_0.5.26 \
plugins/org.epic.regexp_0.5.1 \
plugins/org.epic.source_0.5.33
post-extract:
.for file in ${EPICFILES}
cd ${WRKSRC} \
&& ${MKDIR} ${file} \
&& ${UNZIP_CMD} ${file}.jar -d ${file}
.endfor
do-install:
.for file in ${EPICFILES}
cd ${WRKSRC} \
&& ${MKDIR} ${ECLIPSE}/${file} \
&& ${FIND} ${file} -type d -exec ${MKDIR} ${ECLIPSE}/{} \; \
&& ${FIND} ${file} -type f -exec ${INSTALL_DATA} {} ${ECLIPSE}/{} \;
.endfor
post-install:
.for file in ${EPICFILES}
@${FIND} ${WRKSRC}/${file} -type f \
| ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${FIND} -d ${WRKSRC}/${file} -type d \
| ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
.endfor
.include <bsd.port.mk>
|