pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dfc sysutils/dfc: Import dfc-3.1.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/a8ec8b75c27d
branches: trunk
changeset: 368388:a8ec8b75c27d
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Sep 16 09:30:26 2017 +0000
description:
sysutils/dfc: Import dfc-3.1.1
dfc displays file system space usage using graphs and colors. In some ways,
it is a modernized version of df as it is able to use colors, draw graphs
and export its output to different formats such as CSV or HTML.
Packaged by Matteo Cypriani in PR 52543.
diffstat:
sysutils/dfc/DESCR | 3 +++
sysutils/dfc/Makefile | 31 +++++++++++++++++++++++++++++++
sysutils/dfc/PLIST | 16 ++++++++++++++++
sysutils/dfc/distinfo | 7 +++++++
sysutils/dfc/patches/patch-services-bsd.c | 15 +++++++++++++++
5 files changed, 72 insertions(+), 0 deletions(-)
diffs (92 lines):
diff -r a9a8848f6ba5 -r a8ec8b75c27d sysutils/dfc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dfc/DESCR Sat Sep 16 09:30:26 2017 +0000
@@ -0,0 +1,3 @@
+dfc displays file system space usage using graphs and colors. In some ways,
+it is a modernized version of df as it is able to use colors, draw graphs
+and export its output to different formats such as CSV or HTML.
diff -r a9a8848f6ba5 -r a8ec8b75c27d sysutils/dfc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dfc/Makefile Sat Sep 16 09:30:26 2017 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2017/09/16 09:30:26 wiz Exp $
+
+DISTNAME= dfc-3.1.1
+CATEGORIES= sysutils
+MASTER_SITES= http://projects.gw-computing.net/attachments/download/615/
+# Note: the number at the end of the URL above changes for each release
+
+MAINTAINER= mcy%lm7.fr@localhost
+HOMEPAGE= http://projects.gw-computing.net/projects/dfc
+COMMENT= Display file system space usage using graph and colors
+LICENSE= modified-bsd
+
+USE_CMAKE= yes
+CMAKE_ARGS+= -DMAN_PATH=${PREFIX}/${PKGMANDIR}
+
+EGDIR= ${PREFIX}/share/examples/dfc
+INSTALLATION_DIRS= ${EGDIR}
+MAKE_DIRS= ${PKG_SYSCONFDIR}/xdg
+OWN_DIRS= ${PKG_SYSCONFDIR}/xdg/dfc
+CONF_FILES= ${EGDIR}/dfcrc ${PKG_SYSCONFDIR}/xdg/dfc/dfcrc
+USE_PKGLOCALEDIR= yes
+CMAKE_ARGS+= -DNLS_ENABLED=true
+
+post-install:
+ ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/dfcrc ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/fr/dfcrc ${DESTDIR}${EGDIR}/dfcrc.fr
+ ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/dfc/nl/dfcrc ${DESTDIR}${EGDIR}/dfcrc.nl
+
+.include "../../devel/gettext-tools/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a9a8848f6ba5 -r a8ec8b75c27d sysutils/dfc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dfc/PLIST Sat Sep 16 09:30:26 2017 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/16 09:30:26 wiz Exp $
+bin/dfc
+man/fr/man1/dfc.1
+man/man1/dfc.1
+man/nl/man1/dfc.1
+share/doc/dfc/AUTHORS.md
+share/doc/dfc/CHANGELOG.md
+share/doc/dfc/HACKING.md
+share/doc/dfc/LICENSE
+share/doc/dfc/README.md
+share/doc/dfc/TRANSLATORS.md
+share/examples/dfc/dfcrc
+share/examples/dfc/dfcrc.fr
+share/examples/dfc/dfcrc.nl
+share/locale/fr/LC_MESSAGES/dfc.mo
+share/locale/nl/LC_MESSAGES/dfc.mo
diff -r a9a8848f6ba5 -r a8ec8b75c27d sysutils/dfc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dfc/distinfo Sat Sep 16 09:30:26 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/09/16 09:30:26 wiz Exp $
+
+SHA1 (dfc-3.1.1.tar.gz) = 948e5ce2eb94bd2ce75475b5e57db0d1023397f6
+RMD160 (dfc-3.1.1.tar.gz) = 2caa55133f5757aaf42e82245dde35051e47a6e4
+SHA512 (dfc-3.1.1.tar.gz) = eac2c8d464d57626efe939f515889cf91510f7e6eb50382d045204d4f1d6b9b9f0af4b1d8974c9cbcff1eb5b8802157e421ec06e5a1e38dac74eba72f43f9701
+Size (dfc-3.1.1.tar.gz) = 52709 bytes
+SHA1 (patch-services-bsd.c) = 8edc22ac323bd14af617177f100d169f61b267a0
diff -r a9a8848f6ba5 -r a8ec8b75c27d sysutils/dfc/patches/patch-services-bsd.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dfc/patches/patch-services-bsd.c Sat Sep 16 09:30:26 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-services-bsd.c,v 1.1 2017/09/16 09:30:26 wiz Exp $
+
+Drop usage of MNT_HIDDEN on NetBSD.
+--- src/platform/services-bsd.c~ 2017-09-09 03:11:03.000000000 -0400
++++ src/platform/services-bsd.c 2017-09-14 15:10:22.000000000 -0400
+@@ -246,9 +246,6 @@
+ #if defined(__FreeBSD__)
+ { MNT_GJOURNAL, "gjournal" },
+ #endif
+-#if defined(__NetBSD__)
+- { MNT_HIDDEN, "hidden" },
+-#endif
+ #if defined(__APPLE__)
+ { MNT_JOURNALED, "journaled" },
+ #endif
Home |
Main Index |
Thread Index |
Old Index