1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/multimedia/manencode/Makefile
Cheng-Lung Sung e9d863865a - fix WRKSRC
Noted by:   grog
2007-03-09 05:43:48 +00:00

72 lines
1.9 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
DISTVERSION= 0.8
CATEGORIES= multimedia kde
MASTER_SITES= http://csgib36.ifrance.com/Manencode/
DISTNAME= Manencode-${DISTVERSION}
MAINTAINER= trebestie@gmail.com
COMMENT= Utility to simply transcode your videos
BUILD_DEPENDS= qmake-qt4:${PORTSDIR}/devel/qmake4
RUN_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer \
mplayer:${PORTSDIR}/multimedia/mplayer \
transcode:${PORTSDIR}/multimedia/transcode
USE_QT_VER= 4
QT_COMPONENTS= gui moc rcc uic
#USE_KDELIBS_VER=3
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
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>