summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-06-16 16:03:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-06-16 16:03:51 +0000
commitf9f1f75eee16e84aad73745b6c38ec5d0fd8b6b8 (patch)
treeb01eee849481ea7aea1ce635ba2f3f714440fc41 /sysutils
parentBump to v0.09 (diff)
GAI Leds is a GAI applet that displays the keyboard status leds.
WWW: http://gai.sourceforge.net/applets.html PR: ports/113637 Submitted by: Douglas Thrift <douglas@douglasthrift.net>
Notes
Notes: svn path=/head/; revision=193672
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/gai-leds/Makefile37
-rw-r--r--sysutils/gai-leds/distinfo3
-rw-r--r--sysutils/gai-leds/pkg-descr3
-rw-r--r--sysutils/gai-leds/pkg-plist12
5 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index a5f945dc9e71..16e298c67631 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -224,6 +224,7 @@
SUBDIR += fuser
SUBDIR += fvcool
SUBDIR += gag
+ SUBDIR += gai-leds
SUBDIR += ganglia-monitor-core
SUBDIR += ganglia-webfrontend
SUBDIR += gapcmon
diff --git a/sysutils/gai-leds/Makefile b/sysutils/gai-leds/Makefile
new file mode 100644
index 000000000000..84f4c3a8932d
--- /dev/null
+++ b/sysutils/gai-leds/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: gai-leds
+# Date created: 2007-06-12
+# Whom: Douglas Thrift <douglas@douglasthrift.net>
+#
+# $FreeBSD$
+
+PORTNAME= gai-leds
+PORTVERSION= 0.6
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gai
+
+MAINTAINER= douglas@douglasthrift.net
+COMMENT= A GAI applet that displays the keyboard status leds
+
+LIB_DEPENDS= gai:${PORTSDIR}/x11-toolkits/gai
+
+GNU_CONFIGURE= yes
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack gnomeprefix
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|\(GNOMEDIR=\).*|\1"${PREFIX}"|; \
+ s|share\(/pixmaps\)|share/gnome\1|; \
+ s|:GNOME_|:GAI-|g; \
+ s|\(@APPLET_NAME@\)\(Applet\)|\1-\2|g; \
+ s|\(Applet\)_\(Factory\)|\1-\2|' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|lib\(/bonobo\)|libdata\1|; \
+ s|share\(/pixmaps\)|share/gnome\1|; \
+ s|-O3||' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/sysutils/gai-leds/distinfo b/sysutils/gai-leds/distinfo
new file mode 100644
index 000000000000..8e030aad4062
--- /dev/null
+++ b/sysutils/gai-leds/distinfo
@@ -0,0 +1,3 @@
+MD5 (gai-leds-0.6.tar.bz2) = 6c60ed40ec69faae477a24867b50ab43
+SHA256 (gai-leds-0.6.tar.bz2) = d2088aa1da8b4a6545ea111d4e9df02014fad38d4fed7a7f6178e25437a9c524
+SIZE (gai-leds-0.6.tar.bz2) = 40383
diff --git a/sysutils/gai-leds/pkg-descr b/sysutils/gai-leds/pkg-descr
new file mode 100644
index 000000000000..0861412fb5a5
--- /dev/null
+++ b/sysutils/gai-leds/pkg-descr
@@ -0,0 +1,3 @@
+GAI Leds is a GAI applet that displays the keyboard status leds.
+
+WWW: http://gai.sourceforge.net/applets.html
diff --git a/sysutils/gai-leds/pkg-plist b/sysutils/gai-leds/pkg-plist
new file mode 100644
index 000000000000..afea9f53d7d0
--- /dev/null
+++ b/sysutils/gai-leds/pkg-plist
@@ -0,0 +1,12 @@
+bin/gai-leds
+libdata/bonobo/servers/GNOME_gai-ledsApplet.server
+share/gnome/pixmaps/gai-leds-icon.png
+share/gnome/pixmaps/gai-leds/capslock_off.png
+share/gnome/pixmaps/gai-leds/capslock_on.png
+share/gnome/pixmaps/gai-leds/ledsbg_horz.png
+share/gnome/pixmaps/gai-leds/ledsbg_vert.png
+share/gnome/pixmaps/gai-leds/numlock_off.png
+share/gnome/pixmaps/gai-leds/numlock_on.png
+share/gnome/pixmaps/gai-leds/scrollock_off.png
+share/gnome/pixmaps/gai-leds/scrollock_on.png
+@dirrm share/gnome/pixmaps/gai-leds