source: trunk/dports/gnome/gucharmap/Portfile @ 71696

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

As a simplification, remove p5-xml-parser as a dependency when its dependent intltool is also declared.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 71696 2010-09-20 16:50:12Z devans@macports.org $
3
4PortSystem 1.0
5
6name            gucharmap
7version         2.30.3
8set branch      [join [lrange [split ${version} .] 0 1] .]
9description     gucharmap is a featureful unicode character map.
10long_description ${description}
11maintainers     devans openmaintainer
12categories      gnome
13platforms       darwin
14homepage        http://www.gnome.org/
15master_sites    gnome:sources/${name}/${branch}/
16
17checksums       md5     aa94a5dc04f2d38db37b3cb6f332066a \
18                sha1    ea2cc180ad6cf892a6e68fc3a0527e0ecc0eaec5 \
19                rmd160  c563a052ed400305e8dd52e98df8d87012629b83
20
21depends_build   port:pkgconfig \
22                port:intltool \
23                port:gnome-doc-utils \
24                port:gtk-doc
25
26depends_lib     port:gconf \
27                port:py26-gtk
28
29use_bzip2       yes
30
31patchfiles      patch-configure.diff
32
33configure.args  --disable-schemas-install \
34                --disable-scrollkeeper \
35                --disable-introspection \
36                --enable-python-bindings
37
38configure.python ${prefix}/bin/python2.6
39set python_framework ${frameworks_dir}/Python.framework/Versions/2.6
40configure.pkg_config_path ${python_framework}/lib/pkgconfig
41
42#
43# py26-gtk -> py26-cairo -> py26-numpy -> atlas is not universal
44#
45
46universal_variant no
47
48post-activate   {
49    system "${prefix}/bin/scrollkeeper-update"
50    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
51    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
52        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
53}
54
55livecheck.type  regex
56livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
57livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.