source: trunk/dports/editors/leafpad/Portfile @ 123038

Last change on this file since 123038 was 123038, checked in by devans@…, 6 years ago

leafpad: update to version 0.8.18.1, depend on intltool and autoreconf to reconfigure with our intltool.m4.

  • 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 123038 2014-08-04 03:49:11Z devans@macports.org $
3
4PortSystem      1.0
5
6name            leafpad
7version         0.8.18.1
8license         GPL-2+
9description     A simple GTK+ 2 text editor that emphasizes simplicity.
10long_description \
11                ${description}
12maintainers     nomaintainer
13categories      editors gnome
14platforms       darwin
15homepage        http://tarot.freeshell.org/leafpad/
16master_sites    http://savannah.nongnu.org/download/leafpad/
17
18checksums       rmd160  df9caa1d4248e7da3dc5ecae31f3e758f477732e \
19                sha256  959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c
20
21depends_build   port:pkgconfig \
22                port:intltool
23
24depends_lib     port:gtk2 \
25                port:freetype \
26                port:desktop-file-utils
27
28# autoreconf to reconfigure with our intltool.m4
29
30use_autoreconf  yes
31autoreconf.args -fvi
32
33post-activate {
34    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
35    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
36}
37
38livecheck.type  regex
39livecheck.url   ${master_sites}
40livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.