blob: 86da32dd93f1b57c549aae1f51a86b4deddd166a (
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
35
36
37
38
39
40
41
42
43
|
# Created by: Diego Depaoli <trebestie@gmail.com> and Yinghong Liu <relaxbsd@gmail.com>
# $FreeBSD$
PORTNAME= smplayer
DISTVERSION= 0.8.6
CATEGORIES= multimedia audio kde
MASTER_SITES= SF/${PORTNAME}/SMPlayer/${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
COMMENT= Complete front-end based on Qt4 for mplayer
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \
${LOCALBASE}/share/smplayer/themes:${PORTSDIR}/multimedia/smplayer-themes
USE_QT4= gui network script xml qmake_build moc_build rcc_build uic_build \
uic3_build porting_build linguist_build
ALL_TARGET= src/smplayer
USES= gmake
USE_BZIP2= yes
INSTALLS_ICONS= yes
PORTDOCS= Changelog Copying.txt Install.txt Not_so_obvious_things.txt \
Readme.txt Release_notes.txt
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS}|g' \
-e 's|lrelease|${LRELEASE}|g' \
-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' \
-e 's,/share/man,/man,g' \
-e 's, make, ${MAKE_CMD},g' \
${WRKSRC}/Makefile
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|