Files
Joshua Root 281b029bd8 devel/[i-r]*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-15 17:17:44 +11:00

58 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:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup deprecated 1.0
github.setup atheme-legacy libmcs 0.7.2 libmcs-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
categories devel
maintainers nomaintainer
license BSD
platforms darwin linux
description a library and set of tools which abstract the storage of configuration \
settings away from userland applications
long_description The libmcs package is a library and set of tools which abstract the \
storage of configuration settings away from userland applications.
checksums rmd160 6bd840b24e7825d8315b99c51f9a9bcbc5b8c184 \
sha256 09691556056cb20140d0f5ba284475445f2245891f3f0448e6cb629ff2b5783b \
size 70417
patchfiles check-for-cpp.patch \
patch-m4-buildsys.m4.diff
post-patch {
# remove terminal color sequences so the log is readable.
reinplace {s|\\033[^m]*m||g} ${worksrcpath}/buildsys.mk.in
}
# see autogen.sh
pre-configure {
system -W ${worksrcpath} "${prefix}/bin/aclocal -I m4"
system -W ${worksrcpath} ${prefix}/bin/autoheader
}
# We are patching configure.ac and m4 files.
use_autoconf yes
configure.args --disable-gconf \
--disable-kconfig
configure.universal_args-delete \
--disable-dependency-tracking
depends_build-append path:bin/pkg-config:pkgconfig
depends_lib port:libmowgli
variant gconf description {Build with gconf support} {
depends_lib-append port:gconf
configure.args-replace --disable-gconf \
--enable-gconf
}
deprecated.upstream_support no