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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gtk-quartz-engine |
---|
7 | version 0.2 |
---|
8 | categories gnome aqua |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:tael67 openmaintainer |
---|
11 | #supported_archs i386 ppc |
---|
12 | |
---|
13 | description Native Mac OS X theme for GTK+ |
---|
14 | |
---|
15 | long_description Carbon-based theme engine for 32-bit Quartz |
---|
16 | |
---|
17 | homepage http://git.gnome.org/browse/gtk-quartz-engine |
---|
18 | master_sites https://github.com/jralls/gtk-quartz-engine/tarball/ |
---|
19 | |
---|
20 | checksums sha1 b56477d6fe87339baee748cbe5d69fbc4a20d54d \ |
---|
21 | rmd160 f2ae0bccf168a8281c82933d77fe96958603a102 |
---|
22 | |
---|
23 | depends_build port:pkgconfig \ |
---|
24 | port:automake \ |
---|
25 | port:libtool |
---|
26 | |
---|
27 | depends_lib port:gtk2 |
---|
28 | |
---|
29 | distfiles v${version} |
---|
30 | worksrcdir jralls-gtk-quartz-engine-c1fc6b6 |
---|
31 | |
---|
32 | patchfiles patch-autogen.sh.diff |
---|
33 | |
---|
34 | pre-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 | #} |
---|
54 | notes " |
---|
55 | To use ${name}, copy ${prefix}/share/themes/Quartz/gtk-2.0/gtkrc to ~/.gtkrc-2.0 |
---|
56 | " |
---|