blob: ad1fc0c38fe8eabffaa0b04bb44f0a067026ac2c (
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
54
55
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: cyrus-smlacapd
# Date created: May 11th 2004
# Whom: g.gonter@ieee.org
#
# $FreeBSD$
#
PORTNAME= cyrus-smlacapd
PORTVERSION= 0.5
PORTREVISION= 1
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/
MAINTAINER= g.gonter@ieee.org
COMMENT= The cyrus ACAP (Application Configuration Access Protocol) server
LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl
BUILD_DEPENDS= sml:${PORTSDIR}/lang/sml-nj
DEPRECATED= this software is obsolete
EXPIRATION_DATE= 2007-04-07
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \
--with-sasldir=${LOCALBASE}/lib
SUB_FILES= pkg-message
USE_RC_SUBR= cyrus_smlacapd_backend.sh
ACAPD_DOC= ${PREFIX}/share/doc/acapd
pre-configure:
${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/configure
${REINPLACE_CMD} -e "s#<sasl.h>#<sasl1/sasl.h>#" \
${WRKSRC}/actest/actest.c ${WRKSRC}/api/acap.c \
${WRKSRC}/api/acap.h ${WRKSRC}/frontend/frontend.c \
${WRKSRC}/lib/imclient.c ${WRKSRC}/lib/prot.h
pre-su-install:
${MKDIR} -m 0755 -p ${PREFIX}/cyrus
${MKDIR} -m 0755 -p ${PREFIX}/include/cyrus
post-install:
${INSTALL} ${LOCALBASE}/lib/sml-nj/bin/.run/run.x86-freebsd ${PREFIX}/cyrus/bin
${MKDIR} ${ACAPD_DOC}
${INSTALL_DATA} ${FILESDIR}/acapd.conf-sample ${ACAPD_DOC}
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/doc/install.html ${ACAPD_DOC}
${TR} '\r' '\n' < ${WRKSRC}/doc/draft-ietf-acap-book-03.txt \
> ${ACAPD_DOC}/draft-ietf-acap-book-03.txt
${TR} '\r' '\n' < ${WRKSRC}/doc/draft-ietf-acap-email-03.txt \
> ${ACAPD_DOC}/draft-ietf-acap-email-03.txt
${TR} '\r' '\n' < ${WRKSRC}/doc/draft-ietf-acap-pers-03.txt \
> ${ACAPD_DOC}/draft-ietf-acap-pers-03.txt
${INSTALL_DATA} ${WRKSRC}/doc/rfc2244.txt ${ACAPD_DOC}
.endif
.if !defined(BATCH)
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.endif
.include <bsd.port.mk>
|