2013-09-20 19:59:12 +00:00
|
|
|
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
2003-03-23 20:25:28 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= maildirsync
|
2012-04-10 16:28:45 +00:00
|
|
|
PORTVERSION= 1.2
|
2003-03-23 20:25:28 +00:00
|
|
|
CATEGORIES= mail perl5
|
2011-03-15 11:14:19 +00:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2003-03-23 20:25:28 +00:00
|
|
|
|
2012-04-10 16:28:45 +00:00
|
|
|
MAINTAINER= 5u623l20@gmail.com
|
2003-03-23 20:25:28 +00:00
|
|
|
COMMENT= Online synchronizer for Maildir-format mailboxes
|
|
|
|
|
2014-02-26 09:17:57 +00:00
|
|
|
USES= perl5 shebangfix
|
2003-03-23 20:25:28 +00:00
|
|
|
|
2014-02-26 09:17:57 +00:00
|
|
|
SHEBANG_FILES= maildirsync.pl
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
2003-03-23 20:25:28 +00:00
|
|
|
|
|
|
|
do-build:
|
2003-06-11 17:29:04 +00:00
|
|
|
pod2man ${WRKSRC}/maildirsync.pod > ${WRKSRC}/maildirsync.1
|
2003-03-23 20:25:28 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-02-26 09:17:57 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/maildirsync.pl \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/maildirsync
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/maildirsync.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sample.sh ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mailbalance
|
2004-08-24 15:43:16 +00:00
|
|
|
.for d in lib log trashbags
|
|
|
|
${RM} -rf ${WRKSRC}/contrib/mailbalance-0.2.0/${d}
|
|
|
|
.endfor
|
2014-02-26 09:17:57 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/mailbalance-0.2.0/* \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}/mailbalance
|
2003-03-23 20:25:28 +00:00
|
|
|
|
2014-10-26 21:04:21 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_VER} >= 5.18
|
|
|
|
BROKEN= Does not build with Perl 5.18 or above
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|