diff --git a/configure.in b/configure.in
index 6e1e274fe3c..d22aeddc59c 100644
--- a/configure.in
+++ b/configure.in
@@ -2624,7 +2624,7 @@ AC_OUTPUT(Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
merge/Makefile dbug/Makefile scripts/Makefile dnl
include/Makefile sql-bench/Makefile tools/Makefile dnl
tests/Makefile Docs/Makefile support-files/Makefile dnl
- mysql-test/Makefile dnl
+ support-files/MacOSX/Makefile mysql-test/Makefile dnl
netware/Makefile dnl
include/mysql_version.h dnl
, , [
diff --git a/support-files/MacOSX/Description.plist.sh b/support-files/MacOSX/Description.plist.sh
new file mode 100644
index 00000000000..4f388235eee
--- /dev/null
+++ b/support-files/MacOSX/Description.plist.sh
@@ -0,0 +1,14 @@
+
+
+
+
+ IFPkgDescriptionDeleteWarning
+
+ IFPkgDescriptionDescription
+ This package provides a binary installation of MySQL @VERSION@@MYSQL_SERVER_SUFFIX@ for Mac OS X.
+ IFPkgDescriptionTitle
+ MySQL @VERSION@@MYSQL_SERVER_SUFFIX@ for Mac OS X
+ IFPkgDescriptionVersion
+ @VERSION@@MYSQL_SERVER_SUFFIX@
+
+
diff --git a/support-files/MacOSX/Info.plist.sh b/support-files/MacOSX/Info.plist.sh
new file mode 100644
index 00000000000..c8e4eb1c2d4
--- /dev/null
+++ b/support-files/MacOSX/Info.plist.sh
@@ -0,0 +1,38 @@
+
+
+
+
+ CFBundleGetInfoString
+ MySQL @VERSION@@MYSQL_SERVER_SUFFIX@
+ CFBundleIdentifier
+ com.mysql.mysql
+ CFBundleName
+ MySQL
+ CFBundleShortVersionString
+ @VERSION@
+ IFMajorVersion
+ 4
+ IFMinorVersion
+ 0
+ IFPkgFlagAllowBackRev
+
+ IFPkgFlagAuthorizationAction
+ RootAuthorization
+ IFPkgFlagDefaultLocation
+ /usr/local
+ IFPkgFlagInstallFat
+
+ IFPkgFlagIsRequired
+
+ IFPkgFlagRelocatable
+
+ IFPkgFlagRestartAction
+ NoRestart
+ IFPkgFlagRootVolumeOnly
+
+ IFPkgFlagUpdateInstalledLanguages
+
+ IFPkgFormatVersion
+ 0.10000000149011612
+
+
diff --git a/support-files/MacOSX/Makefile.am b/support-files/MacOSX/Makefile.am
new file mode 100644
index 00000000000..0702d104e7e
--- /dev/null
+++ b/support-files/MacOSX/Makefile.am
@@ -0,0 +1,37 @@
+# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+#
+# You should have received a copy of the GNU Library General Public
+# License along with this library; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+# MA 02111-1307, USA
+
+## Process this file with automake to create Makefile.in
+
+EXTRA_DIST = Info.plist.sh Description.plist.sh
+
+pkgdata_DATA = Info.plist Description.plist
+
+CLEANFILES = Info.plist Description.plist
+
+SUFFIXES = .sh
+
+.sh:
+ @RM@ -f $@ $@-t
+ @SED@ \
+ -e 's!@''VERSION''@!@VERSION@!' \
+ -e 's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!' \
+ $< > $@-t
+ @MV@ $@-t $@
+
+# Don't update the files from bitkeeper
+%::SCCS/s.%
diff --git a/support-files/make_mysql_pkg.pl b/support-files/MacOSX/make_mysql_pkg.pl
similarity index 100%
rename from support-files/make_mysql_pkg.pl
rename to support-files/MacOSX/make_mysql_pkg.pl
diff --git a/support-files/Makefile.am b/support-files/Makefile.am
index 00e8b13b12c..4aadd98bd1b 100644
--- a/support-files/Makefile.am
+++ b/support-files/Makefile.am
@@ -27,6 +27,8 @@ EXTRA_DIST = mysql.spec.sh \
binary-configure.sh \
magic
+SUBDIRS = MacOSX
+
pkgdata_DATA = my-small.cnf \
my-medium.cnf \
my-large.cnf \
diff --git a/support-files/PKG/INSTALL.sh b/support-files/SCO/INSTALL.sh
similarity index 100%
rename from support-files/PKG/INSTALL.sh
rename to support-files/SCO/INSTALL.sh
diff --git a/support-files/PKG/compile.sh b/support-files/SCO/compile.sh
similarity index 100%
rename from support-files/PKG/compile.sh
rename to support-files/SCO/compile.sh
diff --git a/support-files/PKG/doc.sh b/support-files/SCO/doc.sh
similarity index 100%
rename from support-files/PKG/doc.sh
rename to support-files/SCO/doc.sh
diff --git a/support-files/PKG/mkpkg.sh b/support-files/SCO/mkpkg.sh
similarity index 100%
rename from support-files/PKG/mkpkg.sh
rename to support-files/SCO/mkpkg.sh
diff --git a/support-files/PKG/patch b/support-files/SCO/patch
similarity index 100%
rename from support-files/PKG/patch
rename to support-files/SCO/patch
diff --git a/support-files/PKG/pkginfo.ini b/support-files/SCO/pkginfo.ini
similarity index 100%
rename from support-files/PKG/pkginfo.ini
rename to support-files/SCO/pkginfo.ini
diff --git a/support-files/PKG/postinstall b/support-files/SCO/postinstall
similarity index 100%
rename from support-files/PKG/postinstall
rename to support-files/SCO/postinstall
diff --git a/support-files/PKG/preinstall b/support-files/SCO/preinstall
similarity index 100%
rename from support-files/PKG/preinstall
rename to support-files/SCO/preinstall
diff --git a/support-files/PKG/preremove b/support-files/SCO/preremove
similarity index 100%
rename from support-files/PKG/preremove
rename to support-files/SCO/preremove
diff --git a/support-files/PKG/prototype.ini b/support-files/SCO/prototype.ini
similarity index 100%
rename from support-files/PKG/prototype.ini
rename to support-files/SCO/prototype.ini
diff --git a/support-files/PKG/version b/support-files/SCO/version
similarity index 100%
rename from support-files/PKG/version
rename to support-files/SCO/version