aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus2courier/Makefile
blob: 274b5bb9e14a0e141b535cbaf2017204aef96997 (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   cyrus2courier
DISTVERSION=    1.4
CATEGORIES= mail
MASTER_SITES=   http://www.madness.at/~mad/projects/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Cyrus-IMAP to Maildir++ conversion utility

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

USES=       tar:tgz

ALL_TARGET= build

PLIST_FILES=    bin/cyrus2courier

post-patch:
    @${REINPLACE_CMD} '/^CFLAGS*/d; /^LDFLAGS*/d; /^CC*/d' \
        ${WRKSRC}/src/Makefile.FreeBSD

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>