From f9f1f75eee16e84aad73745b6c38ec5d0fd8b6b8 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 16 Jun 2007 16:03:51 +0000 Subject: [PATCH] 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 --- sysutils/Makefile | 1 + sysutils/gai-leds/Makefile | 37 +++++++++++++++++++++++++++++++++++++ sysutils/gai-leds/distinfo | 3 +++ sysutils/gai-leds/pkg-descr | 3 +++ sysutils/gai-leds/pkg-plist | 12 ++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 sysutils/gai-leds/Makefile create mode 100644 sysutils/gai-leds/distinfo create mode 100644 sysutils/gai-leds/pkg-descr create mode 100644 sysutils/gai-leds/pkg-plist 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 +# +# $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 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