aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/di/Makefile
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2012-10-26 20:18:41 +0800
committermadpilot <madpilot@FreeBSD.org>2012-10-26 20:18:41 +0800
commitdff42c3b8b3717dd75485813d595889baeee6a13 (patch)
treec87df72fbe30a8ef99d41dd9e7bbb05aaa021675 /sysutils/di/Makefile
parent60e26cd78807e314b21a134033f1c5888339b92e (diff)
downloadfreebsd-ports-gnome-dff42c3b8b3717dd75485813d595889baeee6a13.tar.gz
freebsd-ports-gnome-dff42c3b8b3717dd75485813d595889baeee6a13.tar.zst
freebsd-ports-gnome-dff42c3b8b3717dd75485813d595889baeee6a13.zip
- Update to 4.32
- Remove dead MASTER_SITE - Convert NLS check to new options framework - Move MAKE_* variables before the .include - Trim Makefile headers PR: ports/173081 Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> Feature safe: yes
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>