Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 20:58:17 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340732 - in head/multimedia/smplayer: . files
Message-ID:  <201401222058.s0MKwHhg059697@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Jan 22 20:58:16 2014
New Revision: 340732
URL: http://svnweb.freebsd.org/changeset/ports/340732
QAT: https://qat.redports.org/buildarchive/r340732/

Log:
  - 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

Added:
  head/multimedia/smplayer/files/pkg-message.in   (contents, props changed)
Modified:
  head/multimedia/smplayer/Makefile

Modified: head/multimedia/smplayer/Makefile
==============================================================================
--- head/multimedia/smplayer/Makefile	Wed Jan 22 20:52:31 2014	(r340731)
+++ head/multimedia/smplayer/Makefile	Wed Jan 22 20:58:16 2014	(r340732)
@@ -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>

Added: head/multimedia/smplayer/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/smplayer/files/pkg-message.in	Wed Jan 22 20:58:16 2014	(r340732)
@@ -0,0 +1,7 @@
+===============================================================================
+
+SMPlayer has been installed.
+
+For Youtube Videos please use multimedia/smtube port.
+
+===============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401222058.s0MKwHhg059697>