EclEmma is a free Java code coverage tool for Eclipse, available under the

Eclipse Public License. Internally it is based on the great EMMA Java code
coverage tool, trying to adopt EMMA's philosophy for the Eclipse workbench.

WWW: http://www.eclemma.org/

PR:		ports/144849
Submitted by:	Dominic Fandrey [kamikaze bsdforen.de]
This commit is contained in:
Rene Ladan 2010-11-02 17:39:02 +00:00
parent c4e82aed1f
commit b7c830c15e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263942
4 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,52 @@
# New ports collection makefile for: eclemma
# Date created: 18 Mar 2010
# Whom: kamikaze@bsdforen.de
#
# $FreeBSD$
#
PORTNAME= eclemma
PORTVERSION= 1.5.0
CATEGORIES= java editors devel
MASTER_SITES= SF/${PORTNAME}/01_EclEmma_Releases/${PORTVERSION}
MAINTAINER= kamikaze@bsdforen.de
COMMENT= Java code coverage tool for Eclipse
RUN_DEPENDS= eclipse:${PORTSDIR}/java/eclipse
PLUGIN_PATHS= features plugins
USE_ZIP= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}
ECLIPSE= lib/eclipse
PLIST_SUB= VER=${PORTVERSION} \
ECLIPSE=${ECLIPSE}
do-install:
.for _path in ${PLUGIN_PATHS}
@${MKDIR} ${PREFIX}/${ECLIPSE}/${_path}
@${CP} -r ${WRKSRC}/${_path}/* ${PREFIX}/${ECLIPSE}/${_path}/
.endfor
plist: build
@${ECHO} "===> Rebuilding PLIST."
@${TOUCH} ${PLIST}
@${RM} ${PLIST}
.for _path in ${PLUGIN_PATHS}
@${FIND} ${WRKSRC}/${_path}/ -not -type d \
| ${SED} "s|${WRKSRC}|%%ECLIPSE%%|1" \
| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
>> ${PLIST}
@${FIND} -d ${WRKSRC}/${_path}/ -mindepth 1 -type d \
| ${SED} "s|${WRKSRC}|@dirrm %%ECLIPSE%%|1" \
| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
>> ${PLIST}
@${ECHO} "@dirrmtry %%ECLIPSE%%/${_path}" >> ${PLIST}
.endfor
@${ECHO} "@dirrmtry %%ECLIPSE%%" >> ${PLIST}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (eclemma-1.5.0.zip) = 229e59763f62da3af177c5941e97b2ab5a34aae9acdf542d6070d4292c7948e9
SIZE (eclemma-1.5.0.zip) = 746412

View file

@ -0,0 +1,5 @@
EclEmma is a free Java code coverage tool for Eclipse, available under the
Eclipse Public License. Internally it is based on the great EMMA Java code
coverage tool, trying to adopt EMMA's philosophy for the Eclipse workbench.
WWW: http://www.eclemma.org/

View file

@ -0,0 +1,12 @@
%%ECLIPSE%%/features/com.mountainminds.eclemma.feature_%%VER%%/about.html
%%ECLIPSE%%/features/com.mountainminds.eclemma.feature_%%VER%%/feature.properties
%%ECLIPSE%%/features/com.mountainminds.eclemma.feature_%%VER%%/feature.xml
%%ECLIPSE%%/features/com.mountainminds.eclemma.feature_%%VER%%/META-INF/MANIFEST.MF
@dirrm %%ECLIPSE%%/features/com.mountainminds.eclemma.feature_%%VER%%/META-INF
@dirrm %%ECLIPSE%%/features/com.mountainminds.eclemma.feature_%%VER%%
@dirrmtry %%ECLIPSE%%/features
%%ECLIPSE%%/plugins/com.mountainminds.eclemma.core_%%VER%%.jar
%%ECLIPSE%%/plugins/com.mountainminds.eclemma.doc_%%VER%%.jar
%%ECLIPSE%%/plugins/com.mountainminds.eclemma.ui_%%VER%%.jar
@dirrmtry %%ECLIPSE%%/plugins
@dirrmtry %%ECLIPSE%%