From afb8cac44080415e9198f4423cc40da2855bcedd Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Fri, 7 Jun 2002 16:12:48 +0000 Subject: o Add AVI support which incidently means both DiVX ;-) and DiVX4 support in i386 platforms o Bump PORTREVISION --- graphics/mjpegtools/Makefile | 11 +++++++++-- graphics/mjpegtools/pkg-plist | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'graphics/mjpegtools') diff --git a/graphics/mjpegtools/Makefile b/graphics/mjpegtools/Makefile index 4068e340d0af..1de6d3d507bd 100644 --- a/graphics/mjpegtools/Makefile +++ b/graphics/mjpegtools/Makefile @@ -7,6 +7,7 @@ PORTNAME= mjpegtools PORTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= mjpeg @@ -14,13 +15,13 @@ MASTER_SITE_SUBDIR= mjpeg MAINTAINER= lioux@FreeBSD.org BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= aviplay.6:${PORTSDIR}/graphics/avifile \ + jpeg.9:${PORTSDIR}/graphics/jpeg USE_GLIB= yes USE_GMAKE= yes USE_XLIB= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-aviplay CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" @@ -49,6 +50,12 @@ post-install: .include +.if ${ARCH} != "i386" +PLIST_SUB+= DIVX='@comment ' +.else +PLIST_SUB+= DIVX='' +.endif + # pre-detection # LIBDV .if exists(${LOCALBASE}/lib/libdv.so.1) diff --git a/graphics/mjpegtools/pkg-plist b/graphics/mjpegtools/pkg-plist index 9c6d641b4fb9..6681a5ab063c 100644 --- a/graphics/mjpegtools/pkg-plist +++ b/graphics/mjpegtools/pkg-plist @@ -1,5 +1,7 @@ +%%DIVX%%bin/divxdec bin/glav bin/jpeg2yuv +%%DIVX%%bin/lav2divx bin/lav2mpeg bin/lav2wav bin/lav2yuv @@ -19,6 +21,7 @@ bin/transist.flt bin/y4mcolorbars bin/y4mtoppm bin/ypipe +%%DIVX%%bin/yuv2divx bin/yuv2lav bin/yuvdenoise bin/yuvkineco -- cgit v1.2.3