Files
2026-07-01 08:43:41 -04:00

62 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
PortGroup github 1.0
github.setup mypaint libmypaint 1.6.1 v
revision 1
checksums rmd160 1c09037ab87cadddb57345e5fc2057ba4fadfe23 \
sha256 741754f293f6b7668f941506da07cd7725629a793108bb31633fb6c3eae5315f \
size 519464
categories graphics
maintainers {ryandesign @ryandesign} {devans @dbevans} openmaintainer
# license ISC
license Permissive
description The MyPaint Brush Library
long_description libmypaint, a.k.a. \"brushlib\", is a library for making brushstrokes \
which is used by MyPaint and other projects.
github.tarball_from releases
use_xz yes
# Using the same python as MyPaint (if higher) for consistency.
set python_branch 3.14
set python_version [string map {. {}} ${python_branch}]
depends_build port:gettext \
port:intltool \
port:pkgconfig \
port:python${python_version}
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:json-c \
port:gettext-runtime
# reconfigure with our intltool.m4 using upstream autogen.sh
post-extract {
xinstall ${filespath}/autogen.sh ${worksrcpath}
}
use_autoreconf yes
autoreconf.cmd ./autogen.sh
autoreconf.env ACLOCAL=${prefix}/bin/aclocal \
AUTOCONF=${prefix}/bin/autoconf \
AUTOHEADER=${prefix}/bin/autoheader \
AUTOMAKE=${prefix}/bin/automake \
LIBTOOLIZE=${prefix}/bin/glibtoolize \
PYTHON=${prefix}/bin/python${python_branch}
depends_build-append \
port:autoconf \
port:automake \
port:libtool
configure.args --with-glib
test.run yes
test.target check
github.livecheck.regex {(\d+(?:\.\d+)+)}