aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-04-18 02:04:43 +0800
committercrees <crees@FreeBSD.org>2012-04-18 02:04:43 +0800
commitc487b8b05ca9a5cccbcb17ffee247293e98df6eb (patch)
treebaed86ce09aa6356e6e6c6e3c9b32bb0c21ebe28 /mail
parent91558e228d3a6f365680323103a4e61c4ef65c2b (diff)
downloadfreebsd-ports-graphics-c487b8b05ca9a5cccbcb17ffee247293e98df6eb.tar.gz
freebsd-ports-graphics-c487b8b05ca9a5cccbcb17ffee247293e98df6eb.tar.zst
freebsd-ports-graphics-c487b8b05ca9a5cccbcb17ffee247293e98df6eb.zip
- Update to 1.0.2
- Add OPTIONS for SSL and Unicode support - Install with iu- prefix, thu removing conflict with imaptools PR: ports/166796 Submitted by: "Mikhail T." <m.tsatsenko@gmail.com> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/imaputils/Makefile24
-rw-r--r--mail/imaputils/distinfo4
-rw-r--r--mail/imaputils/pkg-plist46
3 files changed, 40 insertions, 34 deletions
diff --git a/mail/imaputils/Makefile b/mail/imaputils/Makefile
index e6cf743023d..c28a32aac91 100644
--- a/mail/imaputils/Makefile
+++ b/mail/imaputils/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= imaputils
-PORTVERSION= 1.0.0
+PORTVERSION= 1.0.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
@@ -14,19 +14,23 @@ MAINTAINER= m.tsatsenko@gmail.com
COMMENT= A number of tools and scripts for use with IMAP servers
LICENSE= ISCL
-LICENSE_FILE= ${WRKSRC}/license.txt
-
-CONFLICTS= imaptools-[0-9]*
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_PERL5_RUN= yes
NO_BUILD= yes
-NO_WRKSUBDIR= yes
+PERL_CONFIGURE= yes
+
+OPTIONS= SSL "Enable SSL support" off \
+ UNICODE "Adds unicode support" off
+
+.include <bsd.port.options.mk>
-post-patch:
- ${REINPLACE_CMD} \
- -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/*.pl
+.if defined(WITH_SSL)
+RUN_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
+.endif
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${PREFIX}/bin
+.if defined(WITH_UNICODE)
+RUN_DEPENDS+= p5-Unicode-IMAPUtf7>=0:${PORTSDIR}/converters/p5-Unicode-IMAPUtf7
+.endif
.include <bsd.port.mk>
diff --git a/mail/imaputils/distinfo b/mail/imaputils/distinfo
index 83d26debf8e..dc6ea10d110 100644
--- a/mail/imaputils/distinfo
+++ b/mail/imaputils/distinfo
@@ -1,2 +1,2 @@
-SHA256 (imaputils-1.0.0.tar.gz) = 5ac3b6d30ecb501c3c8d5def83fa52409a13214c4d6c7eea176b4d31eda4270e
-SIZE (imaputils-1.0.0.tar.gz) = 106020
+SHA256 (imaputils-1.0.2.tar.gz) = c7e5fe197286ec5c6ac99a139e60c512e157b2b2e3e7af2bef254f810d68e8a4
+SIZE (imaputils-1.0.2.tar.gz) = 107956
diff --git a/mail/imaputils/pkg-plist b/mail/imaputils/pkg-plist
index 9cf0a865ae0..cbd4619b0ce 100644
--- a/mail/imaputils/pkg-plist
+++ b/mail/imaputils/pkg-plist
@@ -1,22 +1,24 @@
-bin/IMAPtoMbox.pl
-bin/MboxtoIMAP.pl
-bin/delIMAPdups.pl
-bin/delete_imap_mailboxes.pl
-bin/dumptoIMAP.pl
-bin/imapCapability.pl
-bin/imapPing.pl
-bin/imap_to_maildir.pl
-bin/imapcopy.pl
-bin/imapdump.pl
-bin/imapfilter.pl
-bin/imapsync.pl
-bin/list_folders.pl
-bin/list_imap_folders.pl
-bin/maildir_to_imap.pl
-bin/mbxIMAPsync.pl
-bin/migrateIMAP-win.pl
-bin/migrateIMAP.pl
-bin/mozillatoIMAP.pl
-bin/pop3toimap.pl
-bin/purgeMbx.pl
-bin/trash.pl
+bin/iu-capabilities
+bin/iu-copy
+bin/iu-deldups
+bin/iu-delmailboxes
+bin/iu-dump
+bin/iu-filter
+bin/iu-imaptomaildir
+bin/iu-imaptombox
+bin/iu-listfolders
+bin/iu-listimapfolders
+bin/iu-maildirtoimap
+bin/iu-mboxtoimap
+bin/iu-mbximapsync
+bin/iu-migrate
+bin/iu-migrate-win
+bin/iu-mozillatoimap
+bin/iu-ping
+bin/iu-pop3toimap
+bin/iu-purge
+bin/iu-restore
+bin/iu-sync
+bin/iu-trash
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/imaputils/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/imaputils