aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix-policyd-spf/Makefile
blob: db00fbeb0ac05e2e4e7b2f81ae73b98812572fbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    policyd
# Date created:             19 Dec 2004
# Whom:                 Marcus Grando <marcus@corp.grupos.com.br>
#
# $FreeBSD$
#

PORTNAME=       policyd
PORTVERSION=        1.0.1
PORTREVISION=       1
CATEGORIES=     mail
MASTER_SITES=       http://www.libspf2.org/patch/

MAINTAINER=     marcus@corp.grupos.com.br
COMMENT=        Implements SPF for postfix, as a policy daemon

LIB_DEPENDS=        spf2.1:${PORTSDIR}/mail/libspf2

CONFIGURE_ENV=      CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV+=     CFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV+=     LDFLAGS="-L${LOCALBASE}/lib"
GNU_CONFIGURE=      yes
USE_GETOPT_LONG=    yes

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>