def METHOD_NAME(self):
	"""
	Creates a :py:class:`waflib.Tools.c_osx.macplist` instance.
	"""
	if  self.env.MACAPP or getattr(self, 'mac_app', False):
		out = self.link_task.outputs[0]
		name = bundle_name_for_output(out)
		dir = self.create_bundle_dirs(name, out)
		n1 = dir.find_or_declare(['Contents', 'Info.plist'])
		self.plisttask = plisttask = self.create_task('macplist', [], n1)
		plisttask.context = {
			'app_name': self.link_task.outputs[0].name,
			'env': self.env
		}
		plist_ctx = getattr(self, 'plist_context', None)
		if (plist_ctx):
			plisttask.context.update(plist_ctx)
		if getattr(self, 'mac_plist', False):
			node = self.path.find_resource(self.mac_plist)
			if node:
				plisttask.inputs.append(node)
			else:
				plisttask.code = self.mac_plist
		else:
			plisttask.code = app_info
		inst_to = getattr(self, 'install_path', '/Applications') + '/%s/Contents/' % name
		self.add_install_files(install_to=inst_to, install_from=n1)