opnsense-ports/sysutils/di/Makefile
Franco Fichtner 85d066a61f */*: sync with upstream
Taken from: HardenedBSD
2018-09-03 02:25:18 +02:00

31 lines
570 B
Makefile

# Created by: Brad Lanam <bll@gentoo.com>
# $FreeBSD$
PORTNAME= di
PORTVERSION= 4.47
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>