ports/sysutils/di/Makefile
Naram Qashat ccca232b0a sysutils/di: update to 4.53
Swith to DISTVERSION.
Add TEST_TARGET and USES=perl5 to test phase.

Changelog:
Fixed library check for modern compilers.
Removed old D language stuff.
Remove support for K&R compilers and ancient systems.
Fix debug output for env vars.
DI_ARGS: print error and exit when encountering unknown data.

PR:		280151
Approved by:	submitter is maintainer
2024-07-08 07:22:10 +02:00

29 lines
489 B
Makefile

PORTNAME= di
DISTVERSION= 4.53
CATEGORIES= sysutils
MASTER_SITES= SF/diskinfo-di
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Disk Information Utility
WWW= https://diskinfo-di.sourceforge.io/
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= perl5
USE_PERL5= test
MAKE_ARGS= -e
MAKE_ENV= prefix="${PREFIX}"
TEST_TARGET= test
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_MAKE_ENV_OFF= DI_NO_NLS=T
pre-install:
@${STRIP_CMD} ${WRKSRC}/C/di
.include <bsd.port.mk>