blob: 3d046db78e9397f0bf8f0841cb20174e4ebc0fc6 (
plain)
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
|
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>
|