freebsd-ports/sysutils/dfc/Makefile
Baptiste Daroussin 1145d6019e - update to 3.0.0
- add an options for NLS
- upstream changes:
  * fix size and inode calculation on FreeBSD
  * new aguments:
    -l: show only local mounts
    -d: show the used size
    -e: allow to export informations in TeX, HTML, CSV
    -p: filter on file system name
    -q: sort the output
  * more: http://projects.gw-computing.net/news/12
2012-06-15 21:53:04 +00:00

36 lines
724 B
Makefile

# New ports collection makefile for: dfc
# Date created: 2012-04-01
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dfc
PORTVERSION= 3.0.0
CATEGORIES= sysutils
MASTER_SITES= http://projects.gw-computing.net/attachments/download/63/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Display file system space usage using graph and colors
LICENSE= BSD
OPTIONS_DEFINE= NLS
USE_CMAKE= yes
CMAKE_ARGS+= -DMAN_PATH=${MANPREFIX}/man -DDFC_DOC_PATH=${DOCSDIR}
MANLANG= "" fr
MAN1= dfc.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
CMAKE_ARGS+= -DNLS_ENABLED=true
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CMAKE_ARGS+= -DNLS_ENABLED=false
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>