blob: 12a86f9717652c84ed26ef26f8d79e36b45f69c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# New ports collection makefile for: cyrus-imspd
# Date created: Jan 4th 2001
# Whom: damien@tougas.net
#
# $FreeBSD$
#
PORTNAME= cyrus-imspd
PORTVERSION= 1.7b
CATEGORIES= databases mail
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/
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
USE_REINPLACE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-sasldir=${LOCALBASE} \
--with-auth=unix
pre-configure:
${REINPLACE_CMD} -e "s|<sasl.h>|<sasl2/sasl.h>|" \
${WRKSRC}/configure
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/imspd.sh \
${PREFIX}/etc/rc.d/imspd.sh
${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>
|