2000-03-11 20:16:32 +00:00
|
|
|
# New ports collection makefile for: courierimap
|
|
|
|
# Date created: 19 Feb 2000
|
|
|
|
# Whom: Neil Blakey-Milner
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= courier-imap
|
2000-10-02 13:30:07 +00:00
|
|
|
PORTVERSION= 1.1
|
2000-06-21 13:36:13 +00:00
|
|
|
CATEGORIES= mail ipv6
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= courier
|
2000-03-11 20:16:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_GMAKE= YES
|
|
|
|
|
2000-07-31 11:05:39 +00:00
|
|
|
.if !exists(/usr/include/openssl/idea.h)
|
2000-07-19 14:21:34 +00:00
|
|
|
CFLAGS+= -DNO_IDEA
|
2000-07-31 11:05:39 +00:00
|
|
|
.endif
|
2000-07-19 14:21:34 +00:00
|
|
|
|
2000-03-11 20:16:32 +00:00
|
|
|
CONFIGURE_ARGS= --without-authldap --with-authldaprc=filename \
|
|
|
|
--without-authpam --without-authshadow \
|
2000-07-19 14:21:34 +00:00
|
|
|
--without-authvchkpw --without-authcram \
|
|
|
|
--with-userdb=${PREFIX}/etc/userdb \
|
2000-09-18 13:24:16 +00:00
|
|
|
--datadir=${PREFIX}/share/courier-imap \
|
2000-09-22 12:44:28 +00:00
|
|
|
--libexecdir=${PREFIX}/libexec/courier-imap \
|
2000-07-31 11:05:39 +00:00
|
|
|
--disable-root-check
|
2000-03-11 20:16:32 +00:00
|
|
|
|
2000-05-16 16:38:23 +00:00
|
|
|
MAN1= maildirmake.1
|
2000-03-11 20:16:32 +00:00
|
|
|
MAN8= authlib.8 makeuserdb.8 userdb.8 userdbpw.8 couriertcpd.8 \
|
2000-08-07 09:57:38 +00:00
|
|
|
deliverquota.8 imapd.8 mkimapdcert.8
|
2000-03-11 20:16:32 +00:00
|
|
|
|
2000-06-21 13:36:13 +00:00
|
|
|
MLINKS= authlib.8 authpwd.8 \
|
|
|
|
authlib.8 authuserdb.8 \
|
2000-08-07 09:57:38 +00:00
|
|
|
authlib.8 authshadow.8 \
|
|
|
|
authlib.8 authpam.8 \
|
|
|
|
authlib.8 authvchkpw.8 \
|
|
|
|
authlib.8 authcram.8 \
|
|
|
|
authlib.8 authldap.8 \
|
|
|
|
authlib.8 authmysql.8 \
|
|
|
|
authlib.8 authdaemon.8 \
|
2000-06-21 13:36:13 +00:00
|
|
|
makeuserdb.8 pw2userdb.8 \
|
2000-03-11 20:16:32 +00:00
|
|
|
makeuserdb.8 vchkpw2userdb.8
|
|
|
|
|
2000-07-19 14:21:34 +00:00
|
|
|
EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog
|
|
|
|
|
2000-07-19 12:16:04 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
2000-07-19 14:21:34 +00:00
|
|
|
@perl -i -pe 's@(\$$.sysconfdir./\$$\$$p)@\1.dist@' \
|
2000-10-02 13:30:07 +00:00
|
|
|
${WRKSRC}/Makefile.in \
|
2000-07-19 14:21:34 +00:00
|
|
|
${WRKSRC}/imap/Makefile.in
|
2000-07-19 12:16:04 +00:00
|
|
|
|
2000-07-19 14:21:34 +00:00
|
|
|
post-install:
|
2000-07-31 11:05:39 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/courier-imap
|
2000-07-19 14:21:34 +00:00
|
|
|
.for a in ${EXTRA_DOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${a} ${PREFIX}/share/doc/courier-imap/
|
|
|
|
.endfor
|
|
|
|
|
2000-07-19 12:16:04 +00:00
|
|
|
.include <bsd.port.post.mk>
|