summaryrefslogtreecommitdiff
path: root/sysutils/di/Makefile
blob: 7589f3abdcf6a020b2827ec1db50451c3996f714 (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
# New ports collection makefile for:	di
# Date created:			31 August 2002
# Whom:				Brad Lanam <bll@gentoo.com>
#
# $FreeBSD$
#

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>