1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/mail/courier-imap/Makefile
2000-07-19 14:21:34 +00:00

57 lines
1.3 KiB
Makefile

# New ports collection makefile for: courierimap
# Date created: 19 Feb 2000
# Whom: Neil Blakey-Milner
#
# $FreeBSD$
#
PORTNAME= courier-imap
PORTVERSION= 0.36a
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
MAINTAINER= nbm@FreeBSD.org
GNU_CONFIGURE= YES
USE_GMAKE= YES
CFLAGS+= -DNO_IDEA
CONFIGURE_ARGS= --without-authldap --with-authldaprc=filename \
--without-authpam --without-authshadow \
--without-authvchkpw --without-authcram \
--with-userdb=${PREFIX}/etc/userdb \
--datadir=${PREFIX}/share/doc/courier-imap
MAN1= maildirmake.1
MAN8= authlib.8 makeuserdb.8 userdb.8 userdbpw.8 couriertcpd.8 \
deliverquota.8 imapd.8
MLINKS= authlib.8 authpwd.8 \
authlib.8 authuserdb.8 \
makeuserdb.8 pw2userdb.8 \
makeuserdb.8 vchkpw2userdb.8
EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog
.include <bsd.port.pre.mk>
post-patch:
@perl -i -pe 's@^if test -w confmdtest1$$@if test -z 0@' \
${WRKSRC}/configure
@perl -i -pe 's@(\$$.sysconfdir./\$$\$$p)@\1.dist@' \
${WRKSRC}/imap/Makefile.in
.if ${OSVERSION} >= 400016
@perl -i -pe 's@^#include\s*<netinet6/in6.h>$$@@' \
${WRKSRC}/rfc1035/configure \
${WRKSRC}/rfc1035/rfc1035.h.in
.endif
post-install:
.for a in ${EXTRA_DOCS}
@${INSTALL_DATA} ${WRKSRC}/${a} ${PREFIX}/share/doc/courier-imap/
.endfor
.include <bsd.port.post.mk>