aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-2.0-devel/files')
-rw-r--r--editors/openoffice.org-2.0-devel/files/Makefile.localized241
-rw-r--r--editors/openoffice.org-2.0-devel/files/Makefile.mozilla61
-rw-r--r--editors/openoffice.org-2.0-devel/files/oo_setup.resp7
-rw-r--r--editors/openoffice.org-2.0-devel/files/openoffice-wrapper15
-rw-r--r--editors/openoffice.org-2.0-devel/files/optpatch-freetype+patch208
-rw-r--r--editors/openoffice.org-2.0-devel/files/optpatch-vcl+util+makefile.pmk11
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in37
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in13
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-cppuhelper+source+gcc3_linux_intel.map13
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-helpcontent+langren.pl20
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-odk+setsdkenv_unix.in27
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-odk+settings+settings.mk90
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-psprint+source+helper+strhelper.cxx21
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-sfx2+source+config+cfgmgr.cxx16
-rw-r--r--editors/openoffice.org-2.0-devel/files/zipmoz.sh164
15 files changed, 0 insertions, 944 deletions
diff --git a/editors/openoffice.org-2.0-devel/files/Makefile.localized b/editors/openoffice.org-2.0-devel/files/Makefile.localized
deleted file mode 100644
index 9973b43605d6..000000000000
--- a/editors/openoffice.org-2.0-devel/files/Makefile.localized
+++ /dev/null
@@ -1,241 +0,0 @@
-# localized makefile
-# Whom: Maho Nakata <maho@FreeBSD.org>
-# $FreeBSD$
-
-################################################################
-.if defined(LOCALIZED_LANG)
-.if ${LOCALIZED_LANG} == "af"
-LANG_PKGNAME= af
-LANG_EXT= 27
-LANG_CONFIGURE_ARG= AFRIK
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "ar"
-CATEGORIES= arabic
-LANG_PKGNAME= ar
-LANG_EXT= 96
-LANG_CONFIGURE_ARG= ARAB
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "ca"
-LANG_PKGNAME= ca
-LANG_EXT= 37
-LANG_CONFIGURE_ARG= CAT
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "cs"
-LANG_PKGNAME= cs
-LANG_EXT= 42
-LANG_CONFIGURE_ARG= CZECH
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "dk"
-LANG_PKGNAME= dk
-LANG_EXT= 45
-LANG_CONFIGURE_ARG= DAN
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "el"
-LANG_PKGNAME= el
-LANG_EXT= 30
-LANG_CONFIGURE_ARG= GREEK
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "es"
-LANG_PKGNAME= es
-LANG_EXT= 34
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-LANG_CONFIGURE_ARG= SPAN
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "et"
-LANG_PKGNAME= et
-LANG_EXT= 77
-LANG_CONFIGURE_ARG= ESTONIAN
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "fi"
-LANG_PKGNAME= fi
-LANG_EXT= 35
-LANG_CONFIGURE_ARG= FINN
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "fr"
-CATEGORIES= french
-LANG_PKGNAME= fr
-LANG_EXT= 33
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-LANG_CONFIGURE_ARG= FREN
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "de"
-CATEGORIES= german
-LANG_PKGNAME= de
-LANG_EXT= 49
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-LANG_CONFIGURE_ARG= GER
-COMMENT= Office-Suite mit Textverarbeitung, Tabellenkalkulation, Datenbank und Praesentationsprogramm
-PKGMESSAGE= ${FILESDIR}/pkg-message.de
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "he"
-LANG_PKGNAME= he
-LANG_EXT= 97
-LANG_CONFIGURE_ARG= HEBREW
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "hu"
-CATEGORIES= hungarian
-LANG_PKGNAME= hu
-LANG_EXT= 36
-LANG_CONFIGURE_ARG= HUNG
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "it"
-LANG_PKGNAME= it
-LANG_EXT= 39
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-LANG_CONFIGURE_ARG= ITAL
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "ja"
-CATEGORIES= japanese
-LANG_PKGNAME= ja
-LANG_EXT= 81
-LANG_CONFIGURE_ARG= JAPN
-MASTER_SITES+= ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/openoffice/stable/&,}
-RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho-subst.ttf:${PORTSDIR}/japanese/kochi-ttfonts
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "ko"
-CATEGORIES= korean
-LANG_PKGNAME= ko
-LANG_EXT= 82
-LANG_CONFIGURE_ARG= KOREAN
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "nb"
-LANG_PKGNAME= nb
-LANG_EXT= 47
-LANG_CONFIGURE_ARG= NORBOK
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "nl"
-LANG_PKGNAME= nl
-LANG_EXT= 31
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-LANG_CONFIGURE_ARG= DTCH
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "nn"
-LANG_PKGNAME= nn
-LANG_EXT= 79
-LANG_CONFIGURE_ARG= NORNYN
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "ns"
-LANG_PKGNAME= ns
-LANG_EXT= 26
-LANG_CONFIGURE_ARG= NSOTHO
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "pl"
-CATEGORIES= polish
-LANG_PKGNAME= pl
-LANG_EXT= 48
-LANG_CONFIGURE_ARG= POL
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "pt"
-COMMENT= Editor texto/grBaGico, banco de dados/planilha/navegador integrado
-CATEGORIES= portuguese
-LANG_PKGNAME= pt
-LANG_EXT= 03
-LANG_CONFIGURE_ARG= PORT
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "pt-BR"
-COMMENT= Editor texto/grBaGico, banco de dados/planilha/navegador integrado
-CATEGORIES= portuguese
-LANG_PKGNAME= pt
-LANG_SUFFIX= BR
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-LANG_EXT= 55
-LANG_CONFIGURE_ARG= PORTBR
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "ru"
-CATEGORIES= russian
-LANG_PKGNAME= ru
-LANG_EXT= 07
-LANG_CONFIGURE_ARG= RUSS
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "sv"
-LANG_PKGNAME= sv
-LANG_EXT= 46
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-LANG_CONFIGURE_ARG= SWED
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "sk"
-LANG_PKGNAME= sk
-LANG_EXT= 43
-LANG_CONFIGURE_ARG= SLOVAK
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "sl-SI"
-LANG_PKGNAME= sl
-LANG_SUFFIX= SI
-LANG_EXT= 50
-LANG_CONFIGURE_ARG= SLOVENIAN
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "tr"
-LANG_PKGNAME= tr
-LANG_EXT= 90
-LANG_CONFIGURE_ARG= TURK
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "we"
-LANG_PKGNAME= cy
-LANG_EXT= 53
-LANG_CONFIGURE_ARG= WELSH
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "zh-CN"
-CATEGORIES= chinese
-LANG_PKGNAME= zh
-LANG_SUFFIX= CN
-LANG_EXT= 86
-LANG_CONFIGURE_ARG= CHINSIM
-BUILD_DEPENDS+= ${PREFIX}/share/fonts/TrueType/gbsn00lp.ttf:${PORTSDIR}/chinese/arphicttf
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "zh-TW"
-CATEGORIES= chinese
-LANG_PKGNAME= zh
-LANG_SUFFIX= TW
-LANG_EXT= 88
-LANG_CONFIGURE_ARG= CHINTRAD
-BUILD_DEPENDS+= ${PREFIX}/share/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
-L10NHELP= helpcontent_${LANG_EXT}_unix.tgz
-.endif
-################################################################
-.if ${LOCALIZED_LANG} == "zu"
-LANG_PKGNAME= zu
-LANG_EXT= 28
-LANG_CONFIGURE_ARG= ZULU
-.endif
-################################################################
-.if defined(LANG_PKGNAME)
-PKGNAMEPREFIX= ${LANG_PKGNAME}-
-.endif
-.if defined(LANG_SUFFIX)
-PKGNAMESUFFIX?= -${LANG_SUFFIX}
-.endif
-.endif
-
diff --git a/editors/openoffice.org-2.0-devel/files/Makefile.mozilla b/editors/openoffice.org-2.0-devel/files/Makefile.mozilla
deleted file mode 100644
index eaa3d648037a..000000000000
--- a/editors/openoffice.org-2.0-devel/files/Makefile.mozilla
+++ /dev/null
@@ -1,61 +0,0 @@
-extract-mozilla:
-.if ! exists(${WRKDIR}/mozilla/Makefile)
- @${ECHO_MSG} "===> Extracting mozilla sub project"
- @cd ${WRKDIR} && tar -xzf ${DISTDIR}/${DIST_SUBDIR}/mozilla-vendor-1.0.2a.tgz
-.endif
- @cd ${WRKDIR}/mozilla && ${MAKE} extract WRKDIRPREFIX=""
-
-patch-mozilla:
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/patch-openoffice-mozilla101-2002-10-14 \
- ${WRKDIR}/mozilla/files/
- @cd ${WRKDIR}/mozilla && ${MAKE} patch WRKDIRPREFIX=""
-
-build-mozilla:
-.if ! exists(${WRKDIR}/FREEBSDGCCIruntime.zip)
- @${ECHO_MSG} "===> Building mozilla sub project"
-.if defined(WITH_DEBUG)
- @${CP} ${WRKDIR}/mozilla/Makefile ${WRKDIR}/mozilla/Makefile.new
- @${SED} -e 's|--disable-debug||' \
- -e 's|--disable-cpp-rtti||' \
- -e 's|--enable-strip||' \
- < ${WRKDIR}/mozilla/Makefile.new > ${WRKDIR}/mozilla/Makefile
-.endif
-.if defined(USE_GCC)
- @cd ${WRKDIR}/mozilla && ${MAKE} CXX="${CXX}" CC="${CC}" CFLAGS="${CFLAGS}" USE_GCC=${USE_GCC} build WRKDIRPREFIX=""
-.else
- @cd ${WRKDIR}/mozilla && ${MAKE} CFLAGS="${CFLAGS}" build WRKDIRPREFIX=""
-.endif
- @${CP} ${FILESDIR}/zipmoz.sh ${WRKDIR}
- @${CHMOD} 755 ${WRKDIR}/zipmoz.sh
- @${WRKDIR}/zipmoz.sh ${WRKDIR}/mozilla/work/mozilla/dist FREEBSDGCCI ${WRKDIR}
-.endif
-
-install-mozilla:
- @${CP} ${WRKDIR}/FREEBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/
- @${CP} ${WRKDIR}/FREEBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/
- @${CP} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/
-
-register-mozilla:
-.if exists(${WRKDIR}/mozilla-runtime)
- @${RM} -rf ${WRKDIR}/mozilla-runtime
-.endif
- @${MKDIR} ${WRKDIR}/mozilla-runtime
- @cd ${WRKDIR}/mozilla-runtime && ${UNZIP} -o ${WRKDIR}/FREEBSDGCCIruntime.zip
- @cd ${WRKDIR}/mozilla-runtime && ${UNZIP} -o ${WRKDIR}/FREEBSDGCCIlib.zip
- @${CP} ${WRKDIR}/mozilla/work/mozilla/dist/bin/regxpcom ${WRKDIR}/mozilla-runtime/
- @-${RM} ${WRKDIR}/mozilla-runtime/components/component.reg
- @cd ${WRKDIR}/mozilla-runtime && export MOZILLA_FIVE_HOME=. \
- && export LD_LIBRARY_PATH=.:./lib && ./regxpcom
- @${CP} ${WRKDIR}/mozilla-runtime/components/xpti.dat \
- ${WRKDIR}/mozilla-runtime/components/xptitemp.dat
- @${RM} ${WRKDIR}/FREEBSDGCCIruntime.zip ${WRKDIR}/mozilla-runtime/regxpcom
- @cd ${WRKDIR}/mozilla-runtime && ${FIND} . -type f \
- | ${ZIP} ${WRKDIR}/FREEBSDGCCIruntime.zip -@
-
-mozilla:
- @${MAKE} extract-mozilla
- @${MAKE} patch-mozilla
- @${MAKE} build-mozilla
- @${MAKE} register-mozilla
- @${MAKE} install-mozilla
-
diff --git a/editors/openoffice.org-2.0-devel/files/oo_setup.resp b/editors/openoffice.org-2.0-devel/files/oo_setup.resp
deleted file mode 100644
index 6c6080103dbb..000000000000
--- a/editors/openoffice.org-2.0-devel/files/oo_setup.resp
+++ /dev/null
@@ -1,7 +0,0 @@
-[Environment]
-InstallationMode = INSTALL_NETWORK
-InstallationType = STANDARD
-DestinationPath = %%PREFIX%%/OpenOffice.org%%RELEASE_NR%%
-
-[Java]
-JavaSupport = preinstalled_or_none
diff --git a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper b/editors/openoffice.org-2.0-devel/files/openoffice-wrapper
deleted file mode 100644
index 7808524518a9..000000000000
--- a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.13 2004-06-13 23:57:01 maho Exp $
-
-oopath=%%PREFIX%%/OpenOffice.org%%RELEASE_NR%%/program/
-program=`echo $0 | sed -e 's|.*-%%RELEASE_NR%%-||'`
-
-case $program in
-$0)
- $oopath/soffice "$@"
- ;;
- *)
- $oopath/$program "$@"
- ;;
-esac
diff --git a/editors/openoffice.org-2.0-devel/files/optpatch-freetype+patch b/editors/openoffice.org-2.0-devel/files/optpatch-freetype+patch
deleted file mode 100644
index b426a8fb7fcc..000000000000
--- a/editors/openoffice.org-2.0-devel/files/optpatch-freetype+patch
+++ /dev/null
@@ -1,208 +0,0 @@
-Index: files/patch-freetype::patch
-===================================================================
-RCS file: files/patch-freetype::patch
-diff -N files/patch-freetype::patch
---- /dev/null 1 Jan 1970 00:00:00 -0000
-+++ files/patch-freetype::patch 4 Aug 2002 15:27:42 -0000
-@@ -0,0 +1,201 @@
-+diff -ur ../freetype/freetype-2.0.5.patch oo641d_patched/freetype/freetype-2.0.5.patch
-+--- ../freetype/freetype-2.0.5.patch Fri Apr 5 21:07:34 2002
-++++ ../freetype/freetype-2.0.5.patch Sat Mar 9 18:04:17 2002
-+@@ -1,118 +1,79 @@
-+-*** misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 14 00:44:33 2000
-+---- misc/build/freetype-2.0.5/builds/compiler/visualc.mk Wed Nov 7 16:11:47 2001
-+-***************
-+-*** 63,69 ****
-+- # ANSI compliance.
-+- #
-+- ifndef CFLAGS
-+-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX
-+- endif
-+-
-+- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
-+---- 63,69 ----
-+- # ANSI compliance.
-+- #
-+- ifndef CFLAGS
-+-! CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
-+- endif
-+-
-+- # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
-+-*** misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Jun 7 19:36:17 2001
-+---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Wed Nov 7 16:11:47 2001
-+-***************
-+-*** 631,637 ****
-+- if test "$build_old_libs" = yes; then
-+- if test "$pic_mode" != yes; then
-+- # Don't build PIC code
-+-! command="$base_compile $srcfile"
-+- else
-+- # All platforms use -DPIC, to notify preprocessed assembler code.
-+- command="$base_compile $srcfile $pic_flag -DPIC"
-+---- 631,637 ----
-+- if test "$build_old_libs" = yes; then
-+- if test "$pic_mode" != yes; then
-+- # Don't build PIC code
-+-! command="$base_compile $srcfile -DPIC $pic_flag"
-+- else
-+- # All platforms use -DPIC, to notify preprocessed assembler code.
-+- command="$base_compile $srcfile $pic_flag -DPIC"
-+-*** misc/freetype-2.0.5/include/freetype/config/ftmodule.h Mon Jan 1 18:25:21 2001
-+---- misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Wed Nov 7 16:11:47 2001
-+-***************
-+-*** 1,7 ****
-+---- 1,9 ----
-+- FT_USE_MODULE(autohint_module_class)
-+- FT_USE_MODULE(cff_driver_class)
-+- FT_USE_MODULE(t1cid_driver_class)
-+-+ /*
-+- FT_USE_MODULE(pcf_driver_class)
-+-+ */
-+- FT_USE_MODULE(psaux_module_class)
-+- FT_USE_MODULE(psnames_module_class)
-+- FT_USE_MODULE(ft_raster1_renderer_class)
-+-***************
-+-*** 9,12 ****
-+---- 11,16 ----
-+- FT_USE_MODULE(ft_smooth_renderer_class)
-+- FT_USE_MODULE(tt_driver_class)
-+- FT_USE_MODULE(t1_driver_class)
-+-+ /*
-+- FT_USE_MODULE(winfnt_driver_class)
-+-+ */
-+-*** misc/freetype-2.0.5/include/freetype/config/ftoption.h Tue Aug 21 10:50:45 2001
-+---- misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Wed Nov 7 16:11:47 2001
-+-***************
-+-*** 70,76 ****
-+---- 70,79 ----
-+- /* All convenience functions are declared as such in their */
-+- /* documentation. */
-+- /* */
-+-+ /*
-+- #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
-+-+ */
-+-+ #define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
-+-
-+-
-+- /*************************************************************************/
-+-***************
-+-*** 108,116 ****
-+- /* use a vector `plotter' format that isn't supported when this */
-+- /* macro is undefined. */
-+- /* */
-+- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
-+-
-+--
-+- /*************************************************************************/
-+- /* */
-+- /* Glyph Postscript Names handling */
-+---- 111,121 ----
-+- /* use a vector `plotter' format that isn't supported when this */
-+- /* macro is undefined. */
-+- /* */
-+-+ /*
-+- #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
-+-+ */
-+-+ #undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
-+-
-+- /*************************************************************************/
-+- /* */
-+- /* Glyph Postscript Names handling */
-+-*** misc/build/freetype-2.0.5/builds/unix/ltmain.sh.orig Mon Jan 7 14:21:35 2002
-+---- misc/build/freetype-2.0.5/builds/unix/ltmain.sh Mon Jan 7 14:21:40 2002
-+-***************
-+-*** 2251,2257 ****
-+- ;;
-+-
-+- irix)
-+-! major=`expr $current - $age + 1`
-+- verstring="sgi$major.$revision"
-+-
-+- # Add in all the interfaces that we are compatible with.
-+---- 2251,2257 ----
-+- ;;
-+-
-+- irix)
-+-! major=`expr $current - $age`
-+- verstring="sgi$major.$revision"
-+-
-+- # Add in all the interfaces that we are compatible with.
-++diff -ur misc/freetype-2.0.5/builds/compiler/visualc.mk misc/build/freetype-2.0.5/builds/compiler/visualc.mk
-++--- misc/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:47:57 2001
-+++++ misc/build/freetype-2.0.5/builds/compiler/visualc.mk Thu Dec 27 14:49:17 2001
-++@@ -63,7 +63,7 @@
-++ # ANSI compliance.
-++ #
-++ ifndef CFLAGS
-++- CFLAGS := /nologo /c /Ox /G5 /W3 /WX
-+++ CFLAGS := /nologo /c /Ox /G5 /W3 /WX /MT /Gd -D_CTYPE_DISABLE_MACROS
-++ endif
-++
-++ # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
-++diff -ur misc/freetype-2.0.5/builds/unix/ltmain.sh misc/build/freetype-2.0.5/builds/unix/ltmain.sh
-++--- misc/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:47:56 2001
-+++++ misc/build/freetype-2.0.5/builds/unix/ltmain.sh Thu Dec 27 14:49:17 2001
-++@@ -631,7 +631,7 @@
-++ if test "$build_old_libs" = yes; then
-++ if test "$pic_mode" != yes; then
-++ # Don't build PIC code
-++- command="$base_compile $srcfile"
-+++ command="$base_compile $srcfile -DPIC $pic_flag"
-++ else
-++ # All platforms use -DPIC, to notify preprocessed assembler code.
-++ command="$base_compile $srcfile $pic_flag -DPIC"
-++diff -ur misc/freetype-2.0.5/include/freetype/config/ftmodule.h misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h
-++--- misc/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:47:57 2001
-+++++ misc/build/freetype-2.0.5/include/freetype/config/ftmodule.h Thu Dec 27 14:49:17 2001
-++@@ -1,7 +1,9 @@
-++ FT_USE_MODULE(autohint_module_class)
-++ FT_USE_MODULE(cff_driver_class)
-++ FT_USE_MODULE(t1cid_driver_class)
-+++/*
-++ FT_USE_MODULE(pcf_driver_class)
-+++*/
-++ FT_USE_MODULE(psaux_module_class)
-++ FT_USE_MODULE(psnames_module_class)
-++ FT_USE_MODULE(ft_raster1_renderer_class)
-++@@ -9,4 +11,6 @@
-++ FT_USE_MODULE(ft_smooth_renderer_class)
-++ FT_USE_MODULE(tt_driver_class)
-++ FT_USE_MODULE(t1_driver_class)
-+++/*
-++ FT_USE_MODULE(winfnt_driver_class)
-+++*/
-++diff -ur misc/freetype-2.0.5/include/freetype/config/ftoption.h misc/build/freetype-2.0.5/include/freetype/config/ftoption.h
-++--- misc/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:47:57 2001
-+++++ misc/build/freetype-2.0.5/include/freetype/config/ftoption.h Thu Dec 27 14:51:15 2001
-++@@ -70,7 +70,10 @@
-++ /* All convenience functions are declared as such in their */
-++ /* documentation. */
-++ /* */
-+++/*
-++ #undef FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
-+++*/
-+++#define FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
-++
-++
-++ /*************************************************************************/
-++@@ -108,8 +111,10 @@
-++ /* use a vector `plotter' format that isn't supported when this */
-++ /* macro is undefined. */
-++ /* */
-+++/*
-++ #define FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
-++-
-+++*/
-+++#undef FT_CONFIG_OPTION_ALTERNATE_GLYPH_FORMATS
-++
-++ /*************************************************************************/
-++ /* */
-++@@ -338,7 +343,7 @@
-++ /* By undefining this, you will only compile the code necessary to load */
-++ /* TrueType glyphs without hinting. */
-++ /* */
-++-#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER
-+++#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
-++
-++
-++ /*************************************************************************/
diff --git a/editors/openoffice.org-2.0-devel/files/optpatch-vcl+util+makefile.pmk b/editors/openoffice.org-2.0-devel/files/optpatch-vcl+util+makefile.pmk
deleted file mode 100644
index 41341ff0b4e8..000000000000
--- a/editors/openoffice.org-2.0-devel/files/optpatch-vcl+util+makefile.pmk
+++ /dev/null
@@ -1,11 +0,0 @@
---- ../vcl/util/makefile.pmk.orig Mon Aug 5 01:39:41 2002
-+++ ../vcl/util/makefile.pmk Mon Aug 5 01:40:03 2002
-@@ -64,7 +64,7 @@
- PROJECTPCHSOURCE=$(PRJ)$/util$/vclpch
- PDBTARGET=vcl
-
--.IF "$(OS)" != "MACOSX"
-+.IF "$(OS)" != "MACOSX" && "$(OS)" != "FREEBSD"
- .IF "$(remote)" != ""
- USE_BUILTIN_RASTERIZER=true
- .ENDIF
diff --git a/editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in b/editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in
deleted file mode 100644
index 9cb8bdad0c2f..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-config_office+configure.in
+++ /dev/null
@@ -1,37 +0,0 @@
-#i27028
-http://qa.openoffice.org/issues/show_bug.cgi?id=27028 (ant)
-
-Index: config_office/configure.in
-===================================================================
-RCS file: /cvs/tools/config_office/configure.in,v
-retrieving revision 1.63
-diff -u -r1.63 configure.in
---- ../config_office/configure.in 17 Mar 2004 09:33:26 -0000 1.63
-+++ ../config_office/configure.in 8 Jun 2004 20:53:16 -0000
-@@ -1830,10 +1831,12 @@
-
- if test "$enable_java" != "no"; then
- ANT_HOME=; export ANT_HOME
-+WITH_ANT_HOME=; export WITH_ANT_HOME
- if test -z "$with_ant_home"; then
- AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat])
- else
-- AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat],,$with_ant_home/bin)
-+ AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat],,$with_ant_home/bin:$PATH)
-+ WITH_ANT_HOME=$with_ant_home
- fi
-
-
-@@ -1873,7 +1876,11 @@
- AC_TRY_EVAL(ant_cmd)
- if test $? = 0 && test -f ./conftest.class ; then
- AC_MSG_RESULT([Ant works])
-- ANT_HOME=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"`
-+ if test -z "$WITH_ANT_HOME"; then
-+ ANT_HOME=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"`
-+ else
-+ ANT_HOME="$WITH_ANT_HOME"
-+ fi
- else
- echo "configure: Ant test failed" >&5
- cat conftest.java >&5
diff --git a/editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in b/editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in
deleted file mode 100644
index dbb4c3506e1e..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-config_office+set_soenv.in
+++ /dev/null
@@ -1,13 +0,0 @@
-#i27028
-http://qa.openoffice.org/issues/show_bug.cgi?id=27028
-
---- ../config_office/set_soenv.in.old Tue Mar 9 21:31:38 2004
-+++ ../config_office/set_soenv.in Sun Mar 28 09:56:03 2004
-@@ -1419,6 +1419,7 @@
- ToFile( "XSLTPROC", "@XSLTPROC@", "e" );
- ToFile( "ANT_HOME", "@ANT_HOME@", "e" );
- ToFile( "ANT_LIB", "@ANT_LIB@", "e" );
-+ToFile( "ANT", "@ANT@", "e" );
- ToFile( "JDKLIB", $JAVA_LIB, "e" );
- ToFile( "STLPORT4", $STLPORT4, "e" );
- ToFile( "ASM_PATH", $ASM_PATH, "e" );
diff --git a/editors/openoffice.org-2.0-devel/files/patch-cppuhelper+source+gcc3_linux_intel.map b/editors/openoffice.org-2.0-devel/files/patch-cppuhelper+source+gcc3_linux_intel.map
deleted file mode 100644
index cdb61b141eba..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-cppuhelper+source+gcc3_linux_intel.map
+++ /dev/null
@@ -1,13 +0,0 @@
-Mysterious :)
-
-http://qa.openoffice.org/issues/show_bug.cgi?id=23917
---- ../cppuhelper/source/gcc3_linux_intel.map.orig Sat Sep 13 22:15:22 2003
-+++ ../cppuhelper/source/gcc3_linux_intel.map Sat Sep 13 22:16:01 2003
-@@ -299,6 +299,7 @@
- _ZNK4cppu6UnoUrl11getProtocolEv;
- _ZNK4cppu6UnoUrl13getConnectionEv;
- _ZNK4cppu6UnoUrl13getObjectNameEv;
-+_end;
-
- local:
- *;
diff --git a/editors/openoffice.org-2.0-devel/files/patch-helpcontent+langren.pl b/editors/openoffice.org-2.0-devel/files/patch-helpcontent+langren.pl
deleted file mode 100644
index 7d2b7b71a329..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-helpcontent+langren.pl
+++ /dev/null
@@ -1,20 +0,0 @@
-#iz 32769
-http://qa.openoffice.org/issues/show_bug.cgi?id=32769
-temporary fix.
-
-Index: langren.pl
-===================================================================
-RCS file: /cvs/installation/helpcontent/langren.pl,v
-retrieving revision 1.4
-diff -u -r1.4 langren.pl
---- ../helpcontent/langren.pl.org 12 Jul 2004 12:43:08 -0000 1.4
-+++ ../helpcontent/langren.pl 10 Aug 2004 07:58:54 -0000
-@@ -123,7 +123,7 @@
- }
- } else {
- system("mkdir -p $dest_dir");
-- my $cpcmd = ( -x "$ENV{'BUILD_TOOLS'}/gnucp" ? "$ENV{BUILD_TOOLS}/gnucp" : "cp" );
-+ my $cpcmd = ( -x "$ENV{'GNUCOPY'}" ? "$ENV{'GNUCOPY'}" : "cp" );
- if ( system("$cpcmd -r -u $src_dir/* $dest_dir")) {
- print STDERR "error while copying\n";
- unlink ".langren_working";
diff --git a/editors/openoffice.org-2.0-devel/files/patch-odk+setsdkenv_unix.in b/editors/openoffice.org-2.0-devel/files/patch-odk+setsdkenv_unix.in
deleted file mode 100644
index e5551f883231..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-odk+setsdkenv_unix.in
+++ /dev/null
@@ -1,27 +0,0 @@
-http://qa.openoffice.org/issues/show_bug.cgi?id=24142
---- ../odk/setsdkenv_unix.in Sun Jan 25 18:41:01 2004
-+++ ../odk/setsdkenv_unix.in Sun Jan 25 18:42:00 2004
-@@ -2,7 +2,8 @@
-
- # This script starts a new shell and sets all enviroment variables, which
- # are necessary for building the examples of the Office Development Kit.
--# The Script was developed for the operating systems Solaris and Linux.
-+# The script was developed for the operating systems Solaris, Linux, MacOS X
-+# and FreeBSD.
-
- # Installation directory of the Software Development Kit.
- # Example: OO_SDK_HOME=/work/StarOffice_SDK
-@@ -76,6 +77,13 @@
- LD_LIBRARY_PATH=$OO_SDK_HOME/$directoryname/lib:$OO_SDK_HOME/$exampleout/lib:$OFFICE_PROGRAM_PATH:.:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH
- ;;
-+
-+ FreeBSD)
-+ directoryname=freebsd
-+ exampleout=FREEBSDexample.out
-+ LD_LIBRARY_PATH=$OO_SDK_HOME/$directoryname/lib:$OO_SDK_HOME/$exampleout/lib:$OFFICE_PROGRAM_PATH:.:$LD_LIBRARY_PATH
-+ export LD_LIBRARY_PATH
-+ ;;
- esac
-
- # Add directory of the SDK tools to the path.
diff --git a/editors/openoffice.org-2.0-devel/files/patch-odk+settings+settings.mk b/editors/openoffice.org-2.0-devel/files/patch-odk+settings+settings.mk
deleted file mode 100644
index 8c3942d12f16..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-odk+settings+settings.mk
+++ /dev/null
@@ -1,90 +0,0 @@
-http://qa.openoffice.org/issues/show_bug.cgi?id=24142
-
---- ../odk/settings/settings.mk Sun Jan 25 18:41:02 2004
-+++ ../odk/settings/settings.mk Sun Jan 25 18:45:09 2004
-@@ -368,3 +368,85 @@
-
- endif
-
-+ifeq "$(PLATFORM)" "FreeBSD"
-+# Settings for FreeBSD using gcc compiler
-+
-+PROCTYPE := $(shell uname -m)
-+
-+
-+# Default is freebsd on a intel machine
-+PLATFORM=FreeBSD
-+PACKAGE_LIB_DIR=freebsd_x86.plt
-+JAVA_PROC_TYPE=i386
-+
-+OS=FREEBSD
-+PS=/
-+CC=gcc
-+LINK=gcc
-+LIB=gcc
-+ECHO=@echo
-+MKDIR=mkdir -p
-+CAT=cat
-+OBJ_EXT=o
-+SHAREDLIB_EXT=so
-+SHAREDLIB_PRE=lib
-+SHAREDLIB_OUT=$(OUT_LIB)
-+
-+GCC_VERSION=$(shell $(CC) -dumpversion)
-+
-+ifeq "$(shell echo $(GCC_VERSION) | cut -c 1)" "3"
-+COMID=gcc3
-+CPPU_ENV=gcc3
-+else
-+COMID=GCC
-+CPPU_ENV=gcc2
-+endif
-+
-+OSEP=\<
-+CSEP=\>
-+QUOTE=$(subst S,\,S)
-+QM=\"
-+
-+DEL=rm -f
-+DELRECURSIVE=rm -rf
-+COPY=cp
-+URLPREFIX=file://
-+
-+# Include UDK version numbers
-+include $(PRJ)/include/udkversion.mk
-+
-+SALLIB=-lsal
-+CPPULIB=-lcppu
-+CPPUHELPERLIB=-lcppuhelper$(COMID)
-+SALHELPERLIB=-lsalhelper$(COMID)
-+STLPORTLIB=-lstlport_gcc
-+
-+EMPTYSTRING=
-+PATH_SEPARATOR=:
-+
-+# -O is necessary for inlining (see gcc documentation)
-+ifeq "$(DEBUG)" "yes"
-+CC_FLAGS=-c -g -fpic -DPIC -fno-rtti %%PTHREAD_CFLAGS%%
-+else
-+CC_FLAGS=-c -O -fpic -DPIC -fno-rtti %%PTHREAD_CFLAGS%%
-+endif
-+
-+SDK_JAVA_INCLUDES = -I$(OO_SDK_JAVA_HOME)/include -I$(OO_SDK_JAVA_HOME)/include/freebsd
-+CC_INCLUDES=-I. -I/usr/include -I$(OUT)/inc/examples -I$(PRJ)/include
-+STL_INCLUDES=-I$(OO_SDK_HOME)/include/stl
-+CC_DEFINES=-DUNX -DGCC -DFREEBSD -DCPPU_ENV=$(CPPU_ENV)
-+
-+# define for used compiler necessary for UNO
-+#-DCPPU_ENV=gcc2 -- gcc 2.91/2.95
-+#-DCPPU_ENV=gcc3 -- gcc3 3.0
-+
-+CC_OUTPUT_SWITCH=-o
-+
-+LIBRARY_LINK_FLAGS=-shared '-Wl,-rpath,$$ORIGIN'
-+
-+EXE_LINK_FLAGS=-Wl
-+LINK_LIBS=-L$(OUT)/lib -L$(PRJ)/$(PLATFORM)/lib -L$(OFFICE_PROGRAM_PATH) %%PTHREAD_LIBS%%
-+LINK_JAVA_LIBS=-L$(OO_SDK_JAVA_HOME)/jre/lib/$(JAVA_PROC_TYPE)
-+
-+endif
-+
diff --git a/editors/openoffice.org-2.0-devel/files/patch-psprint+source+helper+strhelper.cxx b/editors/openoffice.org-2.0-devel/files/patch-psprint+source+helper+strhelper.cxx
deleted file mode 100644
index 52530e403ac0..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-psprint+source+helper+strhelper.cxx
+++ /dev/null
@@ -1,21 +0,0 @@
-http://www.openoffice.org/issues/show_bug.cgi?id=27753
-The isnan() macro is a new feature of C99 and not yet part of C++.
-
-Index: source/helper/strhelper.cxx
-===================================================================
-RCS file: /cvs/gsl/psprint/source/helper/strhelper.cxx,v
-retrieving revision 1.6
-diff -u -r1.6 strhelper.cxx
---- ../psprint/source/helper/strhelper.cxx 30 Mar 2004 13:48:06 -0000 1.6
-+++ ../psprint/source/helper/strhelper.cxx 13 Apr 2004 22:26:11 -0000
-@@ -67,6 +67,10 @@
- #include <cmath> // for isnan
- #include <cstring>
-
-+#if defined (FREEBSD)
-+using namespace __gnu_cxx; //for isnan
-+#endif
-+
- namespace psp {
-
- inline int isSpace( char cChar )
diff --git a/editors/openoffice.org-2.0-devel/files/patch-sfx2+source+config+cfgmgr.cxx b/editors/openoffice.org-2.0-devel/files/patch-sfx2+source+config+cfgmgr.cxx
deleted file mode 100644
index be38de290a51..000000000000
--- a/editors/openoffice.org-2.0-devel/files/patch-sfx2+source+config+cfgmgr.cxx
+++ /dev/null
@@ -1,16 +0,0 @@
-Wired bug?
-http://qa.openoffice.org/issues/show_bug.cgi?id=22253
-
---- ../sfx2/source/config/cfgmgr.cxx.org Fri Nov 7 19:11:25 2003
-+++ ../sfx2/source/config/cfgmgr.cxx Fri Nov 7 19:30:26 2003
-@@ -118,6 +118,10 @@
- catch(com::sun::star::ucb::InteractiveAugmentedIOException&)
- {
- }
-+ // PJ: This is a workaround for weird error on FreeBSD (#i22253#)
-+ catch(com::sun::star::uno::Exception&)
-+ {
-+ }
- sal_Bool bIsDocument;
- if ( (aAny >>= bIsDocument) && bIsDocument )
- return new SotStorage( TRUE, rName, nMode, STORAGE_TRANSACTED );
diff --git a/editors/openoffice.org-2.0-devel/files/zipmoz.sh b/editors/openoffice.org-2.0-devel/files/zipmoz.sh
deleted file mode 100644
index 43a4591f3430..000000000000
--- a/editors/openoffice.org-2.0-devel/files/zipmoz.sh
+++ /dev/null
@@ -1,164 +0,0 @@
-#!/bin/sh -f
-
-RUNTIME_FILES=" components/libabsyncsvc.so components/libaddrbook.so \
- components/libmork.so components/libmozldap.so \
- components/libnecko.so components/libprofile.so \
- components/librdf.so components/libstrres.so \
- components/libunicharutil.so components/libuconv.so \
- components/libucvcn.so components/libucvibm.so \
- components/libucvja.so components/libucvko.so \
- components/libucvlatin.so components/libucvtw.so \
- components/libucvtw2.so components/liburiloader.so \
- components/libvcard.so components/libxpconnect.so \
- components/libpref.so components/libchrome.so libmozjs.so \
- libmsgbaseutil.so libldap50.so libnspr4.so libplc4.so \
- libplds4.so libxpcom.so libmozz.so component.reg \
- components/necko_dns.xpt components/xpcom_xpti.xpt \
- components/xpcom_threads.xpt components/xpcom_io.xpt \
- components/xpcom_ds.xpt components/xpcom_components.xpt \
- components/xpcom_base.xpt components/xpti.dat \
- defaults/pref/all.js defaults/pref/config.js \
- defaults/pref/editor.js defaults/pref/initpref.js \
- defaults/pref/inspector.js defaults/pref/mailnews.js \
- defaults/pref/security-prefs.js defaults/pref/unix.js \
- defaults/pref/xpinstall.js"
-
-LIB_FILES=" lib/libembed_base_s.a lib/libmozreg_s.a \
- lib/libnspr4.so lib/libxpcom.so lib/libprldap50.so"
-
-INC_FILES="include/"
-INC_FILES2="public/"
-
-if [ $# -lt 2 -o $# -gt 3 ] ; then
- echo
- echo usage: $0 mozilla_dist target [target_dir]
- echo
- echo where:
- echo
- echo "mozilla_dist points to the mozilla distribution"
- echo "target concatenates OS, compiler and CPU (e.g. FREEBSDGCCI etc)"
- echo "target_dir is the directory to place the zips"
- exit 1
-fi
-
-MOZ_DIST=$1
-TARGET=$2
-if [ "w$3" != "w" ]; then
- TARGET_DIR=$3
-else
- if [ "w$TARGET_DIR" == "w" ]; then
- TARGET_DIR=
- fi
-fi
-
-ZIP_TARGET=$TARGET_DIR
-if [ -z "$ZIP_TARGET" ] ; then
- ZIP_TARGET=../
-fi
-
-# just to remember the current working directory
-STARTING_DIR=`pwd`
-
-echo
-echo --- creating zips for $TARGET, using mozilla distribution in $MOZ_DIST
-
-# Create the directories
-[ ! -d $TARGET_DIR/$TARGET/runtime ] && mkdir -p $TARGET_DIR/$TARGET/runtime
-[ ! -d $TARGET_DIR/$TARGET/runtime/components ] && mkdir -p $TARGET_DIR/$TARGET/runtime/components
-[ ! -d $TARGET_DIR/$TARGET/runtime/defaults ] && mkdir -p $TARGET_DIR/$TARGET/runtime/defaults
-[ ! -d $TARGET_DIR/$TARGET/runtime/defaults/pref ] && mkdir -p $TARGET_DIR/$TARGET/runtime/defaults/pref
-[ ! -d $TARGET_DIR/$TARGET/lib ] && mkdir -p $TARGET_DIR/$TARGET/lib
-[ ! -d $TARGET_DIR/$TARGET/inc ] && mkdir -p $TARGET_DIR/$TARGET/inc
-[ ! -d $TARGET_DIR/$TARGET/inc/nspr ] && mkdir -p $TARGET_DIR/$TARGET/inc/nspr
-[ ! -d $TARGET_DIR/$TARGET/inc/obsolete ] && mkdir -p $TARGET_DIR/$TARGET/inc/obsolete
-
-# Copy the files
-echo
-echo --- copying files
-echo
-
-for i in $RUNTIME_FILES; do
- if [ ! -f $MOZ_DIST/bin/$i ]; then
- echo $MOZ_DIST/bin/$i does not exist, check your distribution
- else
- if [ `echo $i | grep component` ]; then
- cp $MOZ_DIST/bin/$i $TARGET_DIR/$TARGET/runtime/components/
- elif [ `echo $i | grep defaults` ]; then
- cp $MOZ_DIST/bin/$i $TARGET_DIR/$TARGET/runtime/defaults/pref/
- else
- cp $MOZ_DIST/bin/$i $TARGET_DIR/$TARGET/runtime/
- fi
- fi
-done
-
-for i in $LIB_FILES; do
- if [ ! -f $MOZ_DIST/$i ]; then
- echo $MOZ_DIST/$i does not exist, check your distribution
- else
- cp -R -L $MOZ_DIST/$i $TARGET_DIR/$TARGET/lib/
- fi
-done
-
-for i in `ls -1 $MOZ_DIST/$INC_FILES`; do
- if [ ! -d $i ]; then
- cp -R -L $MOZ_DIST/include/$i $TARGET_DIR/$TARGET/inc/
- fi
-done
-
-for i in `ls -1 $MOZ_DIST/$INC_FILES2`; do
- if [ ! -d $i ]; then
- cp -R -L $MOZ_DIST/public/$i $TARGET_DIR/$TARGET/inc
- fi
-done
-
-for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr`; do
- if [ ! -d $i ]; then
- cp -R -L $MOZ_DIST/include/nspr/$i $TARGET_DIR/$TARGET/inc/nspr
- fi
-done
-
-for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr/obsolete`; do
- if [ ! -d $i ]; then
- cp -R -L $MOZ_DIST/include/nspr/obsolete/$i $TARGET_DIR/$TARGET/inc/obsolete
- fi
-done
-
-# delete old zips
-
-[ -f $TARGET_DIR/$TARGET/runtime.zip ] && rm -f $TARGET_DIR/$TARGET/runtime.zip
-[ -f $TARGET_DIR/$TARGET/lib.zip ] && rm -f $TARGET_DIR/$TARGET/lib.zip
-[ -f $TARGET_DIR/$TARGET/inc.zip ] && rm -f $TARGET_DIR/$TARGET/inc.zip
-
-# zip the runtime files
-
-echo
-echo --- creating ${TARGET}runtime.zip
-echo
-
-cd $TARGET_DIR/$TARGET/runtime
-find . -type f | zip $ZIP_TARGET/${TARGET}runtime.zip -@
-
-# zip the lib files
-echo
-echo --- creating ${TARGET}lib.zip
-echo
-
-cd $TARGET_DIR/$TARGET/lib
-find . -type f | zip $ZIP_TARGET/${TARGET}lib.zip -@
-
-# zip the inc files
-echo
-echo --- creating ${TARGET}inc.zip
-echo
-
-cd $TARGET_DIR/$TARGET/inc
-find . -type f | zip $ZIP_TARGET/${TARGET}inc.zip -@
-
-# remove dirs
-cd $STARTING_DIR
-rm -rf $TARGET_DIR/$TARGET
-
-echo
-echo --- done
-echo
-