1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/mail/cyrus2courier/Makefile
2006-06-01 12:13:54 +00:00

40 lines
858 B
Makefile

# 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>