aboutsummaryrefslogtreecommitdiff
path: root/graphics/mjpegtools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mjpegtools/Makefile')
-rw-r--r--graphics/mjpegtools/Makefile11
1 files changed, 9 insertions, 2 deletions
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 <bsd.port.pre.mk>
+.if ${ARCH} != "i386"
+PLIST_SUB+= DIVX='@comment '
+.else
+PLIST_SUB+= DIVX=''
+.endif
+
# pre-detection
# LIBDV
.if exists(${LOCALBASE}/lib/libdv.so.1)