freebsd-ports/graphics/vapoursynth-fmtconv/Makefile

38 lines
868 B
Makefile

PORTNAME= fmtconv
PORTVERSION= r28
CATEGORIES= graphics
PKGNAMEPREFIX= vapoursynth-
MAINTAINER= ports@FreeBSD.org
COMMENT= Format conversion tools for Vapoursynth and Avisynth+
WWW= https://github.com/EleonoreMizo/fmtconv
LICENSE= WTFPL
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
USE_GITHUB= yes
GH_ACCOUNT= EleonoreMizo
USES= autoreconf compiler:c++11-lib gmake libtool
WRKSRC_SUBDIR= build/unix
PATCH_WRKSRC= ${WRKSRC:H:H}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir="${DATADIR}"
INSTALL_TARGET= install-strip
DATADIR= ${PREFIX}/lib/vapoursynth
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
PORTDATA= lib${PORTNAME}.so
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's/x86_64/&|amd64/' \
${WRKSRC}/configure.ac
post-install:
(cd ${PATCH_WRKSRC}/doc && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>