# -*- 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 # $Id$ PortSystem 1.0 name leafpad version 0.8.18.1 license GPL-2+ description A simple GTK+ 2 text editor that emphasizes simplicity. long_description \ ${description} maintainers nomaintainer categories editors gnome platforms darwin homepage http://tarot.freeshell.org/leafpad/ master_sites http://savannah.nongnu.org/download/leafpad/ checksums rmd160 df9caa1d4248e7da3dc5ecae31f3e758f477732e \ sha256 959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c depends_build port:pkgconfig \ port:intltool depends_lib port:gtk2 \ port:freetype \ port:desktop-file-utils # reconfigure using intltoolize and autoreconf (no autogen.sh available) for intltool 0.51 compatibility pre-configure { system -W ${worksrcpath} "${prefix}/bin/intltoolize --force --copy --automake" } use_autoreconf yes autoreconf.args -fvi post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"