summaryrefslogtreecommitdiff
path: root/mail/clawsker
diff options
context:
space:
mode:
authorsmb <smb>2008-01-24 03:00:28 +0000
committersmb <smb>2008-01-24 03:00:28 +0000
commit3dd110097ca1b48b19979035bad595ddea05dde8 (patch)
treed7e2a16f1479d408e157393757068ca20ef7afb1 /mail/clawsker
parent799dc2880e0571edc4481674acc2cb9e30f0a337 (diff)
downloadpkgsrc-3dd110097ca1b48b19979035bad595ddea05dde8.tar.gz
Add initial public release of clawsker, a program to edit hidden
preferences for claws-mail.
Diffstat (limited to 'mail/clawsker')
-rw-r--r--mail/clawsker/DESCR17
-rw-r--r--mail/clawsker/Makefile20
-rw-r--r--mail/clawsker/PLIST4
-rw-r--r--mail/clawsker/distinfo8
-rw-r--r--mail/clawsker/patches/patch-aa13
-rw-r--r--mail/clawsker/patches/patch-ab13
-rw-r--r--mail/clawsker/patches/patch-ac13
7 files changed, 88 insertions, 0 deletions
diff --git a/mail/clawsker/DESCR b/mail/clawsker/DESCR
new file mode 100644
index 00000000000..ec3b37ba4c6
--- /dev/null
+++ b/mail/clawsker/DESCR
@@ -0,0 +1,17 @@
+Clawsker is an applet to edit Claws Mail's hidden preferences.
+
+Claws Mail has a high number of configurable options and, in order
+to keep the binary small and fast, some of these preferences which
+are not widely used are not provided with a graphical interface
+for inspection and/or modification.
+
+Users wanting to edit such preferences had to face editing the
+configuration text files directly, now it is possible with a
+convenient GTK2 interface using Clawsker.
+
+Other features:
+
+ * Handling of all hidden preferences
+ * Fully internationalized interface using gettext
+ * Detection of running Claws Mail
+ * Support for alternate configuration directories
diff --git a/mail/clawsker/Makefile b/mail/clawsker/Makefile
new file mode 100644
index 00000000000..46a915f973a
--- /dev/null
+++ b/mail/clawsker/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2008/01/24 03:00:28 smb Exp $
+
+DISTNAME= clawsker-0.3.0
+CATEGORIES= mail
+MASTER_SITES= http://www.claws-mail.org/tools/
+
+MAINTAINER= smb@NetBSD.org
+HOMEPAGE= http://www.claws-mail.org/clawsker
+COMMENT= Edit Claws-Mail hidden preferences
+
+USE_TOOLS+= gmake
+USE_TOOLS+= perl
+REPLACE_PERL= clawsker
+
+DEPENDS+= p5-gtk2>=1.144:../../x11/p5-gtk2
+DEPENDS+= p5-gettext>=1.05:../../devel/p5-gettext
+DEPENDS+= claws-mail-3.2.0{,nb[0-9]*}:../../mail/claws-mail
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/clawsker/PLIST b/mail/clawsker/PLIST
new file mode 100644
index 00000000000..0fa094eec97
--- /dev/null
+++ b/mail/clawsker/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2008/01/24 03:00:28 smb Exp $
+bin/clawsker
+share/locale/es/LC_MESSAGES/clawsker.mo
+man/man1/clawsker.1
diff --git a/mail/clawsker/distinfo b/mail/clawsker/distinfo
new file mode 100644
index 00000000000..e61a0b7ec7c
--- /dev/null
+++ b/mail/clawsker/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2008/01/24 03:00:28 smb Exp $
+
+SHA1 (clawsker-0.3.0.tar.gz) = 72118a32636d95103380a1e65f831c95a7dda71a
+RMD160 (clawsker-0.3.0.tar.gz) = 27b76cded291ceec49c448569fde6763a502aebd
+Size (clawsker-0.3.0.tar.gz) = 29524 bytes
+SHA1 (patch-aa) = bc7d011e4fae77968d6d5e9ccbfaa6feb4a6bbc5
+SHA1 (patch-ab) = 2be3130215d38b76192fd796b9443cf54740addc
+SHA1 (patch-ac) = 95ae82ef362248fce8f84de80c7a3b912938a9f5
diff --git a/mail/clawsker/patches/patch-aa b/mail/clawsker/patches/patch-aa
new file mode 100644
index 00000000000..e694a92a8b0
--- /dev/null
+++ b/mail/clawsker/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2008/01/24 03:00:29 smb Exp $
+
+--- Makefile.orig 2008-01-21 10:55:39.000000000 -0500
++++ Makefile 2008-01-21 10:58:00.000000000 -0500
+@@ -9,7 +9,7 @@
+ BINDIR = ${PREFIX}/bin
+ DATADIR = ${PREFIX}/share
+ LIBDIR = ${PREFIX}/lib/${NAME}
+-MANDIR = ${DATADIR}/man
++MANDIR = ${PREFIX}/man
+ MAN1DIR = ${MANDIR}/man1
+
+ all: build
diff --git a/mail/clawsker/patches/patch-ab b/mail/clawsker/patches/patch-ab
new file mode 100644
index 00000000000..a922ddb2a3e
--- /dev/null
+++ b/mail/clawsker/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2008/01/24 03:00:29 smb Exp $
+
+--- clawsker.orig 2008-01-21 12:19:07.000000000 -0500
++++ clawsker 2008-01-21 12:19:46.000000000 -0500
+@@ -345,8 +345,6 @@
+ sub set_widget_hint() {
+ if ($SHOWHINTS) {
+ my ($wdgt, $hint) = @_;
+- $wdgt->set_tooltip_text ($hint);
+- $wdgt->set_has_tooltip (TRUE);
+ }
+ }
+
diff --git a/mail/clawsker/patches/patch-ac b/mail/clawsker/patches/patch-ac
new file mode 100644
index 00000000000..d48fe16c620
--- /dev/null
+++ b/mail/clawsker/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2008/01/24 03:00:29 smb Exp $
+
+--- po/Makefile.orig 2008-01-23 21:55:37.000000000 -0500
++++ po/Makefile 2008-01-23 21:55:49.000000000 -0500
+@@ -28,7 +28,7 @@
+
+ install: all install-dirs
+ for po in ${LINGUAS}; \
+- do install -m 0755 $${po}.mo ${DESTDIR}${LOCALEDIR}/$${po}/LC_MESSAGES/${NAME}.mo; \
++ do install -m 0444 $${po}.mo ${DESTDIR}${LOCALEDIR}/$${po}/LC_MESSAGES/${NAME}.mo; \
+ done
+
+ install-dirs: