Import xfce4-modemlights-plugin-0.1.3.99 as comms/xfce4-modemlights-plugin.

Xfce 4 Modem Lights panel plugin is intended to simplify establishing a ppp
connection via a modem. It is primarily designed to work with the debian ppp
package and the pon/poff scripts provided by that package, but should be usable
with any scripts that create a lock file during dialing and retain it through
the connection.
This commit is contained in:
youri 2015-07-13 19:54:26 +00:00
parent db00e36ee3
commit 5714b55afb
5 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,5 @@
Xfce 4 Modem Lights panel plugin is intended to simplify establishing a ppp
connection via a modem. It is primarily designed to work with the debian ppp
package and the pon/poff scripts provided by that package, but should be usable
with any scripts that create a lock file during dialing and retain it through
the connection.

View file

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2015/07/13 19:54:26 youri Exp $
.include "../../meta-pkgs/xfce4/Makefile.common"
DISTNAME= xfce4-modemlights-plugin-0.1.3.99
CATEGORIES= comms
MASTER_SITES= http://archive.xfce.org/src/panel-plugins/xfce4-modemlights-plugin/0.1/
HOMEPAGE= http://goodies.xfce.org/projects/panel-plugins/xfce4-modemlights-plugin
COMMENT= Xfce modems monitoring plugin
.include "../../x11/libxfce4gui/buildlink3.mk"
.include "../../x11/xfce4-panel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,17 @@
@comment $NetBSD: PLIST,v 1.1 2015/07/13 19:54:26 youri Exp $
libexec/xfce4/panel/plugins/xfce4-modemlights-plugin
share/locale/ca/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/cs/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/eu/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/fr/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/hu/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/ja/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/ko/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/nl/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/pl/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/vi/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/locale/zh_TW/LC_MESSAGES/xfce4-modemlights-plugin.mo
share/pixmaps/modem-connected.png
share/pixmaps/modem-dialing.png
share/pixmaps/modem-disconnected.png
share/xfce4/panel/plugins/modemlights.desktop

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2015/07/13 19:54:26 youri Exp $
SHA1 (xfce4-modemlights-plugin-0.1.3.99.tar.bz2) = 2d37289918d27dce05fa1d12e5cce21f9e6088b3
RMD160 (xfce4-modemlights-plugin-0.1.3.99.tar.bz2) = 43abf5d8aa09e78fc103330923a7a3867f504ecc
Size (xfce4-modemlights-plugin-0.1.3.99.tar.bz2) = 157029 bytes
SHA1 (patch-panel-plugin_Makefile.in) = 1e7179cf11d0b5ad7959dd82afbc47dd03cb91d4

View file

@ -0,0 +1,32 @@
$NetBSD: patch-panel-plugin_Makefile.in,v 1.1 2015/07/13 19:54:26 youri Exp $
Adjust panel plugin path.
--- panel-plugin/Makefile.in.orig 2007-11-08 08:34:26.000000000 +0000
+++ panel-plugin/Makefile.in
@@ -237,7 +237,7 @@ sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-plugindir = $(libexecdir)/xfce4/panel-plugins
+plugindir = $(libexecdir)/xfce4/panel/plugins
xfce4_modemlights_plugin_SOURCES = \
panel-plugin.c
@@ -263,7 +263,7 @@ xfce4_modemlights_plugin_LDADD = \
#
desktop_in_in_files = modemlights.desktop.in.in
desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
-desktopdir = $(datadir)/xfce4/panel-plugins
+desktopdir = $(datadir)/xfce4/panel/plugins
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
EXTRA_DIST = \
$(desktop_in_in_files)
@@ -567,7 +567,7 @@ uninstall-am: uninstall-desktopDATA unin
# get full path into .desktop file
%.desktop.in: %.desktop.in.in
- sed -e "s^@PLUGIN_PATH@^$(libexecdir)/xfce4/panel-plugins^" \
+ sed -e "s^@PLUGIN_PATH@^$(libexecdir)/xfce4/panel/plugins^" \
$< > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.