source: trunk/dports/games/teg/Portfile

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

intltool dependents already updated for intltool 0.51: change 'reconfigure with autogen.sh' to 'reconfigure with upstream autogen.sh' in comment.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 134962 2015-04-12 08:20:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                teg
7version             0.11.2
8revision            6
9categories          games
10license             GPL-2
11maintainers         nomaintainer
12description         Tenes Empanadas Graciela - A risk clone
13long_description    Tenes Empanadas Graciela (TEG) is a clone of 'Plan Tactico y \
14                    Estrategico de la Guerra', which is a pseudo-clone of Risk, \
15                    a multiplayer turn-based strategy game.
16homepage            http://sourceforge.net/projects/teg/
17platforms           darwin
18master_sites        sourceforge:teg
19
20checksums           md5 1ec1ac9bd023b329b1e4a32bb48c9132 \
21                    sha1 29fe2fa895617d6d6fe9528bf56b43d22bd454f5 \
22                    rmd160 2069bb40936fbd87dcf04be145890d0ccb53f6d3
23
24depends_build       port:pkgconfig \
25                    port:intltool \
26                    port:rarian \
27                    port:gnome-common \
28                    port:autoconf \
29                    port:automake \
30                    port:libtool
31
32depends_lib         port:gconf \
33                    port:libgnomeui \
34                    port:libiconv \
35                    port:readline
36
37depends_run         port:yelp
38
39patchfiles          patch-configure.in.diff
40
41# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
42
43post-patch {
44    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
45}
46
47configure.cmd       ./autogen.sh
48
49configure.args      --disable-maintainer-mode \
50                    --with-readline \
51                    --enable-ggz=no
52
53pre-destroot {
54    file mkdir "${destroot}${prefix}/etc/gconf/gconf.xml.defaults/"
55    file mkdir "${destroot}${prefix}/etc/gconf/gconf.xml.defaults/apps/"
56    file mkdir "${destroot}${prefix}/etc/gconf/gconf.xml.defaults/schemas/apps/"
57}
58
59post-destroot {
60    file delete -force ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/apps/%gconf.xml
61    file delete -force ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/schemas/%gconf.xml
62    file delete -force ${destroot}${prefix}/etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml
63}
64
65post-activate    {
66    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
67        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
68}
Note: See TracBrowser for help on using the repository browser.