aboutsummaryrefslogtreecommitdiff
path: root/mail/maildirsync
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-05-21 07:00:12 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-05-21 07:00:12 +0000
commit90a4c862324cff173db50bff0900966ae77b7478 (patch)
tree17843c3cd549637e73ae23c94545a8da542d034f /mail/maildirsync
parentb1f2f963f708390ba72aac37518b3d9a57a42b1e (diff)
downloadports-90a4c862324cff173db50bff0900966ae77b7478.tar.gz
ports-90a4c862324cff173db50bff0900966ae77b7478.zip
Notes
Diffstat (limited to 'mail/maildirsync')
-rw-r--r--mail/maildirsync/Makefile17
-rw-r--r--mail/maildirsync/distinfo2
2 files changed, 11 insertions, 8 deletions
diff --git a/mail/maildirsync/Makefile b/mail/maildirsync/Makefile
index 11b14199b15c..1d497010a3aa 100644
--- a/mail/maildirsync/Makefile
+++ b/mail/maildirsync/Makefile
@@ -6,27 +6,30 @@
#
PORTNAME= maildirsync
-PORTVERSION= 0.3
+PORTVERSION= 0.4
CATEGORIES= mail perl5
MASTER_SITES= http://hacks.dlux.hu/maildirsync/
MAINTAINER= sergei@kolobov.com
COMMENT= Online synchronizer for Maildir-format mailboxes
-BUILD_DEPENDS= ${LOCALBASE}/bin/perl5.8.0:${PORTSDIR}/lang/perl5.8
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
-PERL58= ${LOCALBASE}/bin/perl
+USE_PERL5= yes
POD2MAN= ${LOCALBASE}/bin/pod2man
MAN1= maildirsync.1
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BROKEN= This port requires Perl 5.6.0 or higher.
+.endif
+
do-build:
- ${PERL} -pi -e 's!/usr/bin/perl!${PERL58}!' ${WRKSRC}/maildirsync.pl
+ ${PERL} -pi -e 's!/usr/bin/perl!${PERL}!' ${WRKSRC}/maildirsync.pl
${POD2MAN} ${WRKSRC}/maildirsync.pod > ${WRKSRC}/maildirsync.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/maildirsync.pl ${PREFIX}/bin/maildirsync
${INSTALL_MAN} ${WRKSRC}/maildirsync.1 ${MANPREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/maildirsync/distinfo b/mail/maildirsync/distinfo
index 366cbfcc7b54..2d6c4d70e98b 100644
--- a/mail/maildirsync/distinfo
+++ b/mail/maildirsync/distinfo
@@ -1 +1 @@
-MD5 (maildirsync-0.3.tar.gz) = c5d7139b1233f4fc360dcf5f4e1742cd
+MD5 (maildirsync-0.4.tar.gz) = 33c16ebd7b838dfddb0329806b0d2371