- 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
This commit is contained in:
Guido Falsi 2012-10-26 12:18:41 +00:00
parent f9d5d91db9
commit 3d940d9280
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306436
2 changed files with 12 additions and 17 deletions

View file

@ -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>

View file

@ -1,2 +1,2 @@
SHA256 (di-4.31.tar.gz) = 148c263a1058f6643bd7e347d8f34e59caa9fcb71d1938f1344b077784f7f8fb
SIZE (di-4.31.tar.gz) = 184703
SHA256 (di-4.32.tar.gz) = b6483327484b9bd5a63eb7d3c51bdfa9f5614c06a1fc37b3b05ad710821a0dc8
SIZE (di-4.32.tar.gz) = 212774