blob: f0e6054933b55b2200d94d8b3e9c7b1108fd6e85 (
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
59
60
61
62
63
64
65
66
67
68
69
|
# New ports collection makefile for: manencode
# Date created: Sab 3 Mar 2007 21:52:49 CET
# Whom: Diego Depaoli <trebestie@gmail.com>
#
# $FreeBSD$
#
PORTNAME= manencode
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= multimedia kde
MASTER_SITES= http://csgib36.ifrance.com/Manencode/
MAINTAINER= trebestie@gmail.com
COMMENT= Utility to simply transcode your videos
RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mencoder \
transcode:${PORTSDIR}/multimedia/transcode
USE_GMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= gui moc rcc uic qmake corelib
MANENCODEDIR= ${PREFIX}/share/${PORTNAME}
TRANSLATION= _en
INTERFACE= DVD.png DVDOK.png bt_play.png bt_stop.png \
contrast.png cut_end.png cut_start.png debut.png \
executer.png fin.png forward.png france.png \
lumiere.png menu_select.png moins.png ombre.png \
pb_pleine.png pb_vide.png plus.png poubelle.png \
raz.png render.png rewind.png rotation1.png \
rotation2.png saturation.png sauvegarde.png side_menu.png \
son.png sstitres.png toolbar.PNG toolbar_2.PNG \
uk.png window.png
MAKE_ENV?= QTDIR=${QT_PREFIX}
QMAKE?= ${LOCALBASE}/bin/qmake-qt4
QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
WRKSRC= ${WRKDIR}/Manencode-${DISTVERSION}
DESKTOP_ENTRIES= "Manencode" \
"Transcode your video" \
"" \
"Manencode" \
"Application;AudioVideo;" \
false
do-configure:
@cd ${WRKSRC} \
&& ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC} \
INCLUDEPATH+=${LOCALBASE}/include
pre-install:
${MKDIR} ${MANENCODEDIR}/Interface
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Manencode ${MANENCODEDIR}/
.for file in ${INTERFACE}
${INSTALL_DATA} ${WRKSRC}/Interface/${file} ${MANENCODEDIR}/Interface
.endfor
.for lang in ${TRANSLATION}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}${lang}.qm ${MANENCODEDIR}
.endfor
${LN} -fs ${MANENCODEDIR}/Manencode ${PREFIX}/bin/
.include <bsd.port.mk>
|