Files
ports/multimedia/mkclean/Makefile
T
Robert Clausecker 1228bce1fd multimedia/mkclean: enable everywhere
Build failures no longer reproduce after port was switched to cmake.

Event:		EuroBSDcon 2025
2025-09-28 11:29:34 +02:00

35 lines
801 B
Makefile

PORTNAME= mkclean
PORTVERSION= 0.9.0
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= multimedia
MAINTAINER= ports@FreeBSD.org
COMMENT= Clean and optimize Matroska and WebM files
WWW= https://www.matroska.org/downloads/mkclean.html
LICENSE= BSD3CLAUSE
USES= cmake compiler:c++11-lang cpe iconv localbase:ldflags
CPE_VENDOR= matroska
USE_GITHUB= yes
GH_ACCOUNT= Matroska-Org
GH_PROJECT= foundation-source
NO_INSTALL= yes
post-extract:
@${REINPLACE_CMD} -e 's/vfs.h/mount.h/' ${WRKSRC}/corec/corec/helpers/file/file_libc.c
LDFLAGS+= ${ICONV_LIB}
PLIST_FILES= bin/mkclean \
bin/mkWDclean
post-stage:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}/mkclean ${STAGEDIR}${LOCALBASE}/bin
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME}/mkWDclean ${STAGEDIR}${LOCALBASE}/bin
.include <bsd.port.mk>