aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/smtube/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/smtube/Makefile')
-rw-r--r--multimedia/smtube/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/multimedia/smtube/Makefile b/multimedia/smtube/Makefile
index 76e0873e1a59..0d1292ec0b5b 100644
--- a/multimedia/smtube/Makefile
+++ b/multimedia/smtube/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= smtube
-PORTVERSION= 1.5
+PORTVERSION= 1.6
CATEGORIES= multimedia
MASTER_SITES= SF/smplayer/SMTube/${PORTVERSION}/
@@ -10,22 +10,12 @@ MAINTAINER= pawel@FreeBSD.org
COMMENT= SMPlayer YouTube browser
RUN_DEPENDS= ${LOCALBASE}/bin/smplayer:${PORTSDIR}/multimedia/smplayer
-LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
- pcre:${PORTSDIR}/devel/pcre \
- png15:${PORTSDIR}/graphics/png \
- freetype:${PORTSDIR}/print/freetype2 \
- expat:${PORTSDIR}/textproc/expat2 \
- fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
- xcb:${PORTSDIR}/x11/libxcb
USE_BZIP2= yes
USE_GMAKE= yes
ALL_TARGET= #empty
-USE_GETTEXT= yes
-USE_ICONV= yes
-USE_XORG= ice sm x11 xau xdmcp xext xrender
-USE_QT4= linguist_build moc_build qmake_build rcc_build uic_build \
- corelib gui network xml
+USE_QT4= linguist_build moc_build qmake_build rcc_build uic_build
+QMAKEFLAGS+= QMAKE_CXXFLAGS_RELEASE=""
INSTALLS_ICONS= yes
PORTDOCS= *
@@ -33,7 +23,7 @@ PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|qmake|${QMAKE}|g' \
+ @${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKEFLAGS}|' \
-e 's|lrelease|${QT_PREFIX}/bin/lrelease-qt4|g' \
-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \
-e 's|$$(PREFIX)/share/smtube|${DATADIR}|g' \