20250809: * Fix CMake build issue * Fix some warnings on intentionally ignored return values * Use https:// URI scheme for MASTER_SITES * Remove GNU_CONFIGURE_MANPREFIX (already set by default in Mk/bsd.port.mk:2697) * Pet portclippy(1) and portfmt(1) PR: 289897 Submitted by: alven, takefu@airport.fm
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
PORTNAME= mbuffer
|
|
DISTVERSION= 20250809
|
|
CATEGORIES= misc
|
|
MASTER_SITES= https://www.maier-komor.de/software/mbuffer/
|
|
|
|
MAINTAINER= loader@FreeBSD.org
|
|
COMMENT= Tool for buffering data streams
|
|
WWW= https://www.maier-komor.de/mbuffer.html
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
TEST_DEPENDS= gtar:archivers/gtar
|
|
|
|
USES= autoreconf gmake localbase ssl tar:tgz
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
# for --ignore-failed-read
|
|
TEST_ARGS= TAR=gtar
|
|
TEST_TARGET= check
|
|
|
|
OPTIONS_DEFINE= GCRYPT MHASH RHASH
|
|
OPTIONS_DEFAULT= MHASH
|
|
|
|
GCRYPT_DESC= Use gcrypt for hash generation
|
|
MHASH_DESC= Use mhash for hash generation
|
|
RHASH_DESC= Use rhash for hash generation
|
|
|
|
GCRYPT_RUN_DEPENDS= libgcrypt>=1.8.4_1:security/libgcrypt
|
|
MHASH_RUN_DEPENDS= mhash>=0.9.9.9_5:security/mhash
|
|
RHASH_RUN_DEPENDS= rhash>=1.3.5:security/rhash
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's@bash@sh@' \
|
|
${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/mkversion.sh
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/mbuffer.rc \
|
|
${STAGEDIR}${PREFIX}/etc/mbuffer.rc.sample
|
|
|
|
.include <bsd.port.mk>
|