aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/eclipse-datatools/Makefile32
-rw-r--r--java/eclipse-datatools/Makefile.master-sites38
-rw-r--r--java/eclipse-datatools/distinfo6
3 files changed, 57 insertions, 19 deletions
diff --git a/java/eclipse-datatools/Makefile b/java/eclipse-datatools/Makefile
index 33b66743b101..ab860bb11b4e 100644
--- a/java/eclipse-datatools/Makefile
+++ b/java/eclipse-datatools/Makefile
@@ -1,21 +1,20 @@
# New ports collection makefile for: eclipse-datatools
-# Date created: Dom 1 Abr 2007 22:18:17 UTC
+# Date created: Sun 1 Apr 2007 22:18:17 UTC
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= datatools
-PORTVERSION= 0.9.1
-PORTREVISION= 1
+DISTVERSION= 1.5.1_101607
CATEGORIES= java devel databases
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITE_SUBDIR= 1.5
PKGNAMEPREFIX= eclipse-
-DISTNAME= dtp_${PORTVERSION}
+DISTNAME= dtp-sdk_${DISTVERSION}
DIST_SUBDIR= eclipse
MAINTAINER= lioux@FreeBSD.org
-COMMENT= Datatools for eclipse
+COMMENT= Data Tools Platform for the Eclipse IDE
RUN_DEPENDS= eclipse:${PORTSDIR}/java/eclipse \
${LOCALBASE}/eclipse/features/org.eclipse.emf_2.2.4.v200710030400/feature.xml:${PORTSDIR}/java/eclipse-emf \
@@ -28,12 +27,25 @@ USE_JAVA= yes
JAVA_VERSION= 1.4+
JAVA_OS= native
+post-extract:
+# avoid empty dirs since they break the automated PLIST generation
+ @${FIND} ${WRKSRC} -type d -empty \
+ -exec ${TOUCH} "{}/.keep_me" \;
+
do-install:
+# create destination dir
@${MKDIR} ${PREFIX}/eclipse
- @${CP} -r ${WRKSRC}/eclipse/plugins ${PREFIX}/eclipse
- @${CP} -r ${WRKSRC}/eclipse/features ${PREFIX}/eclipse
- @(cd ${WRKSRC}; ${FIND} -s eclipse/features eclipse/plugins -not -type d) >> ${TMPPLIST}
- @(cd ${WRKSRC}; ${FIND} -s -d eclipse/features eclipse/plugins -type d) \
+# install both files and directories
+ @(cd ${WRKSRC}/eclipse && \
+ ${FIND} -s features plugins -type d \
+ -exec ${MKDIR} "${PREFIX}/eclipse/{}" \; && \
+ ${FIND} -s features plugins -not -type d \
+ -exec ${INSTALL_DATA} "{}" "${PREFIX}/eclipse/{}" \; \
+ )
+# annotate installation files
+ @(cd ${WRKSRC} && ${FIND} -s eclipse/features eclipse/plugins -not -type d) >> ${TMPPLIST}
+# annotate installation directories
+ @(cd ${WRKSRC} && ${FIND} -s -d eclipse/features eclipse/plugins -type d) \
| ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \
| ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
diff --git a/java/eclipse-datatools/Makefile.master-sites b/java/eclipse-datatools/Makefile.master-sites
index a98c7836e1ed..a7ae3a974e4c 100644
--- a/java/eclipse-datatools/Makefile.master-sites
+++ b/java/eclipse-datatools/Makefile.master-sites
@@ -1,32 +1,58 @@
MASTER_SITES+= \
http://download.actuatechina.com/eclipse/datatools/downloads/%SUBDIR%/ \
http://mirrors.nsa.co.il/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://mirrors.nsa.co.il/eclipse/datatools/downloads/%SUBDIR%/ \
http://ftp.jaist.ac.jp/pub/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.jaist.ac.jp/pub/eclipse/datatools/downloads/%SUBDIR%/ \
ftp://ftp.u-aizu.ac.jp/pub/eclipse/datatools/downloads/%SUBDIR%/ \
- http://mirrors.gamevil.com/pub/eclipse/datatools/downloads/%SUBDIR%/ \
+ http://ftp.daum.net/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.daum.net/eclipse/datatools/downloads/%SUBDIR%/ \
+ http://ftp.kaist.ac.kr/pub/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.kaist.ac.kr/eclipse/datatools/downloads/%SUBDIR%/ \
+ http://eclipse.stu.edu.tw/datatools/downloads/%SUBDIR%/ \
+ ftp://eclipse.stu.edu.tw/eclipse/datatools/downloads/%SUBDIR%/ \
http://mirror.in.th/eclipse/datatools/downloads/%SUBDIR%/ \
http://mirror.pacific.net.au/eclipse/datatools/downloads/%SUBDIR%/ \
- http://eclipse.planetmirror.com/datatools/downloads/%SUBDIR%/ \
http://eclipse.prolet.org/datatools/downloads/%SUBDIR%/ \
http://ftp.sh.cvut.cz/MIRRORS/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.sh.cvut.cz/MIRRORS/eclipse/datatools/downloads/%SUBDIR%/ \
http://ftp.wh2.tu-dresden.de/pub/mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
+ http://mirror.yoxos-eclipse-distribution.de/eclipse.org/datatools/downloads/%SUBDIR%/ \
+ http://download.micromata.de/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://download.micromata.de/eclipse/datatools/downloads/%SUBDIR%/ \
http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
http://ftp.ntua.gr/mirror/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.ntua.gr/mirror/eclipse/datatools/downloads/%SUBDIR%/ \
http://eclipse.i-logic.hu//datatools/downloads/%SUBDIR%/ \
ftp://mirror.isir.is/eclipse/datatools/downloads/%SUBDIR%/ \
http://rm.mirror.garr.it/mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://rm.mirror.garr.it/mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
ftp://ftp.uninett.no/pub/eclipse/datatools/downloads/%SUBDIR%/ \
+ http://ftp.man.poznan.pl/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.man.poznan.pl/pub/eclipse/datatools/downloads/%SUBDIR%/ \
ftp://ftp.man.szczecin.pl/pub/eclipse/datatools/downloads/%SUBDIR%/ \
- http://ftp.roedu.net/mirrors/eclipse.org/datatools/downloads/%SUBDIR%/ \
- ftp://mirror.mix.su/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.inescn.pt/pub/util/eclipse/datatools/downloads/%SUBDIR%/ \
+ http://ftp.roedu.net/pub/mirrors/eclipse.org/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.roedu.net/pub/mirrors/eclipse.org/datatools/downloads/%SUBDIR%/ \
+ http://eclipse.comactivity.net/datatools/downloads/%SUBDIR%/ \
http://mirror.switch.ch/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://mirror.switch.ch/mirror/eclipse/datatools/downloads/%SUBDIR%/ \
http://eclipse.ulak.net.tr/eclipseMirror/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.ulak.net.tr/eclipse/eclipseMirror/datatools/downloads/%SUBDIR%/ \
http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/datatools/downloads/%SUBDIR%/ \
+ http://mirror.cc.columbia.edu/pub/software/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://mirror.cc.columbia.edu/pub/software/eclipse/datatools/downloads/%SUBDIR%/ \
http://mirrors.cat.pdx.edu/eclipse/datatools/downloads/%SUBDIR%/ \
http://www.gtlib.gatech.edu/pub/eclipse/datatools/downloads/%SUBDIR%/ \
http://mirrors.ibiblio.org/pub/mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
http://ftp.ussg.iu.edu/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.ussg.iu.edu/pub/eclipse/datatools/downloads/%SUBDIR%/ \
http://ftp.osuosl.org/pub/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://ftp.osuosl.org/pub/eclipse/datatools/downloads/%SUBDIR%/ \
+ http://www.cs.rit.edu/mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
+ ftp://eclipse.mirrors.tds.net/pub/eclipse.org/datatools/downloads/%SUBDIR%/ \
+ ftp://eclipse.mirrors.tds.net/pub/eclipse.org/datatools/downloads/%SUBDIR%/ \
ftp://ftp.cse.buffalo.edu/pub/Eclipse/datatools/downloads/%SUBDIR%/ \
- ftp://ftp.cise.ufl.edu/pub/mirrors/eclipse/datatools/downloads/%SUBDIR%/ \
- http://download.eclipse.org/datatools/downloads/%SUBDIR%/
+ ftp://mirrors2.unixheads.org/eclipse/datatools/downloads/%SUBDIR%/
diff --git a/java/eclipse-datatools/distinfo b/java/eclipse-datatools/distinfo
index b3df3d095cc5..e76c2027f2e0 100644
--- a/java/eclipse-datatools/distinfo
+++ b/java/eclipse-datatools/distinfo
@@ -1,3 +1,3 @@
-MD5 (eclipse/dtp_0.9.1.zip) = 91af6fda7e701e6dc710c8076d287060
-SHA256 (eclipse/dtp_0.9.1.zip) = 522ddf55b34f6e86fe4cbcde3e49bb8a1a6430b01a5d843353e12d73da6cb4e6
-SIZE (eclipse/dtp_0.9.1.zip) = 5381774
+MD5 (eclipse/dtp-sdk_1.5.1_101607.zip) = 4341e0d16747cd9a1aae353792bdca0c
+SHA256 (eclipse/dtp-sdk_1.5.1_101607.zip) = 2445bb5df8ca78102d8cbd6ca893c161c4d2a3a7be8568f2eab42bd657e7938c
+SIZE (eclipse/dtp-sdk_1.5.1_101607.zip) = 21986076