aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xfce4-generic-slider
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-06-06 15:52:12 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-06-06 15:52:12 +0000
commitd9c5a6915b918cd9b336cd01a4a13ee98af13920 (patch)
tree2792a3c92bda61b733e6b65b0f496dd8dc18926f /deskutils/xfce4-generic-slider
parente8e05085cd4867cad6ebeab84a0b4e640e010eaa (diff)
downloadports-d9c5a6915b918cd9b336cd01a4a13ee98af13920.tar.gz
ports-d9c5a6915b918cd9b336cd01a4a13ee98af13920.zip
Notes
Diffstat (limited to 'deskutils/xfce4-generic-slider')
-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
4 files changed, 59 insertions, 0 deletions
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