aboutsummaryrefslogtreecommitdiff
path: root/multimedia/smplayer
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:11 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:11 +0000
commit2e206d8fad4d6aa3091a7410aba9abe1a3a41278 (patch)
tree919f256f5d4152f9ba2438b4a3cc82a91d4707c6 /multimedia/smplayer
parent5898d7df5c5c0c4c33faa934a38001e755f6d900 (diff)
downloadports-2e206d8fad4d6aa3091a7410aba9abe1a3a41278.tar.gz
ports-2e206d8fad4d6aa3091a7410aba9abe1a3a41278.zip
Notes
Diffstat (limited to 'multimedia/smplayer')
-rw-r--r--multimedia/smplayer/Makefile16
-rw-r--r--multimedia/smplayer/pkg-plist1
2 files changed, 7 insertions, 10 deletions
diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile
index 8214c99d23e2..86da32dd93f1 100644
--- a/multimedia/smplayer/Makefile
+++ b/multimedia/smplayer/Makefile
@@ -17,31 +17,27 @@ USE_QT4= gui network script xml qmake_build moc_build rcc_build uic_build \
ALL_TARGET= src/smplayer
+USES= gmake
USE_BZIP2= yes
-USE_GMAKE= yes
INSTALLS_ICONS= yes
-MAN1= smplayer.1
-MANCOMPRESSED= yes
-
PORTDOCS= Changelog Copying.txt Install.txt Not_so_obvious_things.txt \
Readme.txt Release_notes.txt
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|qmake|${QMAKE}|g' \
- -e 's|lrelease|${QT_PREFIX}/bin/lrelease-qt4|g' \
+ @${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, ${GMAKE},g' \
+ -e 's, make, ${MAKE_CMD},g' \
${WRKSRC}/Makefile
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/multimedia/smplayer/pkg-plist b/multimedia/smplayer/pkg-plist
index 24b470410fb3..0a41175344b2 100644
--- a/multimedia/smplayer/pkg-plist
+++ b/multimedia/smplayer/pkg-plist
@@ -1,4 +1,5 @@
bin/smplayer
+man/man1/smplayer.1.gz
share/applications/smplayer.desktop
share/applications/smplayer_enqueue.desktop
share/icons/hicolor/128x128/apps/smplayer.png