48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2006/04/19 16:56:08 elge Exp $
|
|
#
|
|
|
|
DISTNAME= postoffice-1.3.pre3
|
|
PKGNAME= postoffice-1.3
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.tsfr.org/~orc/Code/postoffice/
|
|
|
|
MAINTAINER= pbraun@nethence.com
|
|
HOMEPAGE= http://www.tsfr.org/~orc/Code/postoffice/
|
|
COMMENT= Simple greylist, auth, milter, virtual hosts capable SMTP server
|
|
|
|
|
|
HAS_CONFIGURE=yes
|
|
CONFIGURE_SCRIPT=./configure.sh
|
|
|
|
# no use of this, we're going to do post-install and MESSAGE
|
|
#CONFIGURE_ARGS+=--use-mailwrappers
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+=POSTOFFICE_TCPWRAPPERS
|
|
BUILD_DEFS+=POSTOFFICE_GREYLIST
|
|
BUILD_DEFS+=POSTOFFICE_AUTH
|
|
BUILD_DEFS+=POSTOFFICE_MILTER
|
|
BUILD_DEFS+=POSTOFFICE_VIRTUAL
|
|
|
|
.if defined(POSTOFFICE_TCPWRAPPERS) && !empty(POSTOFFICE_TCPWRAPPERS:M[Yy][Ee][Ss])
|
|
CONFIGURE_ARGS+=--with-tcpwrappers
|
|
. endif
|
|
.if defined(POSTOFFICE_GREYLIST) && !empty(POSTOFFICE_GREYLIST:M[Yy][Ee][Ss])
|
|
CONFIGURE_ARGS+=--with-greylist
|
|
. endif
|
|
.if defined(POSTOFFICE_AUTH) && !empty(POSTOFFICE_AUTH:M[Yy][Ee][Ss])
|
|
CONFIGURE_ARGS+=--with-auth
|
|
. endif
|
|
.if defined(POSTOFFICE_MILTER) && !empty(POSTOFFICE_MILTER:M[Yy][Ee][Ss])
|
|
CONFIGURE_ARGS+=--with-milter
|
|
. endif
|
|
.if defined(POSTOFFICE_VIRTUAL) && !empty(POSTOFFICE_VIRTUAL:M[Yy][Ee][Ss])
|
|
CONFIGURE_ARGS+=--with-vhost=/etc/virtual \
|
|
--with-vspool=/var/spool/virtual \
|
|
--with-vuser=vm
|
|
. endif
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|