source: trunk/dports/devel/VillainousStyle/Portfile

Last change on this file was 107821, checked in by ryandesign@…, 4 years ago

mongodb, oracle-instantclient, curl, VillainousStyle, pure-gen, MyPaint, keybinder, fontconfig, graphviz-oldgui, openni, ttf2eot: use eq and ne for string comparisons

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 107821 2013-07-06 08:26:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           xcode 1.0
7
8github.setup        amazingsyco VillainousStyle 20110713
9categories          devel graphics
10maintainers         ryandesign
11license             Apache-2
12
13description         a drawing library for defining a visual style from a \
14                    chain of individual drawing instructions
15
16long_description    VillainousStyle is a drawing library for defining a \
17                    visual style from a chain of individual drawing \
18                    instructions. Each instruction modifies the drawing \
19                    context to perform common operations\; such operations \
20                    include shadows, fills, borders, and shapes. It allows \
21                    for multiple style sheets which can be used to theme \
22                    an application in multiple visual contexts. \
23                    VillainousStyle sits on top of CoreGraphics, and does \
24                    not use WebKit for rendering at all. It is a fork of \
25                    the VSStyle and VSShape classes, originally from the \
26                    Three20 project.
27
28platform darwin 8 {
29    pre-fetch {
30        ui_error "${name} requires Mac OS X 10.5 or greater."
31        return -code error "incompatible Mac OS X version"
32    }
33}
34
35if {${name} eq ${subport}} {
36    supported_archs     noarch
37    distfiles
38   
39    depends_run         port:${name}-framework \
40                        port:lib${name}
41   
42    build {}
43   
44    destroot {
45        set docdir ${destroot}${prefix}/share/doc/${subport}
46        xinstall -d ${docdir}
47        system "echo ${name} is a meta port > ${docdir}/README"
48    }
49} else {
50    fetch.type          git
51    git.branch          e05e72da703b39de3d8b1c53b308f4b2a8b62aef
52   
53    build.dir           ${worksrcpath}/Source
54   
55    xcode.configuration Release
56   
57    livecheck.type      none
58}
59
60subport lib${name} {
61    xcode.target        "lib${name}.a - Mac"
62    xcode.destroot.path ${prefix}/lib
63}
64
65subport ${name}-framework {
66    xcode.destroot.type framework
67    xcode.target        ${name}.framework
68}
Note: See TracBrowser for help on using the repository browser.