# $Id: Portfile,v 1.3 2005/09/13 06:57:47 olegb Exp $
PortSystem 1.0
name		openclipart
version		0.16
description	This is a collection of clipart.
long_description	This is a collection of 100% license-free, \
			royalty-free, and restriction-free art that \
			you can use for any purpose.
maintainers	darwinports@opendarwin.org
categories	graphics
platforms	darwin 
homepage	http://www.openclipart.org
master_sites	${homepage}/downloads/${version}
distname	${name}-${version}-full
checksums	sha1 6c2f480c5221aba9e7619f1c78422f864130edfe

use_bzip2	yes

worksrcdir	${name}-${version}

use_configure	no
build		{}

destroot {
	xinstall -d -m 0755 ${destroot}${prefix}/share/${name}
	file copy ${worksrcpath}/README.txt ${destroot}${prefix}/share/${name}
	system "cp -R ${worksrcpath}/animals ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/buildings ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/computer ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/containers ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/decorations ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/education ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/food ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/geography ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/logos ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/office ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/people ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/plants ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/recreation ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/shapes ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/signs_and_symbols ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/special ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/tools ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/transportation ${destroot}${prefix}/share/${name}"
	system "cp -R ${worksrcpath}/unsorted ${destroot}${prefix}/share/${name}"
}
