source: trunk/dports/gnome/xchat-gnome/Portfile

Last change on this file was 151841, checked in by mojca@…, 11 months ago

xchat-gnome: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
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: Portfile 151841 2016-08-23 12:10:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                xchat-gnome
8version             0.26.1
9revision            9
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         xchat-gnome is a frontend to X-Chat.
12long_description    xchat-gnome is a frontend to the popular X-Chat IRC client which is \
13                    designed with the user interface foremost in mind.
14maintainers         nomaintainer
15categories          gnome irc
16license             {GPL-2+ OpenSSLException}
17
18platforms           darwin
19
20homepage            https://wiki.gnome.org/Apps/Xchat-Gnome
21master_sites        gnome:sources/${name}/${branch}/
22
23checksums           rmd160  ff2228aa5258a2c5a3bd7c391e83a15b2f030aff \
24                    sha256  6234f14ddc7323faaa4f10f890786a0f69da00774855412a4382b11a6158cf4b
25
26use_bzip2           yes
27
28perl5.branches      5.24
29
30depends_build       port:pkgconfig \
31                    port:intltool \
32                    port:gnome-doc-utils \
33                    port:gnome-common \
34                    port:autoconf \
35                    port:automake \
36                    port:libtool
37
38depends_lib         port:libgnomeui \
39                    port:libglade2 \
40                    port:gconf \
41                    port:libsexy \
42                    port:libcanberra  \
43                    path:lib/libssl.dylib:openssl \
44                    port:python27 \
45                    port:perl${perl5.major}
46
47depends_run         port:yelp
48
49patchfiles          patch-configure.diff
50
51# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
52
53post-patch {
54    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
55}
56
57configure.cmd       ./autogen.sh
58
59configure.python    ${prefix}/bin/python2.7
60configure.perl      ${perl5.bin}
61
62configure.args      --disable-mmx \
63                    --disable-notification \
64                    --enable-compile-warnings=minimum \
65                    --disable-scrollkeeper \
66                    --disable-schemas-install
67
68post-activate    {
69    system "${prefix}/bin/scrollkeeper-update"
70    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
71    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
72    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
73        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
74}
75
76livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.