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

Last change on this file was 135567, checked in by devans@…, 2 years ago

gnome-mud: reconfigure using upstream autogen.sh for intltool 0.51 compatibility.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 135567 2015-04-26 15:24:59Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            gnome-mud
7version         0.11.2
8revision        4
9set branch      [join [lrange [split ${version} .] 0 1] .]
10description     GNOME-Mud is a mudclient for the GNOME platform.
11long_description \
12                ${description}
13maintainers     nomaintainer
14categories      gnome games
15license         GPL-2+
16platforms       darwin
17homepage        https://wiki.gnome.org/Apps/GnomeMud
18master_sites    gnome:sources/${name}/${branch}/
19
20checksums       md5     aa41b2afb55158e7a9d2e14831223949 \
21                sha1    27e2537842f976efe075f5dc57dbfb9bfe5f6f2f \
22                rmd160  2218fd5f325823506edf75034dcfe674ca2606df
23
24depends_build   port:pkgconfig \
25                port:gnome-common \
26                port:intltool \
27                port:gnome-doc-utils \
28                port:autoconf \
29                port:automake \
30                port:libtool
31
32depends_lib     port:desktop-file-utils \
33                port:gtk2 \
34                port:gconf  \
35                port:libglade2 \
36                port:gnet2 \
37                port:vte-gtk2-compat \
38                port:pcre \
39                port:gstreamer010-gst-plugins-base
40               
41patchfiles      patch-src-mud-telnet.h.diff
42
43# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
44
45post-patch {
46    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
47}
48
49configure.cmd   ./autogen.sh
50
51configure.args  --mandir=${prefix}/share/man \
52                --enable-compile-warnings=minimum \
53                --disable-schemas-install
54
55post-activate {
56    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
57    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
58    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
59        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
60}
61
62livecheck.type  gnome-with-unstable
Note: See TracBrowser for help on using the repository browser.