mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
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
29 lines
489 B
Makefile
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>
|