Source
# -*- 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 snowleopard_fixes 1.0
name util-linux
version 2.29.2
set branch [join [lrange [split ${version} .] 0 1] .]
categories devel
platforms darwin
maintainers {khindenburg @kurthindenburg} openmaintainer
license BSD GPL-2+ public-domain
description Linux utility programs
long_description ${name} contains miscellaneous utility programs \
to handle file systems, consoles, partitions, \
and messages. This port contains ONLY those parts \
of ${name} that run on Darwin.
homepage http://freecode.com/projects/util-linux
master_sites https://www.kernel.org/pub/linux/utils/util-linux/v${branch}/
use_xz yes
checksums rmd160 70bfcbef7210c3a28b067fc064b5619061339fe0 \
sha256 accea4d678209f97f634f40a93b7e9fcad5915d1f4749f6c47bee6bf110fe8e3 \
size 4277668
depends_lib port:gettext \
port:ncurses
configure.args --disable-agetty \
--disable-cramfs \
--disable-eject \
--disable-fallocate \
--disable-fsck \
--disable-kill \
--disable-libblkid \
--disable-libmount \
--disable-libuuid \
--disable-login \
--disable-losetup \
--disable-mount \
--disable-mountpoint \
--disable-partx \
--disable-pg \
--disable-pg-bell \
--disable-pivot_root \
--disable-schedutils \
--disable-silent-rules \
--disable-su \
--disable-sulogin \
--disable-switch_root \
--disable-unshare \
--disable-uuidd \
--disable-wall \
--without-audit \
--without-python
# When adding new programs, check the .c file for license
build.target colcrt column look rename rev scriptreplay setsid
destroot {