1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/sysutils/di/Makefile
Guido Falsi 38f15c263c - Update to 4.33
- Add OPTIONS_DEFINE for NLS

PR:		ports/173653
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Feature safe:	yes
2012-11-15 22:34:32 +00:00

33 lines
559 B
Makefile

# Created by: Brad Lanam <bll@gentoo.com>
# $FreeBSD$
PORTNAME= di
PORTVERSION= 4.33
CATEGORIES= sysutils
MASTER_SITES= http://www.gentoo.com/di/
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Disk Information Utility
MAKE_ENV+= prefix="${PREFIX}"
MAKE_JOBS_SAFE= yes
MAN1= di.1
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB= NLS=""
.else
PLIST_SUB= NLS="@comment "
MAKE_ENV+= DI_NO_NLS=T
.endif
post-patch:
@${REINPLACE_CMD} -e "s|zoneid_t|zoneId_t|g" ${WRKSRC}/C/di.c
.include <bsd.port.mk>