aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/di/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/di/Makefile')
-rw-r--r--sysutils/di/Makefile25
1 files changed, 10 insertions, 15 deletions
diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile
index 7589f3abdcf6..c26953c40750 100644
--- a/sysutils/di/Makefile
+++ b/sysutils/di/Makefile
@@ -1,22 +1,22 @@
-# New ports collection makefile for: di
-# Date created: 31 August 2002
-# Whom: Brad Lanam <bll@gentoo.com>
-#
+# Created by: Brad Lanam <bll@gentoo.com>
# $FreeBSD$
-#
PORTNAME= di
-PORTVERSION= 4.31
+PORTVERSION= 4.32
CATEGORIES= sysutils
-MASTER_SITES= http://www.gentoo.com/di/ \
- http://fresh.t-systems-sfr.com/unix/src/privat2/
+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
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB= NLS=""
.else
@@ -24,12 +24,7 @@ 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>
+.include <bsd.port.mk>