blob: 888fc3a3f865d11e6f4b38ae4c9c4718e865fbdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: dv2jpg
# Date created: 24 February 2003
# Whom: Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dv2jpg
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert Type-2 DV codec-encoded AVI streams to mjpeg-encoded AVI
LIB_DEPENDS= dv.4:${PORTSDIR}/multimedia/libdv
USE_GNOME= gdkpixbuf
MAKEFILE= makefile
.if defined(WITH_PAL_VIDEO)
VID_FORMAT= PAL
.else
VID_FORMAT= NTSC
.endif
pre-everything::
@${ECHO_MSG} "===> The default video format is NTSC"
@${ECHO_MSG} "===> You can change this to PAL by defining"
@${ECHO_MSG} "===> WITH_PAL_VIDEO"
post-extract:
${RM} ${WRKSRC}/avijoin ${WRKSRC}/dv2jpg ${WRKSRC}/*.o
post-patch:
@${REINPLACE_CMD} -e 's|%%VID_FORMAT%%|${VID_FORMAT}|' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/avijoin ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/dv2jpg ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in README.avilib README.dv2jpg.html
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>
|