# -*- 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: Portfile 144133 2016-01-02 23:33:23Z afb@macports.org $ PortSystem 1.0 name mousepad version 0.4.0 set branch [join [lrange [split ${version} .] 0 1] .] categories xfce platforms darwin license GPL-2+ maintainers afb description A text editor for Xfce based on Leafpad long_description ${description} homepage http://www.xfce.org/ master_sites http://archive.xfce.org/src/apps/${name}/${branch}/ use_bzip2 yes checksums md5 f55314c5dda6323883241e6cf01550a7 \ sha1 ebadaadc02184b01230666dc12f8ab90032876f9 \ sha256 60114431eac8db6bb6ce18bd38f1630cccb684375b97a445a1b6fd619848d132 depends_build port:intltool port:pkgconfig depends_lib port:gtk2 port:gtksourceview2 \ port:libxfce4util port:libxfce4ui configure.args --enable-dbus --disable-gtk3 post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" }