# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	eclipse-EPIC/
#	eclipse-EPIC/Makefile
#	eclipse-EPIC/distinfo
#	eclipse-EPIC/pkg-descr
#
echo c - eclipse-EPIC/
mkdir -p eclipse-EPIC/ > /dev/null 2>&1
echo x - eclipse-EPIC/Makefile
sed 's/^X//' >eclipse-EPIC/Makefile << 'END-of-eclipse-EPIC/Makefile'
X# New ports collection makefile for:	EPIC
X# Date created:				28 Nov 2004
X# Whom:					tux@pinguru.net
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	eclipse-EPIC
XPORTVERSION=	0.3.0
XCATEGORIES=	java editors devel
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	e-p-i-c
XDISTNAME=	${EPIC}_${PORTVERSION}_20040711
X
XMAINTAINER=	tux@pinguru.net
XCOMMENT=	EPIC adds Perl support to the Eclipse IDE Framework
X
XRUN_DEPENDS=	${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
X
XNO_BUILD=	yes
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/${EPIC}
X
XECLIPSE=	${PREFIX}/eclipse
XEPIC=		org.epic.updatesite
XEPICFILES=	features/org.epic.feature.main_0.3.0 \
X		plugins/org.epic.debug_0.2.0 \
X		plugins/org.epic.ext.cbg.editor_0.3.0 \
X		plugins/org.epic.perleditor_0.1.2 \
X		plugins/org.epic.regexp_0.1.2
X
Xpost-extract:
X.for file in ${EPICFILES}
X	cd ${WRKSRC} \
X	  && ${MKDIR} ${file} \
X	  && ${UNZIP_CMD} ${file}.jar -d ${file}
X.endfor
X
Xdo-install:
X.for file in ${EPICFILES}
X	cd ${WRKSRC} \
X          && ${MKDIR} ${ECLIPSE}/${file} \
X	  && ${FIND} ${file} -type d -exec ${MKDIR} ${ECLIPSE}/{} \; \
X	  && ${FIND} ${file} -type f -exec ${INSTALL_DATA} {} ${ECLIPSE}/{} \;
X.endfor
X
Xpost-install:
X.for file in ${EPICFILES}
X	@${FIND} ${WRKSRC}/${file} -not -type d \
X	  | ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
X	@${FIND} -d ${WRKSRC}/${file} -type d \
X	  | ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
X.endfor
X
X.include <bsd.port.mk>
END-of-eclipse-EPIC/Makefile
echo x - eclipse-EPIC/distinfo
sed 's/^X//' >eclipse-EPIC/distinfo << 'END-of-eclipse-EPIC/distinfo'
XMD5 (org.epic.updatesite_0.3.0_20040711.zip) = ae5f45738b9d9aed2ba42905aa01a35a
XSIZE (org.epic.updatesite_0.3.0_20040711.zip) = 2649757
END-of-eclipse-EPIC/distinfo
echo x - eclipse-EPIC/pkg-descr
sed 's/^X//' >eclipse-EPIC/pkg-descr << 'END-of-eclipse-EPIC/pkg-descr'
XEPIC is an opensource Perl IDE for the Eclipse platform.
XFeatures supported are syntax highlighting, on the fly syntax check,
Xcontent assist, perldoc support, source formatter, templating support
Xand a Perl debugger.
XA regular expression plugin and support for the eSpell spellchecker
Xare also available.
X
XWWW: http://e-p-i-c.sourceforge.net/
END-of-eclipse-EPIC/pkg-descr
exit

