Index: head/multimedia/umplayer/Makefile =================================================================== --- head/multimedia/umplayer/Makefile (revision 392220) +++ head/multimedia/umplayer/Makefile (revision 392221) @@ -1,42 +1,48 @@ # Created by: Zhihao Yuan # $FreeBSD$ PORTNAME= umplayer DISTVERSION= 0.97 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia audio kde MASTER_SITES= LOCAL/wen MAINTAINER= lichray@gmail.com COMMENT= Modern front-end for MPlayer (fork of SMPlayer) +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/Copying.txt + RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer -USES= gmake qmake tar:xz +USES= desktop-file-utils gmake qmake tar:xz USE_QT4= gui network xml moc_build rcc_build uic_build \ - linguist_build + linguisttools_build INSTALLS_ICONS= yes MAKE_ARGS+= PREFIX=${PREFIX} DESTDIR=${STAGEDIR} QMAKE_ARGS+= "DEFINES+=NO_DEBUG_ON_CONSOLE" ALL_TARGET= src/umplayer CONFIGURE_WRKSRC= ${WRKSRC}/src OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -e 's| make| $$(MAKE)|' \ -e 's|cd src|(&| ; /cd src/s|$$|)|' \ -e 's|&& $$(QMAKE) $$(QMAKE_OPTS)||' \ -e 's|lrelease|${LRELEASE}|' \ -e 's|/share/man|/man|' \ -e 's|/doc/packages|/doc|' \ -e 's|^.*/get_svn_revision.sh$$||' \ ${WRKSRC}/Makefile .if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -E -e '/(install|tar).*DOC_PATH/d' \ ${WRKSRC}/Makefile .endif + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/multimedia/umplayer/files/patch-src_umplayer.cpp =================================================================== --- head/multimedia/umplayer/files/patch-src_umplayer.cpp (revision 392220) +++ head/multimedia/umplayer/files/patch-src_umplayer.cpp (revision 392221) @@ -1,19 +1,19 @@ ---- ./src/umplayer.cpp.orig 2011-03-29 07:43:57.000000000 -0500 -+++ ./src/umplayer.cpp 2011-06-03 01:07:11.292091723 -0500 -@@ -443,13 +443,13 @@ void UMPlayer::showInfo() { +--- src/umplayer.cpp.orig 2011-09-13 08:33:08 UTC ++++ src/umplayer.cpp +@@ -447,13 +447,13 @@ void UMPlayer::showInfo() { .arg(umplayerVersion()) #ifdef Q_OS_LINUX .arg("Linux") -#else -#ifdef Q_OS_WIN +#elif defined(Q_OS_FREEBSD) + .arg("FreeBSD") +#elif defined(Q_OS_WIN) .arg("Windows ("+win_ver+")") #else .arg("Other OS") #endif -#endif ; printf("%s\n", s.toLocal8Bit().data() );