summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authoryouri <youri@pkgsrc.org>2015-07-13 19:54:26 +0000
committeryouri <youri@pkgsrc.org>2015-07-13 19:54:26 +0000
commite6c82ce598190dc43badd89e3b12b903523efa0f (patch)
tree5aa41e25ff09ebf4827d9bbcf0be7e728f86dcd4 /comms
parente1f8cceee863c3d7945a4bd6339bb0357b6cc45e (diff)
downloadpkgsrc-e6c82ce598190dc43badd89e3b12b903523efa0f.tar.gz
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.
Diffstat (limited to 'comms')
-rw-r--r--comms/xfce4-modemlights-plugin/DESCR5
-rw-r--r--comms/xfce4-modemlights-plugin/Makefile14
-rw-r--r--comms/xfce4-modemlights-plugin/PLIST17
-rw-r--r--comms/xfce4-modemlights-plugin/distinfo6
-rw-r--r--comms/xfce4-modemlights-plugin/patches/patch-panel-plugin_Makefile.in32
5 files changed, 74 insertions, 0 deletions
diff --git a/comms/xfce4-modemlights-plugin/DESCR b/comms/xfce4-modemlights-plugin/DESCR
new file mode 100644
index 00000000000..26b53610f8b
--- /dev/null
+++ b/comms/xfce4-modemlights-plugin/DESCR
@@ -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.
diff --git a/comms/xfce4-modemlights-plugin/Makefile b/comms/xfce4-modemlights-plugin/Makefile
new file mode 100644
index 00000000000..30434a6dff7
--- /dev/null
+++ b/comms/xfce4-modemlights-plugin/Makefile
@@ -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"
diff --git a/comms/xfce4-modemlights-plugin/PLIST b/comms/xfce4-modemlights-plugin/PLIST
new file mode 100644
index 00000000000..3042e158e8c
--- /dev/null
+++ b/comms/xfce4-modemlights-plugin/PLIST
@@ -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
diff --git a/comms/xfce4-modemlights-plugin/distinfo b/comms/xfce4-modemlights-plugin/distinfo
new file mode 100644
index 00000000000..746a4fcb928
--- /dev/null
+++ b/comms/xfce4-modemlights-plugin/distinfo
@@ -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
diff --git a/comms/xfce4-modemlights-plugin/patches/patch-panel-plugin_Makefile.in b/comms/xfce4-modemlights-plugin/patches/patch-panel-plugin_Makefile.in
new file mode 100644
index 00000000000..0c8ec63e653
--- /dev/null
+++ b/comms/xfce4-modemlights-plugin/patches/patch-panel-plugin_Makefile.in
@@ -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.