freebsd-ports/multimedia/mjpegtools/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

64 lines
1.7 KiB
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= mjpegtools
PORTVERSION= 2.1.0
PORTREVISION= 15
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME:S/tools//}/${PORTNAME}/${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Set of tools to record/playback/edit videos in MPEG format
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
CONFLICTS= mplex-[0-9]*
USES= compiler:c++11-lang gmake gnome jpeg libtool localbase pathfix \
pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-dga --without-x
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
INFO= mjpeg-howto
OPTIONS_DEFINE= DOCS DV GTK2 PNG QUICKTIME SDL
OPTIONS_DEFAULT= GTK2 PNG SDL
OPTIONS_SUB= yes
DV_LIB_DEPENDS= libdv.so:multimedia/libdv
DV_CONFIGURE_WITH= libdv
GTK2_USE= GNOME=gtk20
GTK2_CONFIGURE_WITH= gtk
PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_CONFIGURE_WITH= libpng
QUICKTIME_LIB_DEPENDS= libquicktime.so:multimedia/libquicktime
QUICKTIME_CONFIGURE_WITH= libquicktime
SDL_USE= SDL=gfx,sdl
SDL_CONFIGURE_OFF= --without-libsdl --without-sdlgfx
.include <bsd.port.options.mk>
.if ${ARCH} == i386 || ${ARCH} == powerpc
USES+= compiler:c++11-lang
.endif
post-patch:
@${REINPLACE_CMD} \
-e 's| \*-\*-linux\*)| *-*-*)|' \
-e '/ARCHFLAGS=/d' ${WRKSRC}/configure
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS BUGS CHANGES ChangeLog HINTS NEWS PLANS README README.DV \
README.avilib README.glav README.AltiVec README.lavpipe \
README.transist TODO
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>