aboutsummaryrefslogblamecommitdiff
path: root/mail/cyrus2courier/Makefile
blob: 5d5b74d1dad838c162435c7833ce2ffab906b6c9 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                          
                   
                    
                                                      

                                                    

                    
                                  


                                                            



















                                                                  
# New ports collection makefile for:	cyrus2courier
# Date created:				21 Jun 2005
# Whom:					Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=	cyrus2courier
DISTVERSION=	1.4
CATEGORIES=	mail
MASTER_SITES=	http://www.madness.at/~mad/projects/ \
		http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/
EXTRACT_SUFX=	.tgz

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

USE_GETOPT_LONG=yes

ALL_TARGET=	build

PLIST_FILES=	bin/cyrus2courier

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
CFLAGS+=	-I${LOCALBASE}/include
MAKE_ARGS=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
.endif

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

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

.include <bsd.port.post.mk>