base_directory  = File.expand_path('/usr/share/compass/frameworks/blend-modes')
stylesheets_path = File.join(base_directory, 'stylesheets')
templates_path = File.join(base_directory, 'templates')

if (defined? Compass)
	Compass::Frameworks.register(
		'blend-modes',
		:path => base_directory
	)
else
	ENV["SASS_PATH"] = [ENV["SASS_PATH"], stylesheets_path].compact.join(File::PATH_SEPARATOR)
end

require 'compass/blend-modes/version'
