svn commit: r317964 - in head/mail/clawsker: . files
Pawel Pekala
pawel at FreeBSD.org
Sun May 12 15:32:14 UTC 2013
Author: pawel
Date: Sun May 12 15:32:12 2013
New Revision: 317964
URL: http://svnweb.freebsd.org/changeset/ports/317964
Log:
- Update to version 0.7.9
- Use shebangfix
- Switch to PORTDOCS variable
- Replace trivial patches with REINLACE_CMDs
- Update WWW homepage address
Deleted:
head/mail/clawsker/files/extra-Makefile-without_nls
head/mail/clawsker/files/patch-Makefile
Modified:
head/mail/clawsker/Makefile
head/mail/clawsker/distinfo (contents, props changed)
head/mail/clawsker/files/patch-clawsker (contents, props changed)
head/mail/clawsker/pkg-descr (contents, props changed)
head/mail/clawsker/pkg-plist (contents, props changed)
Modified: head/mail/clawsker/Makefile
==============================================================================
--- head/mail/clawsker/Makefile Sun May 12 15:23:33 2013 (r317963)
+++ head/mail/clawsker/Makefile Sun May 12 15:32:12 2013 (r317964)
@@ -1,12 +1,8 @@
-# New ports collection makefile for: clawsker
-# Date created: 2008-02-04
-# Whom: Pawel Pekala <c0rn at o2.pl>
-#
+# Created by: Pawel Pekala <c0rn at o2.pl>
# $FreeBSD$
-#
PORTNAME= clawsker
-PORTVERSION= 0.7.8
+PORTVERSION= 0.7.9
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/tools/
@@ -15,13 +11,16 @@ COMMENT= Applet to edit Claws Mail's hid
LICENSE= GPLv3
-RUN_DEPENDS= claws-mail>=3.8.1:${PORTSDIR}/mail/claws-mail \
+RUN_DEPENDS= claws-mail>=3.9.1:${PORTSDIR}/mail/claws-mail \
p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext
+USES= shebangfix
+SHEBANG_FILES= ${PORTNAME}
USE_PERL5= yes
MAN1= clawsker.1
+PORTDOCS= NEWS README
.include <bsd.port.options.mk>
@@ -29,10 +28,15 @@ MAN1= clawsker.1
USES+= gettext
PLIST_SUB+= NLS=""
.else
-EXTRA_PATCHES= ${FILESDIR}/extra-Makefile-without_nls
PLIST_SUB+= NLS="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} '/^DATADIR/s|/share||' ${WRKSRC}/Makefile
+.if ! ${PORT_OPTIONS:MNLS}
+ @${REINPLACE_CMD} '/-C po/d' ${WRKSRC}/Makefile
+.endif
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
Modified: head/mail/clawsker/distinfo
==============================================================================
--- head/mail/clawsker/distinfo Sun May 12 15:23:33 2013 (r317963)
+++ head/mail/clawsker/distinfo Sun May 12 15:32:12 2013 (r317964)
@@ -1,2 +1,2 @@
-SHA256 (clawsker-0.7.8.tar.gz) = 133f89db736f77979603ebf02eea4fbcb654fb69cfcf2301c3598ff52ac61155
-SIZE (clawsker-0.7.8.tar.gz) = 66210
+SHA256 (clawsker-0.7.9.tar.gz) = 2d9447ae40788113f1644c954364492c9525c61109659a58a5be4bb3076b3032
+SIZE (clawsker-0.7.9.tar.gz) = 67462
Modified: head/mail/clawsker/files/patch-clawsker
==============================================================================
--- head/mail/clawsker/files/patch-clawsker Sun May 12 15:23:33 2013 (r317963)
+++ head/mail/clawsker/files/patch-clawsker Sun May 12 15:32:12 2013 (r317964)
@@ -1,6 +1,6 @@
---- clawsker.orig Mon Feb 4 23:58:45 2008
-+++ clawsker Mon Feb 4 23:59:08 2008
-@@ -345,8 +345,6 @@
+--- clawsker.orig 2013-05-08 10:56:43.000000000 +0200
++++ clawsker 2013-05-12 16:48:47.000000000 +0200
+@@ -389,14 +389,12 @@
sub set_widget_hint() {
if ($SHOWHINTS) {
my ($wdgt, $hint) = @_;
@@ -9,3 +9,10 @@
}
}
+ sub set_widget_sens() {
+ my ($wdgt, $versions) = @_;
+- @ver = split(/,/, $versions);
++ my @ver = split(/,/, $versions);
+ if ($#ver == 1) {
+ $wdgt->set_sensitive (
+ &version_greater_or_equal ($CLAWSV, $ver[0])
Modified: head/mail/clawsker/pkg-descr
==============================================================================
--- head/mail/clawsker/pkg-descr Sun May 12 15:23:33 2013 (r317963)
+++ head/mail/clawsker/pkg-descr Sun May 12 15:32:12 2013 (r317964)
@@ -16,4 +16,4 @@ Other features:
* Detection of running Claws Mail
* Support for alternate configuration directories
-WWW: http://www.claws-mail.org/clawsker
+WWW: http://www.claws-mail.org/clawsker.php
Modified: head/mail/clawsker/pkg-plist
==============================================================================
--- head/mail/clawsker/pkg-plist Sun May 12 15:23:33 2013 (r317963)
+++ head/mail/clawsker/pkg-plist Sun May 12 15:32:12 2013 (r317964)
@@ -1,6 +1,4 @@
bin/clawsker
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
%%NLS%%share/locale/fr/LC_MESSAGES/clawsker.mo
%%NLS%%share/locale/es/LC_MESSAGES/clawsker.mo
%%NLS%%share/locale/id/LC_MESSAGES/clawsker.mo
@@ -9,6 +7,5 @@ bin/clawsker
%%NLS%%share/locale/sr/LC_MESSAGES/clawsker.mo
%%NLS%%share/locale/sr at latin/LC_MESSAGES/clawsker.mo
%%NLS%%share/locale/sv/LC_MESSAGES/clawsker.mo
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry share/locale/sr at latin/LC_MESSAGES
@dirrmtry share/locale/sr at latin
More information about the svn-ports-all
mailing list