aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-12-03 05:15:33 +0800
committerbeech <beech@FreeBSD.org>2008-12-03 05:15:33 +0800
commitb22d32177ffbef15dfd878b76f15f3bb046f297f (patch)
tree2a2c4be76ff953bfbb4ff40a0035119ab3edb069 /multimedia
parent9747f0f6e8119cb36dddc8a46b2b271bb9a8da1f (diff)
downloadfreebsd-ports-gnome-b22d32177ffbef15dfd878b76f15f3bb046f297f.tar.gz
freebsd-ports-gnome-b22d32177ffbef15dfd878b76f15f3bb046f297f.tar.zst
freebsd-ports-gnome-b22d32177ffbef15dfd878b76f15f3bb046f297f.zip
- Add xmms.desktop file
- Bump portrevision
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmms/Makefile9
-rw-r--r--multimedia/xmms/files/xmms.desktop.in10
-rw-r--r--multimedia/xmms/pkg-plist2
3 files changed, 18 insertions, 3 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index 89be41524ebd..63ec1abc5352 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xmms
PORTVERSION= 1.2.11
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/ \
LOCAL/beech
@@ -32,7 +32,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
CONFIGURE_ARGS= --enable-static=no
MAN1= wmxmms.1 xmms.1
-SUB_FILES= pkg-message
+SUB_FILES= pkg-message xmms.desktop
CONFLICTS= ru-xmms-[0-9]*
@@ -157,9 +157,12 @@ post-patch:
.if ${HAVE_GNOME:Mesound}==""
${REINPLACE_CMD} -e '/AM_PATH_ESD/,/have_esd=no/d' ${WRKSRC}/configure.in
.endif
+ @${CP} ${FILESDIR}/xmms.desktop.in ${WRKSRC}/xmms.desktop
post-install:
- @${MKDIR} ${PREFIX}/share/xmms/Skins
+ @${INSTALL} -d ${PREFIX}/share/xmms/Skins
+ @${INSTALL} -d ${PREFIX}/share/applications
+ @${INSTALL_DATA} ${WRKSRC}/xmms.desktop ${PREFIX}/share/applications/
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/multimedia/xmms/files/xmms.desktop.in b/multimedia/xmms/files/xmms.desktop.in
new file mode 100644
index 000000000000..959593079acc
--- /dev/null
+++ b/multimedia/xmms/files/xmms.desktop.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Exec=xmms %U
+Icon=xmms
+GenericName=XMMS Player
+Comment=Audio Player
+Terminal=false
+Name=xmms
+MimeType=application/x-xmms
diff --git a/multimedia/xmms/pkg-plist b/multimedia/xmms/pkg-plist
index 7d7db026b2f4..5067eab152f5 100644
--- a/multimedia/xmms/pkg-plist
+++ b/multimedia/xmms/pkg-plist
@@ -29,6 +29,7 @@ lib/xmms/Output/libdisk_writer.so
lib/xmms/Visualization/libbscope.so
lib/xmms/Visualization/libsanalyzer.so
share/aclocal/xmms.m4
+share/applications/xmms.desktop
share/locale/af/LC_MESSAGES/xmms.mo
share/locale/az/LC_MESSAGES/xmms.mo
share/locale/be/LC_MESSAGES/xmms.mo
@@ -85,6 +86,7 @@ share/locale/wa/LC_MESSAGES/xmms.mo
share/locale/zh_CN/LC_MESSAGES/xmms.mo
share/locale/zh_TW/LC_MESSAGES/xmms.mo
%%DATADIR%%/wmxmms.xpm
+@dirrmtry share/applications
@dirrmtry %%DATADIR%%/Skins
@dirrm %%DATADIR%%
@dirrmtry lib/xmms/Visualization