source: trunk/dports/editors/leafpad/Portfile

Last change on this file was 135559, checked in by devans@…, 2 years ago

leafpad: reconfigure using intltoolize and autoreconf (no autogen.sh available) for intltool 0.51 compatibility.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 135559 2015-04-26 14:16:59Z ryandesign@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# reconfigure using intltoolize and autoreconf (no autogen.sh available) for intltool 0.51 compatibility
29
30pre-configure {
31    system -W ${worksrcpath} "${prefix}/bin/intltoolize --force --copy --automake"
32}
33
34use_autoreconf  yes
35autoreconf.args -fvi
36
37post-activate {
38    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
39    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
40}
41
42livecheck.type  regex
43livecheck.url   ${master_sites}
44livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.