# $NetBSD: Makefile,v 1.61 2020/08/18 01:09:32 tnn Exp $ DISTNAME= mjpegtools-2.1.0 PKGREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mjpeg/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://mjpeg.sourceforge.net/ COMMENT= Programs for compressing video streams LICENSE= gnu-gpl-v2 CONFLICTS+= mplex-[0-9]* DEPENDS+= toolame>=02l:../../audio/toolame BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm USE_LANGUAGES= c c++ USE_LIBTOOL= yes USE_TOOLS+= bash:run gmake pkg-config GNU_CONFIGURE= yes CONFIGURE_ARGS+= --without-libquicktime CONFIGURE_ARGS+= --enable-large-file CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame} CONFIGURE_ARGS+= --with-pic SHLIBTOOL_OVERRIDE= # empty PKGCONFIG_OVERRIDE= mjpegtools.pc.in INFO_FILES= yes REPLACE_BASH= scripts/*.sh CHECK_PORTABILITY_SKIP= scripts/lavtc.sh .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" CONFIGURE_ARGS+= --disable-sdltest CONFIGURE_ENV+= mjt_cv_extern___progname=no .else .include "../../x11/libXxf86dga/buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .endif BUILDLINK_TRANSFORM+= rm:-laudio BUILDLINK_TRANSFORM+= rm:-fno-PIC .include "options.mk" .include "../../audio/lame/buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/jpeg.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"