summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-fsguard-plugin
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2005-10-28 06:42:49 +0000
committermartti <martti@pkgsrc.org>2005-10-28 06:42:49 +0000
commitc6c26aa9e2925f7bd62c51e026756a9ea5159157 (patch)
tree322358b493a1b6f3343a95afc4c2bcc8a451dae7 /sysutils/xfce4-fsguard-plugin
parenta9a5f01c8dc753102be0b3a94b715df97fcfa578 (diff)
downloadpkgsrc-c6c26aa9e2925f7bd62c51e026756a9ea5159157.tar.gz
Disk space plugin for XFce4.
Diffstat (limited to 'sysutils/xfce4-fsguard-plugin')
-rw-r--r--sysutils/xfce4-fsguard-plugin/DESCR1
-rw-r--r--sysutils/xfce4-fsguard-plugin/Makefile13
-rw-r--r--sysutils/xfce4-fsguard-plugin/PLIST6
-rw-r--r--sysutils/xfce4-fsguard-plugin/buildlink3.mk21
-rw-r--r--sysutils/xfce4-fsguard-plugin/distinfo6
-rw-r--r--sysutils/xfce4-fsguard-plugin/patches/patch-aa14
6 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/xfce4-fsguard-plugin/DESCR b/sysutils/xfce4-fsguard-plugin/DESCR
new file mode 100644
index 00000000000..752702b7021
--- /dev/null
+++ b/sysutils/xfce4-fsguard-plugin/DESCR
@@ -0,0 +1 @@
+Disk space plugin for XFce4.
diff --git a/sysutils/xfce4-fsguard-plugin/Makefile b/sysutils/xfce4-fsguard-plugin/Makefile
new file mode 100644
index 00000000000..4824556c002
--- /dev/null
+++ b/sysutils/xfce4-fsguard-plugin/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/28 06:42:49 martti Exp $
+
+.include "../../meta-pkgs/xfce4/Makefile.common"
+
+XFCE4_VERSION= 0.2.1
+
+DISTNAME= xfce4-fsguard-plugin-${XFCE4_VERSION}
+CATEGORIES= sysutils
+MASTER_SITES= http://download.berlios.de/xfce-goodies/
+COMMENT= XFce4 disk space plugin
+
+.include "../../x11/xfce4-panel/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/xfce4-fsguard-plugin/PLIST b/sysutils/xfce4-fsguard-plugin/PLIST
new file mode 100644
index 00000000000..7dc93734654
--- /dev/null
+++ b/sysutils/xfce4-fsguard-plugin/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/28 06:42:49 martti Exp $
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/xfce4-fsguard.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/xfce4-fsguard.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/xfce4-fsguard.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/xfce4-fsguard.mo
+lib/xfce4/panel-plugins/libfsguard.la
diff --git a/sysutils/xfce4-fsguard-plugin/buildlink3.mk b/sysutils/xfce4-fsguard-plugin/buildlink3.mk
new file mode 100644
index 00000000000..05f3ffa4193
--- /dev/null
+++ b/sysutils/xfce4-fsguard-plugin/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/28 06:42:49 martti Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XFCE4_FSGUARD_PLUGIN_BUILDLINK3_MK:= ${XFCE4_FSGUARD_PLUGIN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= xfce4-fsguard-plugin
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-fsguard-plugin}
+BUILDLINK_PACKAGES+= xfce4-fsguard-plugin
+
+.if !empty(XFCE4_FSGUARD_PLUGIN_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.xfce4-fsguard-plugin+= xfce4-fsguard-plugin>=0.2.1
+BUILDLINK_PKGSRCDIR.xfce4-fsguard-plugin?= ../../sysutils/xfce4-fsguard-plugin
+.endif # XFCE4_FSGUARD_PLUGIN_BUILDLINK3_MK
+
+.include "../../x11/xfce4-panel/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/sysutils/xfce4-fsguard-plugin/distinfo b/sysutils/xfce4-fsguard-plugin/distinfo
new file mode 100644
index 00000000000..22cc03d6713
--- /dev/null
+++ b/sysutils/xfce4-fsguard-plugin/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/28 06:42:49 martti Exp $
+
+SHA1 (xfce4-fsguard-plugin-0.2.1.tar.gz) = 86ad7752fdab209cd460f2da562f979196a1e643
+RMD160 (xfce4-fsguard-plugin-0.2.1.tar.gz) = 194290bf0e5d471cefb1d1446330d0320af38763
+Size (xfce4-fsguard-plugin-0.2.1.tar.gz) = 339959 bytes
+SHA1 (patch-aa) = a242511fddd3fa097d5a5185018792af4689e7b5
diff --git a/sysutils/xfce4-fsguard-plugin/patches/patch-aa b/sysutils/xfce4-fsguard-plugin/patches/patch-aa
new file mode 100644
index 00000000000..7ec1a53f6b2
--- /dev/null
+++ b/sysutils/xfce4-fsguard-plugin/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/28 06:42:49 martti Exp $
+
+--- panel-plugin/fsguard.c.orig 2005-10-11 16:27:09.000000000 -0400
++++ panel-plugin/fsguard.c
+@@ -45,6 +45,9 @@
+ #include <sys/param.h>
+ #include <sys/mount.h>
+ #endif
++#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
++#define statfs statvfs
++#endif
+ #include <panel/plugins.h>
+ #include <panel/xfce.h>
+ #include <panel/xfce_support.h>