source: trunk/dports/editors/bluefish/Portfile

Last change on this file was 145420, checked in by devans@…, 14 months ago

bluefish: build app bundle when +quartz is selected (#32163).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 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 145420 2016-02-04 18:46:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6
7name                bluefish
8version             2.2.8
9revision            1
10license             GPL-3+
11categories          editors www
12platforms           darwin
13maintainers         nomaintainer
14homepage            http://bluefish.openoffice.nl/
15description         A powerful editor for web designers
16
17long_description    Bluefish is a powerful editor for experienced web designers and \
18                    programmers. Bluefish supports many programming and markup languages \
19                    but it focuses on editing dynamic and interactive websites.
20
21dist_subdir         bluefish
22
23master_sites        http://www.bennewitz.com/bluefish/stable/source/ \
24                    http://bluefish.mrball.net/stable/source/ \
25                    sourceforge:project/bluefish/bluefish/${version}
26
27checksums           rmd160  71a3bdd15a9312c69a667d51c2b86aa7e5e7556c \
28                    sha256  32578f955cee3f43e5b3a86e2588e6a679df94438b21dcbe38e3c82282745000
29
30use_bzip2           yes
31
32depends_build       port:pkgconfig \
33                    port:intltool \
34                    port:gettext \
35                    port:autoconf \
36                    port:automake \
37                    port:libtool
38
39depends_lib         port:desktop-file-utils \
40                    port:shared-mime-info \
41                    port:gtk3 \
42                    port:libxml2 \
43                    port:enchant \
44                    port:gucharmap
45
46depends_run         port:gnome-themes-standard
47
48patchfiles          patch-configure.ac.diff
49
50# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
51
52post-patch {
53    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
54}
55
56configure.cmd       ./autogen.sh && ./configure
57
58configure.args      --with-gtk2=no \
59                    --disable-update-databases \
60                    --disable-silent-rules \
61                    --disable-python
62
63variant python27 description {Enable zen-coding plugin using Python 2.7} {
64    depends_lib-append  port:python27
65    configure.python    ${prefix}/bin/python2.7
66    configure.args-delete --disable-python
67}
68
69default_variants +python27
70
71variant quartz {}
72
73if {[variant_isset quartz]} {
74    PortGroup               app 1.0
75
76    require_active_variants gtk3 quartz
77    depends_lib-append      port:gtk-osx-application-gtk3
78    app.icon                images/bluefish-icon_128.png   
79} else {
80    require_active_variants gtk3 x11
81}
82
83post-activate {
84    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
85    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
86    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
87}
88
89livecheck.type      regex
90livecheck.url       http://www.bennewitz.com/bluefish/stable/source/
91livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.