summaryrefslogtreecommitdiff
path: root/filesystems/libblkid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/libblkid/Makefile')
-rw-r--r--filesystems/libblkid/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/filesystems/libblkid/Makefile b/filesystems/libblkid/Makefile
new file mode 100644
index 000000000000..077bc2158912
--- /dev/null
+++ b/filesystems/libblkid/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= libblkid
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.41.1
+PORTREVISION= 1
+CATEGORIES= filesystems
+
+MAINTAINER= arrowd@FreeBSD.org
+COMMENT= Library to identify block devices (disks) as to their content
+WWW= https://github.com/util-linux/util-linux
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/Documentation/licenses/COPYING.BSD-3-Clause
+
+USES= bison meson pkgconfig tar:xz
+
+USE_GITHUB= yes
+GH_ACCOUNT= util-linux
+GH_PROJECT= util-linux
+
+USE_LDCONFIG= yes
+# disable all Meson features because the project has gazillion of them and we only need few
+MESON_ARGS= --auto-features=disabled \
+ -Dallow-32bit-time=true \
+ -Db_lundef=false \
+ -Dbuild-libblkid=enabled \
+ -Dbuild-libsmartcols=disabled \
+ -Dprogram-tests=false # dependency of libblkid
+
+OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFAULT= MANPAGES
+OPTIONS_SUB= yes
+MANPAGES_BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor
+
+.include <bsd.port.mk>