1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/multimedia/smtube/Makefile
Pawel Pekala 80596ca8a3 Update to version 2.1
Improve the download speed for DASH formats.
2014-04-03 19:01:37 +00:00

36 lines
901 B
Makefile

# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= smtube
PORTVERSION= 2.1
CATEGORIES= multimedia
MASTER_SITES= SF/smplayer/SMTube/2.0/
MAINTAINER= pawel@FreeBSD.org
COMMENT= SMPlayer YouTube browser
RUN_DEPENDS= ${LOCALBASE}/bin/smplayer:${PORTSDIR}/multimedia/smplayer
USES= gmake tar:bzip2
ALL_TARGET= #empty
USE_QT4= linguist_build moc_build qmake_build rcc_build uic_build
QMAKE_ARGS+= QMAKE_CXXFLAGS_RELEASE=""
INSTALLS_ICONS= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS:S,\$(,\$\$(,g}|' \
-e 's|lrelease|${LRELEASE}|g' \
-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \
-e 's|$$(PREFIX)/share/smtube|${DATADIR}|g' \
-e 's|$$(PREFIX)/share/doc/smtube|${DOCSDIR}|' \
-e 's| make| ${GMAKE}|' \
${WRKSRC}/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>