freebsd-ports/multimedia/manencode/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

69 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
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>