aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-10-31 19:19:52 +0800
committeredwin <edwin@FreeBSD.org>2005-10-31 19:19:52 +0800
commit58c01ccc0183afd9ca340f840b1dd1fb81953ad5 (patch)
treeb58695d3d6e664b486c1d7ae0e282cc9cf8c2819
parenta87f6c947c9725d24b7eee7b3efd17a86f63da6b (diff)
downloadfreebsd-ports-gnome-58c01ccc0183afd9ca340f840b1dd1fb81953ad5.tar.gz
freebsd-ports-gnome-58c01ccc0183afd9ca340f840b1dd1fb81953ad5.tar.zst
freebsd-ports-gnome-58c01ccc0183afd9ca340f840b1dd1fb81953ad5.zip
New port: java/subclipse
Subclipse is an Eclipse plugin that adds Subversion integration to the Eclipse IDE. WWW: http://subclipse.tigris.org/ At the moment, a part of subclipse is integrated into phpeclipse, but a special port should be better. PR: ports/86637 Submitted by: Gerrit Beine <tux@pinguru.net>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/subclipse/Makefile62
-rw-r--r--devel/subclipse/distinfo2
-rw-r--r--devel/subclipse/pkg-descr4
-rw-r--r--devel/subclipse/pkg-message3
5 files changed, 72 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a68443302237..7c1229ebade4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1558,6 +1558,7 @@
SUBDIR += str
SUBDIR += strace
SUBDIR += styx
+ SUBDIR += subclipse
SUBDIR += subversion
SUBDIR += subversion-perl
SUBDIR += subversion-python
diff --git a/devel/subclipse/Makefile b/devel/subclipse/Makefile
new file mode 100644
index 000000000000..35fab082b7f3
--- /dev/null
+++ b/devel/subclipse/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: subclipse
+# Date created: 06 Mar 2005
+# Whom: tux@pinguru.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= subclipse
+PORTVERSION= 0.9.36
+CATEGORIES= devel java
+MASTER_SITES= http://subclipse.tigris.org/files/documents/906/27309/
+DISTNAME= site.${PORTVERSION}
+DIST_SUBDIR= eclipse
+
+MAINTAINER= tux@pinguru.net
+COMMENT= A subversion plugin for the Eclipse IDE Framework
+
+RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse
+
+CONFLICTS= phpeclipse-[0-9]*
+
+WRKSRC= ${WRKDIR}/update
+NO_BUILD= yes
+USE_ZIP= yes
+
+ECLIPSE= ${PREFIX}/eclipse
+SUBCLIPSE= org.tigris.subversion.subclipse
+SUBCLIPSEFILES= features/${SUBCLIPSE}_${PORTVERSION} \
+ plugins/${SUBCLIPSE}.core_${PORTVERSION} \
+ plugins/${SUBCLIPSE}.ui_${PORTVERSION} \
+ plugins/${SUBCLIPSE}_${PORTVERSION}
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.zip)
+IGNORE= Due to the behaviour of the webserver subclipse is hosted on, you have to download the file yourself as ${MASTER_SITES}/${DISTNAME}.zip and place it in ${DISTDIR}/${DIST_SUBDIR}
+.endif
+
+post-extract:
+.for f in ${SUBCLIPSEFILES}
+ cd ${WRKSRC} \
+ && ${MKDIR} ${f} \
+ && ${UNZIP_CMD} ${f}.jar -d ${f}
+.endfor
+
+do-install:
+.for f in ${SUBCLIPSEFILES}
+ @cd ${WRKSRC} \
+ && ${MKDIR} ${ECLIPSE}/${f} \
+ && ${FIND} ${f} -type d -exec ${MKDIR} ${ECLIPSE}/{} \; \
+ && ${FIND} ${f} -type f -exec ${INSTALL_DATA} {} ${ECLIPSE}/{} \;
+.endfor
+
+post-install:
+.for f in ${SUBCLIPSEFILES}
+ @${FIND} ${WRKSRC}/${f} -not -type d \
+ | ${SED} -ne 's,^${WRKSRC},${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
+ @${FIND} -d ${WRKSRC}/${f} -type d \
+ | ${SED} -ne 's,^${WRKSRC},@dirrm ${ECLIPSE:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/devel/subclipse/distinfo b/devel/subclipse/distinfo
new file mode 100644
index 000000000000..380e360b18c0
--- /dev/null
+++ b/devel/subclipse/distinfo
@@ -0,0 +1,2 @@
+MD5 (eclipse/site.0.9.36.zip) = e1e037552c90008c44b5b604719f7206
+SIZE (eclipse/site.0.9.36.zip) = 4527875
diff --git a/devel/subclipse/pkg-descr b/devel/subclipse/pkg-descr
new file mode 100644
index 000000000000..8ffe716b38c4
--- /dev/null
+++ b/devel/subclipse/pkg-descr
@@ -0,0 +1,4 @@
+Subclipse is an Eclipse plugin that adds Subversion integration to the Eclipse
+IDE.
+
+WWW: http://subclipse.tigris.org/
diff --git a/devel/subclipse/pkg-message b/devel/subclipse/pkg-message
new file mode 100644
index 000000000000..3efdff3d453f
--- /dev/null
+++ b/devel/subclipse/pkg-message
@@ -0,0 +1,3 @@
+Subclipse has a bundeled version of JavaSVN, a pure Java subversion library.
+If you dont have subversion compiled with java support choose JavaSVN as backend
+in Preferences > Team > SVN