aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/di/Makefile
blob: 133eed2022c60ed5a1dc8fed6ad143b9417fbd01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Brad Lanam <bll@gentoo.com>
# $FreeBSD$

PORTNAME=   di
PORTVERSION=    4.47.1
CATEGORIES= sysutils
MASTER_SITES=   https://gentoo.com/di/ \
        http://www.cyberbotx.com/di/

MAINTAINER= cyberbotx@cyberbotx.com
COMMENT=    Disk Information Utility

LICENSE=    ZLIB
LICENSE_FILE=   ${WRKSRC}/LICENSE

MAKE_ENV=   prefix="${PREFIX}"
MAKE_ARGS=  -e

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes

NLS_USES=   gettext
NLS_MAKE_ENV_OFF=   DI_NO_NLS=T

post-patch:
    @${REINPLACE_CMD} -e "s|zoneid_t|zoneId_t|g" ${WRKSRC}/C/di.c

pre-install:
    @${STRIP_CMD} ${WRKSRC}/C/di

.include <bsd.port.mk>