freebsd-ports/sysutils/di/Makefile

35 lines
668 B
Makefile
Raw Normal View History

# New ports collection makefile for: di
# Date created: 31 August 2002
# Whom: Brad Lanam <bll@gentoo.com>
#
# $FreeBSD$
#
PORTNAME= di
PORTVERSION= 4.27
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+= LDFLAGS="${LDFLAGS}" prefix="${PREFIX}"
2003-05-18 11:30:17 +02:00
2007-05-26 22:38:49 +02:00
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s|zoneid_t|zoneId_t|g" ${WRKSRC}/C/di.c
2007-05-26 22:38:49 +02:00
.include <bsd.port.post.mk>