/
Portfile
38 lines (31 loc) · 1.35 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
# -*- 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
categories devel
platforms darwin
license boost
maintainers {@jmercouris atlas.engineer:administrator} \
{@catap korins.ky:kirill} \
openmaintainer
description Thin wrapper over POSIX syscalls.
long_description The purpose of libfixposix is to offer replacements \
for parts of POSIX whose behaviour is inconsistent \
across *NIX flavours.
github.setup sionescu libfixposix 0.5.1 v
checksums rmd160 738de46496318f6643e8b74556cbbaca68cf60d1 \
sha256 0c698a4483fee0b5830de668f113c242932adc68dfbffeb09bec527aa28539ce \
size 41318
# avoid collision with c++17 header <version>
patchfiles patch-version-txt.diff
post-patch {
move ${worksrcpath}/VERSION ${worksrcpath}/VERSION.txt
}
use_autoreconf yes
depends_build-append port:pkgconfig
configure.args-append --disable-silent-rules
variant tests description {enable tests} {
depends_test-append port:check
configure.args-append --enable-tests
test.run yes
test.target check
}