Files

60 lines
2.0 KiB
Tcl

# -*- 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
PortSystem 1.0
name gal
version 2.5.3
revision 2
checksums rmd160 caa7322c430059832829107027faa6fe7cee6e94 \
sha256 e10cea25cfe44e394f8a257bd65bb16201900484227bc9ea9ab6531fab58a5e7 \
size 1153998
license LGPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description GNOME Application Libs (GAL).
long_description \
The GNOME Application Libs (GAL) module contains \
some library functions that came from Gnumeric \
and Evolution. The idea is to reuse the code \
across various larger GNOME applications that \
might want to use it. This module is outdated \
and no longer used in the GNOME project.
maintainers nomaintainer
categories gnome
homepage https://www.gnome.org
master_sites gnome:sources/${name}/${branch}/
depends_build port:intltool \
path:bin/pkg-config:pkgconfig
depends_lib port:libgnomeprintui \
port:libgnomecanvas \
port:libgnomeui \
port:dbus-glib
use_bzip2 yes
patchfiles implicit.patch \
dynamic_lookup-11.patch \
no-intltool-perl.patch \
patch-gal-widgets-e-unicode.h.diff
configure.args --mandir=${prefix}/share/man
universal_variant no
platform darwin arm {
depends_build-append port:automake
post-patch {
# Use newer config.guess and config.sub to support Apple Silicon.
set automake_dirs [glob -directory ${prefix}/share automake-*]
set automake_dir [lindex [lsort -command vercmp $automake_dirs] end]
copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \
${worksrcpath}
}
}
livecheck.type gnome-with-unstable