aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-06-07 16:12:48 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-06-07 16:12:48 +0000
commitafb8cac44080415e9198f4423cc40da2855bcedd (patch)
tree0c81707f242ebdad85a6bd7a069623dfb57e5bb5 /multimedia/mjpegtools/Makefile
parentdc54946743b45b6e0eef0b32986b897465ff4422 (diff)
downloadports-afb8cac44080415e9198f4423cc40da2855bcedd.tar.gz
ports-afb8cac44080415e9198f4423cc40da2855bcedd.zip
o Add AVI support which incidently means both DiVX ;-) and DiVX4
support in i386 platforms o Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=60778
Diffstat (limited to 'multimedia/mjpegtools/Makefile')
-rw-r--r--multimedia/mjpegtools/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index 4068e340d0af..1de6d3d507bd 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/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)