aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Net-IMAP-Simple
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2010-09-18 16:37:23 +0000
committerLars Thegler <lth@FreeBSD.org>2010-09-18 16:37:23 +0000
commitb1bafdacdf70ddab4cf2b00821a2281ea3c368a2 (patch)
tree0c75fe189c675464a8ff5178b4b3656fe03422bc /mail/p5-Net-IMAP-Simple
parentbd17d034f62152777f0321cd501f22b7533e9c87 (diff)
downloadports-b1bafdacdf70ddab4cf2b00821a2281ea3c368a2.tar.gz
ports-b1bafdacdf70ddab4cf2b00821a2281ea3c368a2.zip
Notes
Diffstat (limited to 'mail/p5-Net-IMAP-Simple')
-rw-r--r--mail/p5-Net-IMAP-Simple/Makefile26
-rw-r--r--mail/p5-Net-IMAP-Simple/distinfo6
-rw-r--r--mail/p5-Net-IMAP-Simple/pkg-plist4
3 files changed, 28 insertions, 8 deletions
diff --git a/mail/p5-Net-IMAP-Simple/Makefile b/mail/p5-Net-IMAP-Simple/Makefile
index ab28f0d1a26f..cd21147ce959 100644
--- a/mail/p5-Net-IMAP-Simple/Makefile
+++ b/mail/p5-Net-IMAP-Simple/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= Net-IMAP-Simple
-PORTVERSION= 1.1912
+PORTVERSION= 1.2017
CATEGORIES= mail perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ../by-authors/id/J/JE/JETTERO
+MASTER_SITES= CPAN/../by-authors/id/J/JE/JETTERO
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
@@ -17,6 +16,23 @@ COMMENT= Perl extension for simple IMAP account handling
PERL_CONFIGURE= yes
-MAN3= Net::IMAP::Simple.3
+MAN3= Net::IMAP::Simple.3 \
+ Net::IMAP::Simple::PipeSocket.3
-.include <bsd.port.mk>
+OPTIONS= SX "Simple protocol extensions (use Parse::RecDescent)" off
+
+.include <bsd.port.options.mk>
+
+CONFIGURE_ENV+= WITH_SX="${WITH_SX}"
+
+.include <bsd.port.pre.mk>
+
+.ifdef(WITH_SX)
+PLIST_SUB+= WITH_SX=""
+MAN3+= Net::IMAP::SimpleX.3
+RUN_DEPENDS+= p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent
+.else
+PLIST_SUB+= WITH_SX="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/p5-Net-IMAP-Simple/distinfo b/mail/p5-Net-IMAP-Simple/distinfo
index ee72a0bbfbc3..556007b9e35c 100644
--- a/mail/p5-Net-IMAP-Simple/distinfo
+++ b/mail/p5-Net-IMAP-Simple/distinfo
@@ -1,3 +1,3 @@
-MD5 (Net-IMAP-Simple-1.1912.tar.gz) = ce236578fa94b860aa67962c93c963c9
-SHA256 (Net-IMAP-Simple-1.1912.tar.gz) = 1feb0a8795255795337547fd72394e260a79cba58a7a29cb40baaec03064c488
-SIZE (Net-IMAP-Simple-1.1912.tar.gz) = 59703
+MD5 (Net-IMAP-Simple-1.2017.tar.gz) = 7803fa85c93203c9c10b167f9e266355
+SHA256 (Net-IMAP-Simple-1.2017.tar.gz) = 6c6ebaece249ff83377d18b8ae4c0aef553080e4ea0e408c51cf9dd3a2ef5553
+SIZE (Net-IMAP-Simple-1.2017.tar.gz) = 74318
diff --git a/mail/p5-Net-IMAP-Simple/pkg-plist b/mail/p5-Net-IMAP-Simple/pkg-plist
index 3edc312136e1..aceefb42322f 100644
--- a/mail/p5-Net-IMAP-Simple/pkg-plist
+++ b/mail/p5-Net-IMAP-Simple/pkg-plist
@@ -1,8 +1,12 @@
%%SITE_PERL%%/Net/IMAP/Simple.pm
%%SITE_PERL%%/Net/IMAP/Simple.pod
+%%SITE_PERL%%/Net/IMAP/Simple/PipeSocket.pm
+%%WITH_SX%%%%SITE_PERL%%/Net/IMAP/SimpleX.pm
+%%WITH_SX%%%%SITE_PERL%%/Net/IMAP/SimpleX.pod
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IMAP/Simple/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IMAP/Simple
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IMAP
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/IMAP/Simple
@dirrmtry %%SITE_PERL%%/Net/IMAP
@dirrmtry %%SITE_PERL%%/Net