# $FreeBSD: head/devel/util-linux/Makefile 559764 2020-12-31 18:44:01Z yuri $ PORTNAME= util-linux DISTVERSION= 2.36 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= KERNEL_ORG/linux/utils/util-linux/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Random collection of Linux utilities LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= bash:shells/bash USES= autoreconf gettext-tools gmake libtool ncurses pkgconfig \ shebangfix tar:xz USE_LDCONFIG= yes SHEBANG_FILES= misc-utils/getopt-parse.bash GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --disable-ipcrm --disable-ipcs \ --disable-makeinstall-chown --disable-makeinstall-setuid INSTALL_TARGET= install-strip #CONFLICTS_INSTALL= cal getopt flock hardlink # non-default options conflicts OPTIONS_DEFINE= CAL FLOCK GETOPT HARDLINK UUID OPTIONS_SUB= yes CAL_DESC= Install util-linux cal(1) CAL_CONFIGURE_ENABLE= cal FLOCK_DESC= Install util-linux flock(1) FLOCK_CONFIGURE_ENABLE= flock GETOPT_DESC= Install util-linux getopt(1) GETOPT_CONFIGURE_ENABLE=getopt HARDLINK_DESC= Install util-linux hardlink(1) HARDLINK_CONFIGURE_ENABLE=hardlink UUID_DESC= Install libuuid UUID_CONFIGURE_ENABLE= libuuid post-install: # https://github.com/karelzak/util-linux/issues/1149 ${RM} -r ${STAGEDIR}${DOCSDIR} .include