# $Id: Portfile 41523 2008-11-05 13:35:27Z pguyot@kallisys.net $

PortSystem 1.0
name		variants
version		1
categories	test
maintainers	pguyot@kallisys.net
description	Test port for variants logic
homepage	http://www.macports.org/
platforms	darwin

long_description ${description}

fetch 		{}
checksum	{}
extract		{}
configure	{}
build		{}
destroot	{
	system "touch ${destroot}${prefix}/lib/${name}"
}

test {
	# test is actually installing this.
}

use_configure	no

# We override universal variant.
variant universal {
	puts "Universal Variant"
}

# We define the utopia platform twice
platform utopia {
	puts "Utopia platform -- 1"
}
platform utopia {
	puts "Utopia platform -- 2"
}

default_variants	+utopia
