source: trunk/dports/graphics/openclipart/Portfile

Last change on this file was 110004, checked in by jmr@…, 4 years ago

openclipart: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 110004 2013-08-24 02:17:17Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            openclipart
6version         0.16
7description     This is a collection of clipart.
8long_description        This is a collection of 100% license-free, \
9                        royalty-free, and restriction-free art that \
10                        you can use for any purpose.
11maintainers     nomaintainer
12categories      graphics
13# only a couple of files are GPL'd, the rest are PD/CC0
14license         public-domain GPL-2
15platforms       darwin
16supported_archs noarch
17homepage        http://www.openclipart.org
18master_sites    ${homepage}/downloads/${version}
19distname        ${name}-${version}-full
20checksums       sha1 6c2f480c5221aba9e7619f1c78422f864130edfe
21
22use_bzip2       yes
23
24worksrcdir      ${name}-${version}
25
26use_configure   no
27build           {}
28
29destroot {
30        xinstall -d -m 0755 ${destroot}${prefix}/share/${name}
31        file copy ${worksrcpath}/README.txt ${destroot}${prefix}/share/${name}
32        system "cp -R ${worksrcpath}/animals ${destroot}${prefix}/share/${name}"
33        system "cp -R ${worksrcpath}/buildings ${destroot}${prefix}/share/${name}"
34        system "cp -R ${worksrcpath}/computer ${destroot}${prefix}/share/${name}"
35        system "cp -R ${worksrcpath}/containers ${destroot}${prefix}/share/${name}"
36        system "cp -R ${worksrcpath}/decorations ${destroot}${prefix}/share/${name}"
37        system "cp -R ${worksrcpath}/education ${destroot}${prefix}/share/${name}"
38        system "cp -R ${worksrcpath}/food ${destroot}${prefix}/share/${name}"
39        system "cp -R ${worksrcpath}/geography ${destroot}${prefix}/share/${name}"
40        system "cp -R ${worksrcpath}/logos ${destroot}${prefix}/share/${name}"
41        system "cp -R ${worksrcpath}/office ${destroot}${prefix}/share/${name}"
42        system "cp -R ${worksrcpath}/people ${destroot}${prefix}/share/${name}"
43        system "cp -R ${worksrcpath}/plants ${destroot}${prefix}/share/${name}"
44        system "cp -R ${worksrcpath}/recreation ${destroot}${prefix}/share/${name}"
45        system "cp -R ${worksrcpath}/shapes ${destroot}${prefix}/share/${name}"
46        system "cp -R ${worksrcpath}/signs_and_symbols ${destroot}${prefix}/share/${name}"
47        system "cp -R ${worksrcpath}/special ${destroot}${prefix}/share/${name}"
48        system "cp -R ${worksrcpath}/tools ${destroot}${prefix}/share/${name}"
49        system "cp -R ${worksrcpath}/transportation ${destroot}${prefix}/share/${name}"
50        system "cp -R ${worksrcpath}/unsorted ${destroot}${prefix}/share/${name}"
51}
Note: See TracBrowser for help on using the repository browser.