--- ./Makefile.orig	2014-01-28 06:28:48.000000000 -0600
+++ ./Makefile	2014-06-10 07:28:14.000000000 -0500
@@ -11,7 +11,7 @@
 SHELL = /bin/sh
 top_srcdir = .
 srcdir = .
-prefix = /usr
+prefix = /opt/freeware
 exec_prefix = ${prefix}
 
 bindir = ${exec_prefix}/bin
@@ -23,17 +23,17 @@
 localstatedir = ${prefix}/var
 libdir = ${exec_prefix}/lib
 infodir = ${prefix}/info
-docdir = 
+docdir = ${prefix}/share/man
 includedir = ${prefix}/include
-oldincludedir = /usr/include
+oldincludedir = /opt/freeware/include
 mandir = ${prefix}/share/man
 compdir = $(shell pkg-config --variable=completionsdir bash-completion)
-compdir := $(or $(compdir), "/etc/bash_completion.d")
+compdir := $(or $(compdir), "/opt/freeware/etc/bash_completion.d")
 
 pkgdatadir = $(datadir)/$(PKGNAME)
 pkglibdir = $(libdir)/$(PKGNAME)
 pkgincludedir = $(includedir)/$(PKGNAME)
-top_builddir = 
+top_builddir = /opt/freeware/src/packages/BUILD
 
 # all dirs
 DIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(compdir) \
--- ./dmd.py.orig	2014-01-28 06:28:48.000000000 -0600
+++ ./dmd.py	2014-06-10 07:27:07.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/opt/freeware/bin/python
 
 # dmd - Generate and apply deltas between repository metadata
 #
--- ./genpkgmetadata.py.orig	2014-01-28 06:28:48.000000000 -0600
+++ ./genpkgmetadata.py	2014-06-10 07:39:03.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/opt/freeware/bin/python -t
 # primary functions and glue for generating the repository metadata
 #
 
--- ./mergerepo.py.orig	2014-01-28 06:28:48.000000000 -0600
+++ ./mergerepo.py	2014-06-10 07:39:26.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/opt/freeware/bin/python -tt
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
--- ./modifyrepo.py.orig	2014-01-28 06:28:48.000000000 -0600
+++ modifyrepo.py	2014-06-10 07:39:48.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/opt/freeware/bin/python
 # This tool is used to manipulate arbitrary metadata in a RPM repository.
 # Example:
 #           ./modifyrepo.py updateinfo.xml myrepo/repodata
--- ./worker.py.orig	2014-01-28 06:28:48.000000000 -0600
+++ ./worker.py	2014-06-10 07:40:09.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/opt/freeware/bin/python -tt
 
 import sys
 import yum
--- ./bin/Makefile.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./bin/Makefile	2014-06-10 07:28:37.000000000 -0500
@@ -1,7 +1,7 @@
 SHELL = /bin/sh
 top_srcdir = ..
 srcdir = ../bin
-prefix = /usr
+prefix = /opt/freeware
 exec_prefix = ${prefix}
 
 bindir = ${exec_prefix}/bin
@@ -13,9 +13,9 @@
 localstatedir = ${prefix}/var
 libdir = ${exec_prefix}/lib
 infodir = ${prefix}/info
-docdir = 
+docdir = ${prefix}/doc
 includedir = ${prefix}/include
-oldincludedir = /usr/include
+oldincludedir = /opt/freeware/include
 mandir = ${prefix}/man
 
 pkgdatadir = $(datadir)/$(PKGNAME)
--- ./bin/createrepo.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./bin/createrepo	2014-06-10 07:29:51.000000000 -0500
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/share/createrepo/genpkgmetadata.py "$@"
+exec /opt/freeware/share/createrepo/genpkgmetadata.py "$@"
--- ./bin/mergerepo.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./bin/mergerepo	2014-06-10 07:30:13.000000000 -0500
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/share/createrepo/mergerepo.py "$@"
+exec /opt/freeware/share/createrepo/mergerepo.py "$@"
--- ./bin/modifyrepo.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./bin/modifyrepo	2014-06-10 07:30:55.000000000 -0500
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /usr/share/createrepo/modifyrepo.py "$@"
+exec /opt/freeware/share/createrepo/modifyrepo.py "$@"
--- ./createrepo/Makefile.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./createrepo/Makefile	2014-06-10 07:31:48.000000000 -0500
@@ -9,7 +9,7 @@
 SHELL = /bin/sh
 top_srcdir = ..
 srcdir = ../$(PKGNAME)
-prefix = /usr
+prefix = /opt/freeware
 exec_prefix = ${prefix}
 
 bindir = ${exec_prefix}/bin
@@ -23,7 +23,7 @@
 infodir = ${prefix}/info
 docdir = 
 includedir = ${prefix}/include
-oldincludedir = /usr/include
+oldincludedir = /opt/freeware/include
 mandir = ${datadir}/man
 
 pkgdatadir = $(datadir)/$(PKGNAME)
--- ./createrepo/__init__.py.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./createrepo/__init__.py	2014-06-10 07:32:37.000000000 -0500
@@ -83,7 +83,7 @@
         self.skip_stat = False
         self.database = True
         self.outputdir = None
-        self.file_patterns = ['.*bin\/.*', '^\/etc\/.*', '^\/usr\/lib\/sendmail$']
+        self.file_patterns = ['.*bin\/.*', '^\/etc\/.*', '^\/opt/freeware\/lib\/sendmail$']
         self.dir_patterns = ['.*bin\/.*', '^\/etc\/.*']
         self.skip_symlinks = False
         self.pkglist = []
@@ -109,7 +109,7 @@
                                    # read in this run of createrepo
         self.collapse_glibc_requires = True
         self.workers = 1 # number of workers to fork off to grab metadata from the pkgs
-        self.worker_cmd = '/usr/share/createrepo/worker.py'
+        self.worker_cmd = '/opt/freeware/share/createrepo/worker.py'
         #self.worker_cmd = './worker.py' # helpful when testing
         self.retain_old_md = 0
         self.compress_type = 'compat'
--- ./createrepo/deltarpms.py.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./createrepo/deltarpms.py	2014-06-10 07:33:30.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/opt/freeware/bin/python -tt
 # util functions for deltarpms
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -111,7 +111,7 @@
                             old_pkg.release, new_pkg.ver, new_pkg.release,
                             old_pkg.arch)
     delta_rpm_path  = os.path.join(destdir, drpmfn)
-    delta_command = '/usr/bin/makedeltarpm %s %s %s' % (old_pkg.localpath,
+    delta_command = '/opt/freeware/bin/makedeltarpm %s %s %s' % (old_pkg.localpath,
                                                         new_pkg.localpath,
                                                         delta_rpm_path)
     if not os.path.exists(delta_rpm_path):
--- ./createrepo/merge.py.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./createrepo/merge.py	2014-06-10 07:34:02.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/opt/freeware/bin/python -tt
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
--- ./createrepo/readMetadata.py.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./createrepo/readMetadata.py	2014-06-10 07:35:45.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/opt/freeware/bin/python -t
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
--- ./createrepo/utils.py.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./createrepo/utils.py	2014-06-10 07:36:08.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/opt/freeware/bin/python
 # util functions for createrepo
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
--- ./createrepo/yumbased.py.orig	2014-01-28 06:28:48.000000000 -0600
+++ ./createrepo/yumbased.py	2014-06-10 07:36:37.000000000 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/opt/freeware/bin/python -tt
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
--- ./docs/Makefile.orig	2014-01-28 06:28:49.000000000 -0600
+++ ./docs/Makefile	2014-06-10 07:38:36.000000000 -0500
@@ -1,13 +1,13 @@
 SHELL = /bin/sh
 top_srcdir = ..
 srcdir = ../docs
-prefix = /usr
+prefix = /opt/freeware
 exec_prefix = ${prefix}
 
 bindir = ${exec_prefix}/bin
 sbindir = ${exec_prefix}/sbin
 libexecdir = ${exec_prefix}/libexec
-datadir = ${prefix}/share
+datadir = ${prefix}
 sysconfdir = ${prefix}/etc
 sharedstatedir = ${prefix}/com
 localstatedir = ${prefix}/var
@@ -15,7 +15,7 @@
 infodir = ${prefix}/info
 docdir = 
 includedir = ${prefix}/include
-oldincludedir = /usr/include
+oldincludedir = /opt/freeware/include
 mandir = ${datadir}/man
 
 pkgdatadir = $(datadir)/$(PKGNAME)
