-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
56 lines (42 loc) · 1.92 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -*- 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-
categories devel
maintainers nomaintainer
license BSD
platforms darwin linux
use_parallel_build yes
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