Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2012 15:14:54 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304746 - head/multimedia/gtk-youtube-viewer
Message-ID:  <201209231514.q8NFEsEo024394@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Sep 23 15:14:54 2012
New Revision: 304746
URL: http://svn.freebsd.org/changeset/ports/304746

Log:
  - Remove the DATA option, as it is always required.
  - Create ${PREFIX}/share/applications, which is not part of the
    default mtree.
  - Update pkg-descr a little.
  
  PR:		ports/171819
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)

Modified:
  head/multimedia/gtk-youtube-viewer/Makefile
  head/multimedia/gtk-youtube-viewer/pkg-descr

Modified: head/multimedia/gtk-youtube-viewer/Makefile
==============================================================================
--- head/multimedia/gtk-youtube-viewer/Makefile	Sun Sep 23 15:01:32 2012	(r304745)
+++ head/multimedia/gtk-youtube-viewer/Makefile	Sun Sep 23 15:14:54 2012	(r304746)
@@ -9,6 +9,7 @@ PORTNAME=	gtk-youtube-viewer
 PORTVERSION=	2.0.5
 CATEGORIES=	multimedia
 MASTER_SITES=	GOOGLE_CODE
+PROJECTHOST=	trizen
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	GTK Search and play YouTube videos streaming in MPlayer
@@ -22,15 +23,13 @@ RUN_DEPENDS=	p5-XML-Fast>=0:${PORTSDIR}/
 		p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \
 		mplayer:${PORTSDIR}/multimedia/mplayer
 
-OPTIONS_DEFINE=	DATA GCAP
+OPTIONS_DEFINE=	GCAP
 GCAP_DESC=	GCAP support
-OPTIONS_DEFAULT=	DATA
 
 WRKSRC=		${WRKDIR}/${PORTNAME}/src
 
 USE_PERL5_RUN=	yes
 NO_BUILD=	yes
-PROJECTHOST=	trizen
 
 PLIST_FILES=	bin/${PORTNAME} \
 		share/pixmaps/${PORTNAME}.png \
@@ -55,14 +54,13 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/youtube-viewer ${DATADIR}
 
 # Data
-.if ${PORT_OPTIONS:MDATA}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "icons lib" ${DATADIR})
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pl ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.glade ${DATADIR}
-.endif
 
 # Pixmaps and Desktop
 	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+	${MKDIR} ${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/
 
 .include <bsd.port.mk>

Modified: head/multimedia/gtk-youtube-viewer/pkg-descr
==============================================================================
--- head/multimedia/gtk-youtube-viewer/pkg-descr	Sun Sep 23 15:01:32 2012	(r304745)
+++ head/multimedia/gtk-youtube-viewer/pkg-descr	Sun Sep 23 15:14:54 2012	(r304746)
@@ -1,4 +1,4 @@
 GTK Youtube Viewer is created to be a flexible and reliable open-source
-Linux application which is dedicated to streaming Youtube Videos with MPlayer. 
+Linux application which is dedicated to streaming Youtube Videos with MPlayer.
 
 WWW:	https://code.google.com/p/trizen/



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