freebsd-ports/multimedia/ffms2/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

42 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= ffms2
DISTVERSION= 2.23
PORTREVISION= 9
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
COMMENT= FFmpeg-based source library and VapourSynth plugin
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/vapoursynth/VSHelper.h:multimedia/vapoursynth
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
USE_GITHUB= yes
GH_ACCOUNT= FFMS
USES= compiler:c++11-lib gmake libtool pathfix pkgconfig
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
CPPFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528
CPPFLAGS+= `pkg-config vapoursynth --cflags`
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
DATADIR= ${PREFIX}/lib/vapoursynth
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^dist_doc_DATA/s,=,& \
doc/${PORTNAME}-vapoursynth.md,' \
${WRKSRC}/Makefile.in
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${LN} -sf ../lib${PORTNAME}.so ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>