2002-03-30 11:23:57 +01:00
|
|
|
# New ports collection makefile for: cyrus-imspd
|
|
|
|
# Date created: Jan 4th 2001
|
|
|
|
# Whom: damien@tougas.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cyrus-imspd
|
2007-02-05 01:45:22 +01:00
|
|
|
PORTVERSION= 1.8
|
2012-12-10 16:10:02 +01:00
|
|
|
PORTREVISION= 1
|
2002-03-30 11:23:57 +01:00
|
|
|
CATEGORIES= databases mail
|
|
|
|
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
|
2006-07-24 18:09:17 +02:00
|
|
|
http://ftp.kfki.hu/packages/mail/cyrus/
|
2003-09-07 17:21:09 +02:00
|
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
2002-03-30 11:23:57 +01:00
|
|
|
|
2003-12-21 01:23:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= The cyrus IMSP (Internet Message Support Protocol) server
|
2002-03-30 11:23:57 +01:00
|
|
|
|
2012-12-10 16:10:02 +01:00
|
|
|
LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2
|
2002-03-30 11:23:57 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2009-06-02 15:35:42 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2002-03-30 11:23:57 +01:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--with-sasldir=${LOCALBASE} \
|
2009-06-02 15:35:42 +02:00
|
|
|
--with-sasl=${LOCALBASE} \
|
2002-03-30 11:23:57 +01:00
|
|
|
--with-auth=unix
|
|
|
|
|
2007-02-05 01:45:22 +01:00
|
|
|
USE_RC_SUBR= imspd
|
2009-06-02 15:35:42 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/imspd
|
2007-02-05 01:45:22 +01:00
|
|
|
|
2009-06-02 15:35:42 +02:00
|
|
|
post-patch:
|
2004-07-29 22:28:27 +02:00
|
|
|
${REINPLACE_CMD} -e "s|<sasl.h>|<sasl2/sasl.h>|" \
|
2004-05-15 02:04:44 +02:00
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2002-03-30 11:23:57 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/imspd.conf \
|
2004-07-29 22:28:27 +02:00
|
|
|
${PREFIX}/lib/sasl2/imspd.conf
|
2002-03-30 11:23:57 +01:00
|
|
|
${MKDIR} /var/imsp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/imsp/options.sample \
|
|
|
|
/var/imsp/options.dist
|
|
|
|
.if !defined(NOPORTDOCS)
|
2009-06-02 15:35:42 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2002-03-30 11:23:57 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/notes/Setup-instructions \
|
2009-06-02 15:35:42 +02:00
|
|
|
${WRKSRC}/notes/option.registry \
|
|
|
|
${WRKSRC}/notes/Changes-Todo \
|
|
|
|
${WRKSRC}/notes/imsp.implementation \
|
|
|
|
${WRKSRC}/notes/imsp.implementation.updates \
|
|
|
|
${DOCSDIR}
|
2002-03-30 11:23:57 +01:00
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|