# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD: tags/RELEASE_13_0_0/multimedia/m2vrequantiser/Makefile 538439 2020-06-10 20:59:21Z pkubaj $

PORTNAME=	m2vrequantiser
PORTVERSION=	1.1
CATEGORIES=	multimedia
MASTER_SITES=	http://launchpadlibrarian.net/52366061/
DISTNAME=	M2VRequantiser-v${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Requantize MPEG-2 streams without recompressing

CFLAGS=		-Duint=unsigned
MAKE_ARGS=	CC="${CC}" CXX="${CXX}"
PLIST_FILES=	bin/M2VRequantiser

post-patch:
	${REINPLACE_CMD} 's|$$(PREFIX)|$${DESTDIR}$$(PREFIX)|' ${WRKSRC}/Makefile

.include <bsd.port.mk>
