1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/mail/maildirsync/Makefile
Martin Wilke 1a91c822d3 - Update to 1.2
- Take maintainership

PR:		166622
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2012-04-10 16:28:45 +00:00

36 lines
958 B
Makefile

# 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
USE_PERL5= yes
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>