Martin Matuska f9f091e7f7 sysutils/sg3_utils: add partial patch from vendor
Add patch to fix --contents= and --cfile= handling in sg_wr_mode

Patch source:
c27880048d
2025-08-07 10:18:11 +02:00

29 lines
664 B
Makefile

PORTNAME= sg3_utils
DISTVERSION= 1.48
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://sg.danny.cz/sg/p/
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of utilities that send SCSI commands to devices
WWW= https://sg.danny.cz/sg/sg3_utils.html
LICENSE= BSD2CLAUSE GPLv2+
LICENSE_COMB= multi
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/BSD_LICENSE
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
USES= gmake libtool shebangfix tar:tgz
USE_LDCONFIG= yes
SHEBANG_FILES= scripts/*
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
PLIST_SUB= SOVERSION=${DISTVERSION}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsgutils2*.so.*
.include <bsd.port.mk>