summaryrefslogtreecommitdiff
path: root/java/eclipse-cdt/scripts
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-01-12 19:24:05 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-01-12 19:24:05 +0000
commit9f5f75dd1a04c231ad7f5c2ef21269b222eb2120 (patch)
treed7664d5ec9b1e0c16ad8162f6cbce8265879d912 /java/eclipse-cdt/scripts
parentsysutils/rubygem-bosh_cli: Make version requirement to json_pure less strict (diff)
Update Eclipse CDT to 9.0.1 and assign port to submitter.
PR: 213649 Submitted by: Michael Zhilin <mizhka@gmail.com>
Notes
Notes: svn path=/head/; revision=431296
Diffstat (limited to 'java/eclipse-cdt/scripts')
-rw-r--r--java/eclipse-cdt/scripts/pre-patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/java/eclipse-cdt/scripts/pre-patch b/java/eclipse-cdt/scripts/pre-patch
deleted file mode 100644
index 3a5e9550f38f..000000000000
--- a/java/eclipse-cdt/scripts/pre-patch
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh -x
-# $FreeBSD: /tmp/pcvs/ports/java/eclipse-cdt/scripts/pre-patch,v 1.3 2006-11-07 11:04:47 girgen Exp $
-
-copy_dir()
-{
- srcdir="$1"
- dstdir="$2"
-
- rm -rf "$dstdir"
- cp -r "$srcdir" "$dstdir" || exit 1
-
- if [ -d "$dstdir" ]
- then
- find "$dstdir" -name \*.so -delete
- fi
-}
-
-prepare_files()
-{
- # Copy the files and rename/change them appropriately
- for src in $COPY_LIST
- do
- dst=`echo $src | sed 's/linux/freebsd/g; s/Linux/FreeBSD/g; s/x86_64/amd64/g'`
- echo Copying $src into $dst
- if [ -d ${WRKSRC}/$src ]
- then
- copy_dir ${WRKSRC}/$src ${WRKSRC}/$dst
- fi
- done
- find ${WRKSRC} -type d -name linux | xargs rm -r
-}
-
-unpack_jars()
-{
- for src in ${JAR_UNPACK_LIST}
- do
- cd ${WRKSRC} &&
- mkdir ${src} &&
- ${UNZIP_CMD} -q ${src}.jar -d ${src}
- done
-}
-
-COPY_LIST="
-eclipse/plugins/org.eclipse.cdt.core.linux.x86_${PORTVERSION_TS}
-eclipse/plugins/org.eclipse.cdt.core.linux.x86_${PORTVERSION_TS}/os/linux
-eclipse/plugins/org.eclipse.cdt.core.linux.x86_${PORTVERSION_TS}/os/linux/x86
-eclipse/plugins/org.eclipse.cdt.core.linux_${PORTVERSION_TS}
-eclipse/plugins/org.eclipse.cdt.source.linux.gtk.x86_${PORTVERSION_TS}
-eclipse/plugins/org.eclipse.cdt.source.linux.gtk.x86_${PORTVERSION_TS}/src/org.eclipse.cdt.core.linux_${PORTVERSION_TS}
-"
-
-JAR_UNPACK_LIST="
-eclipse/plugins/org.eclipse.cdt.managedbuilder.gnu.ui_${PORTVERSION_TS}
-eclipse/plugins/org.eclipse.cdt.core_${PORTVERSION_TS}"
-
-prepare_files
-unpack_jars
-
-exit 0