source: trunk/dports/gnome/gtk2-aurora/Portfile

Last change on this file was 125154, checked in by khindenburg@…, 3 years ago

gtk2-aurora: revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 125154 2014-09-08 01:56:53Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            gtk2-aurora
7set my_name     aurora
8version         1.5.1
9revision        2
10license         GPL-2
11set branch      [join [lrange [split ${version} .] 0 1] .]
12categories      gnome x11 gtk
13platforms       macosx
14maintainers     nomaintainer
15description     Aurora Gtk Engine
16
17long_description \
18    The goal of this theme is to provide a complete and consistent look for Gtk. \
19    The theme aims to be very flexible in colour choice, but have few other options otherwise.
20
21set id          56438
22homepage        http://www.gnome-look.org/content/show.php/Aurora+Gtk+Engine?content=${id}
23master_sites    http://www.gnome-look.org/CONTENT/content-files/
24distname        ${id}-${my_name}-${version}
25use_bzip2       yes
26
27checksums       md5     5eeea57c5938306ad7ccfc7cd71d009d \
28                sha1    7e6a4b6e9798cf3bf4edffc7e2e62e2f51082a41 \
29                rmd160  538da2485bd5bf4e7bccc4d1fb124fe0407ece1c
30
31depends_build   port:pkgconfig
32depends_lib     port:gtk2
33
34post-extract {
35    system "tar xzf ${workpath}/aurora-gtk-engine-${branch}.tar.gz -C ${workpath}"
36    system "tar xjf ${workpath}/Aurora.tar.bz2 -C ${workpath}"
37}
38
39worksrcdir      ${my_name}-[join [lrange [split ${version} .] 0 1] .]
40
41patchfiles      patch-glib-2.32.diff
42
43configure.args  --enable-animation
44
45pre-destroot {
46    file attributes ${worksrcpath}/install-sh -permissions +x
47}
48
49post-destroot {
50    file mkdir ${destroot}${prefix}/share/themes
51    copy ${workpath}/Aurora ${destroot}${prefix}/share/themes
52
53    set docdir ${prefix}/share/doc/${name}-${version}
54    xinstall -d ${destroot}${docdir}
55    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
56        ${destroot}${docdir}
57}
58
59livecheck.type  regex
60livecheck.regex {<span class="contentdata">(\d+\.\d+(?:\.\d+)*)</span>}
Note: See TracBrowser for help on using the repository browser.