# New ports collection makefile for:	di
# Date created:			31 August 2002
# Whom:				Brad Lanam <bll@gentoo.com>
#
# $FreeBSD: ports/sysutils/di/Makefile,v 1.30 2011/12/12 10:10:18 culot Exp $
#

PORTNAME=	di
PORTVERSION=	4.31
CATEGORIES=	sysutils
MASTER_SITES=	http://www.gentoo.com/di/ \
		http://fresh.t-systems-sfr.com/unix/src/privat2/

MAINTAINER=	cyberbotx@cyberbotx.com
COMMENT=	Disk Information Utility

MAN1=		di.1

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	yes
PLIST_SUB=	NLS=""
.else
PLIST_SUB=	NLS="@comment "
MAKE_ENV+=	DI_NO_NLS=T
.endif

MAKE_ENV+=	prefix="${PREFIX}"
MAKE_JOBS_SAFE=	yes

.include <bsd.port.pre.mk>

post-patch:
	@${REINPLACE_CMD} -e "s|zoneid_t|zoneId_t|g" ${WRKSRC}/C/di.c

.include <bsd.port.post.mk>
