1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/multimedia/umplayer/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= umplayer
DISTVERSION= 0.97
PORTREVISION= 2
CATEGORIES= multimedia audio kde
MASTER_SITES= LOCAL/wen
MAINTAINER= lichray@gmail.com
COMMENT= Modern front-end for MPlayer (fork of SMPlayer)
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
USES= gmake qmake tar:xz
USE_QT4= gui network xml moc_build rcc_build uic_build \
linguist_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 <bsd.port.options.mk>
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
.include <bsd.port.mk>