diff options
author | Wen Heping <wen@FreeBSD.org> | 2011-06-20 14:02:08 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2011-06-20 14:02:08 +0000 |
commit | 388237cb87138719aee862bdaa0d09bee5f2b3bb (patch) | |
tree | dd04cedfc2cd6ae0762bddbd3b85ce93b05e33a4 /multimedia/umplayer/Makefile | |
parent | 1b111bed2708dda30270942fdb608024ead7f36a (diff) | |
download | ports-388237cb87138719aee862bdaa0d09bee5f2b3bb.tar.gz ports-388237cb87138719aee862bdaa0d09bee5f2b3bb.zip |
Notes
Diffstat (limited to 'multimedia/umplayer/Makefile')
-rw-r--r-- | multimedia/umplayer/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/multimedia/umplayer/Makefile b/multimedia/umplayer/Makefile new file mode 100644 index 000000000000..045eb9488cc5 --- /dev/null +++ b/multimedia/umplayer/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: umplayer +# Date created: 2 May, 2011 +# Whom: Zhihao Yuan <lichray@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= umplayer +DISTVERSION= 0.95 +CATEGORIES= multimedia audio kde +MASTER_SITES= LOCAL/wen + +MAINTAINER= lichray@gmail.com +COMMENT= A modern front-end for mplayer (forked from smplayer) + +RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer + +USE_QT_VER= 4 +QT_COMPONENTS= gui network xml qmake_build moc_build rcc_build uic_build \ + linguist_build + +ALL_TARGET= src/umplayer + +USE_XZ= yes +USE_GMAKE= yes +INSTALLS_ICONS= yes +MAKE_ARGS+= QMAKE_OPTS="DEFINES+=NO_DEBUG_ON_CONSOLE" + +MAN1= umplayer.1 +MANCOMPRESSED= yes + +post-patch: + @${REINPLACE_CMD} -e 's|qmake|${QMAKE}|g' \ + -e 's|lrelease|${QT_PREFIX}/bin/lrelease-qt4|g' \ + -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \ + -e 's,/share/man,/man,g' \ + -e 's|/doc/packages|/doc|' \ + -e 's|^.*/get_svn_revision.sh$$||' \ + ${WRKSRC}/Makefile + +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -E -e '/(install|tar).*DOC_PATH/d' \ + ${WRKSRC}/Makefile +.endif + +.include <bsd.port.mk> |