source: trunk/dports/xfce/mousepad/Portfile

Last change on this file was 144133, checked in by afb@…, 21 months ago

mass upgrade from Xfce 4.6.2 to Xfce 4.12 (#31203)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 144133 2016-01-02 23:33:23Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            mousepad
7version         0.4.0
8set branch      [join [lrange [split ${version} .] 0 1] .]
9categories      xfce
10platforms       darwin
11license         GPL-2+
12maintainers     afb
13description     A text editor for Xfce based on Leafpad
14long_description ${description}
15homepage        http://www.xfce.org/
16master_sites    http://archive.xfce.org/src/apps/${name}/${branch}/
17use_bzip2       yes
18checksums       md5 f55314c5dda6323883241e6cf01550a7 \
19                sha1 ebadaadc02184b01230666dc12f8ab90032876f9 \
20                sha256 60114431eac8db6bb6ce18bd38f1630cccb684375b97a445a1b6fd619848d132
21
22depends_build   port:intltool port:pkgconfig
23depends_lib     port:gtk2 port:gtksourceview2 \
24                port:libxfce4util port:libxfce4ui
25
26configure.args  --enable-dbus --disable-gtk3
27
28post-activate {
29    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
30    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
31
32    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
33}
Note: See TracBrowser for help on using the repository browser.