1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add xfce4-generic-slider 0.0.20100604, a slider plugin to adjust and/or

monitor any numeric variable.
This commit is contained in:
Emanuel Haupt 2010-06-06 15:52:12 +00:00
parent e8e05085cd
commit d9c5a6915b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255906
5 changed files with 60 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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