Bug 95419 - [new port] mail/sylpheed-claws-perl
Summary: [new port] mail/sylpheed-claws-perl
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 18:50 UTC by Pawel Pekala
Modified: 2006-04-29 15:36 UTC (History)
0 users

See Also:


Attachments
perl.shar (3.26 KB, text/plain)
2006-04-06 18:50 UTC, Pawel Pekala
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pekala 2006-04-06 18:50:15 UTC

perl mail filtering plugin for mail/sylpheed-claws
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-04-06 21:45:34 UTC
Class Changed
From-To: sw-bug->change-request

Fix category (new ports should be change-requests)
Comment 2 Pawel Pekala 2006-04-07 12:24:53 UTC
--- perl.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sylpheed-claws-perl/
#	sylpheed-claws-perl/Makefile
#	sylpheed-claws-perl/distinfo
#	sylpheed-claws-perl/pkg-descr
#	sylpheed-claws-perl/files
#	sylpheed-claws-perl/files/patch-configure.ac
#
echo c - sylpheed-claws-perl/
mkdir -p sylpheed-claws-perl/ > /dev/null 2>&1
echo x - sylpheed-claws-perl/Makefile
sed 's/^X//' >sylpheed-claws-perl/Makefile << 'END-of-sylpheed-claws-perl/Makefile'
X# New ports collection makefile for:	sylpheed-claws-perl
X# Date created:	3 April 2006
X# Whom:	Pawel Pekala <c0rn@o2.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	perl
XPORTVERSION=	0.6
XCATEGORIES=	mail
XMASTER_SITES=	http://claws.sylpheed.org/downloads/
XPKGNAMEPREFIX=	sylpheed-claws-
XDISTNAME=	perl_plugin-${PORTVERSION}
X
XMAINTAINER=	c0rn@o2.pl
XCOMMENT=	Perl filtering plugin for sylpheed-claws
X
XBUILD_DEPENDS=	sylpheed-claws:${PORTSDIR}/mail/sylpheed-claws
XRUN_DEPENDS=	sylpheed-claws:${PORTSDIR}/mail/sylpheed-claws
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_AUTOTOOLS=	autoconf:259
XUSE_PERL5=	5.8+
X
XPLIST_FILES=	lib/sylpheed-claws/plugins/perl_plugin.a \
X	lib/sylpheed-claws/plugins/perl_plugin.la \
X	lib/sylpheed-claws/plugins/perl_plugin.so \
X	share/sylpheed-claws/matcherrc2perlfilter.pl
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X	@${MKDIR} ${PREFIX}/share/sylpheed-claws
X	@${INSTALL_SCRIPT} ${WRKSRC}/tools/matcherrc2perlfilter.pl \
X		${PREFIX}/share/sylpheed-claws/
X
X.include <bsd.port.post.mk>
END-of-sylpheed-claws-perl/Makefile
echo x - sylpheed-claws-perl/distinfo
sed 's/^X//' >sylpheed-claws-perl/distinfo << 'END-of-sylpheed-claws-perl/distinfo'
XMD5 (perl_plugin-0.6.tar.gz) = 48532473d154763970119697976e12a9
XSHA256 (perl_plugin-0.6.tar.gz) = 999ad055c9311f2a45aec73d0a8eb6304ebb8c99994dd5be6da8765846e3e76e
XSIZE (perl_plugin-0.6.tar.gz) = 342616
END-of-sylpheed-claws-perl/distinfo
echo x - sylpheed-claws-perl/pkg-descr
sed 's/^X//' >sylpheed-claws-perl/pkg-descr << 'END-of-sylpheed-claws-perl/pkg-descr'
XThis plugin is intended to extend the filtering possibilities of 
XSylpheed-Claws. It provides a Perl interface to Sylpheed-Claws' filtering 
Xmechanism, allowing the use of full Perl power in email filters.
END-of-sylpheed-claws-perl/pkg-descr
echo c - sylpheed-claws-perl/files
mkdir -p sylpheed-claws-perl/files > /dev/null 2>&1
echo x - sylpheed-claws-perl/files/patch-configure.ac
sed 's/^X//' >sylpheed-claws-perl/files/patch-configure.ac << 'END-of-sylpheed-claws-perl/files/patch-configure.ac'
X--- configure.ac.orig Wed Apr  5 20:34:33 2006
X+++ configure.ac Wed Apr  5 20:35:42 2006
X@@ -42,7 +42,11 @@
X 
X dnl check for sylpheed-claws
X PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 1.9.100.93)
X-SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+if test -z $prefix ; then
X+  SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+else
X+  SYLPHEED_CLAWS_PLUGINDIR=$prefix/lib/sylpheed-claws/plugins
X+fi
X AC_SUBST(SYLPHEED_CLAWS_CFLAGS)
X AC_SUBST(SYLPHEED_CLAWS_LIBS)
X AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR)
END-of-sylpheed-claws-perl/files/patch-configure.ac
exit
--- perl.shar ends here ---
Comment 3 Pawel Pekala 2006-04-09 13:44:57 UTC
 Updated to newer version (0.6 -> 0.9)

--- perl.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sylpheed-claws-perl/
#	sylpheed-claws-perl/Makefile
#	sylpheed-claws-perl/distinfo
#	sylpheed-claws-perl/pkg-descr
#	sylpheed-claws-perl/files
#	sylpheed-claws-perl/files/patch-configure.ac
#
echo c - sylpheed-claws-perl/
mkdir -p sylpheed-claws-perl/ > /dev/null 2>&1
echo x - sylpheed-claws-perl/Makefile
sed 's/^X//' >sylpheed-claws-perl/Makefile << 'END-of-sylpheed-claws-perl/Makefile'
X# New ports collection makefile for:	sylpheed-claws-perl
X# Date created:	3 April 2006
X# Whom:	Pawel Pekala <c0rn@o2.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	perl
XPORTVERSION=	0.9
XCATEGORIES=	mail
XMASTER_SITES=	http://claws.sylpheed.org/downloads/plugins/
XPKGNAMEPREFIX=	sylpheed-claws-
XDISTNAME=	perl_plugin-${PORTVERSION}
X
XMAINTAINER=	c0rn@o2.pl
XCOMMENT=	Perl filtering plugin for sylpheed-claws
X
XBUILD_DEPENDS=	sylpheed-claws>=2.1:${PORTSDIR}/mail/sylpheed-claws
XRUN_DEPENDS=	sylpheed-claws>=2.1:${PORTSDIR}/mail/sylpheed-claws
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_AUTOTOOLS=	autoconf:259
XUSE_PERL5=	5.8+
X
XPLIST_FILES=	lib/sylpheed-claws/plugins/perl_plugin.a \
X	lib/sylpheed-claws/plugins/perl_plugin.la \
X	lib/sylpheed-claws/plugins/perl_plugin.so \
X	share/sylpheed-claws/matcherrc2perlfilter.pl
X
Xpost-install:
X	@${MKDIR} ${PREFIX}/share/sylpheed-claws
X	@${INSTALL_SCRIPT} ${WRKSRC}/tools/matcherrc2perlfilter.pl \
X		${PREFIX}/share/sylpheed-claws/
X
X.include <bsd.port.mk>
END-of-sylpheed-claws-perl/Makefile
echo x - sylpheed-claws-perl/distinfo
sed 's/^X//' >sylpheed-claws-perl/distinfo << 'END-of-sylpheed-claws-perl/distinfo'
XMD5 (perl_plugin-0.9.tar.gz) = 70a74d7b5f231f0e1be4b992d37c77a3
XSHA256 (perl_plugin-0.9.tar.gz) = 945c354d9282384e9f93302cb5208a98bccb8ec931dd0f30ac5b51e9d2bc0317
XSIZE (perl_plugin-0.9.tar.gz) = 343395
END-of-sylpheed-claws-perl/distinfo
echo x - sylpheed-claws-perl/pkg-descr
sed 's/^X//' >sylpheed-claws-perl/pkg-descr << 'END-of-sylpheed-claws-perl/pkg-descr'
XThis plugin is intended to extend the filtering possibilities of 
XSylpheed-Claws. It provides a Perl interface to Sylpheed-Claws' filtering 
Xmechanism, allowing the use of full Perl power in email filters.
END-of-sylpheed-claws-perl/pkg-descr
echo c - sylpheed-claws-perl/files
mkdir -p sylpheed-claws-perl/files > /dev/null 2>&1
echo x - sylpheed-claws-perl/files/patch-configure.ac
sed 's/^X//' >sylpheed-claws-perl/files/patch-configure.ac << 'END-of-sylpheed-claws-perl/files/patch-configure.ac'
X--- configure.ac.orig	Sun Mar 19 08:03:29 2006
X+++ configure.ac	Sun Apr  9 14:35:56 2006
X@@ -41,7 +41,11 @@
X 
X dnl check for sylpheed-claws
X PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 2.0.0.81)
X-SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+if test -z $prefix ; then
X+  SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws )
X+else
X+  SYLPHEED_CLAWS_PLUGINDIR=${prefix}/lib/sylpheed-claws/plugins
X+fi
X AC_SUBST(SYLPHEED_CLAWS_CFLAGS)
X AC_SUBST(SYLPHEED_CLAWS_LIBS)
X AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR)
END-of-sylpheed-claws-perl/files/patch-configure.ac
exit

--- perl.shar ends here ---
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2006-04-29 15:36:09 UTC
State Changed
From-To: open->closed

New port added, thank you!