- Bump PORTREVISION for dependency change

- Add dependency for multimedia/smplayer-skins
- Add DOCS Option
- Add pkg-message about multimedia/smtube
- Strip executable

PR:		ports/186018
Submitted by:	nemysis (self)
Approved by:	maintainer
This commit is contained in:
Rusmir Dusko 2014-01-22 20:58:16 +00:00
parent 6eb3bd8fd9
commit dc45d72b42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340732
2 changed files with 16 additions and 3 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= smplayer
DISTVERSION= 0.8.6
PORTREVISION= 1
CATEGORIES= multimedia audio kde
MASTER_SITES= SF/${PORTNAME}/SMPlayer/${PORTVERSION}
@ -10,6 +11,7 @@ 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-skins \
${LOCALBASE}/share/smplayer/themes:${PORTSDIR}/multimedia/smplayer-themes
USE_QT4= gui network script xml moc_build rcc_build uic_build \
@ -26,6 +28,10 @@ INSTALLS_ICONS= yes
PORTDOCS= Changelog Copying.txt Install.txt Not_so_obvious_things.txt \
Readme.txt Release_notes.txt
OPTIONS_DEFINE= DOCS
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
post-patch:
@ -36,9 +42,9 @@ post-patch:
${WRKSRC}/Makefile
post-install:
.if ${PORT_OPTIONS:MDOCS}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,7 @@
===============================================================================
SMPlayer has been installed.
For Youtube Videos please use multimedia/smtube port.
===============================================================================