aboutsummaryrefslogtreecommitdiff
path: root/mail/maildirsync/Makefile
blob: dbe71f73f875353a7fbd06f31dc72ebb0839a781 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for: maildirsync
# Date created:		09 Oct 2002
# Whom:			Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

PORTNAME=	maildirsync
PORTVERSION=	1.2
CATEGORIES=	mail perl5
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	5u623l20@gmail.com
COMMENT=	Online synchronizer for Maildir-format mailboxes

USES=		perl5

MAN1=		maildirsync.1

do-build:
	${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
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/sample.sh ${EXAMPLESDIR}
	@${MKDIR} ${EXAMPLESDIR}/mailbalance
.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

.include <bsd.port.mk>