blob: 91a912612c74ea28c113b31021d19386e74db9c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= smtube
PORTVERSION= 1.8
CATEGORIES= multimedia
MASTER_SITES= SF/smplayer/SMTube/${PORTVERSION}/
MAINTAINER= pawel@FreeBSD.org
COMMENT= SMPlayer YouTube browser
RUN_DEPENDS= ${LOCALBASE}/bin/smplayer:${PORTSDIR}/multimedia/smplayer
USE_BZIP2= yes
USES= gmake
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}|' \
-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
.include <bsd.port.mk>
|