summaryrefslogtreecommitdiff
path: root/multimedia/mandvd/Makefile
blob: 3069a25611d3cdba760ce9cedafe6b5b0e55b2d1 (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
52
53
54
55
56
57
58
# New ports collection makefile for:	mandvd
# Date created:		Sun Feb 11 23:38:00 CET 2007
# Whom:                Diego Depaoli <trebestie@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	mandvd
DISTVERSION=	2.4
PORTREVISION=	7
CATEGORIES=	multimedia kde
MASTER_SITES=	http://csgib36.ifrance.com/FTP/
DISTNAME=	ManDVD
DISTFILES=	${PORTNAME}-${PORTVERSION}src${EXTRACT_SUFX}

MAINTAINER=	trebestie@gmail.com
COMMENT=	Utility to simply create dvd-video

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
RUN_DEPENDS=	dvd-slideshow>=0.7.5:${PORTSDIR}/multimedia/dvd-slideshow \
		mencoder:${PORTSDIR}/multimedia/mencoder \
		mplayer:${PORTSDIR}/multimedia/mplayer \
		cdrtools>=2.01:${PORTSDIR}/sysutils/cdrtools \
		xine>0.99.4:${PORTSDIR}/multimedia/xine \
		lame>=3.97:${PORTSDIR}/audio/lame \
		dvdauthor>=0.6.11:${PORTSDIR}/multimedia/dvdauthor \
		mjpegtools>=1.9.0:${PORTSDIR}/multimedia/mjpegtools \
		netpbm-devel>10.29:${PORTSDIR}/graphics/netpbm-devel \
		ImageMagick>=6.2.4:${PORTSDIR}/graphics/ImageMagick \
		transcode>=1.0.2:${PORTSDIR}/multimedia/transcode \
		dvd+rw-tools>=5.21.4:${PORTSDIR}/sysutils/dvd+rw-tools

PLIST_FILES=	bin/mandvd \
		share/pixmaps/mandvdico.png
PLIST_DIRS=	share/pixmaps

USE_QT_VER=	3
USE_KDELIBS_VER=3
MAKE_ENV?=	QTDIR=${QT_PREFIX}
QMAKE?=		${LOCALBASE}/bin/qmake
QMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
WRKSRC=		${WRKDIR}/${DISTNAME}-${DISTVERSION}src

DESKTOP_ENTRIES=	"ManDVD" "Create your DVD" \
			"${PREFIX}/share/pixmaps/mandvdico.png" \
			"mandvd" "Application;AudioVideo;" \
			false

do-configure:
	@cd ${WRKSRC} \
	&&  ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mandvd ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/share/pixmaps
	${INSTALL_DATA} ${WRKSRC}/mandvdico.png ${PREFIX}/share/pixmaps/mandvdico.png

.include <bsd.port.mk>