summaryrefslogtreecommitdiffstats
path: root/audio/gdesklets-xmms
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-01-04 14:12:38 +0000
committerpav <pav@FreeBSD.org>2004-01-04 14:12:38 +0000
commitbd663b6c9de89ec59a5c50248de1a0be4cc071e5 (patch)
tree230ba1fcca56dd97fd078b137c44ad8bed447f9b /audio/gdesklets-xmms
parent2e90c169149e65863c56cc72199358aaa95ce402 (diff)
downloadFreeBSD-ports-bd663b6c9de89ec59a5c50248de1a0be4cc071e5.zip
FreeBSD-ports-bd663b6c9de89ec59a5c50248de1a0be4cc071e5.tar.gz
Add gdesklets-xmms, a compact desklet to control your XMMS from your GNOME
desktop. http://gdesklets.gnomedesktop.org/
Diffstat (limited to 'audio/gdesklets-xmms')
-rw-r--r--audio/gdesklets-xmms/Makefile49
-rw-r--r--audio/gdesklets-xmms/distinfo1
-rw-r--r--audio/gdesklets-xmms/pkg-descr3
-rw-r--r--audio/gdesklets-xmms/pkg-message5
-rw-r--r--audio/gdesklets-xmms/pkg-plist22
5 files changed, 80 insertions, 0 deletions
diff --git a/audio/gdesklets-xmms/Makefile b/audio/gdesklets-xmms/Makefile
new file mode 100644
index 0000000..79be15b
--- /dev/null
+++ b/audio/gdesklets-xmms/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: gdesklets-xmms
+# Date created: 4 January 2004
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmms
+PORTVERSION= 2
+CATEGORIES= audio gnome
+MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+PKGNAMEPREFIX= gdesklets-
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Compact desklet that allows you to control your XMMS from your desktop
+
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
+
+USE_PYTHON= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+
+NAME= XMMS
+WRKSRC= ${WRKDIR}/${NAME}
+DATADIR= ${PREFIX}/share/gnome
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+# tarball inside of installator seems corrupted, ignore this error
+post-patch:
+ @${REINPLACE_CMD} -e "s|(fail)|(0)|" ${WRKSRC}/Install_${NAME}_Sensor.bin
+
+do-build:
+ @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
+ @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
+
+do-install:
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
+ @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/Display/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/Display/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
+ @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DATADIR}/gdesklets/Displays/${NAME}/
+ @${LN} -sf ${DATADIR}/gdesklets/Displays/${NAME}/readme.txt \
+ ${DATADIR}/gdesklets/Sensors/${NAME}/readme.txt
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/audio/gdesklets-xmms/distinfo b/audio/gdesklets-xmms/distinfo
new file mode 100644
index 0000000..5d3065f
--- /dev/null
+++ b/audio/gdesklets-xmms/distinfo
@@ -0,0 +1 @@
+MD5 (xmms-2.tgz) = 64b17f0098fa30d45fc8fe0a6d519d43
diff --git a/audio/gdesklets-xmms/pkg-descr b/audio/gdesklets-xmms/pkg-descr
new file mode 100644
index 0000000..b915351
--- /dev/null
+++ b/audio/gdesklets-xmms/pkg-descr
@@ -0,0 +1,3 @@
+A RSS/RDF feed parser and displayer for gDesklets system.
+
+WWW: http://gdesklets.gnomedesktop.org/
diff --git a/audio/gdesklets-xmms/pkg-message b/audio/gdesklets-xmms/pkg-message
new file mode 100644
index 0000000..7b55a75
--- /dev/null
+++ b/audio/gdesklets-xmms/pkg-message
@@ -0,0 +1,5 @@
+
+To add this desklet to your desktop:
+
+ gdesklets %%PREFIX%%/share/gnome/gdesklets/Displays/%%NAME%%/xmms.display
+
diff --git a/audio/gdesklets-xmms/pkg-plist b/audio/gdesklets-xmms/pkg-plist
new file mode 100644
index 0000000..f13d4cf
--- /dev/null
+++ b/audio/gdesklets-xmms/pkg-plist
@@ -0,0 +1,22 @@
+share/gnome/gdesklets/Displays/XMMS/readme.txt
+share/gnome/gdesklets/Displays/XMMS/gfx/gauge_h.png
+share/gnome/gdesklets/Displays/XMMS/gfx/left.png
+share/gnome/gdesklets/Displays/XMMS/gfx/next.png
+share/gnome/gdesklets/Displays/XMMS/gfx/pause.png
+share/gnome/gdesklets/Displays/XMMS/gfx/play.png
+share/gnome/gdesklets/Displays/XMMS/gfx/prev.png
+share/gnome/gdesklets/Displays/XMMS/gfx/right.png
+share/gnome/gdesklets/Displays/XMMS/gfx/stop.png
+share/gnome/gdesklets/Displays/XMMS/xmms.display
+share/gnome/gdesklets/Sensors/XMMS/readme.txt
+share/gnome/gdesklets/Sensors/XMMS/__init__.py
+share/gnome/gdesklets/Sensors/XMMS/__init__.pyc
+share/gnome/gdesklets/Sensors/XMMS/xmmscmds.py
+share/gnome/gdesklets/Sensors/XMMS/xmmscmds.pyc
+share/gnome/gdesklets/Sensors/XMMS/xmmsint.py
+share/gnome/gdesklets/Sensors/XMMS/xmmsint.pyc
+share/gnome/gdesklets/Sensors/XMMS/xmms.py
+share/gnome/gdesklets/Sensors/XMMS/xmms.pyc
+@dirrm share/gnome/gdesklets/Sensors/XMMS
+@dirrm share/gnome/gdesklets/Displays/XMMS/gfx
+@dirrm share/gnome/gdesklets/Displays/XMMS
OpenPOWER on IntegriCloud