2013-09-20 21:48:32 +02:00
|
|
|
# Created by: tux@pinguru.net
|
2004-12-23 12:52:13 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= EPIC
|
2009-09-02 19:12:40 +02:00
|
|
|
PORTVERSION= 0.6.35
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 2
|
2004-12-23 12:52:13 +01:00
|
|
|
CATEGORIES= java editors devel
|
2009-08-22 02:24:37 +02:00
|
|
|
MASTER_SITES= SF/e-p-i-c/e-p-i-c/${PORTNAME}%20${PORTVERSION}
|
2004-12-23 12:52:13 +01:00
|
|
|
PKGNAMEPREFIX= eclipse-
|
2009-09-02 19:12:40 +02:00
|
|
|
DISTNAME= ${EPIC}_${PORTVERSION}_20090521
|
2004-12-23 12:52:13 +01:00
|
|
|
|
2012-07-11 20:13:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-12-23 12:52:13 +01:00
|
|
|
COMMENT= EPIC adds Perl support to the Eclipse IDE Framework
|
|
|
|
|
2007-06-06 10:30:11 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
|
2004-12-23 12:52:13 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_ZIP= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${EPIC}
|
|
|
|
|
|
|
|
EPIC= org.epic.updatesite
|
2010-07-31 19:55:53 +02:00
|
|
|
ECLIPSE= ${PREFIX}/lib/eclipse
|
2007-09-27 22:59:01 +02:00
|
|
|
EPICFILES= features/org.epic.feature.main_${PORTVERSION} \
|
2009-09-02 19:12:40 +02:00
|
|
|
plugins/org.epic.debug_0.6.27 \
|
|
|
|
plugins/org.epic.doc_0.6.2 \
|
|
|
|
plugins/org.epic.lib_0.6.1 \
|
|
|
|
plugins/org.epic.perleditor_0.6.24 \
|
|
|
|
plugins/org.epic.regexp_0.6.1 \
|
2007-09-27 22:59:01 +02:00
|
|
|
plugins/org.epic.source_${PORTVERSION}
|
2005-05-17 12:31:58 +02:00
|
|
|
|
2013-09-20 21:48:32 +02:00
|
|
|
NO_STAGE= yes
|
2005-05-17 12:31:58 +02:00
|
|
|
post-extract:
|
|
|
|
.for file in ${EPICFILES}
|
|
|
|
cd ${WRKSRC} \
|
|
|
|
&& ${MKDIR} ${file} \
|
|
|
|
&& ${UNZIP_CMD} ${file}.jar -d ${file}
|
|
|
|
.endfor
|
2004-12-23 12:52:13 +01:00
|
|
|
|
|
|
|
do-install:
|
2005-05-17 12:31:58 +02:00
|
|
|
.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
|
2004-12-23 12:52:13 +01:00
|
|
|
|
|
|
|
post-install:
|
2005-05-17 12:31:58 +02:00
|
|
|
.for file in ${EPICFILES}
|
|
|
|
@${FIND} ${WRKSRC}/${file} -type f \
|
2004-12-23 12:52:13 +01:00
|
|
|
| ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
|
2005-05-17 12:31:58 +02:00
|
|
|
@${FIND} -d ${WRKSRC}/${file} -type d \
|
|
|
|
| ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
|
|
|
|
.endfor
|
2004-12-23 12:52:13 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|