Import dfc 3.0.0.

dfc is a simple tool that display file system space usage using graphs
and colors. It can also output to CSV, TeX or HTML.

ok jasper@ giovanni@
This commit is contained in:
landry 2012-06-01 13:01:45 +00:00
parent 8e69561317
commit b6d7d7f6d8
5 changed files with 71 additions and 0 deletions

24
sysutils/dfc/Makefile Normal file
View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/06/01 13:01:45 landry Exp $
COMMENT = display file system space usage using graph and colors
DISTNAME = dfc-3.0.0
CATEGORIES = sysutils
MASTER_SITES = http://projects.gw-computing.net/attachments/download/63/
HOMEPAGE = http://projects.gw-computing.net/projects/dfc
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES = devel/cmake devel/gettext
WANTLIB = c
NO_REGRESS = Yes
CONFIGURE_ARGS =-DXDG_CONFIG_DIR=${PREFIX}/share/examples \
-DMAN_PATH=${PREFIX}/man
.include <bsd.port.mk>

5
sysutils/dfc/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (dfc-3.0.0.tar.gz) = bGTGtsO89ugjdsuyvHvOnQ==
RMD160 (dfc-3.0.0.tar.gz) = wGrPyVSP8MjmuF6zegztpmiZJ+0=
SHA1 (dfc-3.0.0.tar.gz) = deDvvWTo67Fa5lVbXb20yzE8fko=
SHA256 (dfc-3.0.0.tar.gz) = cDxA6Z7u52S1OvPioWFZ/iT4cVJ4CULTB6hlNbB8Wo8=
SIZE (dfc-3.0.0.tar.gz) = 39334

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2012/06/01 13:01:45 landry Exp $
--- CMakeLists.txt.orig Thu May 31 00:25:46 2012
+++ CMakeLists.txt Fri Jun 1 09:58:51 2012
@@ -70,6 +70,7 @@ endif()
# Check for libintl
find_package(Libintl)
+find_library(LIBICONV_LIBRARIES NAMES iconv)
if (LIBINTL_FOUND)
option(NLS_ENABLED "Translation support with gettext" on)
else()
@@ -129,7 +130,7 @@ if(NLS_ENABLED)
add_subdirectory(po)
include_directories(${LIBINTL_INCLUDE_DIR})
- target_link_libraries(${EXECUTABLE_NAME} ${LIBINTL_LIBRARIES})
+ target_link_libraries(${EXECUTABLE_NAME} ${LIBICONV_LIBRARIES} ${LIBINTL_LIBRARIES})
endif()
set(DFC_DOC_FILES

2
sysutils/dfc/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
dfc is a simple tool that display file system space usage using graphs
and colors. It can also output to CSV, TeX or HTML.

20
sysutils/dfc/pkg/PLIST Normal file
View File

@ -0,0 +1,20 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/06/01 13:01:45 landry Exp $
@bin bin/dfc
man/fr/
man/fr/man1/
@man man/fr/man1/dfc.1
@man man/man1/dfc.1
share/doc/dfc/
share/doc/dfc/AUTHORS
share/doc/dfc/HACKING
share/doc/dfc/LICENSE
share/doc/dfc/README
share/doc/dfc/TRANSLATORS
share/examples/dfc/
@sample ${SYSCONFDIR}/xdg/
@sample ${SYSCONFDIR}/xdg/dfc/
share/examples/dfc/dfcrc
@sample ${SYSCONFDIR}/xdg/dfc/dfcrc
share/examples/dfc/fr/
share/examples/dfc/fr/dfcrc
share/locale/fr/LC_MESSAGES/dfc.mo