summaryrefslogtreecommitdiff
path: root/java/eclipse-datatools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse-datatools/Makefile')
-rw-r--r--java/eclipse-datatools/Makefile41
1 files changed, 6 insertions, 35 deletions
diff --git a/java/eclipse-datatools/Makefile b/java/eclipse-datatools/Makefile
index 22a0f5d5f5ef..a9c056a7d5ad 100644
--- a/java/eclipse-datatools/Makefile
+++ b/java/eclipse-datatools/Makefile
@@ -6,55 +6,26 @@
#
PORTNAME= datatools
-DISTVERSION= 1.6.1
-PORTREVISION= 2
+DISTVERSION= 1.7.2
CATEGORIES= java devel databases
MASTER_SITES= ${MASTER_SITE_ECLIPSE:S,/eclipse/downloads/drops/,/datatools/downloads/,}
MASTER_SITE_SUBDIR= ${PORTVERSION:R}
PKGNAMEPREFIX= eclipse-
-DISTNAME= dtp_${DISTVERSION}
+DISTNAME= dtp-sdk_${DISTVERSION}
DIST_SUBDIR= eclipse
MAINTAINER= lioux@FreeBSD.org
COMMENT= Data Tools Platform for the Eclipse IDE
RUN_DEPENDS= eclipse:${PORTSDIR}/java/eclipse \
- ${LOCALBASE}/lib/eclipse/features/org.eclipse.emf_2.3.2.v200802051830/feature.xml:${PORTSDIR}/java/eclipse-emf \
- ${LOCALBASE}/lib/eclipse/features/org.eclipse.gef_3.3.2.v20080129/feature.xml:${PORTSDIR}/java/eclipse-gef
+ ${LOCALBASE}/share/eclipse/dropins/emf:${PORTSDIR}/java/eclipse-emf \
+ ${LOCALBASE}/share/eclipse/dropins/gef:${PORTSDIR}/java/eclipse-gef
LICENSE= EPL
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
+WRKSRC= ${WRKDIR}/eclipse
USE_ZIP= yes
-USE_JAVA= yes
-JAVA_VERSION= 1.5+
-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}/lib/eclipse
-# install both files and directories
- @(cd ${WRKSRC}/eclipse && \
- ${FIND} -s features plugins -type d \
- -exec ${MKDIR} "${PREFIX}/lib/eclipse/{}" \; && \
- ${FIND} -s features plugins -not -type d \
- -exec ${INSTALL_DATA} "{}" "${PREFIX}/lib/eclipse/{}" \; \
- )
-
-# used to manually generate the plist files
-generate-plist-locally: build
-# annotate installation files
- @(cd ${WRKSRC}/eclipse && ${FIND} -s features plugins -not -type d) \
- | ${SED} -ne 's,^,lib/eclipse/,p' > ${PLIST}
-# annotate installation directories
- @(cd ${WRKSRC}/eclipse && ${FIND} -s -d features plugins -type d) \
- | ${GREP} -vE '^plugins$$|^features$$' \
- | ${SED} -ne 's,^,@dirrm lib/eclipse/,p' >> ${PLIST}
+.include "${.CURDIR}/../eclipse/Makefile.plugins"
.include <bsd.port.mk>