ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/mjpegtools/Makefile
Revision: 20135
Committed: Sun Aug 30 16:17:22 2015 UTC (8 years, 7 months ago) by laffer1
Content type: text/plain
File size: 1766 byte(s)
Log Message:
add mjpegtools

File Contents

# Content
1 # Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
2 # $MidnightBSD$
3 # $FreeBSD: head/multimedia/mjpegtools/Makefile 390310 2015-06-22 18:33:20Z antoine $
4
5 PORTNAME= mjpegtools
6 PORTVERSION= 2.1.0
7 CATEGORIES= multimedia
8 MASTER_SITES= SF/${PORTNAME:S/tools//}/${PORTNAME}/${PORTVERSION}
9
10 MAINTAINER= ports@MidnightBSD.org
11 COMMENT= Set of tools to record/playback/edit videos in MPEG format
12
13 LICENSE= gpl2 # (or later)
14
15 BUILD_DEPENDS= v4l_compat>0:${PORTSDIR}/multimedia/v4l_compat
16
17 CONFLICTS= mplex-[0-9]*
18
19 USES= gmake jpeg libtool pathfix pkgconfig
20 USE_LDCONFIG= yes
21
22 GNU_CONFIGURE= yes
23 CONFIGURE_ARGS= --without-dga --without-x
24 CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL}
25 CPPFLAGS+= -I${LOCALBASE}/include
26 LIBS+= -L${LOCALBASE}/lib
27
28 INFO= mjpeg-howto
29
30 OPTIONS_DEFINE= DOCS DV GTK2 PNG QUICKTIME SDL
31 OPTIONS_DEFAULT= GTK2 PNG SDL
32 OPTIONS_SUB= yes
33
34 DV_LIB_DEPENDS= libdv.so:${PORTSDIR}/multimedia/libdv
35 DV_CONFIGURE_WITH= libdv
36 GTK2_USE= GNOME=gtk20
37 GTK2_CONFIGURE_WITH= gtk
38 PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
39 PNG_CONFIGURE_WITH= libpng
40 QUICKTIME_LIB_DEPENDS= libquicktime.so:${PORTSDIR}/multimedia/libquicktime
41 QUICKTIME_CONFIGURE_WITH= libquicktime
42 SDL_USE= SDL=gfx,sdl
43 SDL_CONFIGURE_OFF= --without-libsdl --without-sdlgfx
44
45 .include <bsd.mport.options.mk>
46
47 .if ${ARCH} == "i386"
48 USES+= compiler:c++11-lang
49 .endif
50
51 post-patch:
52 @${REINPLACE_CMD} \
53 -e 's| \*-\*-linux\*)| *-*-*)|' \
54 -e '/ARCHFLAGS=/d' ${WRKSRC}/configure
55
56 post-install:
57 @${MKDIR} ${DOCSDIR}
58 .for i in AUTHORS BUGS CHANGES ChangeLog HINTS NEWS PLANS README README.DV \
59 README.avilib README.glav README.AltiVec README.lavpipe \
60 README.transist TODO
61 (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
62 .endfor
63
64 .include <bsd.port.mk>

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain