| 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 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup github 1.0 |
|---|
| 5 | |
|---|
| 6 | github.setup stevenhoneyman l3afpad 0.8.18.1.11 v |
|---|
| 7 | name l3afpad |
|---|
| 8 | license GPL-2+ |
|---|
| 9 | description A simple GTK+ 3 text editor that emphasizes simplicity. |
|---|
| 10 | long_description \ |
|---|
| 11 | ${description} |
|---|
| 12 | maintainers nomaintainer |
|---|
| 13 | categories editors gnome |
|---|
| 14 | platforms darwin |
|---|
| 15 | |
|---|
| 16 | checksums rmd160 35f5998c78b7c4141dcd5601fa9296dde4821782 \ |
|---|
| 17 | sha256 50d3e842c9c214e02e43da1f149831a36bd166528d3a2f7bb16a76f81ddf499d |
|---|
| 18 | |
|---|
| 19 | depends_build port:pkgconfig \ |
|---|
| 20 | port:intltool |
|---|
| 21 | |
|---|
| 22 | depends_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 | |
|---|
| 28 | pre-configure { |
|---|
| 29 | system -W ${worksrcpath} "${prefix}/bin/intltoolize --force --copy --automake" |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | use_autoreconf yes |
|---|
| 33 | autoreconf.args -fvi |
|---|
| 34 | |
|---|
| 35 | post-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 | |
|---|
| 40 | livecheck.type regex |
|---|
| 41 | livecheck.url ${master_sites} |
|---|
| 42 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
|---|