# New ports collection makefile for: cyrus2courier # Date created: 21 Jun 2005 # Whom: Emanuel Haupt # # $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 .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