source: trunk/dports/gnome/galeon/Portfile @ 115764

Last change on this file since 115764 was 115764, checked in by devans@…, 4 years ago

dependents of gnome-desktop: increment revision to rebuild with libgnome-desktop-3.8.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.6 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 115764 2014-01-10 22:14:30Z devans@macports.org $
3
4PortSystem      1.0
5
6name            galeon
7license         GPL-2
8version         2.0.7
9revision        3
10description     A GNOME web browser.
11long_description \
12                Galeon is a GNOME Web browser based on gecko (the \
13                mozilla rendering engine). It's fast, it has a \
14                light interface, and it is fully standards-compliant.
15maintainers     nomaintainer
16categories      gnome www
17platforms       darwin
18homepage        http://galeon.sourceforge.net/
19master_sites    sourceforge
20use_bzip2       yes
21checksums       md5 2eede1f43e3f6f2ac4ce7d4db99b15b2 \
22                sha1 14ccb53a7b3f398eb3ac3f7ca6aeb63348689a62 \
23                rmd160 a443dfc11447a006d21d9e7852c616b41492a6f6
24
25depends_build   port:pkgconfig \
26                port:intltool
27
28depends_lib     port:libgnomeui \
29                port:libglade2 \
30                port:gnome-vfs \
31                port:gnome-desktop \
32                port:xulrunner
33
34#               path:lib/pkgconfig/libxul.pc:xulrunner
35
36supported_archs i386 ppc
37
38patchfiles      galeon-2.0.7-plugins.patch \
39                galeon-2.0.7-gtkprint.patch \
40                galeon-2.0.7-dfltfont.patch \
41                galeon-2.0.7-warnings.patch \
42                galeon-2.0.7-moz191.patch \
43                galeon-2.0.7-jsconsole.patch \
44                galeon-2.0.7-fix-str-fmt.patch \
45                galeon-2.0.7-dockcrash.patch \
46                galeon-2.0.7-moz192.patch \
47                galeon-2.0.7-nojavaconsole.patch \
48                galeon-2.0.7-spinnericon.patch \
49                galeon-2.0.7-libX11.patch \
50                galeon-2.0.7-bug418439.patch \
51                0001-Workaround-embed-missing-crash.patch \
52                0001-Workaround-tab-label-related-crashes.patch \
53                0001-Use-existing-network-status-icons-for-the-online-off.patch \
54                galeon-2.0.7-libxul-embedding.patch \
55                galeon-2.0.7-macports-cflags.patch \
56                patch-mozilla-MozRegisterComponents.cpp.diff
57
58patch.pre_args  -p1
59
60use_autoreconf  yes
61autoreconf.args -fvi
62
63pre-configure {
64    set component_cflags "[ exec ${prefix}/bin/pkg-config --cflags libxul-embedding ]"
65        if { ![ file exists ${prefix}/lib/pkgconfig/mozilla-nspr.pc ] } {
66           set component_cflags "${component_cflags} -I${prefix}/include/nspr"
67        }
68        set component_libs [ exec ${prefix}/bin/pkg-config --libs libxul-embedding ]
69        configure.env-append MOZILLA_COMPONENT_CFLAGS="${component_cflags}" \
70                             MOZILLA_COMPONENT_LIBS="${component_libs}" \
71                             XPCOM_COMPONENT_CFLAGS="${component_cflags}" \
72                             XPCOM_COMPONENT_LIBS="${component_libs}"
73}
74
75configure.args \
76        --mandir=${prefix}/share/man \
77        --enable-nautilus-view=no \
78                --with-mozilla=libxul-embedding
79
80post-destroot {
81    # make a da script happen
82    file copy ${destroot}${prefix}/bin/galeon ${destroot}${prefix}/bin/galeon-bin
83    file copy -force ${filespath}/galeon ${destroot}${prefix}/bin/galeon
84   
85    # use da ${prefix} Luke ...
86    reinplace "s|/opt/local|${prefix}|g" ${destroot}${prefix}/bin/galeon
87}
88
89post-activate {
90    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
91        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
92}
93
94livecheck.url           http://sourceforge.net/projects/${name}/files/
95livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)\\.tar"
Note: See TracBrowser for help on using the repository browser.