openbsd-ports/mail/courier-imap/Makefile
2001-02-02 00:22:48 +00:00

38 lines
985 B
Makefile

# $OpenBSD: Makefile,v 1.9 2001/02/02 00:22:48 avsm Exp $
DISTNAME= courier-imap-1.3.2
CATEGORIES= mail
NEED_VERSION= 1.351
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
HOMEPAGE= http://www.inter7.com/courierimap/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= pop3
FLAVOR?=
CONFIGURE_STYLE= gnu
SEPARATE_BUILD= concurrent
CONFIGURE_ARGS= --disable-root-check --datadir=${PREFIX}/sbin \
--with-userdb=/etc/userdb --with-authuserdb
SYSCONFDIR= /etc/courier-imap
EXAMPLE_DIR= ${PREFIX}/share/examples/courier-imap
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/courier-imap
.for i in pop3d-ssl imapd-ssl pop3d imapd
${INSTALL_DATA} ${WRKINST}/${SYSCONFDIR}/${i}.dist ${EXAMPLE_DIR}/${i}
.endfor
.for i in imapd pop3d
${INSTALL_DATA} ${WRKINST}/${SYSCONFDIR}/${i}.cnf ${EXAMPLE_DIR}
.endfor
.include <bsd.port.mk>