aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dvbcut/Makefile
blob: 721c9a9bc326305fa62833744946167be1c9c025 (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
# New ports collection makefile for: dvbcut
# Date created:     Mon Dec 19 23:20:01 CET 2005
# Whom:         se@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   dvbcut
PORTVERSION=    0.6.0
PORTREVISION=   5
CATEGORIES= multimedia
MASTER_SITES=   http://www.mr511.de/dvbcut/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Qt application for cutting of MPEG PS and MPEG TS streams (DVB)

BUILD_DEPENDS=  mplayer:${PORTSDIR}/multimedia/mplayer
LIB_DEPENDS=    a52.0:${PORTSDIR}/audio/liba52 \
        ao.4:${PORTSDIR}/audio/libao \
        mad.2:${PORTSDIR}/audio/libmad \
        avutil.1:${PORTSDIR}/multimedia/ffmpeg
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USE_QT_VER= 3
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-ffmpeg=${LOCALBASE}
MAKEFILE=   makefile

MAN1=       dvbcut.1
PLIST_FILES=    bin/dvbcut

QTCPPFLAGS+=    ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/dvbcut ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/dvbcut.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>