freebsd-ports/mail/greyfix/Makefile
Sahil Tandon 0c89741271 Greyfix is the greylisting policy daemon for Postfix written by Kim Minh
Kaplan. Greyfix uses Postfix policy mechanism to enable greylisting with
Postfix.

WWW: http://www.kim-minh.com/pub/greyfix/

PR:		ports/157052
Submitted by:	Keith Gaughan <k@stereochro.me>
2011-05-21 03:01:54 +00:00

35 lines
857 B
Makefile

# New ports collection makefile for: greyfix
# Date created: 2011-05-14
# Whom: Keith Gaughan <k@stereochro.me>
#
# $FreeBSD$
#
PORTNAME= greyfix
PORTVERSION= 0.3.9
CATEGORIES= mail
MASTER_SITES= http://www.kim-minh.com/pub/greyfix/
MAINTAINER= k@stereochro.me
COMMENT= A greylisting policy daemon for Postfix
SUB_FILES= pkg-message
USE_BDB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-berkeleydb-libdir=${BDB_LIB_DIR} \
--with-berkeleydb-includedir=${BDB_INCLUDE_DIR} \
--localstatedir=/var
post-patch:
@${REINPLACE_CMD} 's|-ldb|-l${BDB_LIB_NAME}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} 's|$$(localstatedir)/lib|$$(localstatedir)/db|' ${WRKSRC}/Makefile.in
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/greyfix ${PREFIX}/sbin
@${INSTALL} -o nobody -m 700 -d /var/db/greyfix
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>