openbsd-ports/mail/milter-greylist/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2011/05/13 12:52:22 okan Exp $
COMMENT= greylist milter
DISTNAME= milter-greylist-4.2.7
CATEGORIES= mail
HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
EXTRACT_SUFX= .tgz
2006-11-22 08:47:07 -05:00
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# BSD license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-11 05:54:02 -05:00
WANTLIB= c pthread milter spf2
2010-11-19 02:23:05 -05:00
LIB_DEPENDS= mail/libspf2
2010-11-19 02:23:05 -05:00
BUILD_DEPENDS= devel/bison
2007-11-19 04:18:18 -05:00
USERNAME= _milter-greylist:_milter-greylist
GREYLISTDIR= /var/db/milter-greylist
EXAMPLESDIR= share/examples/milter-greylist
SUBST_VARS= GREYLISTDIR USERNAME
2007-11-19 04:18:18 -05:00
CONFIGURE_STYLE= gnu
2007-11-19 04:18:18 -05:00
CONFIGURE_ARGS+= --with-user=${USERNAME} \
--with-dumpfile=${GREYLISTDIR}/greylist.db \
--with-libspf2=${LOCALBASE}
2010-10-18 15:59:15 -04:00
USE_GROFF = Yes
NO_REGRESS= Yes
2007-11-19 04:18:18 -05:00
pre-configure:
${SUBST_CMD} ${WRKSRC}/greylist.conf \
2007-11-19 04:18:18 -05:00
${WRKSRC}/greylist.conf.5 ${WRKSRC}/milter-greylist.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/milter-greylist ${PREFIX}/libexec
${INSTALL_MAN} ${WRKSRC}/milter-greylist.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/greylist.conf.5 ${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/greylist.conf ${PREFIX}/${EXAMPLESDIR}
.include <bsd.port.mk>