1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/databases/cyrus-imspd/Makefile
Cheng-Lung Sung 5e9a798438 - Update of cyrus-imspd from 1.7b to 1.8
- Startup script updated to rcNG

PR:		ports/108740
Submitted by:	Martin Matuska <martin_AT_matuska dot org>
2007-02-05 00:45:22 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: cyrus-imspd
# Date created: Jan 4th 2001
# Whom: damien@tougas.net
#
# $FreeBSD$
#
PORTNAME= cyrus-imspd
PORTVERSION= 1.8
CATEGORIES= databases mail
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
http://ftp.kfki.hu/packages/mail/cyrus/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= The cyrus IMSP (Internet Message Support Protocol) server
LIB_DEPENDS= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-sasldir=${LOCALBASE} \
--with-auth=unix
USE_RC_SUBR= imspd
pre-configure:
${REINPLACE_CMD} -e "s|<sasl.h>|<sasl2/sasl.h>|" \
${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${FILESDIR}/imspd.conf \
${PREFIX}/lib/sasl2/imspd.conf
${MKDIR} /var/imsp
${INSTALL_DATA} ${WRKSRC}/imsp/options.sample \
/var/imsp/options.dist
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/imspd
${INSTALL_DATA} ${WRKSRC}/notes/Setup-instructions \
${PREFIX}/share/doc/imspd
${INSTALL_DATA} ${WRKSRC}/notes/option.registry \
${PREFIX}/share/doc/imspd
${INSTALL_DATA} ${WRKSRC}/notes/Changes-Todo \
${PREFIX}/share/doc/imspd
${INSTALL_DATA} ${WRKSRC}/notes/imsp.implementation \
${PREFIX}/share/doc/imspd
${INSTALL_DATA} ${WRKSRC}/notes/imsp.implementation.updates \
${PREFIX}/share/doc/imspd
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>