aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2010-06-06 23:52:12 +0800
committerehaupt <ehaupt@FreeBSD.org>2010-06-06 23:52:12 +0800
commit2306258a4e1c157474e0e0bea61baea643201d1f (patch)
tree78cb8dad447a9f97a8010855795fa500872266e3 /deskutils
parenteea1e055eb3528ecb22af8f0a8fdee7b78f3283e (diff)
downloadfreebsd-ports-gnome-2306258a4e1c157474e0e0bea61baea643201d1f.tar.gz
freebsd-ports-gnome-2306258a4e1c157474e0e0bea61baea643201d1f.tar.zst
freebsd-ports-gnome-2306258a4e1c157474e0e0bea61baea643201d1f.zip
Add xfce4-generic-slider 0.0.20100604, a slider plugin to adjust and/or
monitor any numeric variable.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/xfce4-generic-slider/Makefile41
-rw-r--r--deskutils/xfce4-generic-slider/distinfo3
-rw-r--r--deskutils/xfce4-generic-slider/pkg-descr10
-rw-r--r--deskutils/xfce4-generic-slider/pkg-plist5
5 files changed, 60 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 6adb0c8230d5..e42f819671bc 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -281,6 +281,7 @@
SUBDIR += wyrd
SUBDIR += xcalendar
SUBDIR += xchm
+ SUBDIR += xfce4-generic-slider
SUBDIR += xfce4-notes-plugin
SUBDIR += xfce4-notification-daemon
SUBDIR += xfce4-notifyd
diff --git a/deskutils/xfce4-generic-slider/Makefile b/deskutils/xfce4-generic-slider/Makefile
new file mode 100644
index 000000000000..297a561c6e5b
--- /dev/null
+++ b/deskutils/xfce4-generic-slider/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: xfce4-generic-slider
+# Date created: 04 Jun 2010
+# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xfce4-generic-slider
+PORTVERSION= 0.0.20100604
+CATEGORIES= deskutils
+MASTER_SITES= CRITICAL
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= A slider plugin to adjust and/or monitor any numeric variable
+
+USE_XFCE= panel
+USE_GNOME= pkgconfig
+
+CFLAGS+= `pkg-config --cflags libxfce4panel-1.0`
+LDFLAGS+= `pkg-config --libs libxfce4panel-1.0`
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ "s|@PLUGINDIR@|${PREFIX}/lib/xfce4/xfce4/panel-plugins|" \
+ ${WRKSRC}/generic-slider.desktop
+
+do-build:
+ ${CC} ${CFLAGS} -c ${WRKSRC}/generic-slider.c \
+ -o ${WRKSRC}/generic-slider.o
+ ${CC} ${LDFLAGS} ${WRKSRC}/generic-slider.o \
+ -o ${WRKSRC}/xfce4-generic-slider-plugin
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/xfce4/panel-plugins
+ ${MKDIR} ${PREFIX}/lib/xfce4/xfce4/panel-plugins
+ ${INSTALL_DATA} ${WRKSRC}/generic-slider.desktop \
+ ${PREFIX}/share/xfce4/panel-plugins
+ ${INSTALL_PROGRAM} ${WRKSRC}/xfce4-generic-slider-plugin \
+ ${PREFIX}/lib/xfce4/xfce4/panel-plugins
+
+.include <bsd.port.mk>
diff --git a/deskutils/xfce4-generic-slider/distinfo b/deskutils/xfce4-generic-slider/distinfo
new file mode 100644
index 000000000000..e5a3cd75c8da
--- /dev/null
+++ b/deskutils/xfce4-generic-slider/distinfo
@@ -0,0 +1,3 @@
+MD5 (xfce4-generic-slider-0.0.20100604.tar.gz) = d9720bbb63010b54c6c4be57b2e1a802
+SHA256 (xfce4-generic-slider-0.0.20100604.tar.gz) = 3cb6e1cbd3afdd6410c65cb4cd95f30b48c00d658bbd8503720b1b441ac9b008
+SIZE (xfce4-generic-slider-0.0.20100604.tar.gz) = 52268
diff --git a/deskutils/xfce4-generic-slider/pkg-descr b/deskutils/xfce4-generic-slider/pkg-descr
new file mode 100644
index 000000000000..f16d515db041
--- /dev/null
+++ b/deskutils/xfce4-generic-slider/pkg-descr
@@ -0,0 +1,10 @@
+A slider for the Xfce panel that can be used to adjust and/or monitor any
+numeric variable. You set whatever "variable" this is by setting an adjust
+command which will run when the slider is clicked or scrolled. An option is
+provided to pass the value of the slider (the fraction times an adjustable
+normalization factor) to the command. You get the value of the "variable" by
+setting a sychronize command. The command should return a numeric value and this
+value will be regarded as a fraction of a second adjustable normalization
+factor.
+
+WWW: http://goodies.xfce.org/projects/panel-plugins/xfce4-generic-slider
diff --git a/deskutils/xfce4-generic-slider/pkg-plist b/deskutils/xfce4-generic-slider/pkg-plist
new file mode 100644
index 000000000000..c640961a3e4c
--- /dev/null
+++ b/deskutils/xfce4-generic-slider/pkg-plist
@@ -0,0 +1,5 @@
+lib/xfce4/xfce4/panel-plugins/xfce4-generic-slider-plugin
+share/xfce4/panel-plugins/generic-slider.desktop
+@dirrmtry lib/xfce4/xfce4/panel-plugins
+@dirrmtry lib/xfce4/xfce4
+@dirrmtry lib/xfce4