Skip to content

Commit 01172ed

Browse files
committed
di: update to 5.0.13
From the author via PR pkg/59099. Fixes #160. Version 5's code base has changed. The build process has changed and optionally uses cmake (3.13+). The display processing is entirely new code. Version 5 installs a shared library that can be used to get the disk space or percentages.
1 parent 5ddd9db commit 01172ed

File tree

3 files changed

+17
-20
lines changed

3 files changed

+17
-20
lines changed

sysutils/di/Makefile

+6-14
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
1-
# $NetBSD: Makefile,v 1.9 2020/01/02 19:34:29 bsiegert Exp $
1+
# $NetBSD: Makefile,v 1.10 2025/02/24 19:28:29 bsiegert Exp $
22

3-
DISTNAME= di-4.47.3
3+
DISTNAME= di-5.0.13
44
CATEGORIES= sysutils
5-
MASTER_SITES= https://gentoo.com/di/
5+
MASTER_SITES= https://sourceforge.net/projects/diskinfo-di/files/
66

77
MAINTAINER= [email protected]
8-
HOMEPAGE= https://gentoo.com/di/
8+
HOMEPAGE= https://diskinfo-di.sourceforge.io/
99
COMMENT= Alternative df command
1010
LICENSE= zlib
1111

1212
USE_LANGUAGES= c
13-
USE_TOOLS+= msgfmt
13+
USE_TOOLS+= msgfmt pkg-config sed tr grep sh
1414
USE_PKGLOCALEDIR= yes
1515

16-
MAKE_ENV+= prefix=${PREFIX} \
17-
LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale \
18-
INSTALL_DIR=${DESTDIR}${PREFIX} \
19-
INST_LOCALEDIR=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale \
20-
DI_MANINSTDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
21-
22-
# Leave pkgsrc to handle security features.
23-
MAKE_ENV+= NO_PIE=yes
24-
16+
.include "../../devel/cmake/build.mk"
2517
.include "../../devel/gettext-lib/buildlink3.mk"
2618
.include "../../mk/bsd.pkg.mk"

sysutils/di/PLIST

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
@comment $NetBSD: PLIST,v 1.1 2013/01/30 12:29:06 obache Exp $
1+
@comment $NetBSD: PLIST,v 1.2 2025/02/24 19:28:29 bsiegert Exp $
22
bin/di
3-
bin/mi
3+
include/di.h
4+
lib/libdi.so
5+
lib/libdi.so.5
6+
lib/libdi.so.5.0.13
7+
lib/pkgconfig/di.pc
48
man/man1/di.1
9+
man/man3/libdi.3
510
share/locale/de/LC_MESSAGES/di.mo
611
share/locale/en/LC_MESSAGES/di.mo
712
share/locale/es/LC_MESSAGES/di.mo

sysutils/di/distinfo

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.9 2021/10/26 11:19:30 nia Exp $
1+
$NetBSD: distinfo,v 1.10 2025/02/24 19:28:29 bsiegert Exp $
22

3-
BLAKE2s (di-4.47.3.tar.gz) = 04457d5107a850327e189005787c079a8ebb992c177818e3c5fa042bb7abd428
4-
SHA512 (di-4.47.3.tar.gz) = d97a99a720181bbd9f5de2c9a97b099e332df6ffbba8f59130dec19a85846339fef4a2db08f84561722262552e087619c8a181e7de1c3b5744b17312f84bab59
5-
Size (di-4.47.3.tar.gz) = 221113 bytes
3+
BLAKE2s (di-5.0.13.tar.gz) = d894e3d2942e31a0333558408d0505cef713080020a91ac9954d553ef18ea322
4+
SHA512 (di-5.0.13.tar.gz) = 1f558a2d3e4e6f4847e02ee664fb8f6f5362e593e745c2962bc777fe9e29f18f205d5454fcff779c1ce6f29e328c3364d322c926f8049c65819aed0085bcfe63
5+
Size (di-5.0.13.tar.gz) = 132783 bytes

0 commit comments

Comments
 (0)