source: trunk/dports/x11/gtk-theme-switch/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem              1.0
4
5name                    gtk-theme-switch
6version                 2.0.4
7revision        1
8categories              x11
9maintainers             mac.com:jbenninghoff
10description             command-line theme switcher for gtk2
11
12long_description \
13        Command-line replacement for gnomecc theme switcher with optional \
14        GUI (if passed the --preview or --dock switch)
15
16homepage                http://www.muhri.net/nav.php3?node=gts
17master_sites            http://ftp.debian.org/debian/pool/main/g/gtk-theme-switch/
18worksrcdir      ${distname}
19distname        ${name}_${version}
20platforms               darwin
21
22checksums       md5 ea213872031bebcb0f3d736352a5aae7 \
23                sha1 3011bd8660b4c52771ffeed5a8337c8376b76511 \
24                rmd160 13c66e1fe866461fe1236230da9a3a72c138515b
25
26build.target    switch2
27
28use_configure   no
29
30destroot {
31    xinstall ${worksrcpath}/switch2 ${destroot}${prefix}/bin
32
33    xinstall -m 0644 ${worksrcpath}/switch.1 \
34        ${destroot}${prefix}/share/man/man1/switch2.1
35
36    set docdir ${prefix}/share/doc/${name}-${version}
37    xinstall -d ${destroot}${docdir}
38    xinstall -m 0644 -W ${worksrcpath} ChangeLog readme todo ${destroot}${docdir}
39}
40
41variant universal {
42    post-patch {
43        reinplace -E "/^CFLAGS =/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile
44    }
45}
46
47livecheck.check regex
48livecheck.url   ${master_sites}?M=D
49livecheck.regex ${name}_(\\d+(?:\\.\\d+)*)
50
Note: See TracBrowser for help on using the repository browser.