summaryrefslogtreecommitdiff
path: root/mail/mailsync/Makefile
blob: 8de63312d283ddd36b6ed12703c833244bf97753 (plain)
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
36
# $NetBSD: Makefile,v 1.9 2004/01/20 12:19:43 agc Exp $
#

DISTNAME=	mailsync_4.3-2
PKGNAME=	mailsync-4.3.2
CATEGORIES=	mail
MASTER_SITES=	http://unc.dl.sourceforge.net/mailsync/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://mailsync.sourceforge.net/
COMMENT=	Mailsync is a way of synchronizing a collection of mailboxes

DEPENDS+=	imap-uw-[0-9]*:../../mail/imap-uw

WRKSRC=		${WRKDIR}/mailsync-4.3
USE_GMAKE=	yes
USE_GCC_SHLIB=	yes
ALL_TARGET=	default

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
CFLAGS+=	-fno-operator-names
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mailsync ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mailsync
	${INSTALL_DATA} ${WRKSRC}/examples/mailsync				\
		${PREFIX}/share/examples/mailsync/dot.mailsync
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mailsync
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mailsync
	${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${PREFIX}/share/doc/mailsync
	${INSTALL_MAN} ${WRKSRC}/mailsync.1 ${PREFIX}/man/man1

.include "../../mk/bsd.pkg.mk"