Ticket #52246: Portfile-l3afpad

File Portfile-l3afpad, 1.3 KB (added by Russell-Jones-OxPhys (Russell Jones), 8 years ago)

Portfile for l3afpad 0.8.18.1.11

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
3PortSystem      1.0
4PortGroup       github 1.0
5
6github.setup    stevenhoneyman l3afpad 0.8.18.1.11 v
7name            l3afpad
8license         GPL-2+
9description     A simple GTK+ 3 text editor that emphasizes simplicity.
10long_description \
11                ${description}
12maintainers     nomaintainer
13categories      editors gnome
14platforms       darwin
15
16checksums           rmd160  35f5998c78b7c4141dcd5601fa9296dde4821782 \
17                    sha256  50d3e842c9c214e02e43da1f149831a36bd166528d3a2f7bb16a76f81ddf499d
18
19depends_build   port:pkgconfig \
20                port:intltool
21
22depends_lib     port:gtk3 \
23                port:freetype \
24                port:desktop-file-utils
25
26# reconfigure using intltoolize and autoreconf (no autogen.sh available) for intltool 0.51 compatibility
27
28pre-configure {
29    system -W ${worksrcpath} "${prefix}/bin/intltoolize --force --copy --automake"
30}
31
32use_autoreconf  yes
33autoreconf.args -fvi
34
35post-activate {
36    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
37    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
38}
39
40livecheck.type  regex
41livecheck.url   ${master_sites}
42livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"