# $Id: Portfile,v 1.2 2006/08/09 02:49:01 yeled Exp $

PortSystem 1.0

name			SharedMenusCocoa
version			0.3
categories		aqua
platforms		darwin
maintainers		pierre@queinnec.org
description		Adds support for Shared Menus in Cocoa applications

homepage		http://www.url-manager.com/sme.html
master_sites		http://www.queinnec.org/ports/ http://www.opendarwin.org/~olegb/
distfiles		${name}.tar.gz
checksums		md5 a062ce763050b4127b5127db0d179dd5
worksrcdir		${name}

use_configure		no
build.type		pbx
build.target		-buildstyle Deployment

set xcodebuilddir	build
platform darwin 8 {
	if {$xcodeversion == "2.1"} {
	    	set xcodebuilddir	build/Deployment
	}
}

destroot {
	xinstall -d -m 0755 ${destroot}/Library/Frameworks
	file copy ${worksrcpath}/build/${name}.framework \
	       ${destroot}/Library/Frameworks
}
