2012-10-06 23:58:43 +02:00
|
|
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
2002-05-31 20:19:48 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mjpegtools
|
2014-02-27 09:36:11 +01:00
|
|
|
PORTVERSION= 2.1.0
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 7
|
2002-11-28 01:09:51 +01:00
|
|
|
CATEGORIES= multimedia
|
2010-02-13 09:42:30 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME:S/tools//}/${PORTNAME}/${PORTVERSION}
|
2002-05-31 20:19:48 +02:00
|
|
|
|
2006-06-09 20:00:35 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= Set of tools to record/playback/edit videos in MPEG format
|
2002-05-31 20:19:48 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2010-02-13 09:42:30 +01:00
|
|
|
|
2014-02-27 09:36:11 +01:00
|
|
|
BUILD_DEPENDS= v4l_compat>0:${PORTSDIR}/multimedia/v4l_compat
|
2002-05-31 20:19:48 +02:00
|
|
|
|
2006-06-12 08:17:03 +02:00
|
|
|
CONFLICTS= mplex-[0-9]*
|
2006-06-30 21:32:49 +02:00
|
|
|
|
2015-06-22 20:33:20 +02:00
|
|
|
USES= gmake jpeg libtool pathfix pkgconfig
|
2006-12-23 00:09:45 +01:00
|
|
|
USE_LDCONFIG= yes
|
2002-05-31 20:19:48 +02:00
|
|
|
|
2014-06-22 12:44:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --without-dga --without-x
|
|
|
|
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
|
2014-02-27 09:36:11 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-22 12:44:29 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2010-02-13 09:42:30 +01:00
|
|
|
|
2014-02-27 09:36:11 +01:00
|
|
|
INFO= mjpeg-howto
|
2002-05-31 20:19:48 +02:00
|
|
|
|
2014-06-22 12:44:29 +02:00
|
|
|
OPTIONS_DEFINE= DOCS DV GTK2 PNG QUICKTIME SDL
|
2014-02-27 09:36:11 +01:00
|
|
|
OPTIONS_DEFAULT= GTK2 PNG SDL
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
DV_LIB_DEPENDS= libdv.so:${PORTSDIR}/multimedia/libdv
|
|
|
|
DV_CONFIGURE_WITH= libdv
|
|
|
|
GTK2_USE= GNOME=gtk20
|
|
|
|
GTK2_CONFIGURE_WITH= gtk
|
2014-12-25 20:04:25 +01:00
|
|
|
PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
2014-02-27 09:36:11 +01:00
|
|
|
PNG_CONFIGURE_WITH= libpng
|
|
|
|
QUICKTIME_LIB_DEPENDS= libquicktime.so:${PORTSDIR}/multimedia/libquicktime
|
|
|
|
QUICKTIME_CONFIGURE_WITH= libquicktime
|
|
|
|
SDL_USE= SDL=gfx,sdl
|
|
|
|
SDL_CONFIGURE_OFF= --without-libsdl --without-sdlgfx
|
2010-02-13 09:42:30 +01:00
|
|
|
|
2012-06-17 22:13:40 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2015-09-07 13:57:18 +02:00
|
|
|
.if ${ARCH} == i386 || ${ARCH} == powerpc
|
2014-06-22 12:44:29 +02:00
|
|
|
USES+= compiler:c++11-lang
|
2012-06-17 22:13:40 +02:00
|
|
|
.endif
|
|
|
|
|
2002-05-31 20:19:48 +02:00
|
|
|
post-patch:
|
2014-06-22 12:44:29 +02:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's| \*-\*-linux\*)| *-*-*)|' \
|
|
|
|
-e '/ARCHFLAGS=/d' ${WRKSRC}/configure
|
2014-02-27 09:36:11 +01:00
|
|
|
|
2006-06-30 21:32:49 +02:00
|
|
|
post-install:
|
2013-12-14 01:58:19 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-02-27 09:36:11 +01:00
|
|
|
.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})
|
2006-06-30 21:32:49 +02:00
|
|
|
.endfor
|
2002-05-31 20:19:48 +02:00
|
|
|
|
2014-05-02 16:16:49 +02:00
|
|
|
.include <bsd.port.mk>
|