diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-01-23 04:58:16 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-01-23 04:58:16 +0800 |
commit | 11db24de930abeba9ad14d8196b84c4d4a07a987 (patch) | |
tree | 532c4f57f43b977280af9a566946dbff63f94a04 | |
parent | 6ae2a3b3e9a2bdb993b0f9dde6fce16a58ef5905 (diff) | |
download | freebsd-ports-gnome-11db24de930abeba9ad14d8196b84c4d4a07a987.tar.gz freebsd-ports-gnome-11db24de930abeba9ad14d8196b84c4d4a07a987.tar.zst freebsd-ports-gnome-11db24de930abeba9ad14d8196b84c4d4a07a987.zip |
- 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
-rw-r--r-- | multimedia/smplayer/Makefile | 12 | ||||
-rw-r--r-- | multimedia/smplayer/files/pkg-message.in | 7 |
2 files changed, 16 insertions, 3 deletions
diff --git a/multimedia/smplayer/Makefile b/multimedia/smplayer/Makefile index edf48ed1a408..da0b3486c437 100644 --- a/multimedia/smplayer/Makefile +++ b/multimedia/smplayer/Makefile @@ -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> diff --git a/multimedia/smplayer/files/pkg-message.in b/multimedia/smplayer/files/pkg-message.in new file mode 100644 index 000000000000..f0781cd18f5b --- /dev/null +++ b/multimedia/smplayer/files/pkg-message.in @@ -0,0 +1,7 @@ +=============================================================================== + +SMPlayer has been installed. + +For Youtube Videos please use multimedia/smtube port. + +=============================================================================== |