Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2010 15:47:31 GMT
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144910: [new port] java/hgeclipse Mercurial VCS plugin for the Eclipse IDE
Message-ID:  <201003201547.o2KFlV6M083472@www.freebsd.org>
Resent-Message-ID: <201003201550.o2KFo1jj001425@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144910
>Category:       ports
>Synopsis:       [new port] java/hgeclipse Mercurial VCS plugin for the Eclipse IDE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 20 15:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Fandrey
>Release:        RELENG_8
>Organization:
private
>Environment:
FreeBSD mobileKamikaze.norad 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Mar 18 22:46:18 CET 2010     root@mobileKamikaze.norad:/usr/obj/HP6510b-8/amd64/usr/src/sys/HP6510b-8  amd64

>Description:
- Adds Mercurial VCS plugin for the Eclipse IDE as java/hgeclipse
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	hgeclipse
#	hgeclipse/Makefile
#	hgeclipse/distinfo
#	hgeclipse/pkg-descr
#	hgeclipse/pkg-plist
#
echo c - hgeclipse
mkdir -p hgeclipse > /dev/null 2>&1
echo x - hgeclipse/Makefile
sed 's/^X//' >hgeclipse/Makefile << '61264525248445593778a650527d5d7a'
X# New ports collection makefile for:	hgeclipse
X# Date created:				20 Mar 2010
X# Whom:					kamikaze@bsdforen.de
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hgeclipse
XPORTVERSION=	1.5.0.201001202311
XCATEGORIES=	java devel
XMASTER_SITES=	http://hge.javaforge.com/hgeclipse/
XDISTFILES=	${PLUGINS:C,$,.jar,} \
X		${FEATURES:C,$,.jar,}
XDIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	kamikaze@bsdforen.de
XCOMMENT=	Mercurial version control system plugin for the Eclipse IDE
X
XRUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse \
X		hg:${PORTSDIR}/devel/mercurial
X
XNO_BUILD=	yes
XUSE_ZIP=	yes
X
XECLIPSE=	${PREFIX}/eclipse
XFEATURES=	features/${PORTNAME}_${PORTVERSION}
XPLUGINS=	plugins/com.vectrace.MercurialEclipse_${PORTVERSION}
XPLUGIN_PATHS=	plugins features
X
XPLIST_SUB=	VER=${PORTVERSION}
X
Xdo-extract:
X.for _feature in ${FEATURES}
X	@${MKDIR} ${WRKSRC}/${_feature}
X	@${EXTRACT_CMD} ${_DISTDIR}/${_feature}.jar -d ${WRKSRC}/${_feature}
X.endfor
X.for _plugin in ${PLUGINS}
X	@${MKDIR} ${WRKSRC}/${_plugin:C,/[^/]*$,,}
X	@${CP} ${_DISTDIR}/${_plugin}.jar ${WRKSRC}/${_plugin}.jar
X.endfor
X
Xdo-install:
X.for _path in ${PLUGIN_PATHS}
X	@${MKDIR} ${ECLIPSE}/${_path}
X	@${CP} -r ${WRKSRC}/${_path}/* ${ECLIPSE}/${_path}/
X.endfor
X
Xplist:
X	@${ECHO} "===>  Rebuilding PLIST."
X	@${TOUCH} ${PLIST}
X	@${RM} ${PLIST}
X.for _path in ${PLUGIN_PATHS}
X	@${FIND} ${WRKSRC}/${_path}/ -not -type d \
X		| ${SED} "s|${WRKSRC}|eclipse|1" \
X		| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
X		>> ${PLIST}
X	@${FIND} -d ${WRKSRC}/${_path}/ -mindepth 1 -type d \
X		| ${SED} "s|${WRKSRC}|@dirrm eclipse|1" \
X		| ${SED} "s|${PORTVERSION}|%%VER%%|g" \
X		>> ${PLIST}
X	@${ECHO} "@dirrmtry eclipse/${_path}" >> ${PLIST}
X.endfor
X	@${ECHO} "@dirrmtry eclipse" >> ${PLIST}
X
X.include <bsd.port.mk>
61264525248445593778a650527d5d7a
echo x - hgeclipse/distinfo
sed 's/^X//' >hgeclipse/distinfo << 'a35f5ece825c4ee56765cb2223d3cc9f'
XMD5 (hgeclipse-1.5.0.201001202311/plugins/com.vectrace.MercurialEclipse_1.5.0.201001202311.jar) = 39ed7bbd64a9848b6d3c6af8d75ad831
XSHA256 (hgeclipse-1.5.0.201001202311/plugins/com.vectrace.MercurialEclipse_1.5.0.201001202311.jar) = aefdde9dd394165bf5b986e29dab344a0ef3d6b892ee50dad523f06a486e5906
XSIZE (hgeclipse-1.5.0.201001202311/plugins/com.vectrace.MercurialEclipse_1.5.0.201001202311.jar) = 1139778
XMD5 (hgeclipse-1.5.0.201001202311/features/hgeclipse_1.5.0.201001202311.jar) = a87fd3389c5bcb313b8d655d253c9d63
XSHA256 (hgeclipse-1.5.0.201001202311/features/hgeclipse_1.5.0.201001202311.jar) = 41c3fad7538e26a854f94ed446c75de7759ac4609713c3f63eda75f2255cc2c4
XSIZE (hgeclipse-1.5.0.201001202311/features/hgeclipse_1.5.0.201001202311.jar) = 4603
a35f5ece825c4ee56765cb2223d3cc9f
echo x - hgeclipse/pkg-descr
sed 's/^X//' >hgeclipse/pkg-descr << 'd79a0fe8e1d76b7c6e9e4994fa470e8f'
XHgEclipse is a plugin providing support for the highly popular Mercurial
Xdistributed version control system within the Eclipse IDE.
X
XHgEclipse supports:
X
X    * cloning repositories and importing them as Eclipse projects
X    * push, pull and convenient syncronization
X    * working with branches (branch, merge and rebase)
X    * tags
X    * undo (backout, rollback and strip)
X    * diffs
X    * histories
X    * patches
X    * Mercurial extensions (mqueue, transplant and such) 
X
XHgEclipse has been cloned from the Mercurial Eclipse project.
X
XWWW: http://javaforge.com/project/HGE
d79a0fe8e1d76b7c6e9e4994fa470e8f
echo x - hgeclipse/pkg-plist
sed 's/^X//' >hgeclipse/pkg-plist << 'd838e5816af905f72852b7ba56537516'
Xeclipse/plugins/com.vectrace.MercurialEclipse_%%VER%%.jar
X@dirrmtry eclipse/plugins
Xeclipse/features/hgeclipse_%%VER%%/feature.xml
X@dirrm eclipse/features/hgeclipse_%%VER%%
X@dirrmtry eclipse/features
X@dirrmtry eclipse
d838e5816af905f72852b7ba56537516
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003201547.o2KFlV6M083472>