2003-03-23 21:25:28 +01:00
|
|
|
# New ports collection makefile for: maildirsync
|
|
|
|
# Date created: 09 Oct 2002
|
|
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= maildirsync
|
2005-08-30 17:13:05 +02:00
|
|
|
PORTVERSION= 1.1
|
2003-03-23 21:25:28 +01:00
|
|
|
CATEGORIES= mail perl5
|
|
|
|
MASTER_SITES= http://hacks.dlux.hu/maildirsync/
|
|
|
|
|
2008-07-27 06:30:53 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-23 21:25:28 +01:00
|
|
|
COMMENT= Online synchronizer for Maildir-format mailboxes
|
|
|
|
|
2003-05-21 09:00:12 +02:00
|
|
|
USE_PERL5= yes
|
2003-03-23 21:25:28 +01:00
|
|
|
|
|
|
|
MAN1= maildirsync.1
|
|
|
|
|
|
|
|
do-build:
|
2003-05-21 09:00:12 +02:00
|
|
|
${PERL} -pi -e 's!/usr/bin/perl!${PERL}!' ${WRKSRC}/maildirsync.pl
|
2003-06-11 19:29:04 +02:00
|
|
|
pod2man ${WRKSRC}/maildirsync.pod > ${WRKSRC}/maildirsync.1
|
2003-03-23 21:25:28 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/maildirsync.pl ${PREFIX}/bin/maildirsync
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/maildirsync.1 ${MANPREFIX}/man/man1
|
2004-08-24 17:43:16 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sample.sh ${EXAMPLESDIR}
|
2005-08-30 17:13:05 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}/mailbalance
|
2004-08-24 17:43:16 +02:00
|
|
|
.for d in lib log trashbags
|
|
|
|
${RM} -rf ${WRKSRC}/contrib/mailbalance-0.2.0/${d}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/mailbalance-0.2.0/* ${EXAMPLESDIR}/mailbalance
|
2003-03-23 21:25:28 +01:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|