aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2012-09-23 23:14:54 +0800
committerrakuco <rakuco@FreeBSD.org>2012-09-23 23:14:54 +0800
commit185e0f609fe61a878e478a362abdd46be45f0e7e (patch)
tree455cf1cc0ab5eddef5dca2d9fe49c64de5f1eef8 /multimedia
parente429b35cc07cca34458ddf7c53c3e6e40fc047e4 (diff)
downloadfreebsd-ports-gnome-185e0f609fe61a878e478a362abdd46be45f0e7e.tar.gz
freebsd-ports-gnome-185e0f609fe61a878e478a362abdd46be45f0e7e.tar.zst
freebsd-ports-gnome-185e0f609fe61a878e478a362abdd46be45f0e7e.zip
- 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)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gtk-youtube-viewer/Makefile8
-rw-r--r--multimedia/gtk-youtube-viewer/pkg-descr2
2 files changed, 4 insertions, 6 deletions
diff --git a/multimedia/gtk-youtube-viewer/Makefile b/multimedia/gtk-youtube-viewer/Makefile
index e5fbde6750b7..0e15f9b548f1 100644
--- a/multimedia/gtk-youtube-viewer/Makefile
+++ b/multimedia/gtk-youtube-viewer/Makefile
@@ -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}/net/p5-XML-Fast \
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>
diff --git a/multimedia/gtk-youtube-viewer/pkg-descr b/multimedia/gtk-youtube-viewer/pkg-descr
index 42c14f875e7c..a36c9df00109 100644
--- a/multimedia/gtk-youtube-viewer/pkg-descr
+++ b/multimedia/gtk-youtube-viewer/pkg-descr
@@ -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/