mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
061953141a
PR: 252305 Submitted by: cem
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|