freebsd-ports/misc/mbuffer/Makefile
Fukang Chen 4e5069c63b misc/mbuffer: Update to 20210328
- Update to 20210328
- Switch to USES=autoreconf gmake instead of patching configure and Makefile.in
- Take maintainership

Reviewed by:	koobs
Approved by:	koobs (ports, mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D30338
MFH:		No (feature release)
2021-05-19 10:03:34 +00:00

40 lines
975 B
Makefile

# Created by: Rong-En Fan <rafan@FreeBSD.org>
PORTNAME= mbuffer
PORTVERSION= 20210328
CATEGORIES= misc
MASTER_SITES= http://www.maier-komor.de/software/mbuffer/
MAINTAINER= loader@FreeBSD.org
COMMENT= Tool for buffering data streams
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= gtar:archivers/gtar
USES= localbase ssl tar:tgz autoreconf gmake
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-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer
${MV} ${STAGEDIR}${PREFIX}/etc/mbuffer.rc \
${STAGEDIR}${PREFIX}/etc/mbuffer.rc.sample
.include <bsd.port.mk>