Ticket #29434: Portfile.3

File Portfile.3, 1.6 KB (added by tael67@…, 14 years ago)

Updated portfile

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$
3
4PortSystem          1.0
5
6name                gtk-quartz-engine
7version             0.2
8categories          gnome aqua
9platforms           darwin
10maintainers         gmail.com:tael67 openmaintainer
11#supported_archs     i386 ppc
12
13description         Native Mac OS X theme for GTK+
14
15long_description    Carbon-based theme engine for 32-bit Quartz
16
17homepage            http://git.gnome.org/browse/gtk-quartz-engine
18master_sites        https://github.com/jralls/gtk-quartz-engine/tarball/
19
20checksums           sha1    b56477d6fe87339baee748cbe5d69fbc4a20d54d \
21                    rmd160  f2ae0bccf168a8281c82933d77fe96958603a102
22
23depends_build       port:pkgconfig \
24                    port:automake \
25                    port:libtool
26
27depends_lib         port:gtk2
28
29distfiles           v${version}
30worksrcdir          jralls-gtk-quartz-engine-c1fc6b6
31
32patchfiles          patch-autogen.sh.diff
33
34pre-configure {
35    if {![file exists ${prefix}/lib/pkgconfig/gdk-quartz-2.0.pc]} {
36        ui_error "
37
38****
39**** ${name} is meant to be used only in a GTK2 quartz
40**** development environment but your version of GTK2 does not
41**** support quartz.  Please make sure that port gtk2 and all its
42**** dependencies are built with variants +no_x11 +quartz and try again.
43****
44"
45        error "gtk2 +no_x11 +quartz not installed."
46    }
47
48    exec ${worksrcpath}/autogen.sh
49}
50
51#post-install {
52#    copy -force ${worksrcpath}/theme/gtkrc ~/.gtkrc-2.0
53#}
54notes "
55To use ${name}, copy ${prefix}/share/themes/Quartz/gtk-2.0/gtkrc to ~/.gtkrc-2.0
56"