4787754c06
Reported by: kris
68 lines
1.8 KiB
Makefile
68 lines
1.8 KiB
Makefile
# 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
|
|
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+=${X11BASE}/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>
|