Ticket #12870: gtk-theme-switch-2.0.4_1.diff
File gtk-theme-switch-2.0.4_1.diff, 1.6 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 name gtk-theme-switch 5 6 version 2.0.4 7 revision 1 6 8 categories x11 7 9 maintainers jbenninghoff@mac.com 8 10 description command-line theme switcher for gtk2 … … 13 15 14 16 homepage http://www.muhri.net/nav.php3?node=gts 15 17 master_sites http://ftp.debian.org/debian/pool/main/g/gtk-theme-switch/ 16 distfiles gtk-theme-switch_${version}.tar.gz 18 worksrcdir ${distname} 19 distname ${name}_${version} 17 20 platforms darwin 18 checksums md5 ea213872031bebcb0f3d736352a5aae719 21 20 depends_lib lib:gtk-engines2:gtk-engines2 22 checksums md5 ea213872031bebcb0f3d736352a5aae7 \ 23 sha1 3011bd8660b4c52771ffeed5a8337c8376b76511 \ 24 rmd160 13c66e1fe866461fe1236230da9a3a72c138515b 21 25 22 26 build.target switch2 23 27 24 28 use_configure no 25 29 26 30 destroot { 27 xinstall -m 755 ${worksrcpath}/switch2 ${destroot}${prefix}/bin 28 xinstall -m 644 ${worksrcpath}/switch.1 \ 29 ${destroot}${prefix}/share/man/man1/switch2.1 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 41 variant universal { 42 post-patch { 43 reinplace -E "/^CFLAGS =/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile 44 } 30 45 } 31 46 32 47 livecheck.check regex