aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dfc/Makefile
blob: ec670754f1736a8b464a6f075a862a2d627a7f5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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

USES=		cmake
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>